Expand description
Fetch Cursor’s included-usage summary from GET /api/usage-summary,
authenticated with the session token read out of the local state.vscdb
(see db.rs). Cache/stale/error-fallback shape mirrors kimi::fetch.
Structs§
Constants§
Functions§
- fetch_
snapshot - Cache-aware fetch.
db_pathis Cursor’sstate.vscdb— the caller resolves[cursor] db_path(config override) vsdb::default_db_path, the same override pattern asopenai.codex_auth_path.