@promptctl/cc-candybar 1.72.0 → 1.74.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/README.md +2 -2
- package/dist/index.mjs +94 -96
- package/package.json +6 -6
- package/plugin/commands/candybar.md +2 -2
- package/schema/cc-candybar.schema.json +32 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptctl/cc-candybar",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.74.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",
|
|
@@ -85,14 +85,14 @@
|
|
|
85
85
|
"tsx": "^4.21.0",
|
|
86
86
|
"typescript": "^5.0.0",
|
|
87
87
|
"@promptctl/go-template-js": "^0.9.0",
|
|
88
|
-
"@promptctl/rich-js": "^0.
|
|
88
|
+
"@promptctl/rich-js": "^0.11.0",
|
|
89
89
|
"json5": "^2.2.3",
|
|
90
90
|
"mobx": "^6.15.0"
|
|
91
91
|
},
|
|
92
92
|
"optionalDependencies": {
|
|
93
|
-
"@promptctl/cc-candybar-darwin-arm64": "1.
|
|
94
|
-
"@promptctl/cc-candybar-darwin-x64": "1.
|
|
95
|
-
"@promptctl/cc-candybar-linux-x64": "1.
|
|
96
|
-
"@promptctl/cc-candybar-linux-arm64": "1.
|
|
93
|
+
"@promptctl/cc-candybar-darwin-arm64": "1.74.0",
|
|
94
|
+
"@promptctl/cc-candybar-darwin-x64": "1.74.0",
|
|
95
|
+
"@promptctl/cc-candybar-linux-x64": "1.74.0",
|
|
96
|
+
"@promptctl/cc-candybar-linux-arm64": "1.74.0"
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -150,7 +150,7 @@ Tell the user the previews are in the bash output above, then display:
|
|
|
150
150
|
````markdown
|
|
151
151
|
**Presets:**
|
|
152
152
|
|
|
153
|
-
1. **default** -- Two rows: an identity row (directory, git
|
|
153
|
+
1. **default** -- Two rows: an identity row (directory, git) over a status row (model, context window, cache timer, 5-hour block usage, weekly usage). Good default.
|
|
154
154
|
2. **compact** -- One row (directory, git, context window) with no cell padding. For narrow terminals and split panes.
|
|
155
155
|
3. **verbose** -- The default's two rows plus pull-request, burn-rate, token-speed and token-sparkline segments. Maximum information.
|
|
156
156
|
````
|
|
@@ -261,7 +261,7 @@ Setup complete.
|
|
|
261
261
|
|
|
262
262
|
**What now:**
|
|
263
263
|
1. Restart Claude Code if the statusline does not appear.
|
|
264
|
-
2. The bar has its own settings menu: click
|
|
264
|
+
2. The bar has its own settings menu: click `🍫` on the bar to switch theme, look, style, wrap, padding and preset live. Tick `persist?` there to make a choice the durable default.
|
|
265
265
|
3. Hand edits to `~/.config/cc-candybar/config.json5` hot-reload; no restart needed.
|
|
266
266
|
4. Run `/candybar` any time to rerun this wizard.
|
|
267
267
|
|
|
@@ -63,6 +63,13 @@
|
|
|
63
63
|
"ansi",
|
|
64
64
|
"none"
|
|
65
65
|
]
|
|
66
|
+
},
|
|
67
|
+
"menuGlyph": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"pattern": "^[^\\r\\n]*\\S[^\\r\\n]*$",
|
|
70
|
+
"not": {
|
|
71
|
+
"pattern": "^(?:❌|✕)[\\uFE0E\\uFE0F]?$"
|
|
72
|
+
}
|
|
66
73
|
}
|
|
67
74
|
},
|
|
68
75
|
"additionalProperties": false
|
|
@@ -1238,6 +1245,23 @@
|
|
|
1238
1245
|
"check"
|
|
1239
1246
|
],
|
|
1240
1247
|
"additionalProperties": false
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"type": "object",
|
|
1251
|
+
"properties": {
|
|
1252
|
+
"do": {
|
|
1253
|
+
"type": "array",
|
|
1254
|
+
"items": {
|
|
1255
|
+
"type": "string",
|
|
1256
|
+
"minLength": 1
|
|
1257
|
+
},
|
|
1258
|
+
"minItems": 2
|
|
1259
|
+
}
|
|
1260
|
+
},
|
|
1261
|
+
"required": [
|
|
1262
|
+
"do"
|
|
1263
|
+
],
|
|
1264
|
+
"additionalProperties": false
|
|
1241
1265
|
}
|
|
1242
1266
|
]
|
|
1243
1267
|
}
|
|
@@ -1331,6 +1355,10 @@
|
|
|
1331
1355
|
"ansi",
|
|
1332
1356
|
"none"
|
|
1333
1357
|
]
|
|
1358
|
+
},
|
|
1359
|
+
"menuGlyph": {
|
|
1360
|
+
"not": {},
|
|
1361
|
+
"description": "not allowed here — a preset cannot change the settings menu glyph"
|
|
1334
1362
|
}
|
|
1335
1363
|
},
|
|
1336
1364
|
"additionalProperties": false
|
|
@@ -1398,6 +1426,10 @@
|
|
|
1398
1426
|
"ansi",
|
|
1399
1427
|
"none"
|
|
1400
1428
|
]
|
|
1429
|
+
},
|
|
1430
|
+
"menuGlyph": {
|
|
1431
|
+
"not": {},
|
|
1432
|
+
"description": "not allowed here — the editGlobals fragment cannot change the settings menu glyph"
|
|
1401
1433
|
}
|
|
1402
1434
|
},
|
|
1403
1435
|
"additionalProperties": false
|