Commit Graph
2 Commits
Author SHA1 Message Date
Florian Schmidt 312db4e0b8 app: render the panel with an injected clock
The headless forecast check failed after 2026-10-16 08:33 UTC because
the fixture fixes now while PanelWindow read DateTimeOffset.UtcNow.
PanelWindow now takes an optional TimeProvider (system by default) and
hands it to the pace bar, burn-up, peak and usage charts and every
forecast label. The tests pin it to fixture time and check the
"Forecast from" note before, at and after the forecast start.

App test fixtures now use fixed dates and pin HistoryStore's clock, so
the 60-day Claude retention cannot drop their samples later.

Refs #11
2026-10-17 09:24:51 +02:00
schmidt.florian f8afd11679 feat: add FinalToken v1 for Claude and Codex usage (#2)
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
2026-10-14 22:11:19 +02:00