v0.4.0 / open source

Diffs for the
agentic era.

deltoids is a smart diff pager that expands hunks with the context you need to understand them.

Beta: diff output may still be broken. Verify important changes.

brew install juanibiapina/taps/deltoids-cli brew install juanibiapina/taps/edit-cli
default
Default git diff: 3 lines of context, scope is invisible
deltoids
deltoids: hunk expanded to the enclosing function

Use as a diff pager

Pipe a single diff, or set deltoids as the default in your tools.

brew install juanibiapina/taps/deltoids-cli
git
  • one-time
    git diff | deltoids | less -R
  • default pager
    git config --global core.pager 'deltoids | less -R'
gh
  • one-time
    gh pr diff <number> | deltoids | less -R
  • default pager
    gh config set pager 'deltoids | less -R'
lazygit
  • # ~/.config/lazygit/config.yml
    git:
      paging:
        pager: deltoids
lazygit running with deltoids as the pager: hunks expanded to the enclosing function

Review every edit by coding agents

edit-tui browses every edit, with its reason and semantic context.

brew install juanibiapina/taps/edit-cli
pi
pi install https://github.com/juanibiapina/deltoids
Claude Code
Coming soon
edit-tui showing a trace of agent edits with diffs and reasons

Install

Prebuilt binaries for macOS and Linux. Or build from source with cargo.

homebrew
brew install juanibiapina/taps/deltoids-cli
brew install juanibiapina/taps/edit-cli
shell installer
curl -sSL https://github.com/juanibiapina/deltoids/releases/latest/download/deltoids-cli-installer.sh | sh
cargo (from source)
cargo install --git https://github.com/juanibiapina/deltoids deltoids-cli
cargo install --git https://github.com/juanibiapina/deltoids edit-cli

See GitHub Releases for all downloads.

FAQ

Are diffs guaranteed correct?
No. deltoids is beta; diff output may still be broken. Verify important changes with git diff.
How is this different from git diff -W?
git diff -W finds scope with regex. deltoids parses the file with tree-sitter.