Explain Pi CLI status line and token stats
Session from pi-sessions on Hugging Face by julien-c · CC-BY-4.0 · condensed by Coders Talk
Click a segment to jump to that moment
5msession
0interventions
by library · 1d
GOAL
Understand what the footer/status line in the Pi coding agent shows, including the meaning of token stat abbreviations like R24k.
- +0Prompt · +0Describe the status line of Pi (the line at the bottom of the screen)
- +0mAgent did · +0mRead tui.md and keybindings.md docs, scanned examples directory, then summarized the footer's purpose and the footerData API (git branch, extension statuses, token stats).
- +2mPrompt · +2mWhat's the 'R24k' size shown in the footer?
- +4mAgent did · +4mRead custom-footer.ts example, grepped source for token-related footer code, located footer.js in dist and inspected it to identify the stat prefixes.
- +5mOutcome · +5mExplained the footer's token stat prefixes (↑ input, ↓ output, R cache-read, W cache-write, $ cost) and confirmed R24k means 24,000 cache-read tokens.
VERDICT
I'd start by just asking directly about the token stat abbreviations instead of first asking for a general status line description, since that's what I actually wanted. Digging into the compiled footer.js source was what actually nailed down the exact meaning of 'R24k' rather than the docs alone.