A clean-room VS Code extension that embeds the pi coding agent (MIT) as a chat sidebar. The extension host spawns pi --mode rpc and speaks its JSON-lines RPC protocol; a React webview renders the streaming conversation, thinking, and tool calls.
This is an original implementation modeled on the architecture of the "Pendant" extension. It reuses only the publicly published, MIT-licensed pi runtime through its documented RPC embedding interface — it contains none of Pendant's proprietary code.
Editor-tab chat — open the chat in a full editor tab (Open Chat in Editor)
HTML export (Export Chat to HTML...)
Forking — edit a previous message and resend on a new branch (Edit a Previous Message)
Edit/write diffs — file edits render as colored diffs
Slash-command autocomplete — type / in the composer
In-webview approval dialogs — pi extension prompts render inline (native fallback when hidden)
Not yet built:
Voice dictation. Requires a native per-OS mic-capture helper + a bundled whisper.cpp build + on-demand ggml model download + host-side transcription pipeline (the webview cannot access the microphone directly). This is a separate binary-distribution effort; see the voice section of the project notes.
Full branch tree visualization (forking works; the tree view is not yet drawn).