ccusage 20.0.19 → 20.0.21
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 +26 -18
- package/config-schema.json +4357 -2219
- package/package.json +8 -8
- package/src/cli.js +55 -3
package/README.md
CHANGED
|
@@ -61,23 +61,26 @@ npx ccusage@latest
|
|
|
61
61
|
|
|
62
62
|
ccusage reads local usage data from coding agent CLIs and turns it into daily, weekly, monthly, and session reports.
|
|
63
63
|
|
|
64
|
-
| Source | Focused command example
|
|
65
|
-
| ------------------ |
|
|
66
|
-
| Claude Code | `ccusage claude daily`
|
|
67
|
-
| Codex | `ccusage codex daily`
|
|
68
|
-
| OpenCode | `ccusage opencode daily`
|
|
69
|
-
| Amp | `ccusage amp daily`
|
|
70
|
-
| Droid | `ccusage droid daily`
|
|
71
|
-
| Codebuff | `ccusage codebuff daily`
|
|
72
|
-
| Hermes Agent | `ccusage hermes daily`
|
|
73
|
-
| pi-agent | `ccusage pi daily`
|
|
74
|
-
| Goose | `ccusage goose daily`
|
|
75
|
-
| OpenClaw | `ccusage openclaw daily`
|
|
76
|
-
| Kilo | `ccusage kilo daily`
|
|
77
|
-
| Kimi | `ccusage kimi daily`
|
|
78
|
-
| Qwen | `ccusage qwen daily`
|
|
79
|
-
| GitHub Copilot CLI | `ccusage copilot daily`
|
|
80
|
-
| Gemini CLI | `ccusage gemini daily`
|
|
64
|
+
| Source | Focused command example |
|
|
65
|
+
| ------------------ | --------------------------- |
|
|
66
|
+
| Claude Code | `ccusage claude daily` |
|
|
67
|
+
| Codex | `ccusage codex daily` |
|
|
68
|
+
| OpenCode | `ccusage opencode daily` |
|
|
69
|
+
| Amp | `ccusage amp daily` |
|
|
70
|
+
| Droid | `ccusage droid daily` |
|
|
71
|
+
| Codebuff | `ccusage codebuff daily` |
|
|
72
|
+
| Hermes Agent | `ccusage hermes daily` |
|
|
73
|
+
| pi-agent | `ccusage pi daily` |
|
|
74
|
+
| Goose | `ccusage goose daily` |
|
|
75
|
+
| OpenClaw | `ccusage openclaw daily` |
|
|
76
|
+
| Kilo | `ccusage kilo daily` |
|
|
77
|
+
| Kimi | `ccusage kimi daily` |
|
|
78
|
+
| Qwen | `ccusage qwen daily` |
|
|
79
|
+
| GitHub Copilot CLI | `ccusage copilot daily` |
|
|
80
|
+
| Gemini CLI | `ccusage gemini daily` |
|
|
81
|
+
| Antigravity | `ccusage antigravity daily` |
|
|
82
|
+
| Grok Build CLI | `ccusage grok daily` |
|
|
83
|
+
| ZCode | `ccusage zcode daily` |
|
|
81
84
|
|
|
82
85
|
Use `ccusage daily`, `ccusage weekly`, `ccusage monthly`, or `ccusage session` to include every detected source in one report.
|
|
83
86
|
|
|
@@ -132,6 +135,9 @@ bunx ccusage kimi daily
|
|
|
132
135
|
bunx ccusage qwen daily
|
|
133
136
|
bunx ccusage copilot daily
|
|
134
137
|
bunx ccusage gemini daily
|
|
138
|
+
bunx ccusage antigravity daily
|
|
139
|
+
bunx ccusage grok daily
|
|
140
|
+
bunx ccusage zcode daily
|
|
135
141
|
bunx ccusage pi daily --pi-path /path/to/sessions
|
|
136
142
|
bunx ccusage pi daily --pi-path /path/to/sessions,/archive/pi/sessions
|
|
137
143
|
|
|
@@ -164,7 +170,7 @@ bunx ccusage monthly --compact # Compact monthly report
|
|
|
164
170
|
- 📊 **Daily Report**: View token usage and costs aggregated by date
|
|
165
171
|
- 📅 **Monthly Report**: View token usage and costs aggregated by month
|
|
166
172
|
- 💬 **Session Report**: View usage grouped by conversation sessions
|
|
167
|
-
- 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI,
|
|
173
|
+
- 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, and ZCode usage from one CLI
|
|
168
174
|
- ⏰ **5-Hour Blocks Report**: Track usage within Claude's billing windows with active block monitoring
|
|
169
175
|
- 🚀 **Statusline Integration**: Compact usage display for Claude Code status bar hooks (Beta)
|
|
170
176
|
- 🤖 **Model Tracking**: See which models are used across supported sources
|
|
@@ -190,6 +196,8 @@ bunx ccusage monthly --compact # Compact monthly report
|
|
|
190
196
|
|
|
191
197
|
Full documentation is available at **[ccusage.com](https://ccusage.com/)**
|
|
192
198
|
|
|
199
|
+
Further reading (Japanese): [how ccusage began](https://ryoppippi.com/blog/2025-05-29-zenn-6c9a8fe6629cd6-ja/)
|
|
200
|
+
|
|
193
201
|
## Development
|
|
194
202
|
|
|
195
203
|
<details>
|