Repository navigation
Description
Problem or use case
Orca already launches Cursor as a first-class agent (cursor / cursor-agent) and shows live usage for Claude, Codex, Gemini, Antigravity, OpenCode Go, Kimi, MiniMax, and Grok. Cursor is missing from that set.
Cursor billing is easy to blow through during long agent runs: current plans have two monthly pools (Cursor Models vs Other Models), plus optional on-demand spend. Today the only way to check remaining allowance is to leave Orca and open cursor.com/dashboard/spending. That is the same gap Copilot (#6892) and ClinePass (#13032) called out.
Related but not this ticket: #7766 (Cursor native chat / sidebar progress). This request is only live quota/usage.
Proposed solution
Treat Cursor as another live rate-limit provider, same surfaces as Claude/Codex/Copilot:
- Show Cursor in AI Provider Accounts, with enable/hide like the other providers.
- Add a status-bar chip for the signed-in Cursor account.
- Surface current-period usage for both pools when Cursor exposes them, remaining allowance, and billing-cycle reset date.
- Show clear not-configured / signed-out / refresh-failed states. Never crash or loop on a keychain prompt.
- Read-only against the existing Cursor /
cursor-agentlogin. Do not write, refresh, or invalidate that session.
Prefer a documented or already-authenticated Cursor capability over dashboard scraping or a separately pasted secret. Official Admin/Analytics APIs are enterprise-team only, so individual Pro/Ultra usage will likely need the local cursor-agent/Cursor app session (same shape as Kimi/Copilot: local credential read, quota fetch, map into ProviderRateLimits).
Because Cursor quota is a monthly entitlement (not 5h/7d), reuse the optional monthly window other providers already carry.
Alternatives or additional context
In scope: status-bar chip + Accounts pane for the active Cursor login.
Out of scope (same split as Copilot #6892):
- Per-session token analytics / a Cursor tab in Stats & Usage
- Native chat and sidebar progress ([Feature]: We desperately need support for cursor's AI providers, including the AI progress bar in the left sidebar and the native chat window. #7766)
- Cursor Cloud Agents spend as a separate product surface
Cross-platform / remotes:
- macOS, Linux, and Windows. Credential location will differ (CLI/app files vs keychain).
- WSL: if Cursor/
cursor-agentauth lives in the WSL distro, read that runtime, not only the Windows host home (Stats & Usage reads the Windows Claude home; WSL Claude usage is never scanned #15487 is the Claude version of this bug). - SSH / folder workspaces: degrade to “not available” when there is no readable login on the host that runs the agent. Do not assume a git worktree or a local-only install.
Risks:
- Personal usage may only exist on undocumented dashboard endpoints; those should not be a hard requirement if they are brittle.
- Reading another app’s macOS keychain item can prompt or fail under different code signing.
Related: #6892 (Copilot usage tracking pattern), #13032 (ClinePass quota), #4570 (Kimi usage), #7766 (Cursor chat/progress, separate).
Activity
barkeslim-ops commentedon Aug 21, 2026
+1 from a macOS daily Grok + Cursor setup (Orca 1.4.180,
cursor-agent/agent2026.08.11).The status-bar usage row already works well for Grok (and Claude/Codex/Gemini). Cursor is the missing chip: long Cursor runs are easy to overspend, and the only check today is leaving Orca for cursor.com/dashboard/spending.
Please keep this scoped to live quota on the status bar + Accounts pane, same as Grok — not Stats, not Chat UI. Chat UI for Cursor is tracked separately in #15718.
Mivr commentedon Sep 2, 2026
Opened #18119 implementing this: read-only Cursor usage (Cursor Models / Other Models / Grok Bot pools, reset countdowns, account identity) in the status bar and Settings → Accounts, against the existing Cursor desktop or cursor-agent login. Before/after screenshots and test notes are in the PR.
nwparker commentedon Sep 24, 2026
This is implemented in #22633 — status-bar meter, usage roster, and a Settings → Accounts → Cursor section.
It follows what you asked for: the two monthly pools (Cursor Models / Other Models) as separate buckets, plus On-demand when you've enabled it, all reset on your billing cycle. Reads the Cursor sign-in already on your machine, so there's no second login — keychain (where
cursor-agent2026.06+ keeps it), the older~/.cursor/auth.json, or the Cursor IDE's own session, whichever you have.Installable build if you want to try it:
https://github.com/stablyai/orca-adhoc/releases/tag/v1.4.211-adhoc.20260924221219
macOS installs through Orca's updater. Windows is unsigned — run
orca-windows-setup.exeonce (SmartScreen warns), then switching works in-app. Settings → Updates to go back.One ask: do the numbers match your cursor.com/dashboard/spending page? The only Cursor account I have has an expired token, so I verified the whole credential path and the error states, but never saw live percentages render on a healthy plan. If yours look right, say so and I'll stop worrying; if they're off, tell me what you see versus the dashboard.
nwparker commentedon Sep 24, 2026
Update: new build, please use this one instead —
https://github.com/stablyai/orca-adhoc/releases/tag/v1.4.211-adhoc.20260924232116
The build I linked earlier has been deleted, because review found three bugs in it that would have hit you directly:
cursor-agent loginand now work mainly in the IDE, the old build told you "sign-in expired" forever while a perfectly good session sat unused. A live session now wins regardless of where it's stored.nullfield in the response threw away the whole reading, so some accounts would have shown no usage at all.Same ask as before, and the same one thing I still can't verify myself: do the numbers match your cursor.com dashboard? Install instructions are unchanged — macOS through Orca's updater, Windows via
orca-windows-setup.exeonce past SmartScreen, Settings → Updates to go back.