ccstatusline-usage 2.1.4 โ 2.1.6
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 +32 -40
- package/dist/ccstatusline.js +1006 -185
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,26 +46,22 @@
|
|
|
46
46
|
|
|
47
47
|
## ๐ Recent Updates
|
|
48
48
|
|
|
49
|
-
### [v2.1.
|
|
49
|
+
### [v2.1.6](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.1.6) - Upstream sync
|
|
50
50
|
|
|
51
|
-
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **
|
|
52
|
-
```
|
|
53
|
-
S: [โโโโ] 2.0% | W: [โโโโ] 43.0% | 4:36 hr
|
|
54
|
-
M: o4.6 โโโ | S: 5647528d | C: [โโโโ] 119k/200k
|
|
55
|
-
```
|
|
56
|
-
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Terminal-agnostic compact detection** โ compact mode now triggers on any narrow terminal (< 80 columns), not just tmux
|
|
51
|
+
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Upstream sync** โ merged 9 upstream commits: Session Name widget, Git Root Dir widget, CWD home abbreviation, block timer caching, git widget refactor, Windows UTF-8 fix, widget picker UX, TUI editor input fix
|
|
57
52
|
|
|
58
|
-
###
|
|
53
|
+
### v2.0.26 - v2.0.28 - Performance, git internals, and workflow improvements
|
|
59
54
|
|
|
60
|
-
-
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
-
|
|
55
|
+
- **โก Block timer cache (v2.0.28)** - Cache block timer metrics to reduce JSONL parsing on every render, with per-config hashed cache files and automatic 5-hour block invalidation.
|
|
56
|
+
- **๐งฑ Git widget command refactor (v2.0.28)** - Refactored git widgets to use shared git command helpers and expanded coverage for failure and edge-case tests.
|
|
57
|
+
- **๐ช Windows UTF-8 piped output fix (v2.0.28)** - Sets the Windows UTF-8 code page for piped status line rendering.
|
|
58
|
+
- **๐ Git Root Dir widget (v2.0.27)** - Added a new Git widget that shows the repository root directory name.
|
|
59
|
+
- **๐ท๏ธ Session Name widget (v2.0.26)** - Added a new widget that shows the current Claude Code session name from `/rename`.
|
|
60
|
+
- **๐ Current Working Directory home abbreviation (v2.0.26)** - Added a `~` abbreviation option for CWD display in both preview and live rendering.
|
|
61
|
+
- **๐ง Context model suffix fix (v2.0.26)** - Context widgets now recognize the `[1m]` suffix across models, not just a single model path.
|
|
62
|
+
- **๐งญ Widget picker UX updates (v2.0.26)** - Improved widget discovery/navigation and added clearer, safer clear-line behavior.
|
|
63
|
+
- **โจ๏ธ TUI editor input fix (v2.0.26)** - Prevented shortcut/input leakage into widget editor flows.
|
|
64
|
+
- **๐ Repo docs update (v2.0.26)** - Migrated guidance from `CLAUDE.md` to `AGENTS.md` (with symlink compatibility).
|
|
69
65
|
|
|
70
66
|
### v2.0.16 - Add fish style path abbreviation toggle to Current Working Directory widget
|
|
71
67
|
|
|
@@ -370,12 +366,13 @@ Once configured, ccstatusline automatically formats your Claude Code status line
|
|
|
370
366
|
|
|
371
367
|
### ๐ Available Widgets
|
|
372
368
|
|
|
373
|
-
- **Model Name** - Shows the current Claude model
|
|
369
|
+
- **Model Name** - Shows the current Claude model (e.g., "Claude 3.5 Sonnet")
|
|
374
370
|
- **Git Branch** - Displays current git branch name
|
|
375
371
|
- **Git Changes** - Shows uncommitted insertions/deletions (e.g., "+42,-10")
|
|
376
372
|
- **Git Worktree** - Shows the name of the current git worktree
|
|
377
373
|
- **Session Clock** - Shows elapsed time since session start (e.g., "2hr 15m")
|
|
378
374
|
- **Session Cost** - Shows total session cost in USD (e.g., "$1.23")
|
|
375
|
+
- **Session Name** - Shows the session name set via `/rename` command in Claude Code
|
|
379
376
|
- **Block Timer** - Shows time elapsed in current 5-hour block or progress bar
|
|
380
377
|
- **Current Working Directory** - Shows current working directory with configurable path segments
|
|
381
378
|
- **Version** - Shows Claude Code version
|
|
@@ -385,8 +382,8 @@ Once configured, ccstatusline automatically formats your Claude Code status line
|
|
|
385
382
|
- **Tokens Cached** - Shows cached tokens used
|
|
386
383
|
- **Tokens Total** - Shows total tokens used
|
|
387
384
|
- **Context Length** - Shows current context length in tokens
|
|
388
|
-
- **Context Percentage** - Shows percentage of context limit used (dynamic: 1M for Sonnet 4.5
|
|
389
|
-
- **Context Percentage (usable)** - Shows percentage of usable context (dynamic: 800k for Sonnet 4.5
|
|
385
|
+
- **Context Percentage** - Shows percentage of context limit used (dynamic: 1M for Sonnet 4.5 with `[1m]` suffix, 200k otherwise)
|
|
386
|
+
- **Context Percentage (usable)** - Shows percentage of usable context (dynamic: 800k for Sonnet 4.5 with `[1m]` suffix, 160k otherwise, accounting for auto-compact at 80%)
|
|
390
387
|
- **Terminal Width** - Shows detected terminal width (for debugging)
|
|
391
388
|
- **Custom Text** - Add your own custom text to the status line
|
|
392
389
|
- **Custom Command** - Execute shell commands and display their output (refreshes whenever the statusline is updated by Claude Code)
|
|
@@ -456,7 +453,7 @@ The Block Timer widget helps you track your progress through Claude Code's 5-hou
|
|
|
456
453
|
### ๐ค Raw Value Mode
|
|
457
454
|
|
|
458
455
|
Some widgets support "raw value" mode which displays just the value without a label:
|
|
459
|
-
- Normal: `Model: Claude
|
|
456
|
+
- Normal: `Model: Claude 3.5 Sonnet` โ Raw: `Claude 3.5 Sonnet`
|
|
460
457
|
- Normal: `Session: 2hr 15m` โ Raw: `2hr 15m`
|
|
461
458
|
- Normal: `Block: 3hr 45m` โ Raw: `3hr 45m`
|
|
462
459
|
- Normal: `Ctx: 18.6k` โ Raw: `18.6k`
|
|
@@ -633,11 +630,6 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
633
630
|
|
|
634
631
|
- GitHub: [@sirmalloc](https://github.com/sirmalloc)
|
|
635
632
|
|
|
636
|
-
**Fork maintained by Peter van Velzen**
|
|
637
|
-
|
|
638
|
-
- GitHub: [@pcvelz](https://github.com/pcvelz)
|
|
639
|
-
- Fork: [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage)
|
|
640
|
-
|
|
641
633
|
---
|
|
642
634
|
|
|
643
635
|
## ๐ Related Projects
|
|
@@ -657,11 +649,11 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
657
649
|
|
|
658
650
|
## Star History
|
|
659
651
|
|
|
660
|
-
<a href="https://www.star-history.com/#
|
|
652
|
+
<a href="https://www.star-history.com/#sirmalloc/ccstatusline&Timeline">
|
|
661
653
|
<picture>
|
|
662
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=
|
|
663
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=
|
|
664
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=
|
|
654
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=sirmalloc/ccstatusline&type=Timeline&theme=dark" />
|
|
655
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=sirmalloc/ccstatusline&type=Timeline" />
|
|
656
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=sirmalloc/ccstatusline&type=Timeline" />
|
|
665
657
|
</picture>
|
|
666
658
|
</a>
|
|
667
659
|
|
|
@@ -671,21 +663,21 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
671
663
|
|
|
672
664
|
Give a โญ if this project helped you!
|
|
673
665
|
|
|
674
|
-
[](https://github.com/sirmalloc/ccstatusline/stargazers)
|
|
667
|
+
[](https://github.com/sirmalloc/ccstatusline/network/members)
|
|
668
|
+
[](https://github.com/sirmalloc/ccstatusline/watchers)
|
|
677
669
|
|
|
678
|
-
[](https://github.com/
|
|
670
|
+
[](https://www.npmjs.com/package/ccstatusline)
|
|
671
|
+
[](https://www.npmjs.com/package/ccstatusline)
|
|
672
|
+
[](https://github.com/sirmalloc/ccstatusline/blob/main/LICENSE)
|
|
681
673
|
[](https://bun.sh)
|
|
682
674
|
|
|
683
|
-
[](https://github.com/sirmalloc/ccstatusline/issues)
|
|
676
|
+
[](https://github.com/sirmalloc/ccstatusline/pulls)
|
|
677
|
+
[](https://github.com/sirmalloc/ccstatusline/graphs/contributors)
|
|
686
678
|
|
|
687
679
|
### ๐ฌ Connect
|
|
688
680
|
|
|
689
|
-
[Report Bug](https://github.com/
|
|
681
|
+
[Report Bug](https://github.com/sirmalloc/ccstatusline/issues) ยท [Request Feature](https://github.com/sirmalloc/ccstatusline/issues) ยท [Discussions](https://github.com/sirmalloc/ccstatusline/discussions)
|
|
690
682
|
|
|
691
683
|
</div>
|