ccusage 20.0.7 → 20.0.8
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 +7 -4
- package/config-schema.json +4014 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -107,6 +107,7 @@ bunx ccusage daily --all
|
|
|
107
107
|
# Filters and options
|
|
108
108
|
bunx ccusage daily --since 2026-04-25 --until 2026-05-16
|
|
109
109
|
bunx ccusage daily --json # JSON output
|
|
110
|
+
bunx ccusage daily --no-cost # Hide cost columns and JSON cost fields
|
|
110
111
|
bunx ccusage daily --timezone UTC # Use UTC timezone
|
|
111
112
|
|
|
112
113
|
# Project analysis
|
|
@@ -137,8 +138,10 @@ bunx ccusage monthly --compact # Compact monthly report
|
|
|
137
138
|
- 📋 **Enhanced Model Display**: Model names shown as bulleted lists for better readability
|
|
138
139
|
- 📄 **JSON Output**: Export data in structured JSON format with `--json`
|
|
139
140
|
- 💰 **Cost Tracking**: Shows costs in USD for each day/month/session
|
|
141
|
+
- 🔒 **Cost Hiding**: Remove cost columns and JSON cost fields with `--no-cost`
|
|
140
142
|
- 🔄 **Cache Token Support**: Tracks and displays cache creation and cache read tokens separately
|
|
141
143
|
- 🌐 **Offline Mode**: Use pre-cached pricing data without network connectivity with `--offline`
|
|
144
|
+
- 🧩 **Custom Pricing Overrides**: Override token pricing per raw model name in `ccusage.json` without rebuilding
|
|
142
145
|
- 🏗️ **Claude Instance Support**: Group Claude Code usage by project with `--instances` and filter by specific projects
|
|
143
146
|
- 🌍 **Timezone Support**: Configure timezone for date grouping with `--timezone` option
|
|
144
147
|
- ⚙️ **Configuration Files**: Set defaults with JSON configuration files, complete with IDE autocomplete and validation
|
|
@@ -165,12 +168,12 @@ direnv allow
|
|
|
165
168
|
|
|
166
169
|
The dev shell provides the pinned `pnpm`, Rust toolchain, GitHub CLI, git hooks, generated local agent skills, and project utilities from `flake.nix`. It also installs package dependencies from `pnpm-lock.yaml` when needed.
|
|
167
170
|
|
|
168
|
-
Run the usual checks from inside the Nix environment:
|
|
171
|
+
Run the usual checks from inside the Nix environment (`just --list` shows every recipe):
|
|
169
172
|
|
|
170
173
|
```sh
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
+
just fmt
|
|
175
|
+
just typecheck
|
|
176
|
+
just test
|
|
174
177
|
```
|
|
175
178
|
|
|
176
179
|
### Nix Package
|