9router/src
Aakash Thakkar d7e06c3085
fix: improve cursor auto-import reliability on macOS (#161)
The macOS auto-import was failing with "Cursor database not found" even
when Cursor was installed and logged in. This was caused by a single
hardcoded path and no fallback when the DB file existed but couldn't be
opened (e.g. WAL lock, Insiders variant).

Changes (macOS only — linux/win32 paths are unchanged):
- Probe both standard and Insiders DB locations on macOS
- Return a descriptive error when the DB file exists but can't be opened
- Try multiple known key names for token and machine ID
- Add fuzzy key fallback for future Cursor schema changes
- Normalize JSON-encoded string values from the DB

Adds unit tests covering all new and existing behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 15:07:43 +07:00
..
app fix: improve cursor auto-import reliability on macOS (#161) 2026-02-20 15:07:43 +07:00
lib feat: add pause/resume functionality for API keys (#158) 2026-02-20 15:07:12 +07:00
mitm feat(antigravity): initial steps for Antigravity anti-ban alignment 2026-02-20 14:44:29 +07:00
models feat(antigravity): integrate Antigravity tool with MITM support and update CLI tools 2026-02-08 16:28:13 +07:00
shared feat: add API endpoint dimension to usage statistics dashboard (#152) 2026-02-20 15:03:18 +07:00
sse feat: implement API key requirement toggle 2026-02-18 13:46:14 +07:00
store Initial commit 2026-01-05 09:58:59 +07:00
proxy.js feat(auth): Enhance authentication flow and settings management 2026-02-05 11:26:11 +07:00
server-init.js Initial commit 2026-01-05 09:58:59 +07:00