pi-comview
v0.1.0
Published
Pi package providing /review command powered by bundled comview binaries
Readme
pi-comview
Pi package that adds a /review command for a comview-driven review loop:

- Open diff in
comview - Add comments (
i), save (:w), quit (:q) - Pi automatically reads
.comview/comments.json - Pi addresses comments by default
Attribution
This package bundles the comview binary, originally created by rockorager. See the upstream repository for the comview source code and license.
Install
From GitHub
pi install git:github.com/swairshah/pi-comview
# or
pi install https://github.com/swairshah/pi-comviewFrom npm
pi install npm:pi-comviewAfter install, run /reload (or restart Pi).
Use
/review→ reviewgit diff/review --staged→ reviewgit diff --staged/review --all→ resend all comments (ignores seen-state)/review --reset→ reset seen-state only
State files are per-repo:
.comview/comments.json.comview/pi-review-state.json
Bundled comview binaries
This package ships prebuilt comview binaries in bin/ for:
- macOS arm64
- macOS amd64
- Linux arm64
- Linux amd64
The extension resolves binaries in this order:
PI_COMVIEW_BINenv var- bundled
bin/comview-<platform>-<arch> comviewfromPATH
Updating bundled comview from upstream release
When a new upstream comview release is available, run:
make update
# or pin explicit tag
make update TAG=v0.2.0This will:
- clone upstream
rockorager/comview - build all target binaries
- update:
COMVIEW_VERSIONbin/comview-*bin/checksums.txtbin/metadata.json
Then commit and publish this package.
Publish
npm publishAfter publishing, users can install with:
pi install npm:pi-comview