mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-22 03:00:55 +00:00
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 |
||
|---|---|---|
| .. | ||
| codex.test.ts | ||
| copilot.test.ts | ||
| cursor-agent.test.ts | ||
| cursor.test.ts | ||
| opencode.test.ts | ||
| pi.test.ts | ||