Request: show Claude cloud session credits
Summary
Claude Code cloud sessions went GA on September 23, 2026, and individual Pro and Max subscribers received a one-time promotional credit for them ($100 Pro, $250 Max, expiring November 4, 2026). It is a dollar balance separate from normal usage limits. CodexBar does not show it, and I'd like it surfaced for Claude.
Reference: https://www.anthropic.com/legal/promotion-credit-terms
(Correction) There is currently no plan-tier gate, and this credit is not displayed for any account type today.
Data
The balance is already in the Claude usage response as iguana_necktie (limit_dollars, used_dollars, remaining_dollars, resets_at, locked_reason), so no new endpoint is needed. It is distinct from the prepaid Usage credits balance and Limit Reset Credits.
Codex review: this still needs some work. Reviewed October 2, 2026, 2:40 AM ET / 06:40 UTC.
Summary Keep open for feature sign-off. Current main and v0.70.0 do not display this distinct balance, and the merged prepaid-credit and reset-credit work does not satisfy the request.
Reproducibility: not applicable. as a feature request. Source inspection confirms the missing display path; the reported live dollar payload has not been independently verified.
Maintainer decision needed
| Question | Recommendation |
|---|---|
| Should CodexBar add a separate Claude cloud session balance through its shared optional credit presentation? | Approve a bounded shared display: After confirming a redacted payload, add the distinct balance through existing provider presentation patterns without changing authentication or source precedence. |
Why: This introduces a new displayed credit type, and VISION.md reserves new features for sign-off.
Next step Obtain feature sign-off and a redacted response identifying the selected Claude source before implementation; this is not an automatic bug-fix candidate.
Review details
Best possible solution:
Represent cloud session credits as a separately labeled Claude balance with expiry and availability state, preserving account ownership and failing softly when the block is absent or malformed.
Do we have a high-confidence way to reproduce the issue?
Not applicable as a feature request. Source inspection confirms the missing display path; the reported live dollar payload has not been independently verified.
Is this the best way to solve the issue?
Yes, extending the existing Claude provider and shared presentation is the narrowest apparent direction, provided the dollar contract is verified and remains distinct from other credits.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
- The reported payload needs a redacted real response confirming which selected source returns it, dollar units, expiry semantics, and locked-state behavior.
Codex review notes: model internal, reasoning medium; reviewed against 0ac27e8f7880.
Label changes
Label changes:
No label changes.
Label justifications:
P3: This adds optional balance visibility without evidence of a broken existing workflow.
Evidence reviewed
What I checked:
- Current-main decoding omits dollar fields: The checkout matches fetched main. iguana_necktie is decoded into OAuthUsageWindow, which contains only utilization and resets_at. Whole-tree searches found no consumer of iguanaNecktie and no implementation of the requested dollar fields. (
Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthUsageFetcher.swift:294, 0ac27e8f7880) - Snapshot paths do not expose the balance: OAuth maps extra_usage into provider cost and routines/scoped limits into extra windows; it does not map iguanaNecktie. The Web parser likewise maps extra_usage and cedar_ember without a cloud session balance. (
Sources/CodexBarCore/Providers/Claude/ClaudeUsageFetcher.swift:1045, 0ac27e8f7880) - Existing credit implementations are distinct: Documentation separates prepaid dollar balances from saved resets. Tests verify prepaid amounts in minor currency units. GitHub confirms https://github.com/steipete/CodexBar/pull/2443 and https://github.com/steipete/CodexBar/pull/4048 are merged; their bodies describe those separate features, not cloud session dollar credits. (
docs/claude.md:233, 0ac27e8f7880) - Latest-release comparison: v0.70.0 also decodes iguana_necktie as the percentage-window type; the release inspection does not establish support for the requested dollar balance. (
Sources/CodexBarCore/Providers/Claude/ClaudeOAuth/ClaudeOAuthUsageFetcher.swift, fcaffd75ace3) - Feature fits vision but needs approval: VISION.md explicitly includes provider credits and shared provider-driven UI, while requiring sign-off for new features. The supplied repository profile also prohibits automatic cleanup closure. (
VISION.md:15, 0ac27e8f7880) - Discussion and canonical search: The captured body corrects the plan-tier premise and identifies a separate dollar balance. The subsequent human comment only requests re-review. GitHub searches for cloud session, iguana_necktie, and Claude credits found no implementation candidate for this balance. The open reset-grant request https://github.com/steipete/CodexBar/issues/3895 concerns a different inventory.
Likely related people:
- Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
- Zihao-Qi: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
- enieuwy: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
How this review workflow works
- ClawSweeper keeps one durable marker-backed review comment per issue or PR.
- Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
- A fresh review can be triggered by eligible
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch. - PR/issue authors and users with repository write access can comment
@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only. - Maintainers can also comment
@clawsweeper reviewto request a fresh review only. - Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
- Maintainer-only repair and merge flows require explicit commands such as
@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review. - Maintainers can comment
@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.
@clawsweeper re-review
🦞👀 Exact review queued.
Re-review progress:
- State: Complete
- Detail: The durable review result and its route handoff completed.
- Run: https://github.com/openclaw/clawsweeper/actions/runs/36974779284
- Updated: 2026-10-02T06:41:50.514Z
Working on this PR now