Skip to content

Show Claude budgets and reconcile Claude/Codex usage - #1956

Merged
currentbits merged 13 commits into
mainfrom
coder/usage-1944
Nov 8, 2026
Merged

currentbits merged 13 commits into
mainfrom
coder/usage-1944

Conversation

@currentbits

@currentbits currentbits commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Monthly Claude budgets, interrupted Claude measurements and repeated Codex usage events now retain distinct, consistent accounting.

  • Show supported monthly extra-usage budgets through managed OAuth and CLIProxy, preserving currency, exponent, disabled state and unknown resets. Switching computers clears old snapshots and ignores late replies.
  • Retain observed Claude input/output/cache/reasoning measurements on Stop, exit, steer and app quit. Deduplicate message snapshots and advisor iterations; keep observed child/model identities and unavailable fields explicit.
  • Reconcile Codex cumulative snapshots across duplicates, replay and process restart. Imported-session totals establish a baseline; recovered gaps remain unattributed. Context occupancy comes from the last request rather than cumulative consumption.

SDK-reported dollar totals stay the recorded cost, including zero. Configured fallback prices apply only to uncovered measurements. Mixed cells, model filters, split-row turn counts and legacy rows have dedicated persistence/pricing regressions. Advisor delta fixtures follow the primary API format.

Validation: full renderer 3,875 passed. Full Electron run: 5,961 passed, 4 skipped, one fixed-port probe failed identically on unchanged main because the running Solenta app owns port4620. Typecheck/preload checks passed. Independent accounting reviews and wide/narrow Chromium checks passed; no paid provider turns or real credentials were used.

Limits: no external-transcript backfill. Ambiguous backwards Codex counters remain partial. Idle background-child measurements outside an active Claude run and unsupported completed warm results omitting the native USD field remain outside this batch.

Closes #1944.
Closes #1945.
Closes #1946.
Part of #1926.

Built and independently reviewed with GPT-6.1 Sol in Codex.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T13:16:45.974762Z 96df623 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@currentbits currentbits changed the title Show Claude monthly extra-usage budgets alongside account limits Show Claude budgets and reconcile Claude/Codex usage Nov 8, 2026
@currentbits
currentbits merged commit 4dbae5e into main Nov 8, 2026
14 checks passed
@currentbits
currentbits deleted the coder/usage-1944 branch November 8, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant