Diff viewer
Every change an agent makes shows up as a reviewable diff before you merge — per file, with additions and deletions, hunk headers, and jump-to navigation.
How the diff is built#
The diff is computed against the workspace's HEAD, including untracked files (added with intent so new files appear). It refreshes automatically whenever a run finishes, and you can refresh manually with the refresh button.
The file rail#
The left column lists every changed file. Each row shows a colored status badge and per-file line counts:
| Badge | Status | Color |
|---|---|---|
| A | Added | green |
| M | Modified | blue |
| D | Deleted | red |
| R | Renamed | amber |
Additions show as +N and deletions as −N. Clicking a file smooth-scrolls the code column to that file's section.
The code column#
The unified diff renders with line-level coloring:
- Hunk headers (
@@ … @@) in accent blue. - Additions on a soft-green background.
- Deletions on a soft-red background.
- Context lines plain, with original/new line numbers in the gutter.
Each file has a sticky header you can click to collapse or expand that file's hunks. Diff text is selectable for copying.
Tabs & full screen#
The right panel toggles between the Diff tab (with a badge showing the changed-file count) and the Files tab. The expand button opens the diff full-screen for a focused review, with its own refresh and exit controls.