pi-signal-footer

A readable status footer for Pi Coding Agent: model, tokens, cache, cost, context bar, streaming rate, and MCP/LSP status.

Packages

Package details

extension

Install pi-signal-footer from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-signal-footer
Package
pi-signal-footer
Version
0.4.2
Published
Sep 4, 2026
Downloads
962/mo · 235/wk
Author
chengzhi-c
License
MIT
Types
extension
Size
55.6 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-signal-footer

English | 简体中文

A status footer for Pi Coding Agent.

C:/Users/dev/agent-demo · fix-context-bar  │  opencode-go › ◎ deepseek-v4-flash-0731 │ ✦ max │ ⎇ main   ⎔ 12% [━━─────────────────] 36k/300k
↓ 213 ↑ 32k │ ↻ 5.1M (97%) ✎ 137k │ $0.087 │ ◷ 2h25m · 1 turn · 45 tok/s                                          ⇄ MCP 1/1 · LSP typescript

Requires Pi Coding Agent >=0.84.4. Older hosts keep the native footer.

Install

pi install npm:pi-signal-footer

Pin a version with pi install npm:pi-signal-footer@<version>. Update with pi update --extensions.

From a git tag:

pi install git:github.com/chengzhi-c/pi-signal-footer@v<version>

Configure

Settings are stored in pi-signal-footer.json under Pi's agent directory (usually ~/.pi/agent/). Missing or invalid files fall back to these defaults:

{
  "enabled": true,
  "locale": "auto",
  "showProject": true,
  "showSessionName": true,
  "showDuration": true,
  "showTurns": true,
  "showSpeed": true,
  "showBranch": true,
  "showCacheRatio": true
}

locale is auto, zh, or en. Commands below write this file.

Commands

/signal-footer legend              show the metric legend
/signal-footer hide                hide the legend (this session)
/signal-footer help                show every command
/signal-footer off                 restore the native footer
/signal-footer on                  enable this footer
/signal-footer path [on|off]       show/hide the project path
/signal-footer session [on|off]    show/hide the session name
/signal-footer time [on|off]       show/hide the session duration
/signal-footer turns [on|off]      show/hide the turn count
/signal-footer speed [on|off]      show/hide the response rate
/signal-footer branch [on|off]     show/hide the git branch
/signal-footer cache [on|off]      show/hide the cache hit ratio
/signal-footer status              show the current settings
/signal-footer locale auto|zh|en   set the UI language

Omit on|off on an item command to toggle it. off and on persist across sessions.

License

MIT