Repository navigation
Conversation
Browser sessions were passed as CURSOR_API_KEY into the limits probe, which marks API keys unsupported, so Limits stayed empty while token history still worked. Map browser credentials to CURSOR_AUTH_TOKEN instead. Co-authored-by: Cursor <cursoragent@cursor.com>
Browser sign-in should only supply a session token when no dashboard auth token is already set. Co-authored-by: Cursor <cursoragent@cursor.com>
wSedlacek
force-pushed
the
fix/cursor-browser-usage-limits
branch
from
November 16, 2026 12:47
cc799c9 to
20fa697
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This branch has not been deployed
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.
Summary
Browser sign-in left Usage → Limits empty for Cursor even when token history worked. The driver passed the session credential as
CURSOR_API_KEY, and the limits probe treats API keys as unsupported.Map browser sessions to
CURSOR_AUTH_TOKENfor the dashboard probe; keep explicitCURSOR_API_KEYaccounts unsupported.Test plan
CURSOR_API_KEYinstance still does not report subscription limitsvp test run packages/provider-cursor/src/server/usageLimits.test.ts packages/provider-cursor/src/server/driver.test.tsCreated with Composer in T3 Code.
Made with Cursor
🤖 Generated with Claude Code