pi-mermaid
π§ββοΈ Pi extension that renders Mermaid diagrams as ASCII in the TUI
Install
pi install npm:pi-mermaid
Installs from npm into ~/.pi/agent/.
Add -l for project-local (.pi/). Manage with pi list / pi update / pi remove.
What this package can reach
Detected automatically from the source at
version 0.3.0.
This describes access, not safety β you decide whether it's appropriate for what
the package claims to do.
- Behavior β Changes how the agent thinks Modifies the system prompt, injects messages, or rewrites conversation context.
- Intercepts tools β Can block or rewrite tool calls Subscribes to tool_call/tool_result/input. Can change a command after you approved the one displayed.
- UI β Draws its own interface Renders widgets, footers, dialogs or full-screen views.
What it actually did when run
observedLoaded in a sandbox with no network, a read-only filesystem and a recording stand-in for pi's API. This is what it called β not what the source suggests it might.
Events subscribed agent_endinput
APIs called registerCommandregisterMessageRenderersessionManager.getBranchui.notify
Run against version 0.3.0 on 2026-08-02.
Registration-time behaviour under default settings; other configurations may differ.
Reviews
0 publishedSign in with GitHub to write a review, reply, or vote.
No reviews yet β be the first.
More in UI upgrades
- glimpseui β Native micro-UI for scripts and agents β cross-platform WebView windows with bidirectionalβ¦
- pi-powerline-footer β Powerline-style status bar for pi β model, tokens, cost, git branch and more in a configurβ¦
- @yevhen.b/pi-macos-theme-sync β Sync Pi's theme with macOS appearance changes.
- @piotr-oles/pi-pr β Pi Agent extension: show the current branch's GitHub PR status (clickable #n + CI/merge/reβ¦