app: add the Avalonia desktop app

Opening the app shows the stats panel: per-provider limit bars with the
pace marker, delta, reset and projection, token totals, hourly and daily
charts, limit history with its pace line, model and project tables and
recent diagnostics (R4, D8). Pace popups stack at the bottom right
without taking focus (R5). The tray, settings, single-instance
activation, start with the OS and the Stream Deck install policy (D11)
are wired to the Core engine. Avalonia 12.1.4 and
CommunityToolkit.Mvvm 8.4.2 are the new packages D8 calls for.

Refs #1
This commit is contained in:
Florian Schmidt
2026-10-14 20:08:11 +02:00
parent 3692cbd85b
commit 183247bab5
17 changed files with 959 additions and 8 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
# App tests
Hand-written fixtures only. xUnit v3 AOT with Microsoft.Testing.Platform.
Run `dotnet test --project tests/FinalToken.App.Tests -c Release` from the root.
Placeholder test; owning worker replaces it.
View-model tests use public Core queries. Headless tests run on a dedicated UI thread with
Skia and HarfBuzz, exercise settings and popup actions, and save seven PNG screenshots outside
the repo at ../runs/shots/w2. FINALTOKEN_SCREENSHOT_DIR overrides that path.