Skip to content

debug: probe GetAggregatedUsageEvents to evaluate history backfill - #79

Merged
CodyKoInABox merged 1 commit into
mainfrom
debug/probe-aggregated-usage
Nov 6, 2026
Merged

CodyKoInABox merged 1 commit into
mainfrom
debug/probe-aggregated-usage

Conversation

@CodyKoInABox

Copy link
Copy Markdown
Owner

Debug-only probe for the history backfill investigation.

  • Plan Usage: Probe Daily Usage API (debug) makes one GetAggregatedUsageEvents request per local day for the last 14 days
  • It writes the top-level keys, day totals and per-model lines (model, tier, cents) to the Cursor Plan Usage output channel
  • Hidden from the command palette unless cursorPlanUsage.debug is on
  • No sidebar or history behavior change

The backfill is not implemented yet. It depends on confirming what percent_of_burst_used and tier mean from a real response.

Closes #78

@CodyKoInABox
CodyKoInABox merged commit bd39bcf into main Nov 6, 2026
4 checks passed
@CodyKoInABox
CodyKoInABox deleted the debug/probe-aggregated-usage branch November 6, 2026 18:53
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.

debug: probe GetAggregatedUsageEvents to evaluate history backfill

1 participant