Skip to content

Bug: cursor-agent provider fails to track Composer 2 usage #142

Closed

Description

@AlexZKR

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

  1. Generate code using Composer 2 (Plan/Build feature) in Cursor.
  2. Run codeburn --provider cursor-agent.
  3. Press 5 to switch to the "All Time" view.
  4. The dashboard shows "No usage data found for All Time."

System Info

  • OS: Ubuntu
  • Node: v22.16.0
  • Cursor: Latest version with Composer 2

Activity

  1. iamtoruk commented on Apr 24, 2026

    @iamtoruk
    Member

    hey please check and let me know if that has been fixed

  2. AlexZKR commented on Apr 27, 2026

    @AlexZKR
    Author

    Yeah, it works better now, but Composer 2 is identified as Sonnet 4.5 for some reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions