#1771·ccusage

Add a local-files Cursor adapter (ccusage cursor)

Author: bjo4Created Sep 20, 2026Updated Sep 21, 2026
Labelsenhancementpriority:lowtriage:excluded

What do you want to change?

Add ccusage cursor (daily / monthly / session) that reads token counts Cursor already wrote to local SQLite. No Cursor account API, no hidden dashboard endpoints, and --offline stays fully local.

Why?

Cursor users want the same focused reports other agents already have. Issue #1368 asked for an account-API adapter and was correctly out of scope. Composer state.vscdb (cursorDiskKV composerData:* / bubbleId:*) and ~/.cursor/chats/**/store.db do persist token fields on some installs. Transcripts without token counters should be skipped. Billed plan quota stays on the Cursor dashboard.

How?

I want to implement this. Paths come from CURSOR_HOME or the OS default Cursor user-data dir plus ~/.cursor. Prefer per-bubble tokenCount; fall back to composer promptTokenBreakdown.totalUsedTokens once per conversation. Open databases read-only.

Antigravity is already supported on main, so this request is Cursor-only.