The diff workflow
The typical flow for reviewing a Hermes-proposed change looks like this:- Hermes proposes a change. During a chat session, the agent calls the
propose_difftool with the file path and new content. The file opens in the editor with inline decorations — red for removed lines, green for added lines — while the original content remains on disk. - The diff viewer opens. VS Code’s native diff panel shows the original file alongside the proposed version, giving you a side-by-side or inline view of every change.
- You review the changes. Scroll through the diff at your own pace. You can make additional edits in the proposed-content pane if needed.
- Accept or discard. Run Hermes: Apply Hermes Changes to write the proposed content to disk, or simply close the diff panel to discard without touching the file.
Commands
Use any of the following commands from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) or from the chat interface:
All three commands are also accessible from the diff review bar that appears in the chat panel when a
propose_diff is pending.