v0.12.1 / 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
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.

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 your working tree and every agent edit

Run deltoids in a repo to open a terminal diff browser: a file sidebar beside scope-expanded, syntax-highlighted diffs. Install the agent edit tools and the same TUI follows your coding agent, each change tagged with its reason.

Wire up your agent

pi
pi install https://github.com/juanibiapina/deltoids
Claude Code
claude plugin marketplace add juanibiapina/deltoids
claude plugin install deltoids@deltoids

Edits are recorded without per-edit summaries. Claude's PostToolUse hook does not expose one.

deltoids TUI trace browser: agent edits listed with diffs and reasons
The trace browser, following a coding agent's edits.

Install

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

homebrew
brew install juanibiapina/taps/deltoids
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

See GitHub Releases for all downloads.

FAQ

Is deltoids just a pager?
No. Piped a diff, it's a pager. Run in a terminal, deltoids opens a TUI that browses your working tree and your coding agent's edits. It also ships edit, write, hashread, and hashedit tools for agents.
How is this different from git diff -W?
git diff -W finds scope with regex. deltoids parses the file with tree-sitter.
Which languages get syntax highlighting?
Any syntax bundled with syntect (e.g. Dockerfile), independent of tree-sitter scope support. Scope expansion covers the tree-sitter languages.
Are diffs guaranteed correct?
No. deltoids is beta; diff output may still be broken. Verify important changes with git diff.