Reviewing changes
Every time the agent edits a file, the changes appear in the file changes panel inside the chat. You can review, accept, or reject edits — per file or all at once.
The file changes panel
Section titled “The file changes panel”The panel appears in the chat whenever there are pending edits. It shows:
- The number of changed files
- Total added and removed lines across all files
- A list of individual files with per-file line counts
Click the panel header to expand the file list. Click a file to open it in the editor — the cursor jumps to the first changed line automatically.
Diff viewer
Section titled “Diff viewer”Click the FileDiff icon button in the panel header to open all changed files in a multi-file diff viewer. This is useful for reviewing all edits before making a decision.
Inline change snippets in chat strip indentation that is common to every shown line. Deeply nested edits are easier to scan, while the actual file contents and relative indentation stay unchanged.
Keyboard shortcuts
Section titled “Keyboard shortcuts”When a changed file is open in the editor, the following shortcuts are available (when the editor has focus and the file review context is active):
| Action | Shortcut |
|---|---|
| Go to next file | Alt+Right |
| Go to previous file | Alt+Left |
| Accept changes in file | Alt+A |
| Reject changes in file | Alt+R |
Accepting and rejecting changes
Section titled “Accepting and rejecting changes”Individual file:
- Hover over a file in the list — Accept (Check) and Reject (X) icon buttons appear.
- In the editor use
Alt+A/Alt+R.
All changes at once:
- Keep all — accepts all edits and moves the baseline forward.
- Undo all — restores the workspace to the state before all current edits.
Relationship to auto-approve
Section titled “Relationship to auto-approve”If auto-approve for file edits is enabled, edits are applied automatically without a prompt. The file changes panel still shows all edits, and you can always use Undo all or roll back via a checkpoint.