@cc-status-line/cli 0.2.0 → 0.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.full +18 -10
- package/index.js +2 -1
- package/package.json +4 -5
package/README.md.full
CHANGED
|
@@ -130,20 +130,28 @@ cc-status follows a "passive bar + on-demand panel" design. You don't need to re
|
|
|
130
130
|
The bar at the top of every Claude Code prompt. Choose a layout:
|
|
131
131
|
|
|
132
132
|
```sh
|
|
133
|
-
ccs mode compact #
|
|
134
|
-
ccs mode
|
|
135
|
-
ccs mode
|
|
133
|
+
ccs mode compact # 1 line, the basics (default)
|
|
134
|
+
ccs mode minimal # 1 line, just dir + ctx
|
|
135
|
+
ccs mode detailed # 3 lines, all metrics
|
|
136
|
+
ccs mode cost # 2 lines focused on $ spent
|
|
137
|
+
ccs mode tokens # 3 lines focused on token flow
|
|
138
|
+
ccs mode tools # 3 lines focused on Skill / MCP usage
|
|
139
|
+
ccs mode debug # 8 lines, one metric per line with labels
|
|
136
140
|
```
|
|
137
141
|
|
|
138
|
-
Or build your own:
|
|
142
|
+
Or build your own without rewriting:
|
|
139
143
|
|
|
140
144
|
```sh
|
|
141
|
-
ccs segments
|
|
142
|
-
ccs mode
|
|
143
|
-
|
|
144
|
-
ccs mode
|
|
145
|
-
ccs mode
|
|
146
|
-
ccs mode
|
|
145
|
+
ccs segments # see all segments
|
|
146
|
+
ccs mode append cost_today # append a new line to current mode
|
|
147
|
+
ccs mode append hit_rate burn # append several segments together
|
|
148
|
+
ccs mode append --line 1 git # append to an existing line
|
|
149
|
+
ccs mode append --mode detailed cost_today # target a specific mode
|
|
150
|
+
ccs mode edit # full edit in $EDITOR
|
|
151
|
+
ccs mode add mine -l "{dir} {git}" \
|
|
152
|
+
-l "{last_turn} {hit_rate}" # define a brand-new mode
|
|
153
|
+
ccs mode list # show all modes
|
|
154
|
+
ccs mode rm mine # delete one
|
|
147
155
|
```
|
|
148
156
|
|
|
149
157
|
### 2. The detail panel (`ccs status`)
|
package/index.js
CHANGED
|
@@ -20,7 +20,8 @@ function resolveBinary() {
|
|
|
20
20
|
"darwin-arm64": "@cc-status-line/darwin-arm64",
|
|
21
21
|
"linux-x64": "@cc-status-line/linux-x64",
|
|
22
22
|
"linux-arm64": "@cc-status-line/linux-arm64",
|
|
23
|
-
|
|
23
|
+
// win32-x64 is temporarily disabled. Windows users should build
|
|
24
|
+
// from source: https://github.com/hankeGui/cc-status
|
|
24
25
|
};
|
|
25
26
|
|
|
26
27
|
const key = `${platform}-${arch}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cc-status-line/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Multi-line, mode-switchable status line for Claude Code (Rust binary, npm-distributed)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -35,9 +35,8 @@
|
|
|
35
35
|
"postinstall": "node postinstall.js || true"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|
|
38
|
-
"@cc-status-line/darwin-arm64": "0.2.
|
|
39
|
-
"@cc-status-line/linux-x64": "0.2.
|
|
40
|
-
"@cc-status-line/linux-arm64": "0.2.
|
|
41
|
-
"@cc-status-line/win32-x64": "0.2.0"
|
|
38
|
+
"@cc-status-line/darwin-arm64": "0.2.1",
|
|
39
|
+
"@cc-status-line/linux-x64": "0.2.1",
|
|
40
|
+
"@cc-status-line/linux-arm64": "0.2.1"
|
|
42
41
|
}
|
|
43
42
|
}
|