ccusage 20.0.20 → 20.0.22
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 +25 -19
- package/config-schema.json +3569 -2109
- package/package.json +7 -7
- package/src/cli.js +55 -3
package/README.md
CHANGED
|
@@ -61,24 +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`
|
|
81
|
-
|
|
|
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` |
|
|
82
84
|
|
|
83
85
|
Use `ccusage daily`, `ccusage weekly`, `ccusage monthly`, or `ccusage session` to include every detected source in one report.
|
|
84
86
|
|
|
@@ -133,7 +135,9 @@ bunx ccusage kimi daily
|
|
|
133
135
|
bunx ccusage qwen daily
|
|
134
136
|
bunx ccusage copilot daily
|
|
135
137
|
bunx ccusage gemini daily
|
|
138
|
+
bunx ccusage antigravity daily
|
|
136
139
|
bunx ccusage grok daily
|
|
140
|
+
bunx ccusage zcode daily
|
|
137
141
|
bunx ccusage pi daily --pi-path /path/to/sessions
|
|
138
142
|
bunx ccusage pi daily --pi-path /path/to/sessions,/archive/pi/sessions
|
|
139
143
|
|
|
@@ -166,7 +170,7 @@ bunx ccusage monthly --compact # Compact monthly report
|
|
|
166
170
|
- 📊 **Daily Report**: View token usage and costs aggregated by date
|
|
167
171
|
- 📅 **Monthly Report**: View token usage and costs aggregated by month
|
|
168
172
|
- 💬 **Session Report**: View usage grouped by conversation sessions
|
|
169
|
-
- 🤖 **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,
|
|
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
|
|
170
174
|
- ⏰ **5-Hour Blocks Report**: Track usage within Claude's billing windows with active block monitoring
|
|
171
175
|
- 🚀 **Statusline Integration**: Compact usage display for Claude Code status bar hooks (Beta)
|
|
172
176
|
- 🤖 **Model Tracking**: See which models are used across supported sources
|
|
@@ -192,6 +196,8 @@ bunx ccusage monthly --compact # Compact monthly report
|
|
|
192
196
|
|
|
193
197
|
Full documentation is available at **[ccusage.com](https://ccusage.com/)**
|
|
194
198
|
|
|
199
|
+
Further reading (Japanese): [how ccusage began](https://ryoppippi.com/blog/2025-05-29-zenn-6c9a8fe6629cd6-ja/)
|
|
200
|
+
|
|
195
201
|
## Development
|
|
196
202
|
|
|
197
203
|
<details>
|