← Catalog

pi-zed-bridge

Pi extension for Zed diff approval workflows and editor context bridging.

Package

Install

Install with PiG

pig install npm:pi-zed-bridge

Install with Pi

pi install npm:pi-zed-bridge
Review before installing

Packages 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

CommandAction
/zed, /zed statusConnection status
/zed contextDump the current Zed editor context into chat
/zed diagnostics [active|all|file <path>]Diagnostics (available: false is expected today — see limitations)
/zed installCompanion install instructions
/zed debug, /zed status-mode [widget|status]Debug/UX toggles
⇧F8Toggle 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