Repository navigation
v0.2.0
pi-token-usage v0.2.0
This release adds a customizable usage footer and several usability improvements across the extension.
Highlights
- Added live footer usage info for:
- today's current-project consumption
- today's total consumption
- Added footer customization commands:
- enable/disable footer
- choose footer items
- apply footer presets
- customize separator
- set a full footer template
- remove template override
- inspect available template variables
- Added theme-based footer styling modes:
plainmutedcost
- Added footer template support with formatted values by default and
Rawvariants for unformatted numbers - Fixed footer config edge cases, including removing overrides correctly
- Improved README documentation with footer examples and template usage
Example footer template
/usage footer template [project: {projectToday.cost} · {projectToday.tokens} tok] [total: {totalToday.cost} · {totalToday.tokens} tok]
Example rendered footer:
[project: $2.56 · 3.5M tok] [total: $12.50 · 32.3M tok]
Notes
Future ideas are tracked in:
- #2 Post-0.2 roadmap: footer UX, styling, and analytics improvements