Install
Install with PiG
pig install npm:pi-zed-bridgeInstall with Pi
pi install npm:pi-zed-bridgePackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.
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-bridge
Restart 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