Diff viewer
Review file changes made by agents, accept or reject individual chunks, and navigate diffs.
When an agent modifies a file, the diff viewer shows you exactly what changed. You can review line-by-line, accept or reject individual chunks, and navigate between changes.
How it works
When an agent writes to a file, the render pane automatically switches to diff mode. You see the current file with changes highlighted — added lines, removed lines, and modifications.
You can also open a diff manually: create a render pane, select a file, and switch the mode dropdown to Diff. This compares the working copy against the last git commit.
Reviewing changes
Each change is a chunk — a group of related additions or deletions. The status bar shows your progress: "3 of 5 chunks reviewed".
- Added lines appear highlighted in the file
- Deleted lines appear with a reveal control on hover
- Navigate between chunks with the arrow buttons in the toolbar
Accepting and rejecting
Each chunk has Accept and Reject controls:
- Accept — keep the change as-is
- Reject — revert to the original content
This lets you cherry-pick the good parts of an agent's output and discard the rest, without accepting or rejecting the entire file.
Supported file types
The render pane handles more than just code:
| Type | Viewer |
|---|---|
| Code files | Syntax-highlighted with diff |
| Markdown | Rendered HTML preview |
| Images | Preview with zoom |
| Videos | Playable preview |
Keyboard shortcuts
| Shortcut | Action |
|---|---|
Cmd+F | Search within the file |
| Arrow buttons | Next / previous chunk |