ccstatusline 2.2.19 โ†’ 2.2.21

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.
Files changed (3) hide show
  1. package/README.md +24 -5
  2. package/dist/ccstatusline.js +3264 -1730
  3. package/package.json +19 -8
package/README.md CHANGED
@@ -47,6 +47,25 @@
47
47
 
48
48
  ## ๐Ÿ†• Recent Updates
49
49
 
50
+ ### v2.2.21 - Cache widgets, compaction details, extra usage currency, and package fixes
51
+
52
+ - **๐Ÿ”ฃ Custom widget glyphs** - Git and JJ symbol widgets can override or suppress their built-in glyphs from the TUI.
53
+ - **๐Ÿ” Compaction counter details** - `Compaction Counter` now counts explicit `compact_boundary` markers and can optionally show trigger splits plus tokens reclaimed.
54
+ - **๐Ÿ’ธ Extra usage improvements** - Added `Extra Usage Used` and formats extra usage amounts with the billing currency reported by the usage API.
55
+ - **๐Ÿ“ Custom command width context** - `Custom Command` widgets receive `terminal_width` in stdin JSON when ccstatusline can detect the terminal width.
56
+ - **๐Ÿง  Prompt cache widgets** - Added `Cache Hit Rate`, `Cache Read`, and `Cache Write` widgets with turn/session scopes and hide-when-empty behavior.
57
+ - **๐Ÿ”ข Token rounding fix** - Token counts from `999950` through `999999` now render as `1.0M` instead of `1000.0k`.
58
+
59
+ ### v2.2.20 - Gradients, token accuracy, usage reliability, and Git PR/MR fixes
60
+
61
+ - **๐ŸŒˆ Gradient colors** - Added per-widget and whole-line foreground gradients with named presets, custom hex stops, TUI picker support, and Powerline-aware rendering. Press `g` on the Edit Colors screen for widget gradients, or press `g` for Override FG Color in Global Overrides for a line-wide gradient.
62
+ - **๐ŸŽฏ More accurate token counts** - `Tokens Input` and `Tokens Output` now prefer cumulative transcript metrics before falling back to context-window totals.
63
+ - **๐Ÿ’ธ Extra usage no-limit fix** - Extra usage widgets no longer get stuck on `[Timeout]` for accounts with overage enabled but no monthly limit configured.
64
+ - **๐Ÿ” Compaction glitch filtering** - `Compaction Counter` ignores transient below-1% context readings so incomplete status frames do not create false compaction counts.
65
+ - **๐Ÿ”€ SSH alias Git PR/MR detection** - Git PR/MR detection resolves SSH host aliases while preserving canonical GitHub and GitLab hosts for CLI selection and fallback repo links.
66
+ - **๐Ÿงช Usage test cache isolation** - Usage-fetch test probes now isolate `HOME`, `USERPROFILE`, `CLAUDE_CONFIG_DIR`, and proxy variables so local tests cannot touch the real ccstatusline cache.
67
+ - **๐Ÿ“ฆ Dependency refresh** - Refreshed React/React DOM and Bun lockfile development-tooling resolutions for the release.
68
+
50
69
  ### v2.2.14 - v2.2.19 - Version pinning, npm provenance, usage overage widgets, and Git lock avoidance
51
70
 
52
71
  - **๐Ÿ“Œ Version pinning support** - Added support for pinned global installs so Claude Code can keep running a specific ccstatusline version.
@@ -97,6 +116,10 @@
97
116
  - **๐Ÿ“ Better terminal width detection** - Flex separators and right-alignment now work more reliably when ccstatusline is launched through wrapper processes or nested PTYs.
98
117
  - **๐ŸŽจ Powerline theme continuity** - Built-in Powerline themes can now continue colors cleanly across multiple status lines instead of restarting each line.
99
118
 
119
+ <br />
120
+ <details>
121
+ <summary><b>Older updates (v2.2.6 and earlier)</b></summary>
122
+
100
123
  ### v2.2.0 - v2.2.6 - Speed, widgets, links, and reliability updates
101
124
 
102
125
  - **๐Ÿš€ New Token Speed widgets** - Added three widgets: **Input Speed**, **Output Speed**, and **Total Speed**.
@@ -111,10 +134,6 @@
111
134
  - **๐Ÿ”— Git widget link modes (v2.2.6)** - `Git Branch` can render clickable GitHub branch links, and `Git Root Dir` can render clickable IDE links for VS Code and Cursor.
112
135
  - **๐Ÿค Better subagent-aware speed reporting** - Token speed calculations continue to include referenced subagent activity so displayed speeds better reflect actual concurrent work.
113
136
 
114
- <br />
115
- <details>
116
- <summary><b>Older updates (v2.1.10 and earlier)</b></summary>
117
-
118
137
  ### v2.1.0 - v2.1.10 - Usage widgets, links, new git insertions / deletions widgets, and reliability fixes
119
138
 
120
139
  - **๐Ÿงฉ New Usage widgets (v2.1.0)** - Added **Session Usage**, **Weekly Usage**, **Block Reset Timer**, and **Context Bar** widgets.
@@ -205,7 +224,7 @@
205
224
  ### v2.0.0 - Powerline Support & Enhanced Themes
206
225
  - **โšก Powerline Mode** - Beautiful Powerline-style status lines with arrow separators and customizable caps
207
226
  - **๐ŸŽจ Built-in Themes** - Multiple pre-configured themes that you can copy and customize
208
- - **๐ŸŒˆ Advanced Color Support** - Basic (16), 256-color (with custom ANSI codes), and truecolor (with hex codes) modes
227
+ - **๐ŸŒˆ Advanced Color Support** - Basic (16), 256-color (with custom ANSI codes), and truecolor (with hex codes) modes, plus multi-stop **gradients** (per-widget or spanning the whole line)
209
228
  - **๐Ÿ”— Widget Merging** - Merge multiple widgets together with or without padding for seamless designs
210
229
  - **๐Ÿ“ฆ Easy Installation** - Install directly with `npx` or `bunx` - no global package needed
211
230
  - **๐Ÿ”ค Custom Separators** - Add multiple Powerline separators with custom hex codes for font support