Granular timescale for token usage as a line graph
I sometimes have agents that will run overnight or throughout the day for 12-16+ hours. I would love to see spending trends on perhaps an hourly or minutely rate (if possible). I figure the granularity of the data may prevent something too specific, but seeing a line graph of when tokens are getting spent shows me the concentration.
Separate lines per model or per session would also be valuable, so I can track which of my sessions/models is consuming the tokens. Particularly sessions.
Implemented in #673.
The browser dashboard now builds a selected-period line timeline from real assistant-call timestamps:
- 15-minute buckets up to 48 hours;
- hourly buckets up to 45 days;
- daily buckets for longer periods;
- separate session lines by default, with a Models toggle;
- both cost and fresh-token views;
- bounded top-series plus
Other, preserving exact totals.
The implementation also handles fractional-offset timezones and repeated DST hours, keeps older payloads compatible through the existing daily-chart fallback, and removes session-series details from shared-device and default MCP payloads.
Local validation: full suite 1,683 passed / 5 skipped, CLI and dashboard typechecks clean, production build passed, Playwright visual QA passed without console errors, Semgrep 74 rules / 0 findings, and Gemini 3.1 Pro final review PASS.