Commit graph

3 commits

Author SHA1 Message Date
Resham Joshi
82469eab68
fix(cursor): connect Enterprise team seats on the team on-demand meter (#1553)
usage-summary for an Enterprise seat has no individualUsage.plan, a null
individualUsage.overall.limit and teamUsage.onDemand instead of pooled, so
decodeCursorUsage returned null and the adapter reported an unrecognized
response. Fall back to the team on-demand meter, list it beside the
monthly window when both exist, and decode meter amounts as Double in the
menu bar so a fractional amount cannot fail the whole decode.

Settings no longer appends sign-in guidance to transient failures.

Reported in #1546.
2026-09-25 01:33:41 +02:00
iamtoruk
03b6cc4857 fix(menubar): harden the Cursor quota adapter
Require every Dependencies field explicitly so a test can never fall
through to the live adapter and read the local Cursor session. Surface
an unreadable local store as its own honest error instead of a network
failure. Read the state database off the main actor so a lock held by
Cursor cannot stall the UI. Report the tighter of the Auto and API
pools when Cursor omits the total, since averaging hides an exhausted
pool behind an idle one.
2026-08-29 14:17:15 -07:00
Aditya Vikram Singh
bce49926c3 feat: add native Cursor quota connection 2026-08-29 23:48:42 +05:30