ccstatusline 2.1.10 → 2.2.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 +43 -30
- package/dist/ccstatusline.js +51407 -44216
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -46,6 +46,15 @@
|
|
|
46
46
|
|
|
47
47
|
## 🆕 Recent Updates
|
|
48
48
|
|
|
49
|
+
### v2.2.0 - v2.2.1 - Token Speed + Skills widget updates
|
|
50
|
+
|
|
51
|
+
- **🚀 New Token Speed widgets** - Added three widgets: **Input Speed**, **Output Speed**, and **Total Speed**.
|
|
52
|
+
- Each speed widget supports a configurable window of `0-120` seconds in the widget editor (`w` key).
|
|
53
|
+
- `0` disables window mode and uses a full-session average speed.
|
|
54
|
+
- `1-120` calculates recent speed over the selected rolling window.
|
|
55
|
+
- **🧩 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.
|
|
56
|
+
- **🤝 Better subagent-aware speed reporting** - Token speed calculations continue to include referenced subagent activity so displayed speeds better reflect actual concurrent work.
|
|
57
|
+
|
|
49
58
|
### v2.1.0 - v2.1.10 - Usage widgets, links, new git insertions / deletions widgets, and reliability fixes
|
|
50
59
|
|
|
51
60
|
- **🧩 New Usage widgets (v2.1.0)** - Added **Session Usage**, **Weekly Usage**, **Block Reset Timer**, and **Context Bar** widgets.
|
|
@@ -416,39 +425,43 @@ bun run example
|
|
|
416
425
|
|
|
417
426
|
### 📊 Available Widgets
|
|
418
427
|
|
|
419
|
-
- **Model
|
|
420
|
-
- **
|
|
421
|
-
- **Git
|
|
422
|
-
- **Git
|
|
423
|
-
- **Git
|
|
428
|
+
- **Model** - Displays the Claude model name (e.g., "Claude 3.5 Sonnet")
|
|
429
|
+
- **Output Style** - Shows the current Claude Code output style
|
|
430
|
+
- **Git Branch** - Shows the current git branch name
|
|
431
|
+
- **Git Changes** - Shows git changes count (`+insertions`, `-deletions`)
|
|
432
|
+
- **Git Insertions** - Shows git insertions count
|
|
433
|
+
- **Git Deletions** - Shows git deletions count
|
|
424
434
|
- **Git Root Dir** - Shows the git repository root directory name
|
|
425
|
-
- **Git Worktree** - Shows the
|
|
426
|
-
- **
|
|
427
|
-
- **
|
|
428
|
-
- **
|
|
429
|
-
- **
|
|
430
|
-
- **
|
|
435
|
+
- **Git Worktree** - Shows the current git worktree name
|
|
436
|
+
- **Current Working Dir** - Shows current working directory with segment limit, fish-style abbreviation, and optional `~` home abbreviation
|
|
437
|
+
- **Tokens Input** - Shows input token count for the current session
|
|
438
|
+
- **Tokens Output** - Shows output token count for the current session
|
|
439
|
+
- **Tokens Cached** - Shows cached token count for the current session
|
|
440
|
+
- **Tokens Total** - Shows total token count (`input + output + cache`) for the current session
|
|
441
|
+
- **Input Speed** - Shows session-average input token speed (`tokens/sec`) with optional per-widget window (`0-120` seconds; `0` = full-session average)
|
|
442
|
+
- **Output Speed** - Shows session-average output token speed (`tokens/sec`) with optional per-widget window (`0-120` seconds; `0` = full-session average)
|
|
443
|
+
- **Total Speed** - Shows session-average total token speed (`tokens/sec`) with optional per-widget window (`0-120` seconds; `0` = full-session average)
|
|
444
|
+
- **Context Length** - Shows the current context window size in tokens
|
|
445
|
+
- **Context %** - Shows percentage of context window used or remaining
|
|
446
|
+
- **Context % (usable)** - Shows percentage of usable context used or remaining (80% of max before auto-compact)
|
|
447
|
+
- **Session Clock** - Shows elapsed time since current session started
|
|
448
|
+
- **Session Cost** - Shows the total session cost in USD
|
|
449
|
+
- **Block Timer** - Shows current 5-hour block elapsed time or progress
|
|
450
|
+
- **Terminal Width** - Shows current terminal width in columns
|
|
451
|
+
- **Version** - Shows Claude Code CLI version number
|
|
452
|
+
- **Custom Text** - Displays user-defined custom text
|
|
453
|
+
- **Custom Command** - Executes a custom shell command and displays output (refreshes whenever Claude Code updates the status line)
|
|
454
|
+
- **Link** - Displays a clickable terminal hyperlink using OSC 8
|
|
431
455
|
- **Claude Session ID** - Shows the current Claude Code session ID from status JSON
|
|
432
|
-
- **
|
|
433
|
-
- **
|
|
434
|
-
- **
|
|
435
|
-
- **
|
|
436
|
-
- **
|
|
437
|
-
- **
|
|
438
|
-
- **Tokens Input** - Shows input tokens used
|
|
439
|
-
- **Tokens Output** - Shows output tokens used
|
|
440
|
-
- **Tokens Cached** - Shows cached tokens used
|
|
441
|
-
- **Tokens Total** - Shows total tokens used
|
|
442
|
-
- **Context Length** - Shows current context length in tokens
|
|
443
|
-
- **Context Percentage** - Shows percentage of context limit used (dynamic: 1M for model IDs with long-context labels like `[1m]` or `1M context`, 200k otherwise)
|
|
444
|
-
- **Context Percentage (usable)** - Shows percentage of usable context (dynamic: 800k for model IDs with long-context labels like `[1m]` or `1M context`, 160k otherwise, accounting for auto-compact at 80%)
|
|
456
|
+
- **Session Name** - Shows the session name set via `/rename` in Claude Code
|
|
457
|
+
- **Memory Usage** - Shows system memory usage (used/total)
|
|
458
|
+
- **Session Usage** - Shows daily/session API usage percentage
|
|
459
|
+
- **Weekly Usage** - Shows weekly API usage percentage
|
|
460
|
+
- **Block Reset Timer** - Shows time remaining until current 5-hour block reset window
|
|
461
|
+
- **Weekly Reset Timer** - Shows time remaining until weekly usage reset
|
|
445
462
|
- **Context Bar** - Shows context usage as a progress bar with short/full display modes
|
|
446
|
-
- **
|
|
447
|
-
- **
|
|
448
|
-
- **Custom Text** - Add your own custom text to the status line
|
|
449
|
-
- **Custom Command** - Execute shell commands and display their output (refreshes whenever the statusline is updated by Claude Code)
|
|
450
|
-
- **Link** - Add clickable terminal hyperlinks (OSC 8) with configurable URL and display text
|
|
451
|
-
- **Separator** - Visual divider between widgets (customizable: |, -, comma, space; available when Powerline mode is off and no default separator is configured)
|
|
463
|
+
- **Skills** - Shows skill activity as last used, total count, or unique list (with optional list limit and hide-when-empty toggle)
|
|
464
|
+
- **Separator** - Visual divider between widgets (available when Powerline mode is off and no default separator is configured)
|
|
452
465
|
- **Flex Separator** - Expands to fill available space (available when Powerline mode is off)
|
|
453
466
|
|
|
454
467
|
---
|