ccusage 20.0.17 → 20.0.19
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 +4 -0
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -142,6 +142,9 @@ bunx ccusage daily --by-agent --json
|
|
|
142
142
|
|
|
143
143
|
# Filters and options
|
|
144
144
|
bunx ccusage daily --since 2026-04-25 --until 2026-05-16
|
|
145
|
+
bunx ccusage daily --last 1 # Today
|
|
146
|
+
bunx ccusage weekly --last 1 # This week
|
|
147
|
+
bunx ccusage monthly --last 1 # This month
|
|
145
148
|
bunx ccusage daily --json # JSON output
|
|
146
149
|
bunx ccusage daily --no-cost # Hide cost columns and JSON cost fields
|
|
147
150
|
bunx ccusage daily --timezone UTC # Use UTC timezone
|
|
@@ -167,6 +170,7 @@ bunx ccusage monthly --compact # Compact monthly report
|
|
|
167
170
|
- 🤖 **Model Tracking**: See which models are used across supported sources
|
|
168
171
|
- 📊 **Model Breakdown**: View per-model cost breakdown with `--breakdown` flag
|
|
169
172
|
- 📅 **Date Filtering**: Filter reports by date range using `--since` and `--until`
|
|
173
|
+
- ⏱️ **Recent Periods**: Jump to today, this week, or this month with `--last 1` on any daily, weekly, or monthly report
|
|
170
174
|
- 📁 **Custom Paths**: Support for custom local data directory locations
|
|
171
175
|
- 🎨 **Beautiful Output**: Colorful table-formatted display with automatic responsive layout
|
|
172
176
|
- 📱 **Smart Tables**: Automatic compact mode for narrow terminals (< 100 characters) with essential columns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ccusage",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.19",
|
|
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,15 @@
|
|
|
23
23
|
],
|
|
24
24
|
"type": "module",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@types/node": "^24.13.2"
|
|
27
|
-
"publint": "^0.3.12"
|
|
26
|
+
"@types/node": "^24.13.2"
|
|
28
27
|
},
|
|
29
28
|
"optionalDependencies": {
|
|
30
|
-
"@ccusage/ccusage-darwin-arm64": "20.0.
|
|
31
|
-
"@ccusage/ccusage-
|
|
32
|
-
"@ccusage/ccusage-linux-x64": "20.0.
|
|
33
|
-
"@ccusage/ccusage-
|
|
34
|
-
"@ccusage/ccusage-win32-arm64": "20.0.
|
|
35
|
-
"@ccusage/ccusage-
|
|
29
|
+
"@ccusage/ccusage-darwin-arm64": "20.0.19",
|
|
30
|
+
"@ccusage/ccusage-linux-arm64": "20.0.19",
|
|
31
|
+
"@ccusage/ccusage-linux-x64": "20.0.19",
|
|
32
|
+
"@ccusage/ccusage-win32-x64": "20.0.19",
|
|
33
|
+
"@ccusage/ccusage-win32-arm64": "20.0.19",
|
|
34
|
+
"@ccusage/ccusage-darwin-x64": "20.0.19"
|
|
36
35
|
},
|
|
37
36
|
"scripts": {
|
|
38
37
|
"build": "scripts/ensure-native-binary.nu && publint"
|