ccusage 20.0.13 → 20.0.16
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 +15 -0
- package/config-schema.json +31 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -25,6 +25,19 @@
|
|
|
25
25
|
|
|
26
26
|
## Major Sponsors
|
|
27
27
|
|
|
28
|
+
<div align="center">
|
|
29
|
+
|
|
30
|
+
<a href="https://linkjolt.io/l/ryotaro-kimura-ryoppippi">
|
|
31
|
+
<picture>
|
|
32
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.lineman.io/logo/lineman-dark.svg">
|
|
33
|
+
<img src="https://cdn.lineman.io/logo/lineman-light.svg" alt="Lineman.io: Teams and Enterprise cost monitoring" width="320">
|
|
34
|
+
</picture>
|
|
35
|
+
</a>
|
|
36
|
+
|
|
37
|
+
<p align="center"><a href="https://linkjolt.io/l/ryotaro-kimura-ryoppippi">Lineman.io — a Team & Enterprise solution for Claude Code:<br />40% lower token usage, full teams spend visibility, and unauthorized-spend alerts.</a></p>
|
|
38
|
+
|
|
39
|
+
</div>
|
|
40
|
+
|
|
28
41
|
<p align="center">
|
|
29
42
|
<a href="https://coderabbit.link/ryoppippi">
|
|
30
43
|
<picture>
|
|
@@ -124,6 +137,8 @@ bunx ccusage pi daily --pi-path /path/to/sessions,/archive/pi/sessions
|
|
|
124
137
|
|
|
125
138
|
# Explicit unified report
|
|
126
139
|
bunx ccusage daily --all
|
|
140
|
+
bunx ccusage daily --sections daily,monthly,session --json
|
|
141
|
+
bunx ccusage daily --by-agent --json
|
|
127
142
|
|
|
128
143
|
# Filters and options
|
|
129
144
|
bunx ccusage daily --since 2026-04-25 --until 2026-05-16
|
package/config-schema.json
CHANGED
|
@@ -11185,6 +11185,29 @@
|
|
|
11185
11185
|
}
|
|
11186
11186
|
},
|
|
11187
11187
|
"type": "object"
|
|
11188
|
+
},
|
|
11189
|
+
"stores": {
|
|
11190
|
+
"description": "Additional named pi-format session stores included in all-agent reports.",
|
|
11191
|
+
"items": {
|
|
11192
|
+
"additionalProperties": false,
|
|
11193
|
+
"properties": {
|
|
11194
|
+
"name": {
|
|
11195
|
+
"description": "Agent name to use for this pi-format store in all-agent reports.",
|
|
11196
|
+
"markdownDescription": "Agent name to use for this pi-format store in all-agent reports.",
|
|
11197
|
+
"pattern": "^[a-z][a-z0-9_-]{0,31}$",
|
|
11198
|
+
"type": "string"
|
|
11199
|
+
},
|
|
11200
|
+
"path": {
|
|
11201
|
+
"description": "Path to this pi-format sessions directory. Comma-separated lists are supported.",
|
|
11202
|
+
"markdownDescription": "Path to this pi-format sessions directory. Comma-separated lists are supported.",
|
|
11203
|
+
"type": "string"
|
|
11204
|
+
}
|
|
11205
|
+
},
|
|
11206
|
+
"required": ["name", "path"],
|
|
11207
|
+
"type": "object"
|
|
11208
|
+
},
|
|
11209
|
+
"markdownDescription": "Additional named pi-format session stores included in all-agent reports.",
|
|
11210
|
+
"type": "array"
|
|
11188
11211
|
}
|
|
11189
11212
|
},
|
|
11190
11213
|
"type": "object"
|
|
@@ -11907,6 +11930,14 @@
|
|
|
11907
11930
|
"defaults": {
|
|
11908
11931
|
"offline": true
|
|
11909
11932
|
}
|
|
11933
|
+
},
|
|
11934
|
+
"pi": {
|
|
11935
|
+
"stores": [
|
|
11936
|
+
{
|
|
11937
|
+
"name": "omp",
|
|
11938
|
+
"path": "~/.omp/agent/sessions"
|
|
11939
|
+
}
|
|
11940
|
+
]
|
|
11910
11941
|
}
|
|
11911
11942
|
}
|
|
11912
11943
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccusage",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.16",
|
|
4
4
|
"description": "Analyze coding (agent) CLI token usage and costs from local data",
|
|
5
5
|
"homepage": "https://github.com/ccusage/ccusage#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
],
|
|
24
24
|
"type": "module",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^24.
|
|
26
|
+
"@types/node": "^24.13.2",
|
|
27
27
|
"publint": "^0.3.12"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@ccusage/ccusage-darwin-arm64": "20.0.
|
|
31
|
-
"@ccusage/ccusage-darwin-x64": "20.0.
|
|
32
|
-
"@ccusage/ccusage-linux-arm64": "20.0.
|
|
33
|
-
"@ccusage/ccusage-linux-x64": "20.0.
|
|
34
|
-
"@ccusage/ccusage-win32-arm64": "20.0.
|
|
35
|
-
"@ccusage/ccusage-win32-x64": "20.0.
|
|
30
|
+
"@ccusage/ccusage-darwin-arm64": "20.0.16",
|
|
31
|
+
"@ccusage/ccusage-darwin-x64": "20.0.16",
|
|
32
|
+
"@ccusage/ccusage-linux-arm64": "20.0.16",
|
|
33
|
+
"@ccusage/ccusage-linux-x64": "20.0.16",
|
|
34
|
+
"@ccusage/ccusage-win32-arm64": "20.0.16",
|
|
35
|
+
"@ccusage/ccusage-win32-x64": "20.0.16"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "scripts/ensure-native-binary.nu && publint"
|