Real-time TUI diff viewer for AI coding agents.
AI coding agents like Claude Code, Codex CLI, and OpenCode change files fast, across multiple directories. Without a dedicated viewer, you're juggling git diff + lazygit + delta just to keep up, or trusting changes you haven't seen.
diffpane replaces that with one command. It sits next to your agent and auto-follows every change as it happens. Git is the single source of truth. What you see is what git sees.
- Session baseline - See cumulative changes across your entire session. diffpane records your starting point and diffs everything against it. Press
rto reset. - Follow mode - Auto-jumps to the latest changed file and scrolls to the newest change. When you navigate manually, follow pauses until you resume it with
f. - Syntax highlighting - Added and removed lines are color-coded with background colors, so you can tell what changed at a glance. Adapts to dark and light terminals automatically.
- Zero config - Single binary, requires only git. Run
diffpanein any git repo and it works.
brew install Astro-Han/tap/diffpaneOr with Go:
go install github.com/Astro-Han/diffpane@latestPre-built binaries are also available on the Releases page.
cd your-project
diffpaneSplit your terminal. Left pane: your AI agent. Right pane: diffpane.
| Key | Action |
|---|---|
↑/↓ |
Scroll diff |
←/→ |
Next/prev file |
f |
Toggle follow mode |
r |
Reset baseline to current HEAD |
Tab |
File list |
q |
Quit |
- macOS or Linux (amd64 or arm64)
- Git
claude-pace - Pace-aware statusline for Claude Code. Know your quota before you hit the wall.
MIT
