Existing issues
What happened?
The Claude provider reports the all-models weekly window as exactly 100.0% used, while the claude.ai app's usage page shows 1% for the same window at the same moment. The other windows from the same response are correct (verified against the Claude app):
The bad reading appeared suddenly (a fetch minutes earlier returned 0.0%) and then stayed pinned at exactly 100.0 across repeated fetches. The suspiciously exact 100.0 suggests a missing/null field being defaulted to exhausted — possibly the legacy seven_day field going null now that Anthropic is migrating window data into the limits[] array (the same migration that motivated #166; the real all-models value should be available from the kind == "weekly_all" entry in limits[]).
CLI output
$ codexbar-cli usage --provider claude --json
[{"cost":null,"provider":"claude","source":"oauth","usage":{"extra_rate_windows":[{"id":"claude-weekly-scoped-fable","title":"Fable only","window":{"is_informational":false,"resets_at":"2026-07-26T22:59:59.671595Z","used_percent":2.0,"window_minutes":10080}}],"login_method":"Claude Max 5x","primary":{"is_informational":false,"reset_description":"Jul 20 at 4:29AM","resets_at":"2026-07-20T04:29:59.671218Z","used_percent":8.0,"window_minutes":300},"secondary":{"is_informational":false,"reset_description":"Jul 26 at 10:59PM","resets_at":"2026-07-26T22:59:59.671246Z","used_percent":100.0,"window_minutes":10080},"updated_at":"2026-07-20T00:01:22.822650800Z"}}]
--source cli produces the same result (falls back to source: "oauth").
Affected area
Steps to reproduce
- Claude Max 5x account, OAuth source
codexbar-cli usage --provider claude --json
- Compare
secondary.used_percent with the weekly (all models) value on claude.ai's usage settings page
App version
0.43.0 (winget)
Windows version
Windows 11 Home 10.0.26200
Additional context
Related: #166 (Fable carve-out port — working great, thanks!). Happy to test a build; this machine reproduces it consistently.
Existing issues
What happened?
The Claude provider reports the all-models weekly window as exactly 100.0% used, while the claude.ai app's usage page shows 1% for the same window at the same moment. The other windows from the same response are correct (verified against the Claude app):
claude-weekly-scoped-fable, from the Claude: surface per-model weekly quota carve-outs (Fable 5) from limits[] — port of steipete/CodexBar#1851 #166 port): 2% — correctsecondary): 100.0% — wrong (app says 1%)The bad reading appeared suddenly (a fetch minutes earlier returned 0.0%) and then stayed pinned at exactly 100.0 across repeated fetches. The suspiciously exact
100.0suggests a missing/null field being defaulted to exhausted — possibly the legacyseven_dayfield goingnullnow that Anthropic is migrating window data into thelimits[]array (the same migration that motivated #166; the real all-models value should be available from thekind == "weekly_all"entry inlimits[]).CLI output
--source cliproduces the same result (falls back tosource: "oauth").Affected area
Steps to reproduce
codexbar-cli usage --provider claude --jsonsecondary.used_percentwith the weekly (all models) value on claude.ai's usage settings pageApp version
0.43.0 (winget)
Windows version
Windows 11 Home 10.0.26200
Additional context
Related: #166 (Fable carve-out port — working great, thanks!). Happy to test a build; this machine reproduces it consistently.