omp packages

pi-shannon-statusline1.2.0

Cyberpunk terminal HUD for Pi — ported from shannon-statusline for Claude Code

GitHub Actions Published 10 days ago MIT ~1K downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-shannon-statusline terminal HUD preview

pi-shannon-statusline

Live ANSI HUD for Pi with project, model, context, throughput, tool, agent, and configuration state.

npm version MIT license Claude Code companion

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.git
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 from before_provider_request to 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