[codex] fix cursor vpn auth diagnostics#131
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR adds a ChangesCursor Network Diagnostics and Doctor Command
🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly Related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Summary
NO_PROXYhandling for usage API requests.tokenleak cursor doctorfor token-free and optional saved-token diagnostics with redacted output.Why
On company protected VPNs, Cursor token validation can fail before auth reaches Cursor because HTTPS is routed through managed proxy or TLS inspection. Tokenleak now separates network failures from invalid-token failures and gives actionable env-var fixes.
Test Plan
bun test packages/registry/src/cursor-auth.test.tsbun test packages/cli/src/cursor.test.tsPATH="/Users/yansh/.bun/bin:$PATH" bun run checkSummary by CodeRabbit
New Features
tokenleak cursor doctorcommand for diagnosing Cursor connection issues.Documentation