ccost 0.1.1 → 0.2.1
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Reads JSONL files from `~/.claude/projects/`, deduplicates streaming entries, ca
|
|
|
6
6
|
|
|
7
7
|
The [`ccost sl` subcommand](#statusline-analysis) ([setup statusline.jsonl first](#setup-for-statuslinejsonl)) analyzes `~/.claude/statusline.jsonl` for rate limit tracking, session summaries, budget estimation, and cost comparison (see [`ccost` vs `ccost sl`](#ccost-vs-ccost-sl)).
|
|
8
8
|
|
|
9
|
-
Blazing fast CLI and library written in Rust with thorough tests. Also powers [Claude Code
|
|
9
|
+
Blazing fast CLI and library written in Rust with thorough tests. Also powers [CC Dashboard for Claude Code](https://github.com/toolsu/ccdashboard), a Tauri desktop app for visualizing your Claude Code usage and more.
|
|
10
10
|
|
|
11
11
|
[](https://crates.io/crates/ccost) [](https://www.npmjs.com/package/ccost) [](https://github.com/toolsu/ccost/actions/workflows/ci.yml) [](https://github.com/toolsu/ccost/blob/main/LICENSE)
|
|
12
12
|
|
|
@@ -230,7 +230,7 @@ Since `ccost sl` only sees Claude Code cost, usage from other Claude products (w
|
|
|
230
230
|
|
|
231
231
|
### Promo Adjustment
|
|
232
232
|
|
|
233
|
-
Budget estimates are adjusted by default for known 2x usage promo periods (Dec 2025, Mar 2026). During these promos the rate-limit budget doubles, so the same spend uses half the percentage. Use `--nopromo` to disable:
|
|
233
|
+
Budget estimates (and **only** budget estimates ("Est 5h/1w Budget")) are adjusted by default for known 2x usage promo periods (Dec 2025, Mar 2026). During these promos the rate-limit budget doubles, so the same spend uses half the percentage. Use `--nopromo` to disable:
|
|
234
234
|
|
|
235
235
|
```sh
|
|
236
236
|
ccost sl --per 5h --nopromo
|
|
@@ -405,7 +405,7 @@ Below we'll compare `ccost` (data from `~/.claude/projects/`) and `ccost sl` (da
|
|
|
405
405
|
|
|
406
406
|
As shown by `ccost sl --per session --cost-diff`, when LiteLLM pricing is accurate, the cost computed from `~/.claude/projects/` closely matches the server-reported cost in `statusline.jsonl`. The statusline cost may occasionally undercount because it does not always include subagent costs. Since `~/.claude/projects/` has full per-request token breakdowns, it may be the more reliable source for cost.
|
|
407
407
|
|
|
408
|
-
The primary value of `statusline.jsonl` is the rate-limit percentages, not cost. This is why [Claude Code
|
|
408
|
+
The primary value of `statusline.jsonl` is the rate-limit percentages, not cost. This is why [CC Dashboard for Claude Code](https://github.com/toolsu/ccdashboard) uses cost data computed from `~/.claude/projects/` combined with the 5-hour and 1-week rate-limit percentages from `statusline.jsonl`.
|
|
409
409
|
|
|
410
410
|
### Project Path Decoding
|
|
411
411
|
|