Skip to content

feat: provider-aware credit balances and usage (v3.9.0) - #17

Merged
vtmocanu merged 2 commits into
mainfrom
feature/codex-credit-balance
Oct 31, 2026
Merged

vtmocanu merged 2 commits into
mainfrom
feature/codex-credit-balance

Conversation

@vtmocanu

@vtmocanu vtmocanu commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Show the official Codex account credit balance alongside transcript-derived session usage, without bal or left labels.
  • Support GPT-6.1 Sol credit estimates using published model-specific rates, including Fast/Ultrafast purchased-credit multipliers.
  • Hide Claude account/profile badges in detected Codex sessions.
  • Render weekly-only Claude limits when a successful account response omits the five-hour window, preserving account isolation and malformed-response fallback.
  • Prepare v3.9.0 release notes and version.

Validation

  • task ci: passed, including normal and C locales, shell syntax/lint, fetcher and installer regressions.
  • task test-themes-full: the final post-review implementation passed 2,231 tests in each locale, 0 failures.
  • Verified the installed wrapper with isolated fixtures and this session's actual GPT-6.1 transcript.
  • Independent review by the maintainer's status session found two Claude cache-freshness bugs. Both were reproduced with failing regression tests, fixed, and re-reviewed with no blocking findings.
  • Added regression coverage for expired authoritative snapshots, stale native weekly-only snapshots, and unexpired cached windows.

Scope

The intermittent Claudish custom-statusline disappearance is not fixed here. Its generated wrapper has a three-second timeout, but measured renders completed in 1.39–1.78 seconds; no timeout cause has been confirmed and no runtime settings were changed for that issue.

🤖 Generated with Claude Code

Show the official Codex account credit balance alongside session estimates, support published GPT-6.1 Sol credit rates, and hide Claude-only profile badges in Codex sessions. Preserve weekly limits when Claude omits its five-hour window without reviving stale native values.

Add isolated parser, cache, provider and rendering regressions in both locales. Prepare v3.9.0 release notes and version.
Honor the authority TTL for unkeyed weekly-only snapshots and reject stale native omissions while a cached five-hour window remains active. Replace expired windows only when weekly data is at least as fresh. Keep account-keyed fallback isolated from native account-agnostic values.

Add failing-before/fixed-after regression coverage, align documentation with the freshness rules, and match tiny credit balances portably. Independently re-reviewed with no blocking findings; task ci passes in both locales.
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3296b1b1-ee0a-4f56-8015-7e4d525a56c2
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@vtmocanu
vtmocanu marked this pull request as ready for review October 31, 2026 21:47
@vtmocanu
vtmocanu merged commit 5c914cb into main Oct 31, 2026
2 checks 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