Vibe Coding
`/diff` is now a plugin, and its auto-open rule is a documented column-width threshold
The diff pane ships as a mod hooking `session.start`, two `ui.render` cases, `command.run` of `diff`/`clear`/`resume`, `tool.call` of Edit/Write/NotebookEdit and Bash/PowerShell, `turn.complete` and `prompt.submit`. The first successful edit of a session opens the pane by itself at 144 columns if you never chose, 110 if you kept it open before, and never if you closed it; under 110 columns `/diff` just asks for a wider terminal. A per-file ask button arms that file so its hunks ride the next prompt as context exactly once, and the base is selectable between session-start HEAD, plain HEAD, or the merge-base with the default branch.
Source
↳ Follow the thread