ccstatusline 1.0.2 → 1.0.3

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 (2) hide show
  1. package/README.md +11 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -45,10 +45,13 @@ Once configured, ccstatusline automatically formats your Claude Code status line
45
45
 
46
46
  - **Model Name** - Shows the current Claude model (e.g., "Claude 3.5 Sonnet")
47
47
  - **Git Branch** - Displays current git branch name
48
- - **Token Usage** - Shows input/output/total tokens used
49
- - **Time** - Current time in HH:MM:SS format
50
- - **Custom Text** - Add your own static text
51
- - **Separator** - Visual divider between items
48
+ - **Tokens Input** - Shows input tokens used
49
+ - **Tokens Output** - Shows output tokens used
50
+ - **Tokens Cached** - Shows cached tokens used
51
+ - **Tokens Total** - Shows total tokens used
52
+ - **Context Length** - Shows current context length in tokens
53
+ - **Context Percentage** - Shows percentage of context limit used
54
+ - **Separator** - Visual divider between items (|)
52
55
  - **Flex Separator** - Expands to fill available space
53
56
 
54
57
  ## Configuration File
@@ -64,29 +67,26 @@ The configuration file at `~/.config/ccstatusline/settings.json` looks like:
64
67
  },
65
68
  {
66
69
  "type": "separator",
67
- "text": " │ ",
68
70
  "color": "gray"
69
71
  },
70
72
  {
71
- "type": "git_branch",
73
+ "type": "git-branch",
72
74
  "color": "green"
73
75
  },
74
76
  {
75
77
  "type": "separator",
76
- "text": " │ ",
77
78
  "color": "gray"
78
79
  },
79
80
  {
80
- "type": "tokens",
81
+ "type": "tokens-total",
81
82
  "color": "yellow"
82
83
  },
83
84
  {
84
- "type": "flex_separator",
85
- "text": "─",
85
+ "type": "flex-separator",
86
86
  "color": "gray"
87
87
  },
88
88
  {
89
- "type": "time",
89
+ "type": "context-percentage",
90
90
  "color": "blue"
91
91
  }
92
92
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccstatusline",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "A customizable status line formatter for Claude Code CLI",
5
5
  "module": "src/ccstatusline.ts",
6
6
  "type": "module",