ccusage 20.0.8 → 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 +5 -6
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -155,7 +155,7 @@ Full documentation is available at **[ccusage.com](https://ccusage.com/)**
|
|
|
155
155
|
<details>
|
|
156
156
|
<summary>Contributor setup</summary>
|
|
157
157
|
|
|
158
|
-
Contributor setup
|
|
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:
|
|
159
159
|
|
|
160
160
|
```sh
|
|
161
161
|
# Clone the repository
|
|
@@ -168,12 +168,12 @@ direnv allow
|
|
|
168
168
|
|
|
169
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.
|
|
170
170
|
|
|
171
|
-
Run
|
|
171
|
+
Run project tasks with `just` from inside the Nix environment (`just --list` shows every recipe):
|
|
172
172
|
|
|
173
173
|
```sh
|
|
174
174
|
just fmt
|
|
175
|
-
just typecheck
|
|
176
175
|
just test
|
|
176
|
+
just check
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
### Nix Package
|
|
@@ -191,11 +191,10 @@ Nix builds embed the LiteLLM pricing file from the locked `litellm` flake input,
|
|
|
191
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.
|
|
192
192
|
|
|
193
193
|
```bash
|
|
194
|
-
|
|
195
|
-
nix flake check
|
|
194
|
+
just update-litellm-pricing
|
|
196
195
|
```
|
|
197
196
|
|
|
198
|
-
The scheduled `update pricing` workflow runs the same
|
|
197
|
+
The scheduled `update pricing` workflow runs the same update and validation, then opens a PR when the pricing snapshot changes.
|
|
199
198
|
|
|
200
199
|
</details>
|
|
201
200
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccusage",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.9",
|
|
4
4
|
"description": "Analyze coding (agent) CLI token usage and costs from local data",
|
|
5
5
|
"homepage": "https://github.com/ryoppippi/ccusage#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
],
|
|
24
24
|
"type": "module",
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"@ccusage/ccusage-darwin-arm64": "20.0.
|
|
27
|
-
"@ccusage/ccusage-
|
|
28
|
-
"@ccusage/ccusage-linux-x64": "20.0.
|
|
29
|
-
"@ccusage/ccusage-
|
|
30
|
-
"@ccusage/ccusage-
|
|
31
|
-
"@ccusage/ccusage-win32-x64": "20.0.
|
|
26
|
+
"@ccusage/ccusage-darwin-arm64": "20.0.9",
|
|
27
|
+
"@ccusage/ccusage-darwin-x64": "20.0.9",
|
|
28
|
+
"@ccusage/ccusage-linux-x64": "20.0.9",
|
|
29
|
+
"@ccusage/ccusage-linux-arm64": "20.0.9",
|
|
30
|
+
"@ccusage/ccusage-win32-arm64": "20.0.9",
|
|
31
|
+
"@ccusage/ccusage-win32-x64": "20.0.9"
|
|
32
32
|
}
|
|
33
33
|
}
|