Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.27 KB

usage-setup.md

File metadata and controls

31 lines (19 loc) · 1.27 KB

Usage dial setup

The Usage dial reads your Cursor IDE login from the local state database (cursorAuth/accessToken in state.vscdb). No browser cookie paste is required when Cursor is signed in on this Mac.

Easy path (recommended)

  1. Stay signed into the Cursor desktop app.
  2. Start the bridge (task bridge).
  3. Press Link Usage on the deck, or push the Usage dial when it says push Link.

The bridge builds the dashboard session cookie from Cursor’s local token, verifies it against usage-summary, caches it in ~/.config/streamdeck-ai/config.json, and updates the dial. Refresh keeps working as long as Cursor stays logged in (resolver also falls back to the live DB on each poll).

Fallback order

  1. CURSOR_SESSION_TOKEN env
  2. Cursor IDE state.vscdb access token (live login)
  3. cursorSessionToken in config (cache from last Link Usage)

Optional browser helper

If Cursor isn’t logged in locally:

task auth-usage

That opens a localhost page + the Cursor dashboard so you can paste WorkosCursorSessionToken once.

Agents dial

W/R/D counts only include agents started via Spawn (Cursor SDK), not normal IDE chat agents. Cancel only stops a focused Spawn/SDK run with a live handle — it cannot stop IDE chat.