claude-usage-dashboard 1.3.12 → 1.3.13
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 +1 -1
- package/bin/cli.cjs +8 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ A self-hosted dashboard that visualizes your [Claude Code](https://claude.ai/cod
|
|
|
10
10
|
|
|
11
11
|
- **Token tracking** — Total tokens with breakdown by input, output, cache read, and cache write
|
|
12
12
|
- **Cost estimation** — API cost equivalent at standard pricing
|
|
13
|
-
- **Subscription quota** — Real-time utilization gauges (5-hour, 7-day, per-model) pulled from the Anthropic API with auto-detection of your plan tier. Includes projected API cost at 100% quota utilization (weekly and monthly)
|
|
13
|
+
- **Subscription quota** — Real-time utilization gauges (5-hour, 7-day, per-model) pulled from the Anthropic API with auto-detection of your plan tier. Includes projected API cost at 100% quota utilization (weekly and monthly), calculated using the exact quota window derived from the 7-day reset time. Shows the quota window date range for transparency. Date picker defaults to the current quota period on page load
|
|
14
14
|
- **Token consumption trend** — Stacked bar chart with hourly, daily, weekly, or monthly granularity. Toggle between tokens and dollar view. Includes period summary with avg/min/max stats, active hours heatmap, and smart date range limits per granularity
|
|
15
15
|
- **Model distribution** — Donut chart showing usage across Claude models
|
|
16
16
|
- **Cache efficiency** — Visual breakdown of cache read, cache creation, and uncached requests
|
package/bin/cli.cjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
3
|
-
const { join } = require('path');
|
|
4
|
-
const {
|
|
5
|
-
|
|
6
|
-
const serverPath = join(__dirname, '..', 'server', 'index.js');
|
|
7
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
const { join } = require('path');
|
|
4
|
+
const { spawnSync } = require('child_process');
|
|
5
|
+
|
|
6
|
+
const serverPath = join(__dirname, '..', 'server', 'index.js');
|
|
7
|
+
const result = spawnSync(process.execPath, [serverPath], { stdio: 'inherit' });
|
|
8
|
+
process.exit(result.status || 0);
|