Code review companion for the Pi Coding Agent. When Pi proposes a file change, this extension opens a diff editor with ✓ Accept and ✗ Reject buttons so you can review and approve every modification before it touches your files.
How it works
Pi agent wants to write or edit a file
The pi-vscode-sr npm package intercepts the tool call and writes a review request to .pi/review-requests/{uuid}.json
This VS Code extension watches for new requests, opens a diff editor, and adds Accept/Reject buttons to the editor title bar
Your decision is written to .pi/review-results/{uuid}.json — Pi reads it and either applies or discards the change