Skip to content

fix: replace cached plan usage when the plan changes - #12

Merged
mistyhey merged 1 commit into
mainfrom
fix/usage-plan-change
Nov 20, 2026
Merged

mistyhey merged 1 commit into
mainfrom
fix/usage-plan-change

Conversation

@mistyhey

@mistyhey mistyhey commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

When Binary reads plan usage and the new reading reports a plan but no limits yet, it kept the previous full reading instead. After a plan upgrade (for example to a plan without a 5-hour limit), the old 5-hour window could stay on screen indefinitely.

Now a reading whose plan differs from the cached one always replaces it.

Not tested: TypeScript wasn't available to type-check, there are no usage tests, and no real plan change was exercised.

🤖 Generated with Claude Code

A reading with a new plan but no limits yet was dropped in favour of the
old one, so an upgraded account kept showing its old 5-hour window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mistyhey
mistyhey merged commit d1cb663 into main Nov 20, 2026
1 check passed
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