ccstatusline 2.2.21 โ†’ 2.2.23

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 +21 -2
  2. package/dist/ccstatusline.js +1836 -1126
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -47,6 +47,24 @@
47
47
 
48
48
  ## ๐Ÿ†• Recent Updates
49
49
 
50
+ ### v2.2.22 - v2.2.23 - Powerline flex mode, layout controls, composable metrics, and safer config
51
+
52
+ ![Powerline Flex Mode](https://raw.githubusercontent.com/sirmalloc/ccstatusline/main/screenshots/powerline-flex.png)
53
+
54
+ - **โšก Powerline flex mode** - Flex separators now work in Powerline mode, letting Powerline status lines right-align content or absorb available width.
55
+ - **๐ŸŒ— Per-widget dim styling** - The color editor can dim an entire widget or only parenthesized text, with reset and clear-all actions covering dim state.
56
+ - **๐Ÿงฏ Safer settings recovery** - Invalid `settings.json` files are left untouched, defaults render in memory, and the status line shows an invalid-config warning.
57
+ - **๐Ÿงญ Selective Powerline alignment** - Press `x` in the line editor to let a widget and the rest of its line keep their natural widths while earlier Powerline columns stay auto-aligned.
58
+ - **๐Ÿ“ Git widget width limits** - `Git Branch` and `Git Root Dir` can cap their visible width with ellipsis-safe truncation while preserving hyperlink targets.
59
+ - **๐Ÿ”ฃ Current directory glyphs** - `Current Working Dir` can prepend an optional custom glyph, including in raw-value mode.
60
+ - **๐Ÿง  Configurable context fallback** - `CCSTATUSLINE_CONTEXT_SIZE_FALLBACK` overrides the default 200k last-resort context window when Claude Code and the model name do not report one.
61
+ - **๐Ÿงฉ Composable compaction metrics** - `Compaction Counter` can render count, auto, manual, unknown, or reclaimed-token values independently for custom layouts.
62
+ - **๐Ÿท๏ธ CLI version flag** - `ccstatusline --version` now prints the installed package version and exits.
63
+ - **๐Ÿ›ก๏ธ Guarded invalid-config saves** - The TUI warns when it loaded defaults for an invalid settings file and requires confirmation before replacing that file.
64
+ - **๐Ÿ”„ Usage display and cache fixes** - Used/remaining direction now works in every percentage mode, account switches invalidate cached usage, and fetch locks no longer cause repeated requests or stale timeout output.
65
+ - **โฑ๏ธ Calmer reset timer startup** - Reset timers show labeled loading placeholders instead of transient rate-limit errors while Claude Code's embedded usage-window data is still arriving.
66
+ - **๐Ÿ”‡ Quieter install detection** - Best-effort npm and Bun probes no longer leak expected package-manager errors into the TUI.
67
+
50
68
  ### v2.2.21 - Cache widgets, compaction details, extra usage currency, and package fixes
51
69
 
52
70
  - **๐Ÿ”ฃ Custom widget glyphs** - Git and JJ symbol widgets can override or suppress their built-in glyphs from the TUI.
@@ -100,7 +118,7 @@
100
118
  - **๐Ÿงฎ Git file status widgets** - Added `Git Staged Files`, `Git Unstaged Files`, `Git Untracked Files`, and `Git Clean Status` for file counts and clean/dirty state.
101
119
  - **๐Ÿท๏ธ Clear context percentage labels** - `Context %` and `Context % (usable)` now label rendered values as used or left when toggling used/remaining mode.
102
120
  - **โšก More Powerline caps** - The Powerline separator editor now supports more than three start/end caps.
103
- - **๐Ÿง  Thinking Effort updates** - Added `xhigh`, show `default` when no effort is set, mark unknown future effort levels with `?`, and track live status JSON plus `/effort` command changes.
121
+ - **๐Ÿง  Thinking Effort updates** - Added `xhigh`, show `default` when no effort is set, mark unknown future effort levels with `?`, and track live status JSON plus `/effort` command changes. Claude Code reports Ultracode as `xhigh` in status line data.
104
122
  - **๐Ÿงฎ More accurate token counts** - Streaming duplicate JSONL entries are deduped so token widgets do not overcount live Claude Code output.
105
123
  - **๐Ÿท๏ธ Cleaner model display** - The Model widget strips trailing context suffixes like `(1M context)`; use `Context Window` when you want the total window size shown.
106
124
  - **๐Ÿงน Cleaner empty-widget separators** - Manual separators now collapse around widgets that render empty, avoiding dangling separators when hide-when-empty widgets disappear.
@@ -358,11 +376,12 @@ If ccstatusline is useful to you, consider buying me a coffee:
358
376
 
359
377
  ## ๐Ÿ”— Related Projects
360
378
 
379
+ - [ccstatusline-editor](https://github.com/refinist/ccstatusline-editor) - A visual editor for building ccstatusline configurations โ€” drag, drop, preview, ship.
361
380
  - [tweakcc](https://github.com/Piebald-AI/tweakcc) - Customize Claude Code themes, thinking verbs, and more.
362
381
  - [ccusage](https://github.com/ryoppippi/ccusage) - Track and display Claude Code usage metrics.
363
382
  - [codachi](https://github.com/vincent-k2026/codachi) - A tamagotchi-style statusline pet that grows with your context window.
364
383
  - [AIWatch](https://ai-watch.dev) - Live status monitor for 30+ AI APIs and apps; pairs with a Custom Command widget to surface provider outages in your status line.
365
-
384
+ - [crispy-recall](https://github.com/TheSylvester/crispy-recall) - Searchable memory for your Claude Code and Codex sessions. Local, fast, no daemon.
366
385
 
367
386
  ## ๐Ÿ™ Acknowledgments
368
387