@promptctl/cc-candybar 1.119.0 → 1.120.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptctl/cc-candybar",
3
- "version": "1.119.0",
3
+ "version": "1.120.0",
4
4
  "description": "Statusline renderer for Claude Code — a JSON5-configurable DSL with daemon-cached data sources, byte-clean palette-aware composition, and OSC8 click verbs.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -72,7 +72,7 @@
72
72
  "@eslint/js": "^9.33.0",
73
73
  "@pkgjs/parseargs": "0.11.0",
74
74
  "@promptctl/go-template-js": "^0.10.0",
75
- "@promptctl/rich-js": "^0.19.0",
75
+ "@promptctl/rich-js": "^0.21.0",
76
76
  "@semantic-release/changelog": "^6.0.3",
77
77
  "@semantic-release/exec": "^7.0.3",
78
78
  "@semantic-release/git": "^10.0.1",
@@ -101,9 +101,9 @@
101
101
  "typescript": "^5.0.0"
102
102
  },
103
103
  "optionalDependencies": {
104
- "@promptctl/cc-candybar-darwin-arm64": "1.119.0",
105
- "@promptctl/cc-candybar-darwin-x64": "1.119.0",
106
- "@promptctl/cc-candybar-linux-x64": "1.119.0",
107
- "@promptctl/cc-candybar-linux-arm64": "1.119.0"
104
+ "@promptctl/cc-candybar-darwin-arm64": "1.120.0",
105
+ "@promptctl/cc-candybar-darwin-x64": "1.120.0",
106
+ "@promptctl/cc-candybar-linux-x64": "1.120.0",
107
+ "@promptctl/cc-candybar-linux-arm64": "1.120.0"
108
108
  }
109
109
  }
@@ -17,7 +17,7 @@ readonly TEMPLATE="${PLUGIN_ROOT}/templates/config.json"
17
17
  # The options the wizard offers, one list per template placeholder. Each name
18
18
  # must be one the daemon accepts; the test pins that against the real domains.
19
19
  readonly THEMES=(textual-dark textual-light nord tokyo-night rose-pine gruvbox catppuccin-mocha dracula solarized-dark monokai)
20
- readonly ENDCAPS_SHAPES=(powerline capsule plain)
20
+ readonly ENDCAPS_SHAPES=(powerline prism slant backslant flame pixel ice bubble capsule wrapper metro stitch torn plain)
21
21
  readonly CHARSETS=(unicode ascii)
22
22
  readonly PRESETS=(default compact verbose zen git usage dense)
23
23
 
@@ -120,7 +120,7 @@ If the user types a name in the free text field, accept it only if the preview l
120
120
  ${CLAUDE_PLUGIN_ROOT}/bin/preview.sh --compare-endcaps --theme=${theme} --charset=${charset}
121
121
  ```
122
122
 
123
- Tell the user: "The three endcaps previews are in the bash output above, each under its name. Expand it if needed."
123
+ Tell the user: "The endcaps previews are in the bash output above, each under its name. Expand it if needed. A preview drawn with boxes or question marks uses glyphs your font lacks — pick another."
124
124
 
125
125
  Then ask:
126
126
 
@@ -129,8 +129,11 @@ Then ask:
129
129
  - **Options**:
130
130
  - "powerline" -> Set `endcaps=powerline`
131
131
  - "capsule" -> Set `endcaps=capsule`
132
+ - "bubble" -> Set `endcaps=bubble`
132
133
  - "plain" -> Set `endcaps=plain`
133
134
 
135
+ Any other name the preview showed is valid as the user's own answer: set `endcaps` to it.
136
+
134
137
  ## Step 5: Preset
135
138
 
136
139
  The preset is the bar's arrangement: which segments, on how many rows.
@@ -204,7 +207,7 @@ stamp=$(date -u +%Y%m%dT%H%M%SZ)
204
207
  | Placeholder | Replace with |
205
208
  |-------------|--------------|
206
209
  | `replace:THEME` | `theme` (the name chosen in Step 3) |
207
- | `replace:ENDCAPS` | `endcaps` (`powerline`, `capsule`, or `plain`) |
210
+ | `replace:ENDCAPS` | `endcaps` (a name the endcaps preview showed) |
208
211
  | `replace:CHARSET` | `charset` (`unicode` or `ascii`) |
209
212
  | `replace:PRESET` | `preset` (a name from Step 5's list) |
210
213
 
@@ -26,7 +26,18 @@
26
26
  "endcaps": {
27
27
  "enum": [
28
28
  "powerline",
29
+ "prism",
30
+ "slant",
31
+ "backslant",
32
+ "flame",
33
+ "pixel",
34
+ "ice",
35
+ "bubble",
29
36
  "capsule",
37
+ "wrapper",
38
+ "metro",
39
+ "stitch",
40
+ "torn",
30
41
  "plain"
31
42
  ]
32
43
  },
@@ -1239,7 +1250,18 @@
1239
1250
  "endcaps": {
1240
1251
  "enum": [
1241
1252
  "powerline",
1253
+ "prism",
1254
+ "slant",
1255
+ "backslant",
1256
+ "flame",
1257
+ "pixel",
1258
+ "ice",
1259
+ "bubble",
1242
1260
  "capsule",
1261
+ "wrapper",
1262
+ "metro",
1263
+ "stitch",
1264
+ "torn",
1243
1265
  "plain"
1244
1266
  ]
1245
1267
  },
@@ -1315,7 +1337,18 @@
1315
1337
  "endcaps": {
1316
1338
  "enum": [
1317
1339
  "powerline",
1340
+ "prism",
1341
+ "slant",
1342
+ "backslant",
1343
+ "flame",
1344
+ "pixel",
1345
+ "ice",
1346
+ "bubble",
1318
1347
  "capsule",
1348
+ "wrapper",
1349
+ "metro",
1350
+ "stitch",
1351
+ "torn",
1319
1352
  "plain"
1320
1353
  ]
1321
1354
  },