Diff Review

Browser-based diff review window with Monaco Editor, collapsible file sidebar, and inline draft comments.

What it does

Pi-diff-review opens a native browser review window powered by Glimpse and the Monaco Editor (the same editor as VS Code). The review window shows a side-by-side diff with a collapsible file sidebar for navigation.

You can leave draft comments per file, then click Submit to insert all feedback directly back into the Pi editor as a structured message. This closes the loop between seeing the diff and acting on it — no copy/pasting, no context switching.

The review window supports three scopes: git diff (uncommitted changes), last commit, or all files.

Why it's included

Reviewing diffs in a terminal is uncomfortable for anything beyond trivial changes. A proper diff viewer — with syntax highlighting, file navigation, and inline comments — makes the review step something you actually do rather than skip. The submit button that feeds feedback back into Pi makes this a genuine workflow accelerator.

Commands

CommandWhat it does
/diff-review Open the native review window — choose scope: git diff, last commit, or all files