@promptctl/cc-candybar 1.156.4 → 1.158.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 +3 -4
- package/dist/index.mjs +128 -138
- package/package.json +6 -9
- package/schema/cc-candybar.schema.json +101 -109
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptctl/cc-candybar",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.158.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",
|
|
@@ -28,10 +28,7 @@
|
|
|
28
28
|
"bar:web": "node --require ./scripts/version-stamp.cjs --import tsx scripts/bar-web.ts",
|
|
29
29
|
"site:build": "node site/build.mjs",
|
|
30
30
|
"benchmark:timing": "scripts/benchmark_timing.sh",
|
|
31
|
-
"
|
|
32
|
-
"loadtest": "node --import tsx scripts/daemon-load-harness.ts",
|
|
33
|
-
"preloadtest:gate": "pnpm build",
|
|
34
|
-
"loadtest:gate": "node --import tsx scripts/daemon-load-harness.ts --sessions 25 --interval 300 --duration 20 --churn --git-churn --transcript-lines 5000",
|
|
31
|
+
"load-gate": "node --require ./scripts/version-stamp.cjs --import tsx scripts/load-gate.ts",
|
|
35
32
|
"check:protocol": "node scripts/check-protocol.mjs",
|
|
36
33
|
"gen:schema": "tsx scripts/gen-schema.ts",
|
|
37
34
|
"check:schema": "tsx scripts/check-schema.ts",
|
|
@@ -104,9 +101,9 @@
|
|
|
104
101
|
"typescript": "^5.0.0"
|
|
105
102
|
},
|
|
106
103
|
"optionalDependencies": {
|
|
107
|
-
"@promptctl/cc-candybar-darwin-arm64": "1.
|
|
108
|
-
"@promptctl/cc-candybar-darwin-x64": "1.
|
|
109
|
-
"@promptctl/cc-candybar-linux-arm64": "1.
|
|
110
|
-
"@promptctl/cc-candybar-linux-x64": "1.
|
|
104
|
+
"@promptctl/cc-candybar-darwin-arm64": "1.158.0",
|
|
105
|
+
"@promptctl/cc-candybar-darwin-x64": "1.158.0",
|
|
106
|
+
"@promptctl/cc-candybar-linux-arm64": "1.158.0",
|
|
107
|
+
"@promptctl/cc-candybar-linux-x64": "1.158.0"
|
|
111
108
|
}
|
|
112
109
|
}
|
|
@@ -73,6 +73,13 @@
|
|
|
73
73
|
"transitions": {
|
|
74
74
|
"type": "boolean"
|
|
75
75
|
},
|
|
76
|
+
"animationSpeed": {
|
|
77
|
+
"enum": [
|
|
78
|
+
"1x",
|
|
79
|
+
"5x",
|
|
80
|
+
"20x"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
76
83
|
"autoWrap": {
|
|
77
84
|
"type": "boolean"
|
|
78
85
|
},
|
|
@@ -84,6 +91,11 @@
|
|
|
84
91
|
"updateNotice": {
|
|
85
92
|
"type": "boolean"
|
|
86
93
|
},
|
|
94
|
+
"menuTimeout": {
|
|
95
|
+
"type": "integer",
|
|
96
|
+
"minimum": 10,
|
|
97
|
+
"maximum": 600
|
|
98
|
+
},
|
|
87
99
|
"experimentalBand": {
|
|
88
100
|
"type": "boolean"
|
|
89
101
|
},
|
|
@@ -482,8 +494,19 @@
|
|
|
482
494
|
"template": {
|
|
483
495
|
"type": "string"
|
|
484
496
|
},
|
|
497
|
+
"type": {
|
|
498
|
+
"enum": [
|
|
499
|
+
"string",
|
|
500
|
+
"number",
|
|
501
|
+
"boolean"
|
|
502
|
+
]
|
|
503
|
+
},
|
|
485
504
|
"default": {
|
|
486
|
-
"type":
|
|
505
|
+
"type": [
|
|
506
|
+
"string",
|
|
507
|
+
"number",
|
|
508
|
+
"boolean"
|
|
509
|
+
]
|
|
487
510
|
}
|
|
488
511
|
},
|
|
489
512
|
"required": [
|
|
@@ -511,32 +534,6 @@
|
|
|
511
534
|
],
|
|
512
535
|
"additionalProperties": false
|
|
513
536
|
},
|
|
514
|
-
{
|
|
515
|
-
"type": "object",
|
|
516
|
-
"properties": {
|
|
517
|
-
"kind": {
|
|
518
|
-
"const": "git"
|
|
519
|
-
},
|
|
520
|
-
"field": {
|
|
521
|
-
"enum": [
|
|
522
|
-
"branch",
|
|
523
|
-
"sha",
|
|
524
|
-
"dirty",
|
|
525
|
-
"ahead",
|
|
526
|
-
"behind",
|
|
527
|
-
"stash"
|
|
528
|
-
]
|
|
529
|
-
},
|
|
530
|
-
"default": {
|
|
531
|
-
"type": "string"
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
|
-
"required": [
|
|
535
|
-
"kind",
|
|
536
|
-
"field"
|
|
537
|
-
],
|
|
538
|
-
"additionalProperties": false
|
|
539
|
-
},
|
|
540
537
|
{
|
|
541
538
|
"type": "object",
|
|
542
539
|
"properties": {
|
|
@@ -622,9 +619,6 @@
|
|
|
622
619
|
"context": {
|
|
623
620
|
"$ref": "#/definitions/SegmentDelta"
|
|
624
621
|
},
|
|
625
|
-
"ceiling": {
|
|
626
|
-
"$ref": "#/definitions/SegmentDelta"
|
|
627
|
-
},
|
|
628
622
|
"autocompact": {
|
|
629
623
|
"$ref": "#/definitions/SegmentDelta"
|
|
630
624
|
},
|
|
@@ -1135,41 +1129,45 @@
|
|
|
1135
1129
|
{
|
|
1136
1130
|
"type": "object",
|
|
1137
1131
|
"properties": {
|
|
1138
|
-
"
|
|
1139
|
-
"
|
|
1140
|
-
|
|
1141
|
-
"to": {
|
|
1142
|
-
"type": "string"
|
|
1143
|
-
}
|
|
1144
|
-
},
|
|
1145
|
-
"required": [
|
|
1146
|
-
"ceiling",
|
|
1147
|
-
"to"
|
|
1148
|
-
],
|
|
1149
|
-
"additionalProperties": false
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"type": "object",
|
|
1153
|
-
"properties": {
|
|
1154
|
-
"ceiling": {
|
|
1155
|
-
"const": "clear"
|
|
1132
|
+
"slash": {
|
|
1133
|
+
"type": "string",
|
|
1134
|
+
"pattern": "^/[^\\s\\x00-\\x1f\\x7f-\\x9f/][^\\x00-\\x1f\\x7f-\\x9f]*$"
|
|
1156
1135
|
}
|
|
1157
1136
|
},
|
|
1158
1137
|
"required": [
|
|
1159
|
-
"
|
|
1138
|
+
"slash"
|
|
1160
1139
|
],
|
|
1161
1140
|
"additionalProperties": false
|
|
1162
1141
|
},
|
|
1163
1142
|
{
|
|
1164
1143
|
"type": "object",
|
|
1165
1144
|
"properties": {
|
|
1166
|
-
"
|
|
1167
|
-
"type": "
|
|
1168
|
-
"
|
|
1145
|
+
"run": {
|
|
1146
|
+
"type": "array",
|
|
1147
|
+
"items": {
|
|
1148
|
+
"type": "string"
|
|
1149
|
+
},
|
|
1150
|
+
"minItems": 1
|
|
1151
|
+
},
|
|
1152
|
+
"env": {
|
|
1153
|
+
"type": "object",
|
|
1154
|
+
"propertyNames": {
|
|
1155
|
+
"pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
|
|
1156
|
+
},
|
|
1157
|
+
"additionalProperties": {
|
|
1158
|
+
"type": "string"
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
"refreshes": {
|
|
1162
|
+
"type": "array",
|
|
1163
|
+
"items": {
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"minLength": 1
|
|
1166
|
+
}
|
|
1169
1167
|
}
|
|
1170
1168
|
},
|
|
1171
1169
|
"required": [
|
|
1172
|
-
"
|
|
1170
|
+
"run"
|
|
1173
1171
|
],
|
|
1174
1172
|
"additionalProperties": false
|
|
1175
1173
|
},
|
|
@@ -1325,6 +1323,13 @@
|
|
|
1325
1323
|
"transitions": {
|
|
1326
1324
|
"type": "boolean"
|
|
1327
1325
|
},
|
|
1326
|
+
"animationSpeed": {
|
|
1327
|
+
"enum": [
|
|
1328
|
+
"1x",
|
|
1329
|
+
"5x",
|
|
1330
|
+
"20x"
|
|
1331
|
+
]
|
|
1332
|
+
},
|
|
1328
1333
|
"autoWrap": {
|
|
1329
1334
|
"type": "boolean"
|
|
1330
1335
|
},
|
|
@@ -1336,6 +1341,11 @@
|
|
|
1336
1341
|
"updateNotice": {
|
|
1337
1342
|
"type": "boolean"
|
|
1338
1343
|
},
|
|
1344
|
+
"menuTimeout": {
|
|
1345
|
+
"type": "integer",
|
|
1346
|
+
"minimum": 10,
|
|
1347
|
+
"maximum": 600
|
|
1348
|
+
},
|
|
1339
1349
|
"experimentalBand": {
|
|
1340
1350
|
"type": "boolean"
|
|
1341
1351
|
},
|
|
@@ -1451,6 +1461,13 @@
|
|
|
1451
1461
|
"transitions": {
|
|
1452
1462
|
"type": "boolean"
|
|
1453
1463
|
},
|
|
1464
|
+
"animationSpeed": {
|
|
1465
|
+
"enum": [
|
|
1466
|
+
"1x",
|
|
1467
|
+
"5x",
|
|
1468
|
+
"20x"
|
|
1469
|
+
]
|
|
1470
|
+
},
|
|
1454
1471
|
"autoWrap": {
|
|
1455
1472
|
"type": "boolean"
|
|
1456
1473
|
},
|
|
@@ -1462,6 +1479,11 @@
|
|
|
1462
1479
|
"updateNotice": {
|
|
1463
1480
|
"type": "boolean"
|
|
1464
1481
|
},
|
|
1482
|
+
"menuTimeout": {
|
|
1483
|
+
"type": "integer",
|
|
1484
|
+
"minimum": 10,
|
|
1485
|
+
"maximum": 600
|
|
1486
|
+
},
|
|
1465
1487
|
"experimentalBand": {
|
|
1466
1488
|
"type": "boolean"
|
|
1467
1489
|
},
|
|
@@ -1932,8 +1954,19 @@
|
|
|
1932
1954
|
"template": {
|
|
1933
1955
|
"type": "string"
|
|
1934
1956
|
},
|
|
1957
|
+
"type": {
|
|
1958
|
+
"enum": [
|
|
1959
|
+
"string",
|
|
1960
|
+
"number",
|
|
1961
|
+
"boolean"
|
|
1962
|
+
]
|
|
1963
|
+
},
|
|
1935
1964
|
"default": {
|
|
1936
|
-
"type":
|
|
1965
|
+
"type": [
|
|
1966
|
+
"string",
|
|
1967
|
+
"number",
|
|
1968
|
+
"boolean"
|
|
1969
|
+
]
|
|
1937
1970
|
}
|
|
1938
1971
|
},
|
|
1939
1972
|
"required": [
|
|
@@ -1961,32 +1994,6 @@
|
|
|
1961
1994
|
],
|
|
1962
1995
|
"additionalProperties": false
|
|
1963
1996
|
},
|
|
1964
|
-
{
|
|
1965
|
-
"type": "object",
|
|
1966
|
-
"properties": {
|
|
1967
|
-
"kind": {
|
|
1968
|
-
"const": "git"
|
|
1969
|
-
},
|
|
1970
|
-
"field": {
|
|
1971
|
-
"enum": [
|
|
1972
|
-
"branch",
|
|
1973
|
-
"sha",
|
|
1974
|
-
"dirty",
|
|
1975
|
-
"ahead",
|
|
1976
|
-
"behind",
|
|
1977
|
-
"stash"
|
|
1978
|
-
]
|
|
1979
|
-
},
|
|
1980
|
-
"default": {
|
|
1981
|
-
"type": "string"
|
|
1982
|
-
}
|
|
1983
|
-
},
|
|
1984
|
-
"required": [
|
|
1985
|
-
"kind",
|
|
1986
|
-
"field"
|
|
1987
|
-
],
|
|
1988
|
-
"additionalProperties": false
|
|
1989
|
-
},
|
|
1990
1997
|
{
|
|
1991
1998
|
"type": "object",
|
|
1992
1999
|
"properties": {
|
|
@@ -2522,8 +2529,19 @@
|
|
|
2522
2529
|
"template": {
|
|
2523
2530
|
"type": "string"
|
|
2524
2531
|
},
|
|
2532
|
+
"type": {
|
|
2533
|
+
"enum": [
|
|
2534
|
+
"string",
|
|
2535
|
+
"number",
|
|
2536
|
+
"boolean"
|
|
2537
|
+
]
|
|
2538
|
+
},
|
|
2525
2539
|
"default": {
|
|
2526
|
-
"type":
|
|
2540
|
+
"type": [
|
|
2541
|
+
"string",
|
|
2542
|
+
"number",
|
|
2543
|
+
"boolean"
|
|
2544
|
+
]
|
|
2527
2545
|
}
|
|
2528
2546
|
},
|
|
2529
2547
|
"required": [
|
|
@@ -2551,32 +2569,6 @@
|
|
|
2551
2569
|
],
|
|
2552
2570
|
"additionalProperties": false
|
|
2553
2571
|
},
|
|
2554
|
-
{
|
|
2555
|
-
"type": "object",
|
|
2556
|
-
"properties": {
|
|
2557
|
-
"kind": {
|
|
2558
|
-
"const": "git"
|
|
2559
|
-
},
|
|
2560
|
-
"field": {
|
|
2561
|
-
"enum": [
|
|
2562
|
-
"branch",
|
|
2563
|
-
"sha",
|
|
2564
|
-
"dirty",
|
|
2565
|
-
"ahead",
|
|
2566
|
-
"behind",
|
|
2567
|
-
"stash"
|
|
2568
|
-
]
|
|
2569
|
-
},
|
|
2570
|
-
"default": {
|
|
2571
|
-
"type": "string"
|
|
2572
|
-
}
|
|
2573
|
-
},
|
|
2574
|
-
"required": [
|
|
2575
|
-
"kind",
|
|
2576
|
-
"field"
|
|
2577
|
-
],
|
|
2578
|
-
"additionalProperties": false
|
|
2579
|
-
},
|
|
2580
2572
|
{
|
|
2581
2573
|
"type": "object",
|
|
2582
2574
|
"properties": {
|
|
@@ -2746,7 +2738,7 @@
|
|
|
2746
2738
|
"id": {
|
|
2747
2739
|
"type": "string",
|
|
2748
2740
|
"minLength": 1,
|
|
2749
|
-
"pattern": "^(?!groups\\.|menus\\.|edit\\.|candybar\\.)[^:/]+$"
|
|
2741
|
+
"pattern": "^(?!groups\\.|menus\\.|menupages\\.|edit\\.|candybar\\.)[^:/]+$"
|
|
2750
2742
|
},
|
|
2751
2743
|
"settings": {
|
|
2752
2744
|
"type": "object",
|
|
@@ -2846,7 +2838,7 @@
|
|
|
2846
2838
|
"id": {
|
|
2847
2839
|
"type": "string",
|
|
2848
2840
|
"minLength": 1,
|
|
2849
|
-
"pattern": "^(?!groups\\.|menus\\.|edit\\.|candybar\\.)[^:/]+$"
|
|
2841
|
+
"pattern": "^(?!groups\\.|menus\\.|menupages\\.|edit\\.|candybar\\.)[^:/]+$"
|
|
2850
2842
|
},
|
|
2851
2843
|
"settings": {
|
|
2852
2844
|
"type": "object",
|