@promptctl/cc-candybar 1.59.0 → 1.60.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.
@@ -656,641 +656,79 @@
656
656
  },
657
657
  "segments": {
658
658
  "type": "object",
659
- "additionalProperties": {
660
- "type": "object",
661
- "properties": {
662
- "template": {
663
- "type": "string"
664
- },
665
- "width": {
666
- "anyOf": [
667
- {
668
- "const": "auto"
669
- },
670
- {
671
- "type": "integer",
672
- "minimum": 1
673
- }
674
- ]
675
- },
676
- "justify": {
677
- "enum": [
678
- "left",
679
- "center",
680
- "right"
681
- ]
682
- },
683
- "truncate": {
684
- "enum": [
685
- "right",
686
- "left",
687
- "middle"
688
- ]
689
- },
690
- "bg": {
691
- "type": "string"
692
- },
693
- "fg": {
694
- "type": "string"
695
- },
696
- "when": {
697
- "type": "string"
698
- },
699
- "palette": {
700
- "type": "string"
701
- },
702
- "vars": {
703
- "type": "object",
704
- "additionalProperties": {
705
- "anyOf": [
706
- {
707
- "type": "object",
708
- "properties": {
709
- "kind": {
710
- "const": "literal"
711
- },
712
- "value": {
713
- "type": [
714
- "string",
715
- "number",
716
- "boolean"
717
- ]
718
- },
719
- "default": {
720
- "type": "string"
721
- }
722
- },
723
- "required": [
724
- "kind",
725
- "value"
726
- ],
727
- "additionalProperties": false
728
- },
729
- {
730
- "type": "object",
731
- "properties": {
732
- "kind": {
733
- "const": "input"
734
- },
735
- "path": {
736
- "type": "string"
737
- },
738
- "type": {
739
- "enum": [
740
- "string",
741
- "number",
742
- "boolean"
743
- ]
744
- },
745
- "default": {
746
- "type": [
747
- "string",
748
- "number",
749
- "boolean"
750
- ]
751
- }
752
- },
753
- "required": [
754
- "kind",
755
- "path"
756
- ],
757
- "additionalProperties": false
758
- },
759
- {
760
- "type": "object",
761
- "properties": {
762
- "kind": {
763
- "const": "env"
764
- },
765
- "name": {
766
- "type": "string"
767
- },
768
- "default": {
769
- "type": "string"
770
- }
771
- },
772
- "required": [
773
- "kind",
774
- "name"
775
- ],
776
- "additionalProperties": false
777
- },
778
- {
779
- "type": "object",
780
- "properties": {
781
- "kind": {
782
- "const": "file"
783
- },
784
- "path": {
785
- "type": "string"
786
- },
787
- "readMode": {
788
- "enum": [
789
- "whole",
790
- "first-line"
791
- ]
792
- },
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
- ]
832
- },
833
- "cache": {
834
- "anyOf": [
835
- {
836
- "type": "object",
837
- "properties": {
838
- "ttl": {
839
- "type": "string"
840
- }
841
- },
842
- "required": [
843
- "ttl"
844
- ],
845
- "additionalProperties": false
846
- },
847
- {
848
- "type": "object",
849
- "properties": {
850
- "watch_file": {
851
- "type": "string"
852
- }
853
- },
854
- "required": [
855
- "watch_file"
856
- ],
857
- "additionalProperties": false
858
- },
859
- {
860
- "type": "object",
861
- "properties": {
862
- "depends_on": {
863
- "type": "array",
864
- "items": {
865
- "type": "string"
866
- }
867
- }
868
- },
869
- "required": [
870
- "depends_on"
871
- ],
872
- "additionalProperties": false
873
- },
874
- {
875
- "type": "object",
876
- "properties": {
877
- "key": {
878
- "type": "string"
879
- }
880
- },
881
- "required": [
882
- "key"
883
- ],
884
- "additionalProperties": false
885
- },
886
- {
887
- "type": "object",
888
- "properties": {
889
- "never": {
890
- "const": true
891
- }
892
- },
893
- "required": [
894
- "never"
895
- ],
896
- "additionalProperties": false
897
- }
898
- ]
899
- },
900
- "default": {
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"
909
- }
910
- },
911
- "required": [
912
- "kind",
913
- "path",
914
- "cache"
915
- ],
916
- "additionalProperties": false
917
- },
918
- {
919
- "type": "object",
920
- "properties": {
921
- "kind": {
922
- "const": "shell"
923
- },
924
- "command": {
925
- "type": "string"
926
- },
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
- ]
966
- },
967
- "cache": {
968
- "anyOf": [
969
- {
970
- "type": "object",
971
- "properties": {
972
- "ttl": {
973
- "type": "string"
974
- }
975
- },
976
- "required": [
977
- "ttl"
978
- ],
979
- "additionalProperties": false
980
- },
981
- {
982
- "type": "object",
983
- "properties": {
984
- "watch_file": {
985
- "type": "string"
986
- }
987
- },
988
- "required": [
989
- "watch_file"
990
- ],
991
- "additionalProperties": false
992
- },
993
- {
994
- "type": "object",
995
- "properties": {
996
- "depends_on": {
997
- "type": "array",
998
- "items": {
999
- "type": "string"
1000
- }
1001
- }
1002
- },
1003
- "required": [
1004
- "depends_on"
1005
- ],
1006
- "additionalProperties": false
1007
- },
1008
- {
1009
- "type": "object",
1010
- "properties": {
1011
- "key": {
1012
- "type": "string"
1013
- }
1014
- },
1015
- "required": [
1016
- "key"
1017
- ],
1018
- "additionalProperties": false
1019
- },
1020
- {
1021
- "type": "object",
1022
- "properties": {
1023
- "never": {
1024
- "const": true
1025
- }
1026
- },
1027
- "required": [
1028
- "never"
1029
- ],
1030
- "additionalProperties": false
1031
- }
1032
- ]
1033
- },
1034
- "default": {
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"
1043
- }
1044
- },
1045
- "required": [
1046
- "kind",
1047
- "command",
1048
- "cache"
1049
- ],
1050
- "additionalProperties": false
1051
- },
1052
- {
1053
- "type": "object",
1054
- "properties": {
1055
- "kind": {
1056
- "const": "template"
1057
- },
1058
- "template": {
1059
- "type": "string"
1060
- },
1061
- "cache": {
1062
- "anyOf": [
1063
- {
1064
- "type": "object",
1065
- "properties": {
1066
- "ttl": {
1067
- "type": "string"
1068
- }
1069
- },
1070
- "required": [
1071
- "ttl"
1072
- ],
1073
- "additionalProperties": false
1074
- },
1075
- {
1076
- "type": "object",
1077
- "properties": {
1078
- "watch_file": {
1079
- "type": "string"
1080
- }
1081
- },
1082
- "required": [
1083
- "watch_file"
1084
- ],
1085
- "additionalProperties": false
1086
- },
1087
- {
1088
- "type": "object",
1089
- "properties": {
1090
- "depends_on": {
1091
- "type": "array",
1092
- "items": {
1093
- "type": "string"
1094
- }
1095
- }
1096
- },
1097
- "required": [
1098
- "depends_on"
1099
- ],
1100
- "additionalProperties": false
1101
- },
1102
- {
1103
- "type": "object",
1104
- "properties": {
1105
- "key": {
1106
- "type": "string"
1107
- }
1108
- },
1109
- "required": [
1110
- "key"
1111
- ],
1112
- "additionalProperties": false
1113
- },
1114
- {
1115
- "type": "object",
1116
- "properties": {
1117
- "never": {
1118
- "const": true
1119
- }
1120
- },
1121
- "required": [
1122
- "never"
1123
- ],
1124
- "additionalProperties": false
1125
- }
1126
- ]
1127
- },
1128
- "default": {
1129
- "type": "string"
1130
- }
1131
- },
1132
- "required": [
1133
- "kind",
1134
- "template"
1135
- ],
1136
- "additionalProperties": false
1137
- },
1138
- {
1139
- "type": "object",
1140
- "properties": {
1141
- "kind": {
1142
- "const": "time"
1143
- },
1144
- "layout": {
1145
- "type": "string"
1146
- },
1147
- "cache": {
1148
- "anyOf": [
1149
- {
1150
- "type": "object",
1151
- "properties": {
1152
- "ttl": {
1153
- "type": "string"
1154
- }
1155
- },
1156
- "required": [
1157
- "ttl"
1158
- ],
1159
- "additionalProperties": false
1160
- }
1161
- ]
1162
- },
1163
- "default": {
1164
- "type": "string"
1165
- }
1166
- },
1167
- "required": [
1168
- "kind",
1169
- "layout"
1170
- ],
1171
- "additionalProperties": false
1172
- },
1173
- {
1174
- "type": "object",
1175
- "properties": {
1176
- "kind": {
1177
- "const": "git"
1178
- },
1179
- "field": {
1180
- "enum": [
1181
- "branch",
1182
- "sha",
1183
- "dirty",
1184
- "ahead",
1185
- "behind",
1186
- "stash"
1187
- ]
1188
- },
1189
- "cache": {
1190
- "anyOf": [
1191
- {
1192
- "type": "object",
1193
- "properties": {
1194
- "ttl": {
1195
- "type": "string"
1196
- }
1197
- },
1198
- "required": [
1199
- "ttl"
1200
- ],
1201
- "additionalProperties": false
1202
- },
1203
- {
1204
- "type": "object",
1205
- "properties": {
1206
- "watch_file": {
1207
- "type": "string"
1208
- }
1209
- },
1210
- "required": [
1211
- "watch_file"
1212
- ],
1213
- "additionalProperties": false
1214
- },
1215
- {
1216
- "type": "object",
1217
- "properties": {
1218
- "depends_on": {
1219
- "type": "array",
1220
- "items": {
1221
- "type": "string"
1222
- }
1223
- }
1224
- },
1225
- "required": [
1226
- "depends_on"
1227
- ],
1228
- "additionalProperties": false
1229
- },
1230
- {
1231
- "type": "object",
1232
- "properties": {
1233
- "key": {
1234
- "type": "string"
1235
- }
1236
- },
1237
- "required": [
1238
- "key"
1239
- ],
1240
- "additionalProperties": false
1241
- },
1242
- {
1243
- "type": "object",
1244
- "properties": {
1245
- "never": {
1246
- "const": true
1247
- }
1248
- },
1249
- "required": [
1250
- "never"
1251
- ],
1252
- "additionalProperties": false
1253
- }
1254
- ]
1255
- },
1256
- "default": {
1257
- "type": "string"
1258
- }
1259
- },
1260
- "required": [
1261
- "kind",
1262
- "field",
1263
- "cache"
1264
- ],
1265
- "additionalProperties": false
1266
- },
1267
- {
1268
- "type": "object",
1269
- "properties": {
1270
- "kind": {
1271
- "const": "state"
1272
- },
1273
- "key": {
1274
- "type": "string"
1275
- },
1276
- "default": {
1277
- "type": "string"
1278
- }
1279
- },
1280
- "required": [
1281
- "kind",
1282
- "key"
1283
- ],
1284
- "additionalProperties": false
1285
- }
1286
- ]
1287
- }
1288
- }
659
+ "properties": {
660
+ "directory": {
661
+ "$ref": "#/definitions/SegmentDelta"
1289
662
  },
1290
- "required": [
1291
- "template"
1292
- ],
1293
- "additionalProperties": false
663
+ "model": {
664
+ "$ref": "#/definitions/SegmentDelta"
665
+ },
666
+ "sessionId": {
667
+ "$ref": "#/definitions/SegmentDelta"
668
+ },
669
+ "version": {
670
+ "$ref": "#/definitions/SegmentDelta"
671
+ },
672
+ "tmux": {
673
+ "$ref": "#/definitions/SegmentDelta"
674
+ },
675
+ "host": {
676
+ "$ref": "#/definitions/SegmentDelta"
677
+ },
678
+ "git": {
679
+ "$ref": "#/definitions/SegmentDelta"
680
+ },
681
+ "gitaculous": {
682
+ "$ref": "#/definitions/SegmentDelta"
683
+ },
684
+ "gitPr": {
685
+ "$ref": "#/definitions/SegmentDelta"
686
+ },
687
+ "toolbar": {
688
+ "$ref": "#/definitions/SegmentDelta"
689
+ },
690
+ "session": {
691
+ "$ref": "#/definitions/SegmentDelta"
692
+ },
693
+ "today": {
694
+ "$ref": "#/definitions/SegmentDelta"
695
+ },
696
+ "block": {
697
+ "$ref": "#/definitions/SegmentDelta"
698
+ },
699
+ "weekly": {
700
+ "$ref": "#/definitions/SegmentDelta"
701
+ },
702
+ "burnrate": {
703
+ "$ref": "#/definitions/SegmentDelta"
704
+ },
705
+ "speed": {
706
+ "$ref": "#/definitions/SegmentDelta"
707
+ },
708
+ "tokenSparkline": {
709
+ "$ref": "#/definitions/SegmentDelta"
710
+ },
711
+ "cacheTimer": {
712
+ "$ref": "#/definitions/SegmentDelta"
713
+ },
714
+ "context": {
715
+ "$ref": "#/definitions/SegmentDelta"
716
+ },
717
+ "metrics": {
718
+ "$ref": "#/definitions/SegmentDelta"
719
+ },
720
+ "charsetControl": {
721
+ "$ref": "#/definitions/SegmentDelta"
722
+ },
723
+ "colorCompatControl": {
724
+ "$ref": "#/definitions/SegmentDelta"
725
+ },
726
+ "directoryPaletteControl": {
727
+ "$ref": "#/definitions/SegmentDelta"
728
+ }
729
+ },
730
+ "additionalProperties": {
731
+ "$ref": "#/definitions/Segment"
1294
732
  }
1295
733
  },
1296
734
  "root": {
@@ -1969,6 +1407,1275 @@
1969
1407
  }
1970
1408
  },
1971
1409
  "definitions": {
1410
+ "Segment": {
1411
+ "type": "object",
1412
+ "properties": {
1413
+ "template": {
1414
+ "type": "string"
1415
+ },
1416
+ "width": {
1417
+ "anyOf": [
1418
+ {
1419
+ "const": "auto"
1420
+ },
1421
+ {
1422
+ "type": "integer",
1423
+ "minimum": 1
1424
+ }
1425
+ ]
1426
+ },
1427
+ "justify": {
1428
+ "enum": [
1429
+ "left",
1430
+ "center",
1431
+ "right"
1432
+ ]
1433
+ },
1434
+ "truncate": {
1435
+ "enum": [
1436
+ "right",
1437
+ "left",
1438
+ "middle"
1439
+ ]
1440
+ },
1441
+ "bg": {
1442
+ "type": "string"
1443
+ },
1444
+ "fg": {
1445
+ "type": "string"
1446
+ },
1447
+ "when": {
1448
+ "type": "string"
1449
+ },
1450
+ "palette": {
1451
+ "type": "string"
1452
+ },
1453
+ "vars": {
1454
+ "type": "object",
1455
+ "additionalProperties": {
1456
+ "anyOf": [
1457
+ {
1458
+ "type": "object",
1459
+ "properties": {
1460
+ "kind": {
1461
+ "const": "literal"
1462
+ },
1463
+ "value": {
1464
+ "type": [
1465
+ "string",
1466
+ "number",
1467
+ "boolean"
1468
+ ]
1469
+ },
1470
+ "default": {
1471
+ "type": "string"
1472
+ }
1473
+ },
1474
+ "required": [
1475
+ "kind",
1476
+ "value"
1477
+ ],
1478
+ "additionalProperties": false
1479
+ },
1480
+ {
1481
+ "type": "object",
1482
+ "properties": {
1483
+ "kind": {
1484
+ "const": "input"
1485
+ },
1486
+ "path": {
1487
+ "type": "string"
1488
+ },
1489
+ "type": {
1490
+ "enum": [
1491
+ "string",
1492
+ "number",
1493
+ "boolean"
1494
+ ]
1495
+ },
1496
+ "default": {
1497
+ "type": [
1498
+ "string",
1499
+ "number",
1500
+ "boolean"
1501
+ ]
1502
+ }
1503
+ },
1504
+ "required": [
1505
+ "kind",
1506
+ "path"
1507
+ ],
1508
+ "additionalProperties": false
1509
+ },
1510
+ {
1511
+ "type": "object",
1512
+ "properties": {
1513
+ "kind": {
1514
+ "const": "env"
1515
+ },
1516
+ "name": {
1517
+ "type": "string"
1518
+ },
1519
+ "default": {
1520
+ "type": "string"
1521
+ }
1522
+ },
1523
+ "required": [
1524
+ "kind",
1525
+ "name"
1526
+ ],
1527
+ "additionalProperties": false
1528
+ },
1529
+ {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "kind": {
1533
+ "const": "file"
1534
+ },
1535
+ "path": {
1536
+ "type": "string"
1537
+ },
1538
+ "readMode": {
1539
+ "enum": [
1540
+ "whole",
1541
+ "first-line"
1542
+ ]
1543
+ },
1544
+ "parse": {
1545
+ "anyOf": [
1546
+ {
1547
+ "type": "object",
1548
+ "properties": {
1549
+ "text": {
1550
+ "const": true
1551
+ }
1552
+ },
1553
+ "required": [
1554
+ "text"
1555
+ ],
1556
+ "additionalProperties": false
1557
+ },
1558
+ {
1559
+ "type": "object",
1560
+ "properties": {
1561
+ "regex": {
1562
+ "type": "string"
1563
+ }
1564
+ },
1565
+ "required": [
1566
+ "regex"
1567
+ ],
1568
+ "additionalProperties": false
1569
+ },
1570
+ {
1571
+ "type": "object",
1572
+ "properties": {
1573
+ "json": {
1574
+ "const": true
1575
+ }
1576
+ },
1577
+ "required": [
1578
+ "json"
1579
+ ],
1580
+ "additionalProperties": false
1581
+ }
1582
+ ]
1583
+ },
1584
+ "cache": {
1585
+ "anyOf": [
1586
+ {
1587
+ "type": "object",
1588
+ "properties": {
1589
+ "ttl": {
1590
+ "type": "string"
1591
+ }
1592
+ },
1593
+ "required": [
1594
+ "ttl"
1595
+ ],
1596
+ "additionalProperties": false
1597
+ },
1598
+ {
1599
+ "type": "object",
1600
+ "properties": {
1601
+ "watch_file": {
1602
+ "type": "string"
1603
+ }
1604
+ },
1605
+ "required": [
1606
+ "watch_file"
1607
+ ],
1608
+ "additionalProperties": false
1609
+ },
1610
+ {
1611
+ "type": "object",
1612
+ "properties": {
1613
+ "depends_on": {
1614
+ "type": "array",
1615
+ "items": {
1616
+ "type": "string"
1617
+ }
1618
+ }
1619
+ },
1620
+ "required": [
1621
+ "depends_on"
1622
+ ],
1623
+ "additionalProperties": false
1624
+ },
1625
+ {
1626
+ "type": "object",
1627
+ "properties": {
1628
+ "key": {
1629
+ "type": "string"
1630
+ }
1631
+ },
1632
+ "required": [
1633
+ "key"
1634
+ ],
1635
+ "additionalProperties": false
1636
+ },
1637
+ {
1638
+ "type": "object",
1639
+ "properties": {
1640
+ "never": {
1641
+ "const": true
1642
+ }
1643
+ },
1644
+ "required": [
1645
+ "never"
1646
+ ],
1647
+ "additionalProperties": false
1648
+ }
1649
+ ]
1650
+ },
1651
+ "default": {
1652
+ "type": [
1653
+ "string",
1654
+ "number",
1655
+ "boolean",
1656
+ "array",
1657
+ "object"
1658
+ ],
1659
+ "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"
1660
+ }
1661
+ },
1662
+ "required": [
1663
+ "kind",
1664
+ "path",
1665
+ "cache"
1666
+ ],
1667
+ "additionalProperties": false
1668
+ },
1669
+ {
1670
+ "type": "object",
1671
+ "properties": {
1672
+ "kind": {
1673
+ "const": "shell"
1674
+ },
1675
+ "command": {
1676
+ "type": "string"
1677
+ },
1678
+ "parse": {
1679
+ "anyOf": [
1680
+ {
1681
+ "type": "object",
1682
+ "properties": {
1683
+ "text": {
1684
+ "const": true
1685
+ }
1686
+ },
1687
+ "required": [
1688
+ "text"
1689
+ ],
1690
+ "additionalProperties": false
1691
+ },
1692
+ {
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "regex": {
1696
+ "type": "string"
1697
+ }
1698
+ },
1699
+ "required": [
1700
+ "regex"
1701
+ ],
1702
+ "additionalProperties": false
1703
+ },
1704
+ {
1705
+ "type": "object",
1706
+ "properties": {
1707
+ "json": {
1708
+ "const": true
1709
+ }
1710
+ },
1711
+ "required": [
1712
+ "json"
1713
+ ],
1714
+ "additionalProperties": false
1715
+ }
1716
+ ]
1717
+ },
1718
+ "cache": {
1719
+ "anyOf": [
1720
+ {
1721
+ "type": "object",
1722
+ "properties": {
1723
+ "ttl": {
1724
+ "type": "string"
1725
+ }
1726
+ },
1727
+ "required": [
1728
+ "ttl"
1729
+ ],
1730
+ "additionalProperties": false
1731
+ },
1732
+ {
1733
+ "type": "object",
1734
+ "properties": {
1735
+ "watch_file": {
1736
+ "type": "string"
1737
+ }
1738
+ },
1739
+ "required": [
1740
+ "watch_file"
1741
+ ],
1742
+ "additionalProperties": false
1743
+ },
1744
+ {
1745
+ "type": "object",
1746
+ "properties": {
1747
+ "depends_on": {
1748
+ "type": "array",
1749
+ "items": {
1750
+ "type": "string"
1751
+ }
1752
+ }
1753
+ },
1754
+ "required": [
1755
+ "depends_on"
1756
+ ],
1757
+ "additionalProperties": false
1758
+ },
1759
+ {
1760
+ "type": "object",
1761
+ "properties": {
1762
+ "key": {
1763
+ "type": "string"
1764
+ }
1765
+ },
1766
+ "required": [
1767
+ "key"
1768
+ ],
1769
+ "additionalProperties": false
1770
+ },
1771
+ {
1772
+ "type": "object",
1773
+ "properties": {
1774
+ "never": {
1775
+ "const": true
1776
+ }
1777
+ },
1778
+ "required": [
1779
+ "never"
1780
+ ],
1781
+ "additionalProperties": false
1782
+ }
1783
+ ]
1784
+ },
1785
+ "default": {
1786
+ "type": [
1787
+ "string",
1788
+ "number",
1789
+ "boolean",
1790
+ "array",
1791
+ "object"
1792
+ ],
1793
+ "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"
1794
+ }
1795
+ },
1796
+ "required": [
1797
+ "kind",
1798
+ "command",
1799
+ "cache"
1800
+ ],
1801
+ "additionalProperties": false
1802
+ },
1803
+ {
1804
+ "type": "object",
1805
+ "properties": {
1806
+ "kind": {
1807
+ "const": "template"
1808
+ },
1809
+ "template": {
1810
+ "type": "string"
1811
+ },
1812
+ "cache": {
1813
+ "anyOf": [
1814
+ {
1815
+ "type": "object",
1816
+ "properties": {
1817
+ "ttl": {
1818
+ "type": "string"
1819
+ }
1820
+ },
1821
+ "required": [
1822
+ "ttl"
1823
+ ],
1824
+ "additionalProperties": false
1825
+ },
1826
+ {
1827
+ "type": "object",
1828
+ "properties": {
1829
+ "watch_file": {
1830
+ "type": "string"
1831
+ }
1832
+ },
1833
+ "required": [
1834
+ "watch_file"
1835
+ ],
1836
+ "additionalProperties": false
1837
+ },
1838
+ {
1839
+ "type": "object",
1840
+ "properties": {
1841
+ "depends_on": {
1842
+ "type": "array",
1843
+ "items": {
1844
+ "type": "string"
1845
+ }
1846
+ }
1847
+ },
1848
+ "required": [
1849
+ "depends_on"
1850
+ ],
1851
+ "additionalProperties": false
1852
+ },
1853
+ {
1854
+ "type": "object",
1855
+ "properties": {
1856
+ "key": {
1857
+ "type": "string"
1858
+ }
1859
+ },
1860
+ "required": [
1861
+ "key"
1862
+ ],
1863
+ "additionalProperties": false
1864
+ },
1865
+ {
1866
+ "type": "object",
1867
+ "properties": {
1868
+ "never": {
1869
+ "const": true
1870
+ }
1871
+ },
1872
+ "required": [
1873
+ "never"
1874
+ ],
1875
+ "additionalProperties": false
1876
+ }
1877
+ ]
1878
+ },
1879
+ "default": {
1880
+ "type": "string"
1881
+ }
1882
+ },
1883
+ "required": [
1884
+ "kind",
1885
+ "template"
1886
+ ],
1887
+ "additionalProperties": false
1888
+ },
1889
+ {
1890
+ "type": "object",
1891
+ "properties": {
1892
+ "kind": {
1893
+ "const": "time"
1894
+ },
1895
+ "layout": {
1896
+ "type": "string"
1897
+ },
1898
+ "cache": {
1899
+ "anyOf": [
1900
+ {
1901
+ "type": "object",
1902
+ "properties": {
1903
+ "ttl": {
1904
+ "type": "string"
1905
+ }
1906
+ },
1907
+ "required": [
1908
+ "ttl"
1909
+ ],
1910
+ "additionalProperties": false
1911
+ }
1912
+ ]
1913
+ },
1914
+ "default": {
1915
+ "type": "string"
1916
+ }
1917
+ },
1918
+ "required": [
1919
+ "kind",
1920
+ "layout"
1921
+ ],
1922
+ "additionalProperties": false
1923
+ },
1924
+ {
1925
+ "type": "object",
1926
+ "properties": {
1927
+ "kind": {
1928
+ "const": "git"
1929
+ },
1930
+ "field": {
1931
+ "enum": [
1932
+ "branch",
1933
+ "sha",
1934
+ "dirty",
1935
+ "ahead",
1936
+ "behind",
1937
+ "stash"
1938
+ ]
1939
+ },
1940
+ "cache": {
1941
+ "anyOf": [
1942
+ {
1943
+ "type": "object",
1944
+ "properties": {
1945
+ "ttl": {
1946
+ "type": "string"
1947
+ }
1948
+ },
1949
+ "required": [
1950
+ "ttl"
1951
+ ],
1952
+ "additionalProperties": false
1953
+ },
1954
+ {
1955
+ "type": "object",
1956
+ "properties": {
1957
+ "watch_file": {
1958
+ "type": "string"
1959
+ }
1960
+ },
1961
+ "required": [
1962
+ "watch_file"
1963
+ ],
1964
+ "additionalProperties": false
1965
+ },
1966
+ {
1967
+ "type": "object",
1968
+ "properties": {
1969
+ "depends_on": {
1970
+ "type": "array",
1971
+ "items": {
1972
+ "type": "string"
1973
+ }
1974
+ }
1975
+ },
1976
+ "required": [
1977
+ "depends_on"
1978
+ ],
1979
+ "additionalProperties": false
1980
+ },
1981
+ {
1982
+ "type": "object",
1983
+ "properties": {
1984
+ "key": {
1985
+ "type": "string"
1986
+ }
1987
+ },
1988
+ "required": [
1989
+ "key"
1990
+ ],
1991
+ "additionalProperties": false
1992
+ },
1993
+ {
1994
+ "type": "object",
1995
+ "properties": {
1996
+ "never": {
1997
+ "const": true
1998
+ }
1999
+ },
2000
+ "required": [
2001
+ "never"
2002
+ ],
2003
+ "additionalProperties": false
2004
+ }
2005
+ ]
2006
+ },
2007
+ "default": {
2008
+ "type": "string"
2009
+ }
2010
+ },
2011
+ "required": [
2012
+ "kind",
2013
+ "field",
2014
+ "cache"
2015
+ ],
2016
+ "additionalProperties": false
2017
+ },
2018
+ {
2019
+ "type": "object",
2020
+ "properties": {
2021
+ "kind": {
2022
+ "const": "state"
2023
+ },
2024
+ "key": {
2025
+ "type": "string"
2026
+ },
2027
+ "default": {
2028
+ "type": "string"
2029
+ }
2030
+ },
2031
+ "required": [
2032
+ "kind",
2033
+ "key"
2034
+ ],
2035
+ "additionalProperties": false
2036
+ }
2037
+ ]
2038
+ }
2039
+ }
2040
+ },
2041
+ "required": [
2042
+ "template"
2043
+ ],
2044
+ "additionalProperties": false
2045
+ },
2046
+ "SegmentDelta": {
2047
+ "type": "object",
2048
+ "properties": {
2049
+ "template": {
2050
+ "type": "string"
2051
+ },
2052
+ "width": {
2053
+ "anyOf": [
2054
+ {
2055
+ "const": "auto"
2056
+ },
2057
+ {
2058
+ "type": "integer",
2059
+ "minimum": 1
2060
+ }
2061
+ ]
2062
+ },
2063
+ "justify": {
2064
+ "enum": [
2065
+ "left",
2066
+ "center",
2067
+ "right"
2068
+ ]
2069
+ },
2070
+ "truncate": {
2071
+ "enum": [
2072
+ "right",
2073
+ "left",
2074
+ "middle"
2075
+ ]
2076
+ },
2077
+ "bg": {
2078
+ "type": "string"
2079
+ },
2080
+ "fg": {
2081
+ "type": "string"
2082
+ },
2083
+ "when": {
2084
+ "type": "string"
2085
+ },
2086
+ "palette": {
2087
+ "type": "string"
2088
+ },
2089
+ "vars": {
2090
+ "type": "object",
2091
+ "additionalProperties": {
2092
+ "anyOf": [
2093
+ {
2094
+ "type": "object",
2095
+ "properties": {
2096
+ "kind": {
2097
+ "const": "literal"
2098
+ },
2099
+ "value": {
2100
+ "type": [
2101
+ "string",
2102
+ "number",
2103
+ "boolean"
2104
+ ]
2105
+ },
2106
+ "default": {
2107
+ "type": "string"
2108
+ }
2109
+ },
2110
+ "required": [
2111
+ "kind",
2112
+ "value"
2113
+ ],
2114
+ "additionalProperties": false
2115
+ },
2116
+ {
2117
+ "type": "object",
2118
+ "properties": {
2119
+ "kind": {
2120
+ "const": "input"
2121
+ },
2122
+ "path": {
2123
+ "type": "string"
2124
+ },
2125
+ "type": {
2126
+ "enum": [
2127
+ "string",
2128
+ "number",
2129
+ "boolean"
2130
+ ]
2131
+ },
2132
+ "default": {
2133
+ "type": [
2134
+ "string",
2135
+ "number",
2136
+ "boolean"
2137
+ ]
2138
+ }
2139
+ },
2140
+ "required": [
2141
+ "kind",
2142
+ "path"
2143
+ ],
2144
+ "additionalProperties": false
2145
+ },
2146
+ {
2147
+ "type": "object",
2148
+ "properties": {
2149
+ "kind": {
2150
+ "const": "env"
2151
+ },
2152
+ "name": {
2153
+ "type": "string"
2154
+ },
2155
+ "default": {
2156
+ "type": "string"
2157
+ }
2158
+ },
2159
+ "required": [
2160
+ "kind",
2161
+ "name"
2162
+ ],
2163
+ "additionalProperties": false
2164
+ },
2165
+ {
2166
+ "type": "object",
2167
+ "properties": {
2168
+ "kind": {
2169
+ "const": "file"
2170
+ },
2171
+ "path": {
2172
+ "type": "string"
2173
+ },
2174
+ "readMode": {
2175
+ "enum": [
2176
+ "whole",
2177
+ "first-line"
2178
+ ]
2179
+ },
2180
+ "parse": {
2181
+ "anyOf": [
2182
+ {
2183
+ "type": "object",
2184
+ "properties": {
2185
+ "text": {
2186
+ "const": true
2187
+ }
2188
+ },
2189
+ "required": [
2190
+ "text"
2191
+ ],
2192
+ "additionalProperties": false
2193
+ },
2194
+ {
2195
+ "type": "object",
2196
+ "properties": {
2197
+ "regex": {
2198
+ "type": "string"
2199
+ }
2200
+ },
2201
+ "required": [
2202
+ "regex"
2203
+ ],
2204
+ "additionalProperties": false
2205
+ },
2206
+ {
2207
+ "type": "object",
2208
+ "properties": {
2209
+ "json": {
2210
+ "const": true
2211
+ }
2212
+ },
2213
+ "required": [
2214
+ "json"
2215
+ ],
2216
+ "additionalProperties": false
2217
+ }
2218
+ ]
2219
+ },
2220
+ "cache": {
2221
+ "anyOf": [
2222
+ {
2223
+ "type": "object",
2224
+ "properties": {
2225
+ "ttl": {
2226
+ "type": "string"
2227
+ }
2228
+ },
2229
+ "required": [
2230
+ "ttl"
2231
+ ],
2232
+ "additionalProperties": false
2233
+ },
2234
+ {
2235
+ "type": "object",
2236
+ "properties": {
2237
+ "watch_file": {
2238
+ "type": "string"
2239
+ }
2240
+ },
2241
+ "required": [
2242
+ "watch_file"
2243
+ ],
2244
+ "additionalProperties": false
2245
+ },
2246
+ {
2247
+ "type": "object",
2248
+ "properties": {
2249
+ "depends_on": {
2250
+ "type": "array",
2251
+ "items": {
2252
+ "type": "string"
2253
+ }
2254
+ }
2255
+ },
2256
+ "required": [
2257
+ "depends_on"
2258
+ ],
2259
+ "additionalProperties": false
2260
+ },
2261
+ {
2262
+ "type": "object",
2263
+ "properties": {
2264
+ "key": {
2265
+ "type": "string"
2266
+ }
2267
+ },
2268
+ "required": [
2269
+ "key"
2270
+ ],
2271
+ "additionalProperties": false
2272
+ },
2273
+ {
2274
+ "type": "object",
2275
+ "properties": {
2276
+ "never": {
2277
+ "const": true
2278
+ }
2279
+ },
2280
+ "required": [
2281
+ "never"
2282
+ ],
2283
+ "additionalProperties": false
2284
+ }
2285
+ ]
2286
+ },
2287
+ "default": {
2288
+ "type": [
2289
+ "string",
2290
+ "number",
2291
+ "boolean",
2292
+ "array",
2293
+ "object"
2294
+ ],
2295
+ "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"
2296
+ }
2297
+ },
2298
+ "required": [
2299
+ "kind",
2300
+ "path",
2301
+ "cache"
2302
+ ],
2303
+ "additionalProperties": false
2304
+ },
2305
+ {
2306
+ "type": "object",
2307
+ "properties": {
2308
+ "kind": {
2309
+ "const": "shell"
2310
+ },
2311
+ "command": {
2312
+ "type": "string"
2313
+ },
2314
+ "parse": {
2315
+ "anyOf": [
2316
+ {
2317
+ "type": "object",
2318
+ "properties": {
2319
+ "text": {
2320
+ "const": true
2321
+ }
2322
+ },
2323
+ "required": [
2324
+ "text"
2325
+ ],
2326
+ "additionalProperties": false
2327
+ },
2328
+ {
2329
+ "type": "object",
2330
+ "properties": {
2331
+ "regex": {
2332
+ "type": "string"
2333
+ }
2334
+ },
2335
+ "required": [
2336
+ "regex"
2337
+ ],
2338
+ "additionalProperties": false
2339
+ },
2340
+ {
2341
+ "type": "object",
2342
+ "properties": {
2343
+ "json": {
2344
+ "const": true
2345
+ }
2346
+ },
2347
+ "required": [
2348
+ "json"
2349
+ ],
2350
+ "additionalProperties": false
2351
+ }
2352
+ ]
2353
+ },
2354
+ "cache": {
2355
+ "anyOf": [
2356
+ {
2357
+ "type": "object",
2358
+ "properties": {
2359
+ "ttl": {
2360
+ "type": "string"
2361
+ }
2362
+ },
2363
+ "required": [
2364
+ "ttl"
2365
+ ],
2366
+ "additionalProperties": false
2367
+ },
2368
+ {
2369
+ "type": "object",
2370
+ "properties": {
2371
+ "watch_file": {
2372
+ "type": "string"
2373
+ }
2374
+ },
2375
+ "required": [
2376
+ "watch_file"
2377
+ ],
2378
+ "additionalProperties": false
2379
+ },
2380
+ {
2381
+ "type": "object",
2382
+ "properties": {
2383
+ "depends_on": {
2384
+ "type": "array",
2385
+ "items": {
2386
+ "type": "string"
2387
+ }
2388
+ }
2389
+ },
2390
+ "required": [
2391
+ "depends_on"
2392
+ ],
2393
+ "additionalProperties": false
2394
+ },
2395
+ {
2396
+ "type": "object",
2397
+ "properties": {
2398
+ "key": {
2399
+ "type": "string"
2400
+ }
2401
+ },
2402
+ "required": [
2403
+ "key"
2404
+ ],
2405
+ "additionalProperties": false
2406
+ },
2407
+ {
2408
+ "type": "object",
2409
+ "properties": {
2410
+ "never": {
2411
+ "const": true
2412
+ }
2413
+ },
2414
+ "required": [
2415
+ "never"
2416
+ ],
2417
+ "additionalProperties": false
2418
+ }
2419
+ ]
2420
+ },
2421
+ "default": {
2422
+ "type": [
2423
+ "string",
2424
+ "number",
2425
+ "boolean",
2426
+ "array",
2427
+ "object"
2428
+ ],
2429
+ "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"
2430
+ }
2431
+ },
2432
+ "required": [
2433
+ "kind",
2434
+ "command",
2435
+ "cache"
2436
+ ],
2437
+ "additionalProperties": false
2438
+ },
2439
+ {
2440
+ "type": "object",
2441
+ "properties": {
2442
+ "kind": {
2443
+ "const": "template"
2444
+ },
2445
+ "template": {
2446
+ "type": "string"
2447
+ },
2448
+ "cache": {
2449
+ "anyOf": [
2450
+ {
2451
+ "type": "object",
2452
+ "properties": {
2453
+ "ttl": {
2454
+ "type": "string"
2455
+ }
2456
+ },
2457
+ "required": [
2458
+ "ttl"
2459
+ ],
2460
+ "additionalProperties": false
2461
+ },
2462
+ {
2463
+ "type": "object",
2464
+ "properties": {
2465
+ "watch_file": {
2466
+ "type": "string"
2467
+ }
2468
+ },
2469
+ "required": [
2470
+ "watch_file"
2471
+ ],
2472
+ "additionalProperties": false
2473
+ },
2474
+ {
2475
+ "type": "object",
2476
+ "properties": {
2477
+ "depends_on": {
2478
+ "type": "array",
2479
+ "items": {
2480
+ "type": "string"
2481
+ }
2482
+ }
2483
+ },
2484
+ "required": [
2485
+ "depends_on"
2486
+ ],
2487
+ "additionalProperties": false
2488
+ },
2489
+ {
2490
+ "type": "object",
2491
+ "properties": {
2492
+ "key": {
2493
+ "type": "string"
2494
+ }
2495
+ },
2496
+ "required": [
2497
+ "key"
2498
+ ],
2499
+ "additionalProperties": false
2500
+ },
2501
+ {
2502
+ "type": "object",
2503
+ "properties": {
2504
+ "never": {
2505
+ "const": true
2506
+ }
2507
+ },
2508
+ "required": [
2509
+ "never"
2510
+ ],
2511
+ "additionalProperties": false
2512
+ }
2513
+ ]
2514
+ },
2515
+ "default": {
2516
+ "type": "string"
2517
+ }
2518
+ },
2519
+ "required": [
2520
+ "kind",
2521
+ "template"
2522
+ ],
2523
+ "additionalProperties": false
2524
+ },
2525
+ {
2526
+ "type": "object",
2527
+ "properties": {
2528
+ "kind": {
2529
+ "const": "time"
2530
+ },
2531
+ "layout": {
2532
+ "type": "string"
2533
+ },
2534
+ "cache": {
2535
+ "anyOf": [
2536
+ {
2537
+ "type": "object",
2538
+ "properties": {
2539
+ "ttl": {
2540
+ "type": "string"
2541
+ }
2542
+ },
2543
+ "required": [
2544
+ "ttl"
2545
+ ],
2546
+ "additionalProperties": false
2547
+ }
2548
+ ]
2549
+ },
2550
+ "default": {
2551
+ "type": "string"
2552
+ }
2553
+ },
2554
+ "required": [
2555
+ "kind",
2556
+ "layout"
2557
+ ],
2558
+ "additionalProperties": false
2559
+ },
2560
+ {
2561
+ "type": "object",
2562
+ "properties": {
2563
+ "kind": {
2564
+ "const": "git"
2565
+ },
2566
+ "field": {
2567
+ "enum": [
2568
+ "branch",
2569
+ "sha",
2570
+ "dirty",
2571
+ "ahead",
2572
+ "behind",
2573
+ "stash"
2574
+ ]
2575
+ },
2576
+ "cache": {
2577
+ "anyOf": [
2578
+ {
2579
+ "type": "object",
2580
+ "properties": {
2581
+ "ttl": {
2582
+ "type": "string"
2583
+ }
2584
+ },
2585
+ "required": [
2586
+ "ttl"
2587
+ ],
2588
+ "additionalProperties": false
2589
+ },
2590
+ {
2591
+ "type": "object",
2592
+ "properties": {
2593
+ "watch_file": {
2594
+ "type": "string"
2595
+ }
2596
+ },
2597
+ "required": [
2598
+ "watch_file"
2599
+ ],
2600
+ "additionalProperties": false
2601
+ },
2602
+ {
2603
+ "type": "object",
2604
+ "properties": {
2605
+ "depends_on": {
2606
+ "type": "array",
2607
+ "items": {
2608
+ "type": "string"
2609
+ }
2610
+ }
2611
+ },
2612
+ "required": [
2613
+ "depends_on"
2614
+ ],
2615
+ "additionalProperties": false
2616
+ },
2617
+ {
2618
+ "type": "object",
2619
+ "properties": {
2620
+ "key": {
2621
+ "type": "string"
2622
+ }
2623
+ },
2624
+ "required": [
2625
+ "key"
2626
+ ],
2627
+ "additionalProperties": false
2628
+ },
2629
+ {
2630
+ "type": "object",
2631
+ "properties": {
2632
+ "never": {
2633
+ "const": true
2634
+ }
2635
+ },
2636
+ "required": [
2637
+ "never"
2638
+ ],
2639
+ "additionalProperties": false
2640
+ }
2641
+ ]
2642
+ },
2643
+ "default": {
2644
+ "type": "string"
2645
+ }
2646
+ },
2647
+ "required": [
2648
+ "kind",
2649
+ "field",
2650
+ "cache"
2651
+ ],
2652
+ "additionalProperties": false
2653
+ },
2654
+ {
2655
+ "type": "object",
2656
+ "properties": {
2657
+ "kind": {
2658
+ "const": "state"
2659
+ },
2660
+ "key": {
2661
+ "type": "string"
2662
+ },
2663
+ "default": {
2664
+ "type": "string"
2665
+ }
2666
+ },
2667
+ "required": [
2668
+ "kind",
2669
+ "key"
2670
+ ],
2671
+ "additionalProperties": false
2672
+ }
2673
+ ]
2674
+ }
2675
+ }
2676
+ },
2677
+ "additionalProperties": false
2678
+ },
1972
2679
  "LayoutNode": {
1973
2680
  "anyOf": [
1974
2681
  {