Commit Graph
6 Commits
Author SHA1 Message Date
Florian Schmidt d2ff67bb69 docs: estimate day use from tokens and chart one window instance (D7, D8)
The day chart stayed empty until the app had sampled a whole week,
although the token history covers it. D7 now scales price-weighted
tokens by the measured use of the instance to estimate spans without
samples, always marked as estimates. D8 replaces the long limit
history with a burn-up chart per window instance, an expandable
"Other" and one tooltip component. Developer feedback on the redesign.

Refs #5
2026-10-15 08:45:08 +02:00
Florian Schmidt 73f79eb6ac app: redesign the stats panel and settings (D8)
agent-review agent review: pass
The panel is now a dashboard: a one-row header with range and provider
controls, a tile per limit window with pace, forecasts, today's share
of the week and the daily budget, per-day week charts with even-pace and
budget lines, token stat tiles with one composition legend, hourly and
daily charts side by side, limit history, and top-8 breakdowns. Colours
follow fixed provider and status tokens instead of the OS accent;
numbers are compact to three significant digits. Settings are grouped
into cards with a sticky footer. Developer feedback on v1.

Refs #5
2026-10-14 22:59:24 +02:00
Florian Schmidt a20d0ab9dc core: add limit forecasts, week days and per-model series (D7)
LimitAnalysis computes the use at reset at the average rate, a
recent-rate forecast from the last 24 h of samples, and for windows
longer than a day the use of each local day, today's use, the even
pace and the daily budget. Pace now projects the date of reaching
100 % whenever usage is over pace, not only past the threshold.
Samples whose resets lie within 15 minutes form one window instance,
because Claude's reset times drift by a minute between probes.
TokenSeriesByModel replaces one query per chart point, and a missing
settings.json on first start is no longer a diagnostic.

Refs #5
2026-10-14 22:59:24 +02:00
Florian Schmidt c7086e9760 docs: window instances tolerate reset drift (D7)
Claude reports reset times to the minute and drifts between probes, so
an instance is the samples whose resets lie within 15 minutes.

Refs #5
2026-10-14 22:53:41 +02:00
Florian Schmidt fd4f6f1185 docs: note the partial days of a long window in D7
Refs #5
2026-10-14 22:43:32 +02:00
Florian Schmidt ab0e46d7df docs: record forecasts, week days and the panel layout (D7, D8)
D7 now shows the date of reaching 100 % from the first point over
pace, adds the use at reset and a recent-rate forecast, and defines
today's use, per-day use and the daily budget of a long window. D8
says what the panel leads with and fixes provider and status colours.
Developer feedback on v1.

Refs #5
2026-10-14 22:19:58 +02:00