pi-zed-bridge
Pi extension for Zed diff approval workflows and editor context bridging.
Package details
Install pi-zed-bridge from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-zed-bridge- Package
pi-zed-bridge- Version
0.1.0- Published
- Oct 29, 2026
- Downloads
- 345/mo · 345/wk
- Author
- yacineboudebouz
- License
- MIT
- Types
- extension
- Size
- 70.8 KB
- Dependencies
- 1 dependency · 2 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
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-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