Skip to content

feat(dev): add a demo mode with synthetic history for real-app captures - #9

Merged
StevenACZ merged 1 commit into
mainfrom
feat/demo-mode
Sep 26, 2026
Merged

StevenACZ merged 1 commit into
mainfrom
feat/demo-mode

Conversation

@StevenACZ

Copy link
Copy Markdown
Owner

Development builds launched with TOKENGAUGE_DEMO=1 show synthetic Claude and Codex data: a seeded history database in the temporary directory feeds the panel, the history views, pace and every Stats card through the normal code paths. The demo store never refreshes live usage, keeps its preferences in a separate defaults suite and skips update checks and the recovery prompt. Distribution builds ignore the variable.

  • DemoData seeds quota samples, per-model tokens, reasoning effort, skills and turns.
  • UsageStore gains historyURL and liveReadsEnabled; the panel and history models read from the store's history URL.
  • Tests cover the seeded history feeding Stats, forecasts and pace, and a demo store that never refreshes.

@StevenACZ
StevenACZ merged commit 24ba00e into main Sep 26, 2026
2 checks passed
@StevenACZ
StevenACZ deleted the feat/demo-mode branch September 26, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant