You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Claude: surface per-model weekly quota carve-outs (Fable 5) from limits[] — port of steipete/CodexBar#1851 #166
The Claude provider does not surface per-model weekly quota carve-outs (e.g. Fable 5 on Max plans). The Claude desktop app shows a separate "Fable" weekly bar, but Win-CodexBar only shows Session + Weekly (all models).
Upstream macOS CodexBar already implemented this: steipete#1851 ("Claude: surface per-model weekly quota carve-outs (e.g. Fable 5) from limits[]"), with ClaudeScopedWeeklyLimitMapper.swift and follow-ups (steipete#1837, steipete#1887). It would be great to port that to the Rust providers.
Why the current parsers miss it
Anthropic now returns model-scoped weekly limits only in the newer limits array of GET https://api.anthropic.com/api/oauth/usage. The legacy fields stay null, and both providers/claude/oauth/mod.rs (OAuthUsageResponse) and providers/claude/web_api.rs only deserialize the legacy seven_day_* fields, so the scoped window is dropped.
Real response from a Max 5x account today (values rounded, identifiers removed):
Parse limits[], and for each kind == "weekly_scoped" entry with a scope.model.display_name, push a NamedRateWindow into extra_rate_windows (e.g. id claude-weekly-scoped-fable, title Fable) so it renders like the existing scoped windows the CLI source already produces. The CLI-source parser (extract_cli_scoped_weekly_limits) already handles arbitrary model names generically — the OAuth/web sources just need the same data from limits[].
Happy to test a build on Windows 11 — this machine reproduces it consistently. Thanks for the great app!
Environment: Win-CodexBar 0.41.3 (winget), Windows 11 Pro, Claude Max 5x, source = oauth.
Activity
Finesssee commentedon Jul 11, 2026
Hey, thanks for the report. I will fix this asap.