codeburn/tests/providers
Matt Van Horn 554036d2a7
feat(cursor-agent): add provider for cursor-agent CLI sessions
Discovers transcripts at ~/.cursor/projects/*/agent-transcripts/*.txt
and joins against ~/.cursor/ai-tracking/ai-code-tracking.db for model
attribution. Token counts are estimated from transcript character
length since the attribution DB does not carry them; the model label
surfaces the estimation with an (est.) suffix on every row.

Deduplication keys prefix cursor-agent: to stay disjoint from the
existing cursor: prefix so the two providers do not cross-dedupe
on shared conversationId namespaces.

Tests cover: empty ~/.cursor/projects/, single transcript, multiple
projects, missing ai-code-tracking.db, unrecognized transcript format
skip, non-UUID filename fallback, and sqlite metadata join.

Closes #55
2026-04-20 17:49:45 -07:00
..
codex.test.ts perf: cache provider discovery metadata 2026-04-21 00:03:49 +02:00
copilot.test.ts perf: cache provider discovery metadata 2026-04-21 00:03:49 +02:00
cursor-agent.test.ts feat(cursor-agent): add provider for cursor-agent CLI sessions 2026-04-20 17:49:45 -07:00
cursor.test.ts refactor: move providers onto shared cache metadata 2026-04-21 00:01:46 +02:00
opencode.test.ts fix: drop better-sqlite3 to remove deprecated prebuild-install (#75) 2026-04-18 01:26:23 -07:00
pi.test.ts perf: cache provider discovery metadata 2026-04-21 00:03:49 +02:00