Fix Cursor subscription/plan bug (minimal, JSON fix)#240
Merged
ratulsarna merged 1 commit intosteipete:mainfrom Feb 2, 2026
Merged
Fix Cursor subscription/plan bug (minimal, JSON fix)#240ratulsarna merged 1 commit intosteipete:mainfrom
ratulsarna merged 1 commit intosteipete:mainfrom
Conversation
…ulation breakdown.total represents the total *used* credits (included + bonus), not the plan limit. This caused usage to always show 100% (0% left). API response structure: plan.used: 20925 (credits consumed) plan.limit: 40000 (actual plan allowance) breakdown.total: 20925 (total USED, not the limit) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
+1 here, having this issue too. Codex pointed to this solution, so I came to check if anyone else had bothered opening a PR. |
|
+1 here 🙇♂️ |
|
+1, for me it's showing 0% all the time after last update |
|
+1 codex pointed me towards this as well. |
This was referenced Feb 2, 2026
Techie5879
pushed a commit
to Techie5879/CodexBar
that referenced
this pull request
Feb 8, 2026
Fix Cursor subscription/plan bug (minimal, JSON fix)
Finesssee
added a commit
to Finesssee/Win-CodexBar
that referenced
this pull request
Mar 18, 2026
…ixes Port cross-platform changes from upstream CodexBar 0.18.0-beta.3: - Add Kilo provider with tRPC batch API for credits + Kilo Pass tracking. Supports KILO_API_KEY env, Windows Credential Manager, and ~/.local/share/kilo/auth.json (via `kilo login`). Includes plan tier labels, auto-top-up state, and pass subscription windowing. - Add merged-menu Overview tab showing compact multi-provider usage rows. Up to 3 providers selectable in Settings → Display. Persists last-selected state across sessions. - Fix Cursor usage limit to use plan.limit instead of breakdown.total (upstream steipete#240) — prevents incorrect limit interpretation. - Fix OpenRouter base URL from /api/v1/auth to /api/v1 — credits and key endpoints were hitting wrong paths. - Add WARP_TOKEN as env fallback for Warp provider (matches upstream). Provider count: 21 → 22. Version bumped to 0.18.0 / Cargo 1.2.0. Made-with: Cursor
Finesssee
added a commit
to Finesssee/Win-CodexBar
that referenced
this pull request
Mar 18, 2026
…ixes Port cross-platform changes from upstream CodexBar 0.18.0-beta.3: - Add Kilo provider with tRPC batch API for credits + Kilo Pass tracking. Supports KILO_API_KEY env, Windows Credential Manager, and ~/.local/share/kilo/auth.json (via `kilo login`). Includes plan tier labels, auto-top-up state, and pass subscription windowing. - Add merged-menu Overview tab showing compact multi-provider usage rows. Up to 3 providers selectable in Settings → Display. Persists last-selected state across sessions. - Fix Cursor usage limit to use plan.limit instead of breakdown.total (upstream steipete#240) — prevents incorrect limit interpretation. - Fix OpenRouter base URL from /api/v1/auth to /api/v1 — credits and key endpoints were hitting wrong paths. - Add WARP_TOKEN as env fallback for Warp provider (matches upstream). Provider count: 21 → 22. Version bumped to 0.18.0 / Cargo 1.2.0. Made-with: Cursor
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.
Ultra-minimal fix for long-standing bug (it never worked).
More focused than #225 so hopefully is easier to merge. I tested this myself locally, it's a precision change.
Before
After
Summary
breakdown.totalrepresents total used credits, not the plan limitTest plan
🤖 Generated with Claude Code
^ sorry @steipete 😂