ccus-cli 0.1.15 → 0.1.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.
@@ -100,7 +100,7 @@ function renderChart(buckets) {
100
100
  usage: entry.value,
101
101
  label: (0, time_1.formatLocalTimestamp)(new Date(entry.bucket.bucketStart)),
102
102
  }));
103
- const fiveHourPoints = collectPoints((bucket) => bucket.avgUsagePct);
103
+ const fiveHourPoints = collectPoints((bucket) => bucket.maxUsagePct);
104
104
  const sevenDayPoints = collectPoints((bucket) => bucket.avgSevenDayUsagePct);
105
105
  const linePathOf = (points) => points.map((point, index) => `${index === 0 ? "M" : "L"}${point.x.toFixed(2)} ${point.y.toFixed(2)}`).join(" ");
106
106
  const fiveHourLine = linePathOf(fiveHourPoints);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccus-cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Claude Code statusline usage logger and dashboard CLI",
5
5
  "type": "commonjs",
6
6
  "bin": {