Repository navigation
feat(mac,web,mobile): each fleet account's banked Claude resets show and redeem from Accounts - #1558
Merged
Merged
Conversation
…and redeem from Accounts Claude banks a few usage-limit resets per account, and #1555 could only read and spend them for the server's own Claude login. The fleet now carries them: swapd reads the bank beside the windows and spends one with `reset <ident>` (deathemperor/swapd#56); the Mac passes `resets` through per account, declares the `reset` capability and answers `reset <fleet> <n>` on the control socket; the contract gains `InfinitusAccount.resets`; the row model derives the count, the next grant's wording and expiry, and what holds the next one. On web the row shows a ticket count beside the plan that opens the bank and a Use reset button, confirmed before the claim; on the phone the row carries the same line and the menu offers the action while nothing holds it. Upstream's "Usage providers" hub section is no longer mounted: the Accounts page reads every hub through the Mac app. Closes #1554. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
deathemperor
enabled auto-merge (squash)
September 23, 2026 07:49
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Sep 23, 2026
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.
Closes #1554.
Claude banks a few usage-limit resets per account, and #1555 could only read and spend them for the server's own Claude login. The fleet now carries them end to end.
cedar_ember=1) under Claude Code's own agent string, the store keeps it beside the windows,listreportsresetsper row judged at list time (left / total, the next grant's wording and expiry, the hold:notAtLimit,cooldownwithuntil,blocked), andreset <ident>re-reads the bank as that slot, refuses a spent bank or a hold, and spends the next grant with the CLI's own claim.apps/mac/build-swapd.shis bumped to its merge commit.Account.resets(AccountResets, additive),EngineCapabilities.reset,SwapdCLI.reset/SwapdEngine.reset, and thereset <fleet> <n>control route, refused for a row without a bank or with a hold.InfinitusAccount.resets;AccountRowModel.resets, theresetaction (only with the capability and something left),resetHoldText/resetsSummary.Verified: swapd
cargo test/ clippy / fmt;swift test(751 pass); contracts, client-runtime, server, desktop, web and mobile typecheck clean;infinitusAccounts.test.ts,accountsRoute.logic.test.ts,settingsSearch.test.ts,AccountsPage.test.tsxpass; fmt + lint per touched file. No reset claim was sent to the provider at any point.Claude Fable 5.1 via Claude Code.
🤖 Generated with Claude Code
Summary by CodeRabbit