ccusage 20.0.7 → 20.0.9

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
@@ -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
@@ -152,7 +155,7 @@ Full documentation is available at **[ccusage.com](https://ccusage.com/)**
152
155
  <details>
153
156
  <summary>Contributor setup</summary>
154
157
 
155
- Contributor setup requires the Nix flake development environment with [nix-direnv](https://github.com/nix-community/nix-direnv). Install [Nix](https://nixos.org/) with the `nix-command` and `flakes` experimental features enabled, then let nix-direnv load the dev shell automatically when you enter the directory:
158
+ Contributor setup uses the Nix flake development environment with [nix-direnv](https://github.com/nix-community/nix-direnv) for pinned tools, and `just` for everyday development tasks. Install [Nix](https://nixos.org/) with the `nix-command` and `flakes` experimental features enabled, then let nix-direnv load the dev shell automatically when you enter the directory:
156
159
 
157
160
  ```sh
158
161
  # Clone the repository
@@ -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 project tasks with `just` from inside the Nix environment (`just --list` shows every recipe):
169
172
 
170
173
  ```sh
171
- pnpm run format
172
- pnpm typecheck
173
- pnpm run test
174
+ just fmt
175
+ just test
176
+ just check
174
177
  ```
175
178
 
176
179
  ### Nix Package
@@ -188,11 +191,10 @@ Nix builds embed the LiteLLM pricing file from the locked `litellm` flake input,
188
191
  Non-Nix Cargo builds read the same locked LiteLLM revision from `flake.lock` and fetch the pricing file from that revision at build time.
189
192
 
190
193
  ```bash
191
- nix flake update litellm
192
- nix flake check
194
+ just update-litellm-pricing
193
195
  ```
194
196
 
195
- The scheduled `update pricing` workflow runs the same commands and opens a PR when the locked input changes.
197
+ The scheduled `update pricing` workflow runs the same update and validation, then opens a PR when the pricing snapshot changes.
196
198
 
197
199
  </details>
198
200