Features
- Added a history-by-day view in Sessions with selectable ranges (today, 7, 30, 90 days, or all), model and folder filters, summary tiles for cost, tokens, cache reads, and active time, plus a bar chart of tokens or cost.
- Session usage is now tracked per local day and model, so sessions that run past midnight split across days and resumed sessions add only new usage.
- Claude Code usage for a message is now counted on the day of its final block.
- Added a new backend stats endpoint that returns daily usage by agent, folder, and model.
Improvements
- Active time now sums gaps under five minutes between lines in the main session file and excludes subagent sessions.
- Session totals now come from all files in the selected range rather than only the latest 200 shown.
- The session cache now stores the time zone and refreshes when it changes; changed files are parsed in parallel, and cache entries are dropped only for deleted files.
- Performance: reading 4,000 synthetic files (880 MB, 180 days) takes 0.74 seconds cold, 22 ms warm, and 49 ms from cache.
Bug Fixes
- Corrected the Chinese translation of “tokens” on the usage tiles.
Install
Download from usemagpie.ai, or curl -fsSL https://usemagpie.ai/install.sh | sh. An installed magpie updates itself.
- macOS (Apple Silicon):
magpie-darwin-arm64.dmg - macOS (Intel):
magpie-darwin-amd64.dmg - Windows:
magpie-windows-amd64.exe(ARM:magpie-windows-arm64.exe) - Linux:
magpie-linux-amd64/magpie-linux-arm64(needs GTK 3 and WebKitGTK 4.1) - Terminal only:
magpie-cli-<os>-<arch>