Replace Pi's default footer with a cleaner Codex-style status line that stays out of the way but keeps the useful bits visible.
Default status line:
model-with-reasoning · current-dir
Status: Early-adopter release (
v0.1.0). It is ready to use, but the available segments and configuration details may still change beforev1.0.
pi install npm:@pi-vault/pi-statusThen reload Pi:
/reloadOnce installed, the footer updates automatically.
Use /statusline inside Pi to:
- turn footer items on or off
- reorder the items you want to see
- preview the result before saving
- control which extension status messages are shown
Changes are saved and reused the next time Pi starts.
You can build your footer from these items:
modelmodel-with-reasoningproject-namecurrent-dirgit-branchrun-statecontext-remainingcontext-usedcontext-window-sizeused-tokenstotal-input-tokenstotal-output-tokenssession-idfive-hour-limitweekly-limitextension-statuses
five-hour-limit and weekly-limit come from @pi-vault/pi-usage and only appear when that usage data is available.
Keep it minimal:
model-with-reasoning · current-dir
Show more session detail:
model · run-state · git-branch · context-used · context-remaining · session-id
- Node.js
>=22.12 - Pi host environment with
@earendil-works/pi-coding-agentand@earendil-works/pi-tui - Tested in this repo against
@earendil-works/pi-coding-agent@0.78.xand@earendil-works/pi-tui@0.78.x
pnpm install
pnpm check
pnpm pack --dry-run
pi -e .MIT