ccstatusline-usage 2.4.3 → 2.4.4

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
@@ -100,6 +100,10 @@ Session: [████░░░░░░░░░░░] 27.0% | Weekly: [██
100
100
 
101
101
  ## 🆕 Recent Updates
102
102
 
103
+ ### [v2.4.4](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.4.4) - Session extra usage dollar amount fix
104
+
105
+ - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Session widget shows extra usage amounts** — When session hits 100% and extra usage is active (weekly still below 100%), the split bar now renders the actual dollar amount (`$0.97/$419.00`) instead of falling back to `100.0%`. The `SessionUsageWidget` was already drawing the split bar but wasn't passing `extraUsed`/`extraLimit` to `formatSplitUsageBar`; this fix completes the conditional chain so the amount always appears alongside the overdraft indicator.
106
+
103
107
  ### [v2.4.3](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.4.3) - Off Hours for Weekly Pace
104
108
 
105
109
  - [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Off Hours configuration for Weekly Pace** — Optional recurring window (e.g. `22:00 → 07:00`) that Weekly Pace subtracts from both sides of its expected-% calculation, so the delta doesn't drift negative while you sleep. Wall-clock `dayOfWeek` still tracks calendar (D4/7 = Wednesday regardless of off-hours state). New TUI menu: `(e)` toggle, `(s)` / `(n)` edit start/end, `(r)` reset. Off by default — existing configs parse unchanged. Thanks to @BenIsLegit ([#4](https://github.com/pcvelz/ccstatusline-usage/pull/4)).
@@ -56157,7 +56157,7 @@ function getTerminalWidth() {
56157
56157
  function canDetectTerminalWidth() {
56158
56158
  return probeTerminalWidth() !== null;
56159
56159
  }
56160
- var __dirname = "/Users/peter/Documents/Code/ccstatusline-usage/src/utils", PACKAGE_VERSION = "2.4.3";
56160
+ var __dirname = "/Users/peter/Documents/Code/ccstatusline-usage/src/utils", PACKAGE_VERSION = "2.4.4";
56161
56161
  var init_terminal = () => {};
56162
56162
 
56163
56163
  // node_modules/ms/index.js
@@ -65552,9 +65552,9 @@ class SessionUsageWidget {
65552
65552
  return null;
65553
65553
  const extraUsed = data.extraUsageUsed;
65554
65554
  const extraLimit = data.extraUsageLimit;
65555
- if (size2 !== "mobile" && data.extraUsageEnabled === true && extraUsed !== undefined && extraLimit !== undefined && data.sessionUsage >= 100 && (data.weeklyUsage === undefined || data.weeklyUsage < 100)) {
65555
+ if (data.extraUsageEnabled === true && extraUsed !== undefined && extraLimit !== undefined && data.sessionUsage >= 100 && (data.weeklyUsage === undefined || data.weeklyUsage < 100)) {
65556
65556
  const extraPercent = computeExtraPercent(extraUsed, extraLimit);
65557
- return formatSplitUsageBar("Session", "S", extraPercent, size2);
65557
+ return formatSplitUsageBar("Session", "S", extraPercent, size2, extraUsed, extraLimit);
65558
65558
  }
65559
65559
  return formatUsageBar("Session", "S", data.sessionUsage, size2);
65560
65560
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccstatusline-usage",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "A customizable status line formatter for Claude Code CLI",
5
5
  "module": "src/ccstatusline.ts",
6
6
  "type": "module",