ccstatusline-usage 2.1.22 → 2.3.1
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 +18 -2
- package/dist/ccstatusline.js +1306 -2750
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
This fork adds API-based usage widgets beyond the upstream:
|
|
32
32
|
|
|
33
33
|
- **Session/Weekly Usage** - Real utilization from Anthropic API with progress bars
|
|
34
|
+
- **Weekly Pace** - Pendulum bar showing if you're ahead or behind expected usage pace
|
|
34
35
|
- **Reset Timer** - Time until 5-hour session window resets
|
|
35
36
|
- **Context Window Display** - Visual bar showing context usage
|
|
36
37
|
- **Two-line Layout** - Session info on line 1, context on line 2
|
|
@@ -39,7 +40,7 @@ This fork adds API-based usage widgets beyond the upstream:
|
|
|
39
40
|
|
|
40
41
|
```
|
|
41
42
|
Session: [████░░░░░░░░░░░] 27.0% | Weekly: [███████████████] 100.0% | Extra: €2.50/€50.00 | Model: Opus 4.6 | Session ID: 0109b99d...
|
|
42
|
-
Context: [███████░░░░░░░░] 103k/200k (51%)
|
|
43
|
+
Context: [███████░░░░░░░░] 103k/200k (51%) | Pace: [░░░░░░░|██░░░░░] D5/7 +12%
|
|
43
44
|
```
|
|
44
45
|
|
|
45
46
|

|
|
@@ -64,6 +65,15 @@ Session: [████░░░░░░░░░░░] 27.0% | Weekly: [██
|
|
|
64
65
|
|
|
65
66
|
## 🆕 Recent Updates
|
|
66
67
|
|
|
68
|
+
### [v2.3.1](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.3.1) - Weekly Pace widget
|
|
69
|
+
|
|
70
|
+
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Weekly Pace widget** — New widget showing if weekly usage pace is on track, with pendulum bar or text display mode (PR #1 by @BenIsLegit)
|
|
71
|
+
|
|
72
|
+
### [v2.3.0](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.3.0) - Upstream sync + Vim Mode widget
|
|
73
|
+
|
|
74
|
+
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Upstream sync** — Merged 14 upstream commits: Vim Mode widget, hyperlink support for GitBranch/GitRootDir, ESLint 10 upgrade, timer day display fix (≥24h), macOS keychain token fallback, ink-gradient 4.0.0
|
|
75
|
+
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Version scheme** — Switched to staying one minor version ahead of upstream (upstream 2.2.x → fork 2.3.x)
|
|
76
|
+
|
|
67
77
|
### [v2.1.17](https://github.com/pcvelz/ccstatusline-usage/releases/tag/v2.1.17) - Upstream sync + 1M context display
|
|
68
78
|
|
|
69
79
|
- [pcvelz/ccstatusline-usage](https://github.com/pcvelz/ccstatusline-usage): **Upstream sync** — Merged 46 upstream commits: new widgets (Skills, ThinkingEffort, InputSpeed, OutputSpeed, TotalSpeed, Link, GitInsertions, GitDeletions, WeeklyResetTimer), CI pipeline, Dependabot, --config flag, --hook mode, usage API proxy support, 429 backoff, CoercedNumberSchema
|
|
@@ -112,7 +122,7 @@ Session: [████░░░░░░░░░░░] 27.0% | Weekly: [██
|
|
|
112
122
|
|
|
113
123
|
- [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
|
|
114
124
|
|
|
115
|
-
### v2.2.0 - v2.2.
|
|
125
|
+
### v2.2.0 - v2.2.6 - Speed, widgets, links, and reliability updates
|
|
116
126
|
|
|
117
127
|
- **🚀 New Token Speed widgets** - Added three widgets: **Input Speed**, **Output Speed**, and **Total Speed**.
|
|
118
128
|
- Each speed widget supports a configurable window of `0-120` seconds in the widget editor (`w` key).
|
|
@@ -121,6 +131,9 @@ Session: [████░░░░░░░░░░░] 27.0% | Weekly: [██
|
|
|
121
131
|
- **🧩 New Skills widget controls (v2.2.1)** - Added configurable Skills modes (last/count/list), optional hide-when-empty behavior, and list-size limiting with most-recent-first ordering.
|
|
122
132
|
- **🌐 Usage API proxy support (v2.2.2)** - Usage widgets honor the uppercase `HTTPS_PROXY` environment variable for their direct API call to Anthropic.
|
|
123
133
|
- **🧠 New Thinking Effort widget (v2.2.4)** - Added a widget that shows the current Claude Code thinking effort level.
|
|
134
|
+
- **🍎 Better macOS usage lookup reliability (v2.2.5)** - Improved reliability when loading usage API tokens on macOS.
|
|
135
|
+
- **⌨️ New Vim Mode widget (v2.2.5)** - Added a widget that shows the current vim mode, with ASCII and optional Nerd Font icon display.
|
|
136
|
+
- **🔗 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.
|
|
124
137
|
- **🤝 Better subagent-aware speed reporting** - Token speed calculations continue to include referenced subagent activity so displayed speeds better reflect actual concurrent work.
|
|
125
138
|
|
|
126
139
|
### v2.1.0 - v2.1.10 - Usage widgets, links, new git insertions / deletions widgets, and reliability fixes
|
|
@@ -530,11 +543,13 @@ bun run example
|
|
|
530
543
|
- **Battery** *(ccstatusline-usage)* - Shows battery percentage on macOS and Linux (only visible when on battery power, hidden when charging)
|
|
531
544
|
- **Session Usage** - Shows daily/session API usage percentage
|
|
532
545
|
- **Weekly Usage** - Shows weekly API usage percentage
|
|
546
|
+
- **Weekly Pace** - Pendulum bar or text label showing if usage pace is on track, overcooking, or underutilized (toggle with `p` key in TUI)
|
|
533
547
|
- **Block Reset Timer** - Shows time remaining until current 5-hour block reset window
|
|
534
548
|
- **Weekly Reset Timer** - Shows time remaining until weekly usage reset
|
|
535
549
|
- **Context Bar** - Shows context usage as a progress bar with short/full display modes
|
|
536
550
|
- **Skills** - Shows skill activity as last used, total count, or unique list (with optional list limit and hide-when-empty toggle)
|
|
537
551
|
- **Thinking Effort** - Shows the current Claude Code thinking effort level
|
|
552
|
+
- **Vim Mode** - Displays current vim editor mode
|
|
538
553
|
- **Separator** - Visual divider between widgets (available when Powerline mode is off and no default separator is configured)
|
|
539
554
|
- **Flex Separator** - Expands to fill available space (available when Powerline mode is off)
|
|
540
555
|
|
|
@@ -622,6 +637,7 @@ Widget-specific shortcuts:
|
|
|
622
637
|
- **Block Timer**: `p` cycle display mode (time/full bar/short bar)
|
|
623
638
|
- **Block Reset Timer**: `p` cycle display mode (time/full bar/short bar)
|
|
624
639
|
- **Weekly Reset Timer**: `p` cycle display mode (time/full bar/short bar)
|
|
640
|
+
- **Weekly Pace**: `p` toggle pendulum bar / text label
|
|
625
641
|
- **Current Working Dir**: `h` home abbreviation, `s` segment editor, `f` fish-style path
|
|
626
642
|
- **Custom Command**: `e` command, `w` max width, `t` timeout, `p` preserve ANSI colors
|
|
627
643
|
- **Link**: `u` URL, `e` link text
|