ccstatusline 2.2.0 → 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.
Files changed (3) hide show
  1. package/README.md +36 -31
  2. package/dist/ccstatusline.js +53382 -52072
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -46,12 +46,13 @@
46
46
 
47
47
  ## 🆕 Recent Updates
48
48
 
49
- ### v2.2.0 - New Token Speed widgets with optional windows
49
+ ### v2.2.0 - v2.2.1 - Token Speed + Skills widget updates
50
50
 
51
51
  - **🚀 New Token Speed widgets** - Added three widgets: **Input Speed**, **Output Speed**, and **Total Speed**.
52
52
  - Each speed widget supports a configurable window of `0-120` seconds in the widget editor (`w` key).
53
53
  - `0` disables window mode and uses a full-session average speed.
54
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.
55
56
  - **🤝 Better subagent-aware speed reporting** - Token speed calculations continue to include referenced subagent activity so displayed speeds better reflect actual concurrent work.
56
57
 
57
58
  ### v2.1.0 - v2.1.10 - Usage widgets, links, new git insertions / deletions widgets, and reliability fixes
@@ -424,39 +425,43 @@ bun run example
424
425
 
425
426
  ### 📊 Available Widgets
426
427
 
427
- - **Model Name** - Shows the current Claude model (e.g., "Claude 3.5 Sonnet")
428
- - **Git Branch** - Displays current git branch name
429
- - **Git Changes** - Shows uncommitted insertions/deletions (e.g., "+42,-10")
430
- - **Git Insertions** - Shows uncommitted insertions only (e.g., "+42")
431
- - **Git Deletions** - Shows uncommitted deletions only (e.g., "-10")
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
432
434
  - **Git Root Dir** - Shows the git repository root directory name
433
- - **Git Worktree** - Shows the name of the current git worktree
434
- - **Session Clock** - Shows elapsed time since session start (e.g., "2hr 15m")
435
- - **Session Usage** - Shows current 5-hour/session API usage percentage
436
- - **Weekly Usage** - Shows rolling 7-day API usage percentage
437
- - **Session Cost** - Shows total session cost in USD (e.g., "$1.23")
438
- - **Session Name** - Shows the session name set via `/rename` command in Claude Code
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
439
455
  - **Claude Session ID** - Shows the current Claude Code session ID from status JSON
440
- - **Block Timer** - Shows time elapsed in current 5-hour block or progress bar
441
- - **Block Reset Timer** - Shows time remaining until the current 5-hour block resets
442
- - **Weekly Reset Timer** - Shows time remaining until the weekly usage window resets
443
- - **Current Working Directory** - Shows current working directory with segment limit, fish-style abbreviation, and optional `~` home abbreviation
444
- - **Version** - Shows Claude Code version
445
- - **Output Style** - Shows the currently set output style in Claude Code
446
- - **Tokens Input** - Shows input tokens used
447
- - **Tokens Output** - Shows output tokens used
448
- - **Tokens Cached** - Shows cached tokens used
449
- - **Tokens Total** - Shows total tokens used
450
- - **Context Length** - Shows current context length in tokens
451
- - **Context Percentage** - Shows percentage of context limit used (dynamic: 1M for model IDs with long-context labels like `[1m]` or `1M context`, 200k otherwise)
452
- - **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
453
462
  - **Context Bar** - Shows context usage as a progress bar with short/full display modes
454
- - **Terminal Width** - Shows detected terminal width (for debugging)
455
- - **Memory Usage** - Shows system memory usage (used/total, e.g., "Mem: 12.4G/16.0G")
456
- - **Custom Text** - Add your own custom text to the status line
457
- - **Custom Command** - Execute shell commands and display their output (refreshes whenever the statusline is updated by Claude Code)
458
- - **Link** - Add clickable terminal hyperlinks (OSC 8) with configurable URL and display text
459
- - **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)
460
465
  - **Flex Separator** - Expands to fill available space (available when Powerline mode is off)
461
466
 
462
467
  ---