@promptctl/cc-candybar 1.56.2 → 1.57.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 +13 -16
- package/dist/index.mjs +95 -96
- package/package.json +6 -6
- package/schema/cc-candybar.schema.json +188 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptctl/cc-candybar",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.57.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",
|
|
@@ -84,15 +84,15 @@
|
|
|
84
84
|
"tsdown": "^0.21.4",
|
|
85
85
|
"tsx": "^4.21.0",
|
|
86
86
|
"typescript": "^5.0.0",
|
|
87
|
-
"@promptctl/go-template-js": "^0.
|
|
87
|
+
"@promptctl/go-template-js": "^0.9.0",
|
|
88
88
|
"@promptctl/rich-js": "^0.7.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.57.0",
|
|
94
|
+
"@promptctl/cc-candybar-darwin-x64": "1.57.0",
|
|
95
|
+
"@promptctl/cc-candybar-linux-x64": "1.57.0",
|
|
96
|
+
"@promptctl/cc-candybar-linux-arm64": "1.57.0"
|
|
97
97
|
}
|
|
98
98
|
}
|
|
@@ -158,8 +158,45 @@
|
|
|
158
158
|
"first-line"
|
|
159
159
|
]
|
|
160
160
|
},
|
|
161
|
-
"
|
|
162
|
-
"
|
|
161
|
+
"parse": {
|
|
162
|
+
"anyOf": [
|
|
163
|
+
{
|
|
164
|
+
"type": "object",
|
|
165
|
+
"properties": {
|
|
166
|
+
"text": {
|
|
167
|
+
"const": true
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"text"
|
|
172
|
+
],
|
|
173
|
+
"additionalProperties": false
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"type": "object",
|
|
177
|
+
"properties": {
|
|
178
|
+
"regex": {
|
|
179
|
+
"type": "string"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"required": [
|
|
183
|
+
"regex"
|
|
184
|
+
],
|
|
185
|
+
"additionalProperties": false
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"type": "object",
|
|
189
|
+
"properties": {
|
|
190
|
+
"json": {
|
|
191
|
+
"const": true
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"json"
|
|
196
|
+
],
|
|
197
|
+
"additionalProperties": false
|
|
198
|
+
}
|
|
199
|
+
]
|
|
163
200
|
},
|
|
164
201
|
"cache": {
|
|
165
202
|
"anyOf": [
|
|
@@ -229,7 +266,14 @@
|
|
|
229
266
|
]
|
|
230
267
|
},
|
|
231
268
|
"default": {
|
|
232
|
-
"type":
|
|
269
|
+
"type": [
|
|
270
|
+
"string",
|
|
271
|
+
"number",
|
|
272
|
+
"boolean",
|
|
273
|
+
"array",
|
|
274
|
+
"object"
|
|
275
|
+
],
|
|
276
|
+
"description": "The value published when the source fails: a string under the text/regex parse arms, any non-null JSON value under the json arm"
|
|
233
277
|
}
|
|
234
278
|
},
|
|
235
279
|
"required": [
|
|
@@ -248,8 +292,45 @@
|
|
|
248
292
|
"command": {
|
|
249
293
|
"type": "string"
|
|
250
294
|
},
|
|
251
|
-
"
|
|
252
|
-
"
|
|
295
|
+
"parse": {
|
|
296
|
+
"anyOf": [
|
|
297
|
+
{
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"text": {
|
|
301
|
+
"const": true
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"required": [
|
|
305
|
+
"text"
|
|
306
|
+
],
|
|
307
|
+
"additionalProperties": false
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"regex": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"required": [
|
|
317
|
+
"regex"
|
|
318
|
+
],
|
|
319
|
+
"additionalProperties": false
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"type": "object",
|
|
323
|
+
"properties": {
|
|
324
|
+
"json": {
|
|
325
|
+
"const": true
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"required": [
|
|
329
|
+
"json"
|
|
330
|
+
],
|
|
331
|
+
"additionalProperties": false
|
|
332
|
+
}
|
|
333
|
+
]
|
|
253
334
|
},
|
|
254
335
|
"cache": {
|
|
255
336
|
"anyOf": [
|
|
@@ -319,7 +400,14 @@
|
|
|
319
400
|
]
|
|
320
401
|
},
|
|
321
402
|
"default": {
|
|
322
|
-
"type":
|
|
403
|
+
"type": [
|
|
404
|
+
"string",
|
|
405
|
+
"number",
|
|
406
|
+
"boolean",
|
|
407
|
+
"array",
|
|
408
|
+
"object"
|
|
409
|
+
],
|
|
410
|
+
"description": "The value published when the source fails: a string under the text/regex parse arms, any non-null JSON value under the json arm"
|
|
323
411
|
}
|
|
324
412
|
},
|
|
325
413
|
"required": [
|
|
@@ -702,8 +790,45 @@
|
|
|
702
790
|
"first-line"
|
|
703
791
|
]
|
|
704
792
|
},
|
|
705
|
-
"
|
|
706
|
-
"
|
|
793
|
+
"parse": {
|
|
794
|
+
"anyOf": [
|
|
795
|
+
{
|
|
796
|
+
"type": "object",
|
|
797
|
+
"properties": {
|
|
798
|
+
"text": {
|
|
799
|
+
"const": true
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
"required": [
|
|
803
|
+
"text"
|
|
804
|
+
],
|
|
805
|
+
"additionalProperties": false
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"type": "object",
|
|
809
|
+
"properties": {
|
|
810
|
+
"regex": {
|
|
811
|
+
"type": "string"
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
"required": [
|
|
815
|
+
"regex"
|
|
816
|
+
],
|
|
817
|
+
"additionalProperties": false
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"type": "object",
|
|
821
|
+
"properties": {
|
|
822
|
+
"json": {
|
|
823
|
+
"const": true
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"required": [
|
|
827
|
+
"json"
|
|
828
|
+
],
|
|
829
|
+
"additionalProperties": false
|
|
830
|
+
}
|
|
831
|
+
]
|
|
707
832
|
},
|
|
708
833
|
"cache": {
|
|
709
834
|
"anyOf": [
|
|
@@ -773,7 +898,14 @@
|
|
|
773
898
|
]
|
|
774
899
|
},
|
|
775
900
|
"default": {
|
|
776
|
-
"type":
|
|
901
|
+
"type": [
|
|
902
|
+
"string",
|
|
903
|
+
"number",
|
|
904
|
+
"boolean",
|
|
905
|
+
"array",
|
|
906
|
+
"object"
|
|
907
|
+
],
|
|
908
|
+
"description": "The value published when the source fails: a string under the text/regex parse arms, any non-null JSON value under the json arm"
|
|
777
909
|
}
|
|
778
910
|
},
|
|
779
911
|
"required": [
|
|
@@ -792,8 +924,45 @@
|
|
|
792
924
|
"command": {
|
|
793
925
|
"type": "string"
|
|
794
926
|
},
|
|
795
|
-
"
|
|
796
|
-
"
|
|
927
|
+
"parse": {
|
|
928
|
+
"anyOf": [
|
|
929
|
+
{
|
|
930
|
+
"type": "object",
|
|
931
|
+
"properties": {
|
|
932
|
+
"text": {
|
|
933
|
+
"const": true
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
"required": [
|
|
937
|
+
"text"
|
|
938
|
+
],
|
|
939
|
+
"additionalProperties": false
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"type": "object",
|
|
943
|
+
"properties": {
|
|
944
|
+
"regex": {
|
|
945
|
+
"type": "string"
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"required": [
|
|
949
|
+
"regex"
|
|
950
|
+
],
|
|
951
|
+
"additionalProperties": false
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"type": "object",
|
|
955
|
+
"properties": {
|
|
956
|
+
"json": {
|
|
957
|
+
"const": true
|
|
958
|
+
}
|
|
959
|
+
},
|
|
960
|
+
"required": [
|
|
961
|
+
"json"
|
|
962
|
+
],
|
|
963
|
+
"additionalProperties": false
|
|
964
|
+
}
|
|
965
|
+
]
|
|
797
966
|
},
|
|
798
967
|
"cache": {
|
|
799
968
|
"anyOf": [
|
|
@@ -863,7 +1032,14 @@
|
|
|
863
1032
|
]
|
|
864
1033
|
},
|
|
865
1034
|
"default": {
|
|
866
|
-
"type":
|
|
1035
|
+
"type": [
|
|
1036
|
+
"string",
|
|
1037
|
+
"number",
|
|
1038
|
+
"boolean",
|
|
1039
|
+
"array",
|
|
1040
|
+
"object"
|
|
1041
|
+
],
|
|
1042
|
+
"description": "The value published when the source fails: a string under the text/regex parse arms, any non-null JSON value under the json arm"
|
|
867
1043
|
}
|
|
868
1044
|
},
|
|
869
1045
|
"required": [
|