Windows showed the default executable icon, and the tray drew a plain "T" at
run time. A usage gauge in the provider colours now serves all three (D8).
tools/icon/make_icon.py renders it with Pillow, a development-only
dependency, into a multi-size ICO for Windows and a PNG for X11. Its test
checks every size and that a fresh run reproduces the committed files.
Refs #17
The developer asked for a detailed breakdown of every reset (feedback of
2026-10-18). Limits do not only reset at the end of their week: most Codex
weeks in the local history ended early.
- Core: a limit's samples form a window series (provider, limit name and
length), so the history follows Codex's week across slots (D7). Instance
spans are built once. One backward walk gives each instance, real or
inferred, the start of the instance after it. The hour that holds a
boundary goes to the instance that starts in it, or else to the one that
ends in it (#9). A stale sample that would put its instance after a later
one is ignored. The reset history lists the real instances with their
figures, totals and early-reset hours (D12). API value uses a dated list
price table; unknown models stay unpriced (D13).
- App: a Resets section per long window with totals, a timeline of
burn-ups side by side with skipped time in lanes below, early resets by
hour and weekday, and a sortable table (D8). The reset tooltip lists
every model with its tokens and API value. Tall tooltips open beside the
pointer, and Fluent's 320 px tooltip cap no longer wraps data values.
- Docs: D12 and D13 are new; D7 and D8 cover window series, boundary
hours and the Resets section.
Closes#14Closes#9
The developer's feedback of 2026-10-18 named four problems at the top
of the panel: late forecasts, a daily budget that shrank with every use,
unequal Claude and Codex tiles, and an unclear "This week".
- Core: forecasts start at 2 % of a window (D7). Each day of a long
instance has a share, an even pace and a budget. Today's budget starts
from the use at the start of the day and stays put while today is
spent. An estimated start-of-day use counts only the whole hours before
the first sample's hour, so later samples and tokens do not move it.
Week token totals follow the provider's limit week, with the calendar
week as the named fallback; the snapshot carries `weekStart` and
`weekWindow` (D9).
- App: tiles of one window kind show the same rows, with muted
placeholders that say why (D8). The stale warning sits in the Used row.
Week charts draw even pace and budget as steps per day, mark the
instance start and reset, and label full-day rates. Token tiles say
since when.
- CLI: prints which week it uses and since when.
Closes#13
The headless forecast test failed from 2026-10-16 on because the panel
read the real clock while its fixture fixes the time.
- App: PanelWindow takes an optional TimeProvider (the system clock by
default) and passes it to the pace bar, burn-up, peak and usage charts
and every forecast label. The burn-up chart uses the panel's render
time as now.
- Tests: headless panels run on a fixed clock at fixture time, with a
check before, at and after the forecast start. App and Core tests
with fixed-date Claude events pin HistoryStore's clock, so the 60-day
retention cannot drop them later.
Closes#11
Redesign the stats panel after the developer's feedback on v1 and add
limit forecasts, daily week use and token-based estimates (D7, D8).
- Panel: a fixed header with range and provider controls, limit tiles
with pace chips, meters and forecasts, week use per day, token KPIs
and charts, one burn-up chart per limit window with past instances,
and a sortable breakdown whose "Other" row expands. One tooltip
component for every chart, tile and table.
- Core (D7): average and recent-rate forecasts, the reach date whenever
use is over pace, days of a long window with even pace and daily
budget, window instances derived from resets with a 15-minute
tolerance, and estimates from price-weighted tokens where samples are
missing. Forecasts start at 10 % of a window, or as soon as it is
ahead, so a Codex week far ahead right after its reset warns too.
- Settings, popups and the version (1.1.0) follow the new design.
Closes#5Closes#7
FinalToken v1: a NativeAOT tray app for Windows 11 and CachyOS that tracks
Claude Code and Codex usage and limits through their CLIs only, with no
provider sign-in and no tokens (R1-R7, D1-D11).
- Core: incremental collectors for Claude transcripts and Codex
rollouts, limit probes through `claude -p /usage` and
`codex app-server`, a journaled history store, the refresh engine,
pace and popup decisions, and the snapshot.json contract.
- App (Avalonia): stats panel with limit bars, pace, projections, token
totals, charts, limit history and breakdowns; tray, settings,
non-activating pace popups, single-instance activation, start with
the OS, and the Off/Ask/Automatic Stream Deck plugin install.
- Stream Deck plugin (SDK v2, NativeAOT) for Elgato and OpenDeck.
- finaltoken-cli, tools/publish.py, the documentation check and the
agent review workflow.
Closes#1