Repository navigation
Conversation
Closed
3 tasks done
Match the Codex client: only workspace credit-depletion and usage-limit reasons block an account. Unknown or new limit types no longer leave the account blocked with no reset time. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Anthropic sends overage-status on ordinary responses to report extra-usage availability, so a short 429 on an account with extra usage off looked like exhausted quota and skipped the wait-once retry. Exhausted overage already comes with rejected 5h/7d windows, which still count as quota rejections. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ymichael
deleted the
bb/investigate-extra-usage-support-in-the-account-thr_zhebfwg2vz
branch
September 30, 2026 21:25
2 tasks done
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
Account Pooler excluded Claude and Codex accounts at the subscription switch threshold even when the provider reported available extra usage or credits. Requests could receive the pooler's own 429 before reaching the provider. See #4475 and #4533.
What changed
Track Claude extra usage and Codex credit availability from usage responses and headers, persist it, and allow exhausted accounts as fallback while preferring usable accounts below the subscription threshold. Recheck exhausted accounts before fallback and return pinned conversations to recovered subscription quota. Show an “Extra usage available” pill in Settings only for allowed availability; this does not claim current billing activity. CLI tables and account/status RPCs expose the same observation, with guide and skill documentation updated.
Adds plugin-local quota migrations,
extraUsageobservations, andusageRestrictionreasons/reset times. Codex credit-depletion and spending-control restrictions block routing even below subscription thresholds; matching refreshed observations clear recovered restrictions. Credit-only updates work and unrelated updates preserve availability. No public Plugin SDK or server/daemon wire changes. Model entitlement selection in #3615 remains separate.How you verified
pnpm exec turbo run test typecheck lint --filter=bb-plugin-account-pool: 341 tests pass, typecheck passes, lint has zero errors (two existing warnings).4dfa31b9ac276965a2730db10ebcdc202c819281in Chromium at 1280px and 390px: allowed Claude/Codex fixtures show the pill; disallowed fixtures do not. Navigation through the Settings plugin link works. No real paid requests were made.Fixes #4475
Fixes #4533