$ cat ~/map/pi-workbench.md
Pi Workbench
OpenCode-style terminal frontend for pi, Windows-first, with per-session-tab pi processes and native-handoff commands.
tools✓ Oct 20
Facts
- repository
- github.com/ImbeinBulied/pi-workbench ↗
- GitHub Stars
- ★ 0
- Forks
- 0
- license
- —
- npm / mo
- —
- last push
- Oct 19, 2026
install
git clone https://github.com/ImbeinBulied/pi-workbench.git; cd pi-workbench; powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1## TL;DR
OpenCode-style terminal frontend for pi: session tabs that each own an independent pi process, OpenCode's theme set plus three Workbench palettes, usage cards, and a Windows-first installer that registers a piw launcher.
## Key points
- $Each open session tab owns an independent pi process, so a run continues while you switch tabs; tabs show running, unread, and pending-dialog states.
- $Live mode launches pi through ~/.pi/agent/bin/pi-launcher.js, which resolves pi's current release at every start or reconnect — updating pi needs no Workbench rebuild; PI_CLI_PATH overrides the entry point, and Unix also accepts pi from PATH.
- $Frontend handlers cover /new, /clone, /fork, /name, /session, /compact, /thinking, /settings, /copy, /export, and /import; /login, /logout, /trust, /share, /bug, /scoped-models, /changelog, and /tree hand off to native pi with the command prefilled.
- $/theme includes all 33 named built-in themes from the OpenCode v2 docs plus Workbench Dark, Light, and Solarized Dark, with hover or arrow-key previews.
- $The sidebar Pi card shows cost, current and total context, token and cache use, tool calls, and messages, and the sidebar hides below 90 columns.
- $Ctrl+Enter queues a draft typed during generation as a steering message, /followup text delivers a message after the run finishes, !command runs through pi's shell API with streamed output, and @file references stay inside the project, reject binary files, and are limited to 1 MB each.
- $Windows-first setup: install.ps1 restores locked dependencies and registers a per-user piw launcher, and piw doctor checks Bun compatibility and pi availability without reading credentials.
- $Stated boundaries: quota cards read from configured OpenCode plugin settings rather than pi RPC, and image attachments, embedded terminals, and enforced Plan-agent permissions are not implemented.
## FAQ
Q Does Pi Workbench replace pi's built-in TUI?
No — the README describes it as running separately from pi's normal TUI; /native opens native pi directly in the same terminal and /quit returns to Workbench.
Q What does piw doctor check?
Bun compatibility and pi launcher availability, plus the optional OpenCode usage-card and DeepSeek tracker files by presence only; it never reads or prints credentials and does not verify model access or provider connectivity.
Q Can it run on macOS and Linux?
Yes: restore dependencies with npm ci and run bun src/cli.ts with Bun 1.3.14 or newer from the checkout; the piw launcher installer is documented for Windows.
## References
- README (install, controls, commands, boundaries) ↗
- Feature inventory (implementation and backend boundaries) ↗
## Related entries
$ Pi for VS Code
VS Code extension hosting the real pi TUI in the sidebar over a pseudo-terminal — not a chat-panel reimplementation.
$ pi-conversation-outline
Read-only outline rail for fullscreen: one tick per prompt, hover to preview, click to jump.
$ Pringled's pi extensions
Claude Code-style tool rows, a context-and-cost footer, a model picker, background jobs with checkpoints, and next-prompt helpers.
Last updated: Oct 19, 2026