pi-zed-bridge
v0.1.0
Published
Pi extension for Zed diff approval workflows and editor context bridging.
Readme
pi-zed-bridge — Pi extension
Pi-side half of Pi Zed Bridge: intercepts edit/write tool calls, asks
Zed to review the change (native diff + approve prompt), streams Zed editor
context into every agent turn, and exposes the get_zed_diagnostics tool.
Install
pi install npm:pi-zed-bridgeRestart your Pi session. Verify with /zed status. The Zed companion
(pi-zed-bridge-daemon + the Zed extension) is required to be installed — see
the root README and /zed install.
Usage
| Command | Action |
|---|---|
| /zed, /zed status | Connection status |
| /zed context | Dump the current Zed editor context into chat |
| /zed diagnostics [active\|all\|file <path>] | Diagnostics (available: false is expected today — see limitations) |
| /zed install | Companion install instructions |
| /zed debug, /zed status-mode [widget\|status] | Debug/UX toggles |
| ⇧F8 | Toggle auto-accept ⇄ review mode |
Everything (status widgets, approval race between Zed prompt and Pi's TUI,
headless parent-approval proxy) mirrors m4riok/pi-ide-bridge — thanks again
for the fantastic reference implementation.
Dev
npm install
npx tsc --noEmit