ccusage 20.0.51 → 20.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -72,8 +72,10 @@ ccusage reads local usage data from coding agent CLIs and turns it into daily, w
72
72
  | Antigravity | `ccusage antigravity daily` |
73
73
  | Grok Build CLI | `ccusage grok daily` |
74
74
  | ZCode | `ccusage zcode daily` |
75
+ | DeepSeek Harness | `ccusage dsh daily` |
75
76
 
76
77
  Use `ccusage daily`, `ccusage weekly`, `ccusage monthly`, or `ccusage session` to include every detected source in one report.
78
+ Use `ccusage <agent> weekly` for a focused weekly report, such as `ccusage codex weekly`.
77
79
 
78
80
  ## Installation
79
81
 
@@ -110,6 +112,7 @@ bunx ccusage monthly # All detected sources by month
110
112
  bunx ccusage session # All detected sources by session
111
113
  bunx ccusage blocks # Claude Code 5-hour billing windows
112
114
  bunx ccusage statusline # Claude Code status line for hooks (Beta)
115
+ bunx ccusage codex statusline # Preview Codex usage; --mcp serves its native statusline
113
116
 
114
117
  # Source-focused reports and options
115
118
  bunx ccusage claude daily --mode display
@@ -130,8 +133,10 @@ bunx ccusage gemini daily
130
133
  bunx ccusage antigravity daily
131
134
  bunx ccusage grok daily
132
135
  bunx ccusage zcode daily
136
+ bunx ccusage dsh daily
133
137
  bunx ccusage pi daily --pi-path /path/to/sessions
134
138
  bunx ccusage pi daily --pi-path /path/to/sessions,/archive/pi/sessions
139
+ bunx ccusage pi daily --pi-agent-dir ~/.pi/agent
135
140
 
136
141
  # Explicit unified report
137
142
  bunx ccusage daily --all
@@ -162,9 +167,9 @@ bunx ccusage monthly --compact # Compact monthly report
162
167
  - 📊 **Daily Report**: View token usage and costs aggregated by date
163
168
  - 📅 **Monthly Report**: View token usage and costs aggregated by month
164
169
  - 💬 **Session Report**: View usage grouped by conversation sessions
165
- - 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Cline, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, and ZCode usage from one CLI
170
+ - 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Cline, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, ZCode, and DeepSeek Harness usage from one CLI
166
171
  - ⏰ **5-Hour Blocks Report**: Track usage within Claude's billing windows with active block monitoring
167
- - 🚀 **Statusline Integration**: Compact usage display for Claude Code status bar hooks (Beta)
172
+ - 🚀 **Statusline Summaries**: Claude Code hook integration (Beta) and a Codex native statusline provider (experimental)
168
173
  - 🤖 **Model Tracking**: See which models are used across supported sources
169
174
  - 📊 **Model Breakdown**: View per-model cost breakdown with `--breakdown` flag
170
175
  - 📅 **Date Filtering**: Filter reports by date range using `--since` and `--until`
@@ -184,6 +189,10 @@ bunx ccusage monthly --compact # Compact monthly report
184
189
  - 🌍 **Timezone Support**: Configure timezone for date grouping with `--timezone` option
185
190
  - ⚙️ **Configuration Files**: Set defaults with JSON configuration files, complete with IDE autocomplete and validation
186
191
 
192
+ ## Telemetry
193
+
194
+ After a first-run notice, official releases send at most one usage ping per UTC day (version, OS, CPU architecture, first command name, and a random installation ID) to understand adoption. Nothing from your agent logs is sent. Collection is off with `--offline` and in CI. Opt out with `ccusage telemetry disable` or `DO_NOT_TRACK=1`. The client, collector, release pipeline and [aggregate dashboard](https://telemetry.ccusage.com/) are public. See [Telemetry](https://ccusage.com/guide/telemetry) for details.
195
+
187
196
  ## Documentation
188
197
 
189
198
  Full documentation is available at **[ccusage.com](https://ccusage.com/)**