Install
Install with PiG
pig install npm:pi-shannon-statuslineInstall with Pi
pi install npm:pi-shannon-statuslinePackages 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.
{
"image": "https://raw.githubusercontent.com/RetiredPhysicist/pi-plugins/main/packages/pi-shannon-statusline/shannon-statusline.png",
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 1.2.3 (README.md). PiG does not review it.
pi-shannon-statusline
Live ANSI HUD for Pi with project, model, context, throughput, tool, agent, and configuration state.
Install
pi install npm:pi-shannon-statusline
From a checkout:
git clone https://github.com/RetiredPhysicist/pi-plugins.git && cd pi-plugins/packages/pi-shannon-statusline
cd pi-shannon-statusline
pi install .
HUD
The extension renders below the editor:
⌘ ~/D/project │ ⎇ main* ↑2 !3 +1 │ ↺ loop ×12 │ ↑ 36k │ ✦ 12m
λ deepseek / deepseek-v4-pro │ ⊡ ████████░░░░ 65% (200k)
» TTFT 1.24s │ Decode ~42.1 tok/s · ~312 tok
※ ×3 AGENTS.md │ ⊕ ×4 MCPs │ ★ ×5 Skills
─────────────────────────────────────────────────────────────
✔ read ×12 │ ✔ edit ×7 │ ✔ bash ×4
↻ bash: src/index.ts (3s)
─────────────────────────────────────────────────────────────
↻ agent (3s) │ ✔ agent ×2
✔ done
Run state
The last line mirrors Pi's own program status (the one Pi reports to the terminal over OSC 7501), so the HUD and the terminal agree:
| State | When |
|---|---|
◦ idle | nothing is running |
↻ working | a run or a compaction is in progress |
⧗ waiting for user | a dialog or login is waiting on you, with its title |
✔ done | one run finished |
✘ error | the run ended on an error |
done means one run finished and nothing further will happen automatically. It
is not a judgement about the work: it does not mean tests passed or the
result was accepted. A run you cancel reports idle, not done.
Configuration
Optional file: ~/.pi/agent/shannon-statusline.json
{
"rain": true,
"rainChars": "0123456789λΨΩΔΦ",
"footer": false,
"throughput": true
}
| Option | Type | Default | Effect |
|---|---|---|---|
rain | boolean | true | Show the matrix column. |
rainChars | string | built-in set | Characters used by the matrix column. |
footer | boolean | true | Show Pi's built-in footer and extension status rows. |
throughput | boolean | true | Show response metrics on line 3. |
Configuration is read on every HUD refresh. footer: false hides Pi's footer without hiding the Shannon HUD.
Metrics
TTFT: time frombefore_provider_requestto the first assistant delta.Decode: client-observed output rate;~marks an estimate.Input/TTFT: client-side input rate estimate.
Requirements
Pi >= 0.84.4.
Development
node --test src/__tests__/*.ts
License
MIT