gsxdsm
03073afa85
FN-7783: add Fable weekly usage window to Usage dropdown
Adds parsing and display support for a Claude "Weekly (Fable)" usage window alongside existing Sonnet/Opus per-model windows.
- fetchClaudeUsage parses seven_day_fable (with tolerant fallback keys: seven_day_claude_fable, fable, seven_day_fable_5) and pushes a Fable usage window
- fetchClaudeUsageViaCli recognizes a "Current week (Fable" CLI section and renders it as "Weekly (Fable)"
- Adds regression tests covering both API and CLI parsing paths
- Adds changeset documenting the new minor feature
Files changed:
.changeset/fn-7783-fable-usage.md | 7 ++
packages/dashboard/src/__tests__/usage.test.ts | 117 ++++++++++++++++++++++++-
packages/dashboard/src/usage.ts | 15 +++-
3 files changed, 134 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-7783
Fusion-Task-Lineage: 0ed79ed5-15f3-4b6a-a443-d99653e72448
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-10 08:09:12 -07:00
..
2026-07-09 23:46:21 -07:00
2026-07-08 16:27:10 -07:00
2026-07-10 08:00:34 -07:00
2026-07-10 08:09:12 -07:00
2026-07-09 23:46:21 -07:00
2026-07-08 16:27:10 -07:00
2026-07-10 08:00:34 -07:00
2026-07-10 07:40:22 -07:00
2026-07-08 16:27:10 -07:00
2026-07-09 21:32:59 -07:00
2026-07-10 07:46:52 -07:00