What happened?
Since v20.0.0, ccusage monthly shows extra per-model/day rows under each monthly aggregate by default.
Before v20, the monthly report showed only month-level rows with an agent subtotal. In v20.0.0 and v20.0.1, the all-agent monthly table expands model-level for each day automatically, which makes the report much noisier and feels closer to a daily view.
This appears to affect the table output only. The JSON output still returns one monthly object per period, with model details nested under modelBreakdowns.
Steps to reproduce
- Use
ccusage@20.0.0 or ccusage@20.0.1
- Run:
npx ccusage@20.0.1 monthly
- Observe that the monthly table includes extra per-model rows for each day. For comparison,
ccusage@19.0.3 monthly only showed the month aggregate plus the agent subtotal.
Expected behavior
ccusage monthly should show month-level aggregate rows by default.
Per-model for each day, rows should either require an explicit breakdown option, or there should be a way to disable them.
Actual behavior
ccusage monthly expands per-model for each day rows by default in v20.
Version
Reproduced with:
ccusage@20.0.0
ccusage@20.0.1
Last known version without the expanded model rows:
What happened?
Since
v20.0.0,ccusage monthlyshows extra per-model/day rows under each monthly aggregate by default.Before v20, the monthly report showed only month-level rows with an agent subtotal. In
v20.0.0andv20.0.1, the all-agent monthly table expands model-level for each day automatically, which makes the report much noisier and feels closer to a daily view.This appears to affect the table output only. The JSON output still returns one monthly object per period, with model details nested under
modelBreakdowns.Steps to reproduce
ccusage@20.0.0orccusage@20.0.1ccusage@19.0.3 monthlyonly showed the month aggregate plus the agent subtotal.Expected behavior
ccusage monthlyshould show month-level aggregate rows by default.Per-model for each day, rows should either require an explicit breakdown option, or there should be a way to disable them.
Actual behavior
ccusage monthlyexpands per-model for each day rows by default in v20.Version
Reproduced with:
ccusage@20.0.0ccusage@20.0.1Last known version without the expanded model rows:
ccusage@19.0.3