Expand description
Cursor IDE detector.
Cross-platform paths (resolved via dirs::data_dir() or platform fallbacks):
- macOS:
~/Library/Application Support/Cursor/User/workspaceStorage/ - Linux:
~/.config/Cursor/User/workspaceStorage/ - Windows:
%APPDATA%/Cursor/User/workspaceStorage/
Sessions = count of subdirectories (one per workspace).
last_used = max mtime of state.vscdb files.
We don’t crack open the SQLite — for onboard parity, dir count + mtime
is sufficient. Reverse-engineering Cursor’s chat keys belongs in
analyze-usage, not here.