@ryan_nookpi/pi-extension-diff-review0.2.8
Native diff review window extension for pi.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@ryan_nookpi/pi-extension-diff-review
A native diff review extension for pi.
It opens a dedicated review window for the current repository so you can inspect the branch diff, review individual commits, browse all changed files, and collect feedback before sending it back into the editor.

Install
pi install npm:@ryan_nookpi/pi-extension-diff-review
What it does
- registers the
/diff-reviewcommand - opens a native review window for the current git repository
- supports branch, per-commit, and all-files review scopes
- detects local file changes while the review window is open and offers a manual refresh without polling
- lets you leave overall comments and file/line comments
- appends the collected feedback back into the pi editor as a follow-up prompt
Choosing the base branch
By default the branch scope compares HEAD against the first base that resolves, in this order: the branch upstream (when it is not the same-named remote branch), origin/HEAD, origin/main, origin/master, origin/develop, main, master, develop.
To compare against something else:
- pick a branch from the Base dropdown in the review window header (
Autorestores the default detection), or - set the
DIFF_REVIEW_BASEenvironment variable (for exampleDIFF_REVIEW_BASE=origin/release-1.0 pi) to change the default for new review windows. If the ref cannot be resolved, auto-detection is used.
Requirements
- pi
- a git repository
glimpseuiruntime installed through the package dependency
Inspiration
Inspired by badlogic/pi-diff-review.