When using Cursor's Composer 2 (specifically the new Plan/Build features), running codeburn --provider cursor-agent results in a completely empty dashboard, even on the "All Time" tab.
Root Cause Analysis
In src/providers/cursor-agent.ts, CodeBurn is hardcoded to look for .txt files exclusively inside agent-transcripts folders:
const transcriptDir = join(projectsDir, entry.name, 'agent-transcripts')
// ...
const transcriptEntries = await readdir(transcriptDir, { withFileTypes: true })
for (const transcript of transcriptEntries) {
if (!transcript.name.endsWith('.txt')) continue
While Composer 2 still actively creates these agent-transcripts/ directories for backwards compatibility, it no longer writes any text files into them. Running find ~/.cursor/projects -type f -name "*.txt" reveals that Composer 2 is now only saving text/JSON files in two other directories:
/terminals/ (Bash execution logs)
/agent-tools/ (Tool call payloads)
Because the agent-transcripts/ folders exist but are empty, CodeBurn silently skips them without throwing the "unrecognized cursor-agent transcript format" error, resulting in an empty dashboard.
Steps to Reproduce
- Generate code using Composer 2 (Plan/Build feature) in Cursor.
- Run
codeburn --provider cursor-agent.
- Press
5 to switch to the "All Time" view.
- The dashboard shows "No usage data found for All Time."
System Info
- OS: Ubuntu
- Node: v22.16.0
- Cursor: Latest version with Composer 2
When using Cursor's Composer 2 (specifically the new Plan/Build features), running
codeburn --provider cursor-agentresults in a completely empty dashboard, even on the "All Time" tab.Root Cause Analysis
In
src/providers/cursor-agent.ts, CodeBurn is hardcoded to look for.txtfiles exclusively insideagent-transcriptsfolders:While Composer 2 still actively creates these
agent-transcripts/directories for backwards compatibility, it no longer writes any text files into them. Runningfind ~/.cursor/projects -type f -name "*.txt"reveals that Composer 2 is now only saving text/JSON files in two other directories:/terminals/(Bash execution logs)/agent-tools/(Tool call payloads)Because the
agent-transcripts/folders exist but are empty, CodeBurn silently skips them without throwing the "unrecognized cursor-agent transcript format" error, resulting in an empty dashboard.Steps to Reproduce
codeburn --provider cursor-agent.5to switch to the "All Time" view.System Info