@firstpick/pi-extension-stats
v0.1.2
Published
Token and cost usage analytics command for Pi session history.
Maintainers
Readme
pi-extension-stats
Token and cost analytics for Pi session history.
What it does
- Parses local Pi session
.jsonlfiles for the current workspace. - Aggregates usage by UTC day.
- Displays compact daily token bars and cost bars with totals.
- Shows input/output/cache breakdown, cache hit rate, estimated cache savings, cost burn rate, and top model usage.
- Highlights highest-cost day, projected 30-day cost, most expensive sessions, and model cost efficiency.
Install
pi install npm:@firstpick/pi-extension-statsConfiguration
No required configuration.
Commands
/stats— show last 14 days./stats <days>— show last N days./stats all— show all available days.
Tools
None.
