ccusage 20.0.6 → 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 CHANGED
@@ -10,6 +10,7 @@
10
10
  <a href="https://deepwiki.com/ryoppippi/ccusage"><img src="https://img.shields.io/badge/DeepWiki-ryoppippi%2Fccusage-blue.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAyCAYAAAAnWDnqAAAAAXNSR0IArs4c6QAAA05JREFUaEPtmUtyEzEQhtWTQyQLHNak2AB7ZnyXZMEjXMGeK/AIi+QuHrMnbChYY7MIh8g01fJoopFb0uhhEqqcbWTp06/uv1saEDv4O3n3dV60RfP947Mm9/SQc0ICFQgzfc4CYZoTPAswgSJCCUJUnAAoRHOAUOcATwbmVLWdGoH//PB8mnKqScAhsD0kYP3j/Yt5LPQe2KvcXmGvRHcDnpxfL2zOYJ1mFwrryWTz0advv1Ut4CJgf5uhDuDj5eUcAUoahrdY/56ebRWeraTjMt/00Sh3UDtjgHtQNHwcRGOC98BJEAEymycmYcWwOprTgcB6VZ5JK5TAJ+fXGLBm3FDAmn6oPPjR4rKCAoJCal2eAiQp2x0vxTPB3ALO2CRkwmDy5WohzBDwSEFKRwPbknEggCPB/imwrycgxX2NzoMCHhPkDwqYMr9tRcP5qNrMZHkVnOjRMWwLCcr8ohBVb1OMjxLwGCvjTikrsBOiA6fNyCrm8V1rP93iVPpwaE+gO0SsWmPiXB+jikdf6SizrT5qKasx5j8ABbHpFTx+vFXp9EnYQmLx02h1QTTrl6eDqxLnGjporxl3NL3agEvXdT0WmEost648sQOYAeJS9Q7bfUVoMGnjo4AZdUMQku50McDcMWcBPvr0SzbTAFDfvJqwLzgxwATnCgnp4wDl6Aa+Ax283gghmj+vj7feE2KBBRMW3FzOpLOADl0Isb5587h/U4gGvkt5v60Z1VLG8BhYjbzRwyQZemwAd6cCR5/XFWLYZRIMpX39AR0tjaGGiGzLVyhse5C9RKC6ai42ppWPKiBagOvaYk8lO7DajerabOZP46Lby5wKjw1HCRx7p9sVMOWGzb/vA1hwiWc6jm3MvQDTogQkiqIhJV0nBQBTU+3okKCFDy9WwferkHjtxib7t3xIUQtHxnIwtx4mpg26/HfwVNVDb4oI9RHmx5WGelRVlrtiw43zboCLaxv46AZeB3IlTkwouebTr1y2NjSpHz68WNFjHvupy3q8TFn3Hos2IAk4Ju5dCo8B3wP7VPr/FGaKiG+T+v+TQqIrOqMTL1VdWV1DdmcbO8KXBz6esmYWYKPwDL5b5FA1a0hwapHiom0r/cKaoqr+27/XcrS5UwSMbQAAAABJRU5ErkJggg==" alt="DeepWiki"></a>
11
11
  <!-- DeepWiki badge generated by https://deepwiki.ryoppippi.com/ -->
12
12
  <a href="https://github.com/hesreallyhim/awesome-claude-code"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Claude Code" /></a>
13
+ <a href="https://技術者倫理.com"><img src="https://img.shields.io/badge/%E6%8A%80%E8%A1%93%E8%80%85%E5%80%AB%E7%90%86-%E9%81%B5%E5%AE%88%E6%B8%88%E3%81%BF-0a0a0a?style=for-the-badge&labelColor=ffffff" alt="技術者倫理 遵守済み" /></a>
13
14
  </p>
14
15
 
15
16
  <p align="center">
@@ -106,6 +107,7 @@ bunx ccusage daily --all
106
107
  # Filters and options
107
108
  bunx ccusage daily --since 2026-04-25 --until 2026-05-16
108
109
  bunx ccusage daily --json # JSON output
110
+ bunx ccusage daily --no-cost # Hide cost columns and JSON cost fields
109
111
  bunx ccusage daily --timezone UTC # Use UTC timezone
110
112
 
111
113
  # Project analysis
@@ -136,8 +138,10 @@ bunx ccusage monthly --compact # Compact monthly report
136
138
  - 📋 **Enhanced Model Display**: Model names shown as bulleted lists for better readability
137
139
  - 📄 **JSON Output**: Export data in structured JSON format with `--json`
138
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`
139
142
  - 🔄 **Cache Token Support**: Tracks and displays cache creation and cache read tokens separately
140
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
141
145
  - 🏗️ **Claude Instance Support**: Group Claude Code usage by project with `--instances` and filter by specific projects
142
146
  - 🌍 **Timezone Support**: Configure timezone for date grouping with `--timezone` option
143
147
  - ⚙️ **Configuration Files**: Set defaults with JSON configuration files, complete with IDE autocomplete and validation
@@ -164,12 +168,12 @@ direnv allow
164
168
 
165
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.
166
170
 
167
- Run the usual checks from inside the Nix environment:
171
+ Run the usual checks from inside the Nix environment (`just --list` shows every recipe):
168
172
 
169
173
  ```sh
170
- pnpm run format
171
- pnpm typecheck
172
- pnpm run test
174
+ just fmt
175
+ just typecheck
176
+ just test
173
177
  ```
174
178
 
175
179
  ### Nix Package
@@ -197,19 +201,22 @@ The scheduled `update pricing` workflow runs the same commands and opens a PR wh
197
201
 
198
202
  ## Sponsors
199
203
 
200
- ### Featured Sponsor
201
-
202
- Check out [ccusage: The Claude Code cost scorecard that went viral](https://www.youtube.com/watch?v=Ak6qpQ5qdgk)
204
+ <p align="center">
205
+ <strong>Sponsored by</strong>
206
+ </p>
203
207
 
204
208
  <p align="center">
205
- <a href="https://www.youtube.com/watch?v=Ak6qpQ5qdgk">
206
- <img src="https://cdn.jsdelivr.net/gh/ryoppippi/ccusage@main/docs/public/ccusage_thumbnail.png" alt="ccusage: The Claude Code cost scorecard that went viral" width="600">
209
+ <a href="https://coderabbit.link/ryoppippi">
210
+ <picture>
211
+ <source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/ryoppippi/ccusage@main/docs/public/coderabbit-logo-dark.svg">
212
+ <img src="https://cdn.jsdelivr.net/gh/ryoppippi/ccusage@main/docs/public/coderabbit-logo.svg" alt="CodeRabbit" width="320">
213
+ </picture>
207
214
  </a>
208
215
  </p>
209
216
 
210
217
  <p align="center">
211
218
  <a href="https://github.com/sponsors/ryoppippi">
212
- <img src="https://cdn.jsdelivr.net/gh/ryoppippi/sponsors@main/sponsors.svg">
219
+ <img src="https://sponsors.ryoppippi.com/sponsors.png" alt="Sponsors">
213
220
  </a>
214
221
  </p>
215
222