ccusage 20.0.48 → 20.0.50

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
@@ -34,7 +34,10 @@
34
34
  </a>
35
35
  &nbsp;&nbsp;&nbsp;&nbsp;
36
36
  <a href="https://blacksmith.sh">
37
- <img src="https://cdn.jsdelivr.net/gh/ccusage/ccusage@main/docs/public/blacksmith.png" alt="Blacksmith" width="320">
37
+ <picture>
38
+ <source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/gh/ccusage/ccusage@main/docs/public/blacksmith-logo-dark.svg">
39
+ <img src="https://cdn.jsdelivr.net/gh/ccusage/ccusage@main/docs/public/blacksmith-logo.svg" alt="CI powered by Blacksmith" width="320">
40
+ </picture>
38
41
  </a>
39
42
  </p>
40
43
 
@@ -56,6 +59,7 @@ ccusage reads local usage data from coding agent CLIs and turns it into daily, w
56
59
  | Amp | `ccusage amp daily` |
57
60
  | Droid | `ccusage droid daily` |
58
61
  | Codebuff | `ccusage codebuff daily` |
62
+ | Cline | `ccusage cline daily` |
59
63
  | Hermes Agent | `ccusage hermes daily` |
60
64
  | pi-agent | `ccusage pi daily` |
61
65
  | Goose | `ccusage goose daily` |
@@ -114,6 +118,7 @@ bunx ccusage opencode weekly
114
118
  bunx ccusage amp session
115
119
  bunx ccusage droid daily
116
120
  bunx ccusage codebuff daily
121
+ bunx ccusage cline daily
117
122
  bunx ccusage hermes daily
118
123
  bunx ccusage goose daily
119
124
  bunx ccusage openclaw daily
@@ -157,7 +162,7 @@ bunx ccusage monthly --compact # Compact monthly report
157
162
  - 📊 **Daily Report**: View token usage and costs aggregated by date
158
163
  - 📅 **Monthly Report**: View token usage and costs aggregated by month
159
164
  - 💬 **Session Report**: View usage grouped by conversation sessions
160
- - 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, and ZCode usage from one CLI
165
+ - 🤖 **Unified CLI Reports**: View Claude Code, Codex, OpenCode, Amp, Droid, Codebuff, Cline, Hermes Agent, pi-agent, Goose, OpenClaw, Kilo, Kimi, Qwen, GitHub Copilot CLI, Gemini CLI, Antigravity, Grok Build CLI, and ZCode usage from one CLI
161
166
  - ⏰ **5-Hour Blocks Report**: Track usage within Claude's billing windows with active block monitoring
162
167
  - 🚀 **Statusline Integration**: Compact usage display for Claude Code status bar hooks (Beta)
163
168
  - 🤖 **Model Tracking**: See which models are used across supported sources
@@ -3014,6 +3014,870 @@
3014
3014
  },
3015
3015
  "type": "object"
3016
3016
  },
3017
+ "cline": {
3018
+ "additionalProperties": false,
3019
+ "description": "Cline configuration.",
3020
+ "markdownDescription": "Cline configuration.",
3021
+ "properties": {
3022
+ "commands": {
3023
+ "additionalProperties": false,
3024
+ "properties": {
3025
+ "daily": {
3026
+ "additionalProperties": false,
3027
+ "properties": {
3028
+ "all": {
3029
+ "default": false,
3030
+ "description": "Accepted for compatibility; all detected supported agents are included by default.",
3031
+ "markdownDescription": "Accepted for compatibility; all detected supported agents are included by default.",
3032
+ "type": "boolean"
3033
+ },
3034
+ "breakdown": {
3035
+ "default": false,
3036
+ "description": "Show per-model cost breakdown.",
3037
+ "markdownDescription": "Show per-model cost breakdown.",
3038
+ "type": "boolean"
3039
+ },
3040
+ "color": {
3041
+ "default": false,
3042
+ "description": "Enable colored output.",
3043
+ "markdownDescription": "Enable colored output.",
3044
+ "type": "boolean"
3045
+ },
3046
+ "compact": {
3047
+ "default": false,
3048
+ "description": "Force compact table layout for narrow terminals.",
3049
+ "markdownDescription": "Force compact table layout for narrow terminals.",
3050
+ "type": "boolean"
3051
+ },
3052
+ "debug": {
3053
+ "default": false,
3054
+ "description": "Show pricing mismatch information for debugging.",
3055
+ "markdownDescription": "Show pricing mismatch information for debugging.",
3056
+ "type": "boolean"
3057
+ },
3058
+ "debugSamples": {
3059
+ "default": 5,
3060
+ "description": "Number of sample discrepancies to show in debug output.",
3061
+ "format": "uint",
3062
+ "markdownDescription": "Number of sample discrepancies to show in debug output.",
3063
+ "minimum": 0.0,
3064
+ "type": "integer"
3065
+ },
3066
+ "jq": {
3067
+ "description": "jq filter to apply to JSON output.",
3068
+ "markdownDescription": "jq filter to apply to JSON output.",
3069
+ "type": "string"
3070
+ },
3071
+ "json": {
3072
+ "default": false,
3073
+ "description": "Output in JSON format.",
3074
+ "markdownDescription": "Output in JSON format.",
3075
+ "type": "boolean"
3076
+ },
3077
+ "mode": {
3078
+ "default": "auto",
3079
+ "description": "Cost calculation mode.",
3080
+ "enum": ["auto", "calculate", "display"],
3081
+ "markdownDescription": "Cost calculation mode.",
3082
+ "type": "string"
3083
+ },
3084
+ "noColor": {
3085
+ "default": false,
3086
+ "description": "Disable colored output.",
3087
+ "markdownDescription": "Disable colored output.",
3088
+ "type": "boolean"
3089
+ },
3090
+ "noCost": {
3091
+ "default": false,
3092
+ "description": "Hide cost information in table and JSON output.",
3093
+ "markdownDescription": "Hide cost information in table and JSON output.",
3094
+ "type": "boolean"
3095
+ },
3096
+ "noOffline": {
3097
+ "default": false,
3098
+ "description": "Disable cached pricing data where supported.",
3099
+ "markdownDescription": "Disable cached pricing data where supported.",
3100
+ "type": "boolean"
3101
+ },
3102
+ "offline": {
3103
+ "default": false,
3104
+ "description": "Use cached pricing data where supported.",
3105
+ "markdownDescription": "Use cached pricing data where supported.",
3106
+ "type": "boolean"
3107
+ },
3108
+ "order": {
3109
+ "default": "asc",
3110
+ "description": "Sort order.",
3111
+ "enum": ["desc", "asc"],
3112
+ "markdownDescription": "Sort order.",
3113
+ "type": "string"
3114
+ },
3115
+ "pricingOverrides": {
3116
+ "additionalProperties": {
3117
+ "additionalProperties": false,
3118
+ "properties": {
3119
+ "cacheCreationInputTokenCost": {
3120
+ "format": "double",
3121
+ "type": "number"
3122
+ },
3123
+ "cacheCreationInputTokenCostAbove200kTokens": {
3124
+ "format": "double",
3125
+ "type": "number"
3126
+ },
3127
+ "cacheReadInputTokenCost": {
3128
+ "format": "double",
3129
+ "type": "number"
3130
+ },
3131
+ "cacheReadInputTokenCostAbove200kTokens": {
3132
+ "format": "double",
3133
+ "type": "number"
3134
+ },
3135
+ "fastMultiplier": {
3136
+ "format": "double",
3137
+ "type": "number"
3138
+ },
3139
+ "flexMultiplier": {
3140
+ "format": "double",
3141
+ "type": "number"
3142
+ },
3143
+ "inputCostPerToken": {
3144
+ "format": "double",
3145
+ "type": "number"
3146
+ },
3147
+ "inputCostPerTokenAbove200kTokens": {
3148
+ "format": "double",
3149
+ "type": "number"
3150
+ },
3151
+ "maxInputTokens": {
3152
+ "format": "uint64",
3153
+ "minimum": 0.0,
3154
+ "type": "integer"
3155
+ },
3156
+ "outputCostPerToken": {
3157
+ "format": "double",
3158
+ "type": "number"
3159
+ },
3160
+ "outputCostPerTokenAbove200kTokens": {
3161
+ "format": "double",
3162
+ "type": "number"
3163
+ }
3164
+ },
3165
+ "type": "object"
3166
+ },
3167
+ "description": "Runtime pricing overrides keyed by raw model name.",
3168
+ "markdownDescription": "Runtime pricing overrides keyed by raw model name.",
3169
+ "type": "object"
3170
+ },
3171
+ "since": {
3172
+ "description": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3173
+ "markdownDescription": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3174
+ "type": "string"
3175
+ },
3176
+ "singleThread": {
3177
+ "default": false,
3178
+ "description": "Disable parallel file processing.",
3179
+ "markdownDescription": "Disable parallel file processing.",
3180
+ "type": "boolean"
3181
+ },
3182
+ "timezone": {
3183
+ "description": "Timezone for date grouping (IANA).",
3184
+ "markdownDescription": "Timezone for date grouping (IANA).",
3185
+ "type": "string"
3186
+ },
3187
+ "until": {
3188
+ "description": "Filter until date (inclusive).",
3189
+ "markdownDescription": "Filter until date (inclusive).",
3190
+ "type": "string"
3191
+ }
3192
+ },
3193
+ "type": "object"
3194
+ },
3195
+ "monthly": {
3196
+ "additionalProperties": false,
3197
+ "properties": {
3198
+ "all": {
3199
+ "default": false,
3200
+ "description": "Accepted for compatibility; all detected supported agents are included by default.",
3201
+ "markdownDescription": "Accepted for compatibility; all detected supported agents are included by default.",
3202
+ "type": "boolean"
3203
+ },
3204
+ "breakdown": {
3205
+ "default": false,
3206
+ "description": "Show per-model cost breakdown.",
3207
+ "markdownDescription": "Show per-model cost breakdown.",
3208
+ "type": "boolean"
3209
+ },
3210
+ "color": {
3211
+ "default": false,
3212
+ "description": "Enable colored output.",
3213
+ "markdownDescription": "Enable colored output.",
3214
+ "type": "boolean"
3215
+ },
3216
+ "compact": {
3217
+ "default": false,
3218
+ "description": "Force compact table layout for narrow terminals.",
3219
+ "markdownDescription": "Force compact table layout for narrow terminals.",
3220
+ "type": "boolean"
3221
+ },
3222
+ "debug": {
3223
+ "default": false,
3224
+ "description": "Show pricing mismatch information for debugging.",
3225
+ "markdownDescription": "Show pricing mismatch information for debugging.",
3226
+ "type": "boolean"
3227
+ },
3228
+ "debugSamples": {
3229
+ "default": 5,
3230
+ "description": "Number of sample discrepancies to show in debug output.",
3231
+ "format": "uint",
3232
+ "markdownDescription": "Number of sample discrepancies to show in debug output.",
3233
+ "minimum": 0.0,
3234
+ "type": "integer"
3235
+ },
3236
+ "jq": {
3237
+ "description": "jq filter to apply to JSON output.",
3238
+ "markdownDescription": "jq filter to apply to JSON output.",
3239
+ "type": "string"
3240
+ },
3241
+ "json": {
3242
+ "default": false,
3243
+ "description": "Output in JSON format.",
3244
+ "markdownDescription": "Output in JSON format.",
3245
+ "type": "boolean"
3246
+ },
3247
+ "mode": {
3248
+ "default": "auto",
3249
+ "description": "Cost calculation mode.",
3250
+ "enum": ["auto", "calculate", "display"],
3251
+ "markdownDescription": "Cost calculation mode.",
3252
+ "type": "string"
3253
+ },
3254
+ "noColor": {
3255
+ "default": false,
3256
+ "description": "Disable colored output.",
3257
+ "markdownDescription": "Disable colored output.",
3258
+ "type": "boolean"
3259
+ },
3260
+ "noCost": {
3261
+ "default": false,
3262
+ "description": "Hide cost information in table and JSON output.",
3263
+ "markdownDescription": "Hide cost information in table and JSON output.",
3264
+ "type": "boolean"
3265
+ },
3266
+ "noOffline": {
3267
+ "default": false,
3268
+ "description": "Disable cached pricing data where supported.",
3269
+ "markdownDescription": "Disable cached pricing data where supported.",
3270
+ "type": "boolean"
3271
+ },
3272
+ "offline": {
3273
+ "default": false,
3274
+ "description": "Use cached pricing data where supported.",
3275
+ "markdownDescription": "Use cached pricing data where supported.",
3276
+ "type": "boolean"
3277
+ },
3278
+ "order": {
3279
+ "default": "asc",
3280
+ "description": "Sort order.",
3281
+ "enum": ["desc", "asc"],
3282
+ "markdownDescription": "Sort order.",
3283
+ "type": "string"
3284
+ },
3285
+ "pricingOverrides": {
3286
+ "additionalProperties": {
3287
+ "additionalProperties": false,
3288
+ "properties": {
3289
+ "cacheCreationInputTokenCost": {
3290
+ "format": "double",
3291
+ "type": "number"
3292
+ },
3293
+ "cacheCreationInputTokenCostAbove200kTokens": {
3294
+ "format": "double",
3295
+ "type": "number"
3296
+ },
3297
+ "cacheReadInputTokenCost": {
3298
+ "format": "double",
3299
+ "type": "number"
3300
+ },
3301
+ "cacheReadInputTokenCostAbove200kTokens": {
3302
+ "format": "double",
3303
+ "type": "number"
3304
+ },
3305
+ "fastMultiplier": {
3306
+ "format": "double",
3307
+ "type": "number"
3308
+ },
3309
+ "flexMultiplier": {
3310
+ "format": "double",
3311
+ "type": "number"
3312
+ },
3313
+ "inputCostPerToken": {
3314
+ "format": "double",
3315
+ "type": "number"
3316
+ },
3317
+ "inputCostPerTokenAbove200kTokens": {
3318
+ "format": "double",
3319
+ "type": "number"
3320
+ },
3321
+ "maxInputTokens": {
3322
+ "format": "uint64",
3323
+ "minimum": 0.0,
3324
+ "type": "integer"
3325
+ },
3326
+ "outputCostPerToken": {
3327
+ "format": "double",
3328
+ "type": "number"
3329
+ },
3330
+ "outputCostPerTokenAbove200kTokens": {
3331
+ "format": "double",
3332
+ "type": "number"
3333
+ }
3334
+ },
3335
+ "type": "object"
3336
+ },
3337
+ "description": "Runtime pricing overrides keyed by raw model name.",
3338
+ "markdownDescription": "Runtime pricing overrides keyed by raw model name.",
3339
+ "type": "object"
3340
+ },
3341
+ "since": {
3342
+ "description": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3343
+ "markdownDescription": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3344
+ "type": "string"
3345
+ },
3346
+ "singleThread": {
3347
+ "default": false,
3348
+ "description": "Disable parallel file processing.",
3349
+ "markdownDescription": "Disable parallel file processing.",
3350
+ "type": "boolean"
3351
+ },
3352
+ "timezone": {
3353
+ "description": "Timezone for date grouping (IANA).",
3354
+ "markdownDescription": "Timezone for date grouping (IANA).",
3355
+ "type": "string"
3356
+ },
3357
+ "until": {
3358
+ "description": "Filter until date (inclusive).",
3359
+ "markdownDescription": "Filter until date (inclusive).",
3360
+ "type": "string"
3361
+ }
3362
+ },
3363
+ "type": "object"
3364
+ },
3365
+ "session": {
3366
+ "additionalProperties": false,
3367
+ "properties": {
3368
+ "all": {
3369
+ "default": false,
3370
+ "description": "Accepted for compatibility; all detected supported agents are included by default.",
3371
+ "markdownDescription": "Accepted for compatibility; all detected supported agents are included by default.",
3372
+ "type": "boolean"
3373
+ },
3374
+ "breakdown": {
3375
+ "default": false,
3376
+ "description": "Show per-model cost breakdown.",
3377
+ "markdownDescription": "Show per-model cost breakdown.",
3378
+ "type": "boolean"
3379
+ },
3380
+ "color": {
3381
+ "default": false,
3382
+ "description": "Enable colored output.",
3383
+ "markdownDescription": "Enable colored output.",
3384
+ "type": "boolean"
3385
+ },
3386
+ "compact": {
3387
+ "default": false,
3388
+ "description": "Force compact table layout for narrow terminals.",
3389
+ "markdownDescription": "Force compact table layout for narrow terminals.",
3390
+ "type": "boolean"
3391
+ },
3392
+ "debug": {
3393
+ "default": false,
3394
+ "description": "Show pricing mismatch information for debugging.",
3395
+ "markdownDescription": "Show pricing mismatch information for debugging.",
3396
+ "type": "boolean"
3397
+ },
3398
+ "debugSamples": {
3399
+ "default": 5,
3400
+ "description": "Number of sample discrepancies to show in debug output.",
3401
+ "format": "uint",
3402
+ "markdownDescription": "Number of sample discrepancies to show in debug output.",
3403
+ "minimum": 0.0,
3404
+ "type": "integer"
3405
+ },
3406
+ "jq": {
3407
+ "description": "jq filter to apply to JSON output.",
3408
+ "markdownDescription": "jq filter to apply to JSON output.",
3409
+ "type": "string"
3410
+ },
3411
+ "json": {
3412
+ "default": false,
3413
+ "description": "Output in JSON format.",
3414
+ "markdownDescription": "Output in JSON format.",
3415
+ "type": "boolean"
3416
+ },
3417
+ "mode": {
3418
+ "default": "auto",
3419
+ "description": "Cost calculation mode.",
3420
+ "enum": ["auto", "calculate", "display"],
3421
+ "markdownDescription": "Cost calculation mode.",
3422
+ "type": "string"
3423
+ },
3424
+ "noColor": {
3425
+ "default": false,
3426
+ "description": "Disable colored output.",
3427
+ "markdownDescription": "Disable colored output.",
3428
+ "type": "boolean"
3429
+ },
3430
+ "noCost": {
3431
+ "default": false,
3432
+ "description": "Hide cost information in table and JSON output.",
3433
+ "markdownDescription": "Hide cost information in table and JSON output.",
3434
+ "type": "boolean"
3435
+ },
3436
+ "noOffline": {
3437
+ "default": false,
3438
+ "description": "Disable cached pricing data where supported.",
3439
+ "markdownDescription": "Disable cached pricing data where supported.",
3440
+ "type": "boolean"
3441
+ },
3442
+ "offline": {
3443
+ "default": false,
3444
+ "description": "Use cached pricing data where supported.",
3445
+ "markdownDescription": "Use cached pricing data where supported.",
3446
+ "type": "boolean"
3447
+ },
3448
+ "order": {
3449
+ "default": "asc",
3450
+ "description": "Sort order.",
3451
+ "enum": ["desc", "asc"],
3452
+ "markdownDescription": "Sort order.",
3453
+ "type": "string"
3454
+ },
3455
+ "pricingOverrides": {
3456
+ "additionalProperties": {
3457
+ "additionalProperties": false,
3458
+ "properties": {
3459
+ "cacheCreationInputTokenCost": {
3460
+ "format": "double",
3461
+ "type": "number"
3462
+ },
3463
+ "cacheCreationInputTokenCostAbove200kTokens": {
3464
+ "format": "double",
3465
+ "type": "number"
3466
+ },
3467
+ "cacheReadInputTokenCost": {
3468
+ "format": "double",
3469
+ "type": "number"
3470
+ },
3471
+ "cacheReadInputTokenCostAbove200kTokens": {
3472
+ "format": "double",
3473
+ "type": "number"
3474
+ },
3475
+ "fastMultiplier": {
3476
+ "format": "double",
3477
+ "type": "number"
3478
+ },
3479
+ "flexMultiplier": {
3480
+ "format": "double",
3481
+ "type": "number"
3482
+ },
3483
+ "inputCostPerToken": {
3484
+ "format": "double",
3485
+ "type": "number"
3486
+ },
3487
+ "inputCostPerTokenAbove200kTokens": {
3488
+ "format": "double",
3489
+ "type": "number"
3490
+ },
3491
+ "maxInputTokens": {
3492
+ "format": "uint64",
3493
+ "minimum": 0.0,
3494
+ "type": "integer"
3495
+ },
3496
+ "outputCostPerToken": {
3497
+ "format": "double",
3498
+ "type": "number"
3499
+ },
3500
+ "outputCostPerTokenAbove200kTokens": {
3501
+ "format": "double",
3502
+ "type": "number"
3503
+ }
3504
+ },
3505
+ "type": "object"
3506
+ },
3507
+ "description": "Runtime pricing overrides keyed by raw model name.",
3508
+ "markdownDescription": "Runtime pricing overrides keyed by raw model name.",
3509
+ "type": "object"
3510
+ },
3511
+ "since": {
3512
+ "description": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3513
+ "markdownDescription": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3514
+ "type": "string"
3515
+ },
3516
+ "singleThread": {
3517
+ "default": false,
3518
+ "description": "Disable parallel file processing.",
3519
+ "markdownDescription": "Disable parallel file processing.",
3520
+ "type": "boolean"
3521
+ },
3522
+ "timezone": {
3523
+ "description": "Timezone for date grouping (IANA).",
3524
+ "markdownDescription": "Timezone for date grouping (IANA).",
3525
+ "type": "string"
3526
+ },
3527
+ "until": {
3528
+ "description": "Filter until date (inclusive).",
3529
+ "markdownDescription": "Filter until date (inclusive).",
3530
+ "type": "string"
3531
+ }
3532
+ },
3533
+ "type": "object"
3534
+ },
3535
+ "weekly": {
3536
+ "additionalProperties": false,
3537
+ "properties": {
3538
+ "all": {
3539
+ "default": false,
3540
+ "description": "Accepted for compatibility; all detected supported agents are included by default.",
3541
+ "markdownDescription": "Accepted for compatibility; all detected supported agents are included by default.",
3542
+ "type": "boolean"
3543
+ },
3544
+ "breakdown": {
3545
+ "default": false,
3546
+ "description": "Show per-model cost breakdown.",
3547
+ "markdownDescription": "Show per-model cost breakdown.",
3548
+ "type": "boolean"
3549
+ },
3550
+ "color": {
3551
+ "default": false,
3552
+ "description": "Enable colored output.",
3553
+ "markdownDescription": "Enable colored output.",
3554
+ "type": "boolean"
3555
+ },
3556
+ "compact": {
3557
+ "default": false,
3558
+ "description": "Force compact table layout for narrow terminals.",
3559
+ "markdownDescription": "Force compact table layout for narrow terminals.",
3560
+ "type": "boolean"
3561
+ },
3562
+ "debug": {
3563
+ "default": false,
3564
+ "description": "Show pricing mismatch information for debugging.",
3565
+ "markdownDescription": "Show pricing mismatch information for debugging.",
3566
+ "type": "boolean"
3567
+ },
3568
+ "debugSamples": {
3569
+ "default": 5,
3570
+ "description": "Number of sample discrepancies to show in debug output.",
3571
+ "format": "uint",
3572
+ "markdownDescription": "Number of sample discrepancies to show in debug output.",
3573
+ "minimum": 0.0,
3574
+ "type": "integer"
3575
+ },
3576
+ "jq": {
3577
+ "description": "jq filter to apply to JSON output.",
3578
+ "markdownDescription": "jq filter to apply to JSON output.",
3579
+ "type": "string"
3580
+ },
3581
+ "json": {
3582
+ "default": false,
3583
+ "description": "Output in JSON format.",
3584
+ "markdownDescription": "Output in JSON format.",
3585
+ "type": "boolean"
3586
+ },
3587
+ "mode": {
3588
+ "default": "auto",
3589
+ "description": "Cost calculation mode.",
3590
+ "enum": ["auto", "calculate", "display"],
3591
+ "markdownDescription": "Cost calculation mode.",
3592
+ "type": "string"
3593
+ },
3594
+ "noColor": {
3595
+ "default": false,
3596
+ "description": "Disable colored output.",
3597
+ "markdownDescription": "Disable colored output.",
3598
+ "type": "boolean"
3599
+ },
3600
+ "noCost": {
3601
+ "default": false,
3602
+ "description": "Hide cost information in table and JSON output.",
3603
+ "markdownDescription": "Hide cost information in table and JSON output.",
3604
+ "type": "boolean"
3605
+ },
3606
+ "noOffline": {
3607
+ "default": false,
3608
+ "description": "Disable cached pricing data where supported.",
3609
+ "markdownDescription": "Disable cached pricing data where supported.",
3610
+ "type": "boolean"
3611
+ },
3612
+ "offline": {
3613
+ "default": false,
3614
+ "description": "Use cached pricing data where supported.",
3615
+ "markdownDescription": "Use cached pricing data where supported.",
3616
+ "type": "boolean"
3617
+ },
3618
+ "order": {
3619
+ "default": "asc",
3620
+ "description": "Sort order.",
3621
+ "enum": ["desc", "asc"],
3622
+ "markdownDescription": "Sort order.",
3623
+ "type": "string"
3624
+ },
3625
+ "pricingOverrides": {
3626
+ "additionalProperties": {
3627
+ "additionalProperties": false,
3628
+ "properties": {
3629
+ "cacheCreationInputTokenCost": {
3630
+ "format": "double",
3631
+ "type": "number"
3632
+ },
3633
+ "cacheCreationInputTokenCostAbove200kTokens": {
3634
+ "format": "double",
3635
+ "type": "number"
3636
+ },
3637
+ "cacheReadInputTokenCost": {
3638
+ "format": "double",
3639
+ "type": "number"
3640
+ },
3641
+ "cacheReadInputTokenCostAbove200kTokens": {
3642
+ "format": "double",
3643
+ "type": "number"
3644
+ },
3645
+ "fastMultiplier": {
3646
+ "format": "double",
3647
+ "type": "number"
3648
+ },
3649
+ "flexMultiplier": {
3650
+ "format": "double",
3651
+ "type": "number"
3652
+ },
3653
+ "inputCostPerToken": {
3654
+ "format": "double",
3655
+ "type": "number"
3656
+ },
3657
+ "inputCostPerTokenAbove200kTokens": {
3658
+ "format": "double",
3659
+ "type": "number"
3660
+ },
3661
+ "maxInputTokens": {
3662
+ "format": "uint64",
3663
+ "minimum": 0.0,
3664
+ "type": "integer"
3665
+ },
3666
+ "outputCostPerToken": {
3667
+ "format": "double",
3668
+ "type": "number"
3669
+ },
3670
+ "outputCostPerTokenAbove200kTokens": {
3671
+ "format": "double",
3672
+ "type": "number"
3673
+ }
3674
+ },
3675
+ "type": "object"
3676
+ },
3677
+ "description": "Runtime pricing overrides keyed by raw model name.",
3678
+ "markdownDescription": "Runtime pricing overrides keyed by raw model name.",
3679
+ "type": "object"
3680
+ },
3681
+ "since": {
3682
+ "description": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3683
+ "markdownDescription": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3684
+ "type": "string"
3685
+ },
3686
+ "singleThread": {
3687
+ "default": false,
3688
+ "description": "Disable parallel file processing.",
3689
+ "markdownDescription": "Disable parallel file processing.",
3690
+ "type": "boolean"
3691
+ },
3692
+ "timezone": {
3693
+ "description": "Timezone for date grouping (IANA).",
3694
+ "markdownDescription": "Timezone for date grouping (IANA).",
3695
+ "type": "string"
3696
+ },
3697
+ "until": {
3698
+ "description": "Filter until date (inclusive).",
3699
+ "markdownDescription": "Filter until date (inclusive).",
3700
+ "type": "string"
3701
+ }
3702
+ },
3703
+ "type": "object"
3704
+ }
3705
+ },
3706
+ "type": "object"
3707
+ },
3708
+ "defaults": {
3709
+ "additionalProperties": false,
3710
+ "properties": {
3711
+ "all": {
3712
+ "default": false,
3713
+ "description": "Accepted for compatibility; all detected supported agents are included by default.",
3714
+ "markdownDescription": "Accepted for compatibility; all detected supported agents are included by default.",
3715
+ "type": "boolean"
3716
+ },
3717
+ "breakdown": {
3718
+ "default": false,
3719
+ "description": "Show per-model cost breakdown.",
3720
+ "markdownDescription": "Show per-model cost breakdown.",
3721
+ "type": "boolean"
3722
+ },
3723
+ "color": {
3724
+ "default": false,
3725
+ "description": "Enable colored output.",
3726
+ "markdownDescription": "Enable colored output.",
3727
+ "type": "boolean"
3728
+ },
3729
+ "compact": {
3730
+ "default": false,
3731
+ "description": "Force compact table layout for narrow terminals.",
3732
+ "markdownDescription": "Force compact table layout for narrow terminals.",
3733
+ "type": "boolean"
3734
+ },
3735
+ "debug": {
3736
+ "default": false,
3737
+ "description": "Show pricing mismatch information for debugging.",
3738
+ "markdownDescription": "Show pricing mismatch information for debugging.",
3739
+ "type": "boolean"
3740
+ },
3741
+ "debugSamples": {
3742
+ "default": 5,
3743
+ "description": "Number of sample discrepancies to show in debug output.",
3744
+ "format": "uint",
3745
+ "markdownDescription": "Number of sample discrepancies to show in debug output.",
3746
+ "minimum": 0.0,
3747
+ "type": "integer"
3748
+ },
3749
+ "jq": {
3750
+ "description": "jq filter to apply to JSON output.",
3751
+ "markdownDescription": "jq filter to apply to JSON output.",
3752
+ "type": "string"
3753
+ },
3754
+ "json": {
3755
+ "default": false,
3756
+ "description": "Output in JSON format.",
3757
+ "markdownDescription": "Output in JSON format.",
3758
+ "type": "boolean"
3759
+ },
3760
+ "mode": {
3761
+ "default": "auto",
3762
+ "description": "Cost calculation mode.",
3763
+ "enum": ["auto", "calculate", "display"],
3764
+ "markdownDescription": "Cost calculation mode.",
3765
+ "type": "string"
3766
+ },
3767
+ "noColor": {
3768
+ "default": false,
3769
+ "description": "Disable colored output.",
3770
+ "markdownDescription": "Disable colored output.",
3771
+ "type": "boolean"
3772
+ },
3773
+ "noCost": {
3774
+ "default": false,
3775
+ "description": "Hide cost information in table and JSON output.",
3776
+ "markdownDescription": "Hide cost information in table and JSON output.",
3777
+ "type": "boolean"
3778
+ },
3779
+ "noOffline": {
3780
+ "default": false,
3781
+ "description": "Disable cached pricing data where supported.",
3782
+ "markdownDescription": "Disable cached pricing data where supported.",
3783
+ "type": "boolean"
3784
+ },
3785
+ "offline": {
3786
+ "default": false,
3787
+ "description": "Use cached pricing data where supported.",
3788
+ "markdownDescription": "Use cached pricing data where supported.",
3789
+ "type": "boolean"
3790
+ },
3791
+ "order": {
3792
+ "default": "asc",
3793
+ "description": "Sort order.",
3794
+ "enum": ["desc", "asc"],
3795
+ "markdownDescription": "Sort order.",
3796
+ "type": "string"
3797
+ },
3798
+ "pricingOverrides": {
3799
+ "additionalProperties": {
3800
+ "additionalProperties": false,
3801
+ "properties": {
3802
+ "cacheCreationInputTokenCost": {
3803
+ "format": "double",
3804
+ "type": "number"
3805
+ },
3806
+ "cacheCreationInputTokenCostAbove200kTokens": {
3807
+ "format": "double",
3808
+ "type": "number"
3809
+ },
3810
+ "cacheReadInputTokenCost": {
3811
+ "format": "double",
3812
+ "type": "number"
3813
+ },
3814
+ "cacheReadInputTokenCostAbove200kTokens": {
3815
+ "format": "double",
3816
+ "type": "number"
3817
+ },
3818
+ "fastMultiplier": {
3819
+ "format": "double",
3820
+ "type": "number"
3821
+ },
3822
+ "flexMultiplier": {
3823
+ "format": "double",
3824
+ "type": "number"
3825
+ },
3826
+ "inputCostPerToken": {
3827
+ "format": "double",
3828
+ "type": "number"
3829
+ },
3830
+ "inputCostPerTokenAbove200kTokens": {
3831
+ "format": "double",
3832
+ "type": "number"
3833
+ },
3834
+ "maxInputTokens": {
3835
+ "format": "uint64",
3836
+ "minimum": 0.0,
3837
+ "type": "integer"
3838
+ },
3839
+ "outputCostPerToken": {
3840
+ "format": "double",
3841
+ "type": "number"
3842
+ },
3843
+ "outputCostPerTokenAbove200kTokens": {
3844
+ "format": "double",
3845
+ "type": "number"
3846
+ }
3847
+ },
3848
+ "type": "object"
3849
+ },
3850
+ "description": "Runtime pricing overrides keyed by raw model name.",
3851
+ "markdownDescription": "Runtime pricing overrides keyed by raw model name.",
3852
+ "type": "object"
3853
+ },
3854
+ "since": {
3855
+ "description": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3856
+ "markdownDescription": "Filter from date (YYYY-MM-DD or YYYYMMDD).",
3857
+ "type": "string"
3858
+ },
3859
+ "singleThread": {
3860
+ "default": false,
3861
+ "description": "Disable parallel file processing.",
3862
+ "markdownDescription": "Disable parallel file processing.",
3863
+ "type": "boolean"
3864
+ },
3865
+ "timezone": {
3866
+ "description": "Timezone for date grouping (IANA).",
3867
+ "markdownDescription": "Timezone for date grouping (IANA).",
3868
+ "type": "string"
3869
+ },
3870
+ "until": {
3871
+ "description": "Filter until date (inclusive).",
3872
+ "markdownDescription": "Filter until date (inclusive).",
3873
+ "type": "string"
3874
+ }
3875
+ },
3876
+ "type": "object"
3877
+ }
3878
+ },
3879
+ "type": "object"
3880
+ },
3017
3881
  "codebuff": {
3018
3882
  "additionalProperties": false,
3019
3883
  "description": "Codebuff configuration.",
@@ -4974,6 +5838,30 @@
4974
5838
  "claude:weekly": {
4975
5839
  "$ref": "#/definitions/ccusage-config/properties/claude/properties/commands/properties/weekly"
4976
5840
  },
5841
+ "cline daily": {
5842
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/daily"
5843
+ },
5844
+ "cline monthly": {
5845
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/monthly"
5846
+ },
5847
+ "cline session": {
5848
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/session"
5849
+ },
5850
+ "cline weekly": {
5851
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/weekly"
5852
+ },
5853
+ "cline:daily": {
5854
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/daily"
5855
+ },
5856
+ "cline:monthly": {
5857
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/monthly"
5858
+ },
5859
+ "cline:session": {
5860
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/session"
5861
+ },
5862
+ "cline:weekly": {
5863
+ "$ref": "#/definitions/ccusage-config/properties/cline/properties/commands/properties/weekly"
5864
+ },
4977
5865
  "codebuff daily": {
4978
5866
  "$ref": "#/definitions/ccusage-config/properties/codebuff/properties/commands/properties/daily"
4979
5867
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccusage",
3
- "version": "20.0.48",
3
+ "version": "20.0.50",
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": {
@@ -26,12 +26,12 @@
26
26
  "@types/node": "^26.6.6"
27
27
  },
28
28
  "optionalDependencies": {
29
- "@ccusage/ccusage-darwin-arm64": "20.0.48",
30
- "@ccusage/ccusage-darwin-x64": "20.0.48",
31
- "@ccusage/ccusage-linux-arm64": "20.0.48",
32
- "@ccusage/ccusage-linux-x64": "20.0.48",
33
- "@ccusage/ccusage-win32-arm64": "20.0.48",
34
- "@ccusage/ccusage-win32-x64": "20.0.48"
29
+ "@ccusage/ccusage-darwin-arm64": "20.0.50",
30
+ "@ccusage/ccusage-darwin-x64": "20.0.50",
31
+ "@ccusage/ccusage-linux-arm64": "20.0.50",
32
+ "@ccusage/ccusage-linux-x64": "20.0.50",
33
+ "@ccusage/ccusage-win32-arm64": "20.0.50",
34
+ "@ccusage/ccusage-win32-x64": "20.0.50"
35
35
  },
36
36
  "scripts": {
37
37
  "build": "scripts/ensure-native-binary.nu && publint"