Skip to content

Estimate Cursor usage from agent transcripts#9

Merged
solomonneas merged 1 commit into
mainfrom
feat/cursor-transcript-estimate
Jul 18, 2026
Merged

Estimate Cursor usage from agent transcripts#9
solomonneas merged 1 commit into
mainfrom
feat/cursor-transcript-estimate

Conversation

@solomonneas

Copy link
Copy Markdown
Collaborator

Cursor-agent logs the model but no token counts, so Cursor never appeared in the fleet usage. Add a --cursor-projects source that estimates tokens from visible transcript text (~4 chars/token, file mtime as timestamp), priced as a cursor-composer blend and flagged estimated. It undercounts (the context Cursor sends is not in the transcript), but surfaces the lane. Tests cover the estimate.

Cursor-agent records the model but no token counts, so its usage never reached
the exporter. Add a --cursor-projects source that estimates tokens from visible
transcript text (~4 chars/token, file mtime as timestamp) and prices them as a
cursor-composer blend. Flagged estimated: this undercounts because the context
Cursor sends is not in the transcript.
@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • coderabbit-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: escoffier-labs/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 2de38183-398e-41de-bf07-d66b24508d64

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/cursor-transcript-estimate

Comment @coderabbitai help to get the list of available commands.

@solomonneas
solomonneas merged commit 58aab69 into main Jul 18, 2026
4 checks passed
@solomonneas solomonneas self-assigned this Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant