ccusage 15.9.9 → 16.0.0
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 +6 -0
- package/config-schema.json +783 -0
- package/dist/calculate-cost.d.ts +1 -1
- package/dist/{data-loader-BJnD_oR3.d.ts → data-loader--Ga8BPdt.d.ts} +4 -0
- package/dist/{data-loader-CM8RKePp.js → data-loader-Bf4qMLf2.js} +3 -3
- package/dist/data-loader.d.ts +1 -1
- package/dist/data-loader.js +3 -3
- package/dist/{debug-D5u7ZVKi.js → debug-Oi3WqR-w.js} +3 -3
- package/dist/debug.js +4 -4
- package/dist/index.js +217 -95
- package/dist/{logger-m79TqYfY.js → logger-ClcgjXEW.js} +1 -1
- package/dist/logger.js +1 -1
- package/dist/{mcp-r529IhIF.js → mcp-DW2TXqtN.js} +10 -10
- package/dist/mcp.d.ts +2 -4
- package/dist/mcp.js +4 -4
- package/dist/{pricing-fetcher-CbLCyFQr.js → pricing-fetcher-CUQk_dDN.js} +3 -3
- package/dist/pricing-fetcher.js +2 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -71,6 +71,10 @@ ccusage daily --locale ja-JP # Use Japanese locale for date/time formatting
|
|
|
71
71
|
ccusage daily --instances # Group by project/instance
|
|
72
72
|
ccusage daily --project myproject # Filter to specific project
|
|
73
73
|
ccusage daily --instances --project myproject --json # Combined usage
|
|
74
|
+
|
|
75
|
+
# Compact mode for screenshots/sharing
|
|
76
|
+
ccusage --compact # Force compact table mode
|
|
77
|
+
ccusage monthly --compact # Compact monthly report
|
|
74
78
|
```
|
|
75
79
|
|
|
76
80
|
## Features
|
|
@@ -87,6 +91,7 @@ ccusage daily --instances --project myproject --json # Combined usage
|
|
|
87
91
|
- 📁 **Custom Path**: Support for custom Claude data directory locations
|
|
88
92
|
- 🎨 **Beautiful Output**: Colorful table-formatted display with automatic responsive layout
|
|
89
93
|
- 📱 **Smart Tables**: Automatic compact mode for narrow terminals (< 100 characters) with essential columns
|
|
94
|
+
- 📸 **Compact Mode**: Use `--compact` flag to force compact table layout, perfect for screenshots and sharing
|
|
90
95
|
- 📋 **Enhanced Model Display**: Model names shown as bulleted lists for better readability
|
|
91
96
|
- 📄 **JSON Output**: Export data in structured JSON format with `--json`
|
|
92
97
|
- 💰 **Cost Tracking**: Shows costs in USD for each day/month/session
|
|
@@ -96,6 +101,7 @@ ccusage daily --instances --project myproject --json # Combined usage
|
|
|
96
101
|
- 🏗️ **Multi-Instance Support**: Group usage by project with `--instances` flag and filter by specific projects
|
|
97
102
|
- 🌍 **Timezone Support**: Configure timezone for date grouping with `--timezone` option
|
|
98
103
|
- 🌐 **Locale Support**: Customize date/time formatting with `--locale` option (e.g., en-US, ja-JP, de-DE)
|
|
104
|
+
- ⚙️ **Configuration Files**: Set defaults with JSON configuration files, complete with IDE autocomplete and validation
|
|
99
105
|
- 🚀 **Ultra-Small Bundle**: Unlike other CLI tools, we pay extreme attention to bundle size - incredibly small even without minification!
|
|
100
106
|
|
|
101
107
|
## Documentation
|