@gaunt-sloth/core 2.0.0-alpha.3 → 2.0.0-alpha.5

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.
@@ -0,0 +1,1548 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "llm": {
9
+ "type": "object",
10
+ "properties": {
11
+ "type": {
12
+ "type": "string"
13
+ },
14
+ "model": {
15
+ "type": "string"
16
+ },
17
+ "configuration": {
18
+ "type": "object",
19
+ "propertyNames": {
20
+ "type": "string"
21
+ },
22
+ "additionalProperties": {}
23
+ },
24
+ "apiKeyEnvironmentVariable": {
25
+ "type": "string"
26
+ }
27
+ },
28
+ "additionalProperties": {}
29
+ },
30
+ "binaryFormats": {
31
+ "anyOf": [
32
+ {
33
+ "type": "boolean",
34
+ "const": false
35
+ },
36
+ {
37
+ "type": "array",
38
+ "items": {
39
+ "type": "object",
40
+ "properties": {
41
+ "type": {
42
+ "type": "string",
43
+ "enum": [
44
+ "image",
45
+ "file",
46
+ "audio",
47
+ "video",
48
+ "binary"
49
+ ]
50
+ },
51
+ "extensions": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "string"
55
+ }
56
+ },
57
+ "maxSize": {
58
+ "type": "number"
59
+ },
60
+ "mimeTypes": {
61
+ "type": "object",
62
+ "propertyNames": {
63
+ "type": "string"
64
+ },
65
+ "additionalProperties": {
66
+ "type": "string"
67
+ }
68
+ }
69
+ },
70
+ "required": [
71
+ "type",
72
+ "extensions"
73
+ ]
74
+ }
75
+ }
76
+ ]
77
+ },
78
+ "contentSource": {
79
+ "type": "string"
80
+ },
81
+ "requirementSource": {
82
+ "type": "string"
83
+ },
84
+ "contentSourceConfig": {
85
+ "type": "object",
86
+ "propertyNames": {
87
+ "type": "string"
88
+ },
89
+ "additionalProperties": {}
90
+ },
91
+ "requirementSourceConfig": {
92
+ "type": "object",
93
+ "propertyNames": {
94
+ "type": "string"
95
+ },
96
+ "additionalProperties": {}
97
+ },
98
+ "projectGuidelines": {
99
+ "type": "string"
100
+ },
101
+ "identityProfile": {
102
+ "type": "string"
103
+ },
104
+ "includeCurrentDateAfterGuidelines": {
105
+ "type": "boolean"
106
+ },
107
+ "organization": {
108
+ "type": "object",
109
+ "properties": {
110
+ "name": {
111
+ "type": "string"
112
+ },
113
+ "locale": {
114
+ "type": "string"
115
+ },
116
+ "timezone": {
117
+ "type": "string"
118
+ }
119
+ }
120
+ },
121
+ "projectReviewInstructions": {
122
+ "type": "string"
123
+ },
124
+ "noDefaultPrompts": {
125
+ "type": "boolean"
126
+ },
127
+ "filesystem": {
128
+ "anyOf": [
129
+ {
130
+ "type": "array",
131
+ "items": {
132
+ "type": "string"
133
+ }
134
+ },
135
+ {
136
+ "type": "string",
137
+ "enum": [
138
+ "all",
139
+ "read",
140
+ "none"
141
+ ]
142
+ }
143
+ ]
144
+ },
145
+ "builtInTools": {
146
+ "type": "array",
147
+ "items": {
148
+ "type": "string"
149
+ }
150
+ },
151
+ "tools": {
152
+ "type": "array",
153
+ "items": {}
154
+ },
155
+ "allowedTools": {
156
+ "type": "array",
157
+ "items": {
158
+ "type": "string"
159
+ }
160
+ },
161
+ "middleware": {
162
+ "type": "array",
163
+ "items": {}
164
+ },
165
+ "streamOutput": {
166
+ "type": "boolean"
167
+ },
168
+ "writeOutputToFile": {
169
+ "anyOf": [
170
+ {
171
+ "type": "boolean"
172
+ },
173
+ {
174
+ "type": "string"
175
+ }
176
+ ]
177
+ },
178
+ "writeBinaryOutputsToFile": {
179
+ "type": "boolean"
180
+ },
181
+ "useColour": {
182
+ "type": "boolean"
183
+ },
184
+ "streamSessionInferenceLog": {
185
+ "type": "boolean"
186
+ },
187
+ "canInterruptInferenceWithEsc": {
188
+ "type": "boolean"
189
+ },
190
+ "debugLog": {
191
+ "type": "boolean"
192
+ },
193
+ "recursionLimit": {
194
+ "type": "number"
195
+ },
196
+ "consoleLevel": {
197
+ "anyOf": [
198
+ {
199
+ "type": "string"
200
+ },
201
+ {
202
+ "type": "number"
203
+ }
204
+ ]
205
+ },
206
+ "customTools": {
207
+ "type": "object",
208
+ "propertyNames": {
209
+ "type": "string"
210
+ },
211
+ "additionalProperties": {
212
+ "type": "object",
213
+ "properties": {
214
+ "command": {
215
+ "type": "string"
216
+ },
217
+ "description": {
218
+ "type": "string"
219
+ },
220
+ "parameters": {
221
+ "type": "object",
222
+ "propertyNames": {
223
+ "type": "string"
224
+ },
225
+ "additionalProperties": {
226
+ "type": "object",
227
+ "properties": {
228
+ "description": {
229
+ "type": "string"
230
+ },
231
+ "allow": {
232
+ "type": "array",
233
+ "items": {
234
+ "type": "string",
235
+ "enum": [
236
+ "absolute-paths",
237
+ "directory-traversal",
238
+ "shell-injection",
239
+ "null-bytes"
240
+ ]
241
+ }
242
+ }
243
+ },
244
+ "required": [
245
+ "description"
246
+ ]
247
+ }
248
+ },
249
+ "timeout": {
250
+ "type": "number"
251
+ }
252
+ },
253
+ "required": [
254
+ "command",
255
+ "description"
256
+ ]
257
+ }
258
+ },
259
+ "mcpServers": {
260
+ "type": "object",
261
+ "propertyNames": {
262
+ "type": "string"
263
+ },
264
+ "additionalProperties": {}
265
+ },
266
+ "a2aAgents": {
267
+ "type": "object",
268
+ "propertyNames": {
269
+ "type": "string"
270
+ },
271
+ "additionalProperties": {}
272
+ },
273
+ "builtInToolsConfig": {
274
+ "type": "object",
275
+ "propertyNames": {
276
+ "type": "string"
277
+ },
278
+ "additionalProperties": {}
279
+ },
280
+ "aiignore": {
281
+ "type": "object",
282
+ "properties": {
283
+ "enabled": {
284
+ "type": "boolean"
285
+ },
286
+ "patterns": {
287
+ "type": "array",
288
+ "items": {
289
+ "type": "string"
290
+ }
291
+ }
292
+ }
293
+ },
294
+ "commands": {
295
+ "type": "object",
296
+ "properties": {
297
+ "pr": {
298
+ "type": "object",
299
+ "properties": {
300
+ "contentSource": {
301
+ "type": "string"
302
+ },
303
+ "requirementSource": {
304
+ "type": "string"
305
+ },
306
+ "filesystem": {
307
+ "anyOf": [
308
+ {
309
+ "type": "array",
310
+ "items": {
311
+ "type": "string"
312
+ }
313
+ },
314
+ {
315
+ "type": "string",
316
+ "enum": [
317
+ "all",
318
+ "read",
319
+ "none"
320
+ ]
321
+ }
322
+ ]
323
+ },
324
+ "builtInTools": {
325
+ "type": "array",
326
+ "items": {
327
+ "type": "string"
328
+ }
329
+ },
330
+ "customTools": {
331
+ "anyOf": [
332
+ {
333
+ "type": "boolean",
334
+ "const": false
335
+ },
336
+ {
337
+ "type": "object",
338
+ "propertyNames": {
339
+ "type": "string"
340
+ },
341
+ "additionalProperties": {
342
+ "type": "object",
343
+ "properties": {
344
+ "command": {
345
+ "type": "string"
346
+ },
347
+ "description": {
348
+ "type": "string"
349
+ },
350
+ "parameters": {
351
+ "type": "object",
352
+ "propertyNames": {
353
+ "type": "string"
354
+ },
355
+ "additionalProperties": {
356
+ "type": "object",
357
+ "properties": {
358
+ "description": {
359
+ "type": "string"
360
+ },
361
+ "allow": {
362
+ "type": "array",
363
+ "items": {
364
+ "type": "string",
365
+ "enum": [
366
+ "absolute-paths",
367
+ "directory-traversal",
368
+ "shell-injection",
369
+ "null-bytes"
370
+ ]
371
+ }
372
+ }
373
+ },
374
+ "required": [
375
+ "description"
376
+ ]
377
+ }
378
+ },
379
+ "timeout": {
380
+ "type": "number"
381
+ }
382
+ },
383
+ "required": [
384
+ "command",
385
+ "description"
386
+ ]
387
+ }
388
+ }
389
+ ]
390
+ },
391
+ "allowedTools": {
392
+ "type": "array",
393
+ "items": {
394
+ "type": "string"
395
+ }
396
+ },
397
+ "logWorkForReviewInSeconds": {
398
+ "type": "number"
399
+ },
400
+ "rating": {
401
+ "type": "object",
402
+ "properties": {
403
+ "enabled": {
404
+ "type": "boolean"
405
+ },
406
+ "passThreshold": {
407
+ "type": "number"
408
+ },
409
+ "maxRating": {
410
+ "type": "number"
411
+ },
412
+ "minRating": {
413
+ "type": "number"
414
+ },
415
+ "errorOnReviewFail": {
416
+ "type": "boolean"
417
+ }
418
+ }
419
+ },
420
+ "binaryFormats": {
421
+ "anyOf": [
422
+ {
423
+ "type": "boolean",
424
+ "const": false
425
+ },
426
+ {
427
+ "type": "array",
428
+ "items": {
429
+ "type": "object",
430
+ "properties": {
431
+ "type": {
432
+ "type": "string",
433
+ "enum": [
434
+ "image",
435
+ "file",
436
+ "audio",
437
+ "video",
438
+ "binary"
439
+ ]
440
+ },
441
+ "extensions": {
442
+ "type": "array",
443
+ "items": {
444
+ "type": "string"
445
+ }
446
+ },
447
+ "maxSize": {
448
+ "type": "number"
449
+ },
450
+ "mimeTypes": {
451
+ "type": "object",
452
+ "propertyNames": {
453
+ "type": "string"
454
+ },
455
+ "additionalProperties": {
456
+ "type": "string"
457
+ }
458
+ }
459
+ },
460
+ "required": [
461
+ "type",
462
+ "extensions"
463
+ ]
464
+ }
465
+ }
466
+ ]
467
+ }
468
+ }
469
+ },
470
+ "review": {
471
+ "type": "object",
472
+ "properties": {
473
+ "contentSource": {
474
+ "type": "string"
475
+ },
476
+ "requirementSource": {
477
+ "type": "string"
478
+ },
479
+ "filesystem": {
480
+ "anyOf": [
481
+ {
482
+ "type": "array",
483
+ "items": {
484
+ "type": "string"
485
+ }
486
+ },
487
+ {
488
+ "type": "string",
489
+ "enum": [
490
+ "all",
491
+ "read",
492
+ "none"
493
+ ]
494
+ }
495
+ ]
496
+ },
497
+ "builtInTools": {
498
+ "type": "array",
499
+ "items": {
500
+ "type": "string"
501
+ }
502
+ },
503
+ "customTools": {
504
+ "anyOf": [
505
+ {
506
+ "type": "boolean",
507
+ "const": false
508
+ },
509
+ {
510
+ "type": "object",
511
+ "propertyNames": {
512
+ "type": "string"
513
+ },
514
+ "additionalProperties": {
515
+ "type": "object",
516
+ "properties": {
517
+ "command": {
518
+ "type": "string"
519
+ },
520
+ "description": {
521
+ "type": "string"
522
+ },
523
+ "parameters": {
524
+ "type": "object",
525
+ "propertyNames": {
526
+ "type": "string"
527
+ },
528
+ "additionalProperties": {
529
+ "type": "object",
530
+ "properties": {
531
+ "description": {
532
+ "type": "string"
533
+ },
534
+ "allow": {
535
+ "type": "array",
536
+ "items": {
537
+ "type": "string",
538
+ "enum": [
539
+ "absolute-paths",
540
+ "directory-traversal",
541
+ "shell-injection",
542
+ "null-bytes"
543
+ ]
544
+ }
545
+ }
546
+ },
547
+ "required": [
548
+ "description"
549
+ ]
550
+ }
551
+ },
552
+ "timeout": {
553
+ "type": "number"
554
+ }
555
+ },
556
+ "required": [
557
+ "command",
558
+ "description"
559
+ ]
560
+ }
561
+ }
562
+ ]
563
+ },
564
+ "allowedTools": {
565
+ "type": "array",
566
+ "items": {
567
+ "type": "string"
568
+ }
569
+ },
570
+ "rating": {
571
+ "type": "object",
572
+ "properties": {
573
+ "enabled": {
574
+ "type": "boolean"
575
+ },
576
+ "passThreshold": {
577
+ "type": "number"
578
+ },
579
+ "maxRating": {
580
+ "type": "number"
581
+ },
582
+ "minRating": {
583
+ "type": "number"
584
+ },
585
+ "errorOnReviewFail": {
586
+ "type": "boolean"
587
+ }
588
+ }
589
+ },
590
+ "binaryFormats": {
591
+ "anyOf": [
592
+ {
593
+ "type": "boolean",
594
+ "const": false
595
+ },
596
+ {
597
+ "type": "array",
598
+ "items": {
599
+ "type": "object",
600
+ "properties": {
601
+ "type": {
602
+ "type": "string",
603
+ "enum": [
604
+ "image",
605
+ "file",
606
+ "audio",
607
+ "video",
608
+ "binary"
609
+ ]
610
+ },
611
+ "extensions": {
612
+ "type": "array",
613
+ "items": {
614
+ "type": "string"
615
+ }
616
+ },
617
+ "maxSize": {
618
+ "type": "number"
619
+ },
620
+ "mimeTypes": {
621
+ "type": "object",
622
+ "propertyNames": {
623
+ "type": "string"
624
+ },
625
+ "additionalProperties": {
626
+ "type": "string"
627
+ }
628
+ }
629
+ },
630
+ "required": [
631
+ "type",
632
+ "extensions"
633
+ ]
634
+ }
635
+ }
636
+ ]
637
+ }
638
+ }
639
+ },
640
+ "ask": {
641
+ "type": "object",
642
+ "properties": {
643
+ "filesystem": {
644
+ "anyOf": [
645
+ {
646
+ "type": "array",
647
+ "items": {
648
+ "type": "string"
649
+ }
650
+ },
651
+ {
652
+ "type": "string",
653
+ "enum": [
654
+ "all",
655
+ "read",
656
+ "none"
657
+ ]
658
+ }
659
+ ]
660
+ },
661
+ "builtInTools": {
662
+ "type": "array",
663
+ "items": {
664
+ "type": "string"
665
+ }
666
+ },
667
+ "customTools": {
668
+ "anyOf": [
669
+ {
670
+ "type": "boolean",
671
+ "const": false
672
+ },
673
+ {
674
+ "type": "object",
675
+ "propertyNames": {
676
+ "type": "string"
677
+ },
678
+ "additionalProperties": {
679
+ "type": "object",
680
+ "properties": {
681
+ "command": {
682
+ "type": "string"
683
+ },
684
+ "description": {
685
+ "type": "string"
686
+ },
687
+ "parameters": {
688
+ "type": "object",
689
+ "propertyNames": {
690
+ "type": "string"
691
+ },
692
+ "additionalProperties": {
693
+ "type": "object",
694
+ "properties": {
695
+ "description": {
696
+ "type": "string"
697
+ },
698
+ "allow": {
699
+ "type": "array",
700
+ "items": {
701
+ "type": "string",
702
+ "enum": [
703
+ "absolute-paths",
704
+ "directory-traversal",
705
+ "shell-injection",
706
+ "null-bytes"
707
+ ]
708
+ }
709
+ }
710
+ },
711
+ "required": [
712
+ "description"
713
+ ]
714
+ }
715
+ },
716
+ "timeout": {
717
+ "type": "number"
718
+ }
719
+ },
720
+ "required": [
721
+ "command",
722
+ "description"
723
+ ]
724
+ }
725
+ }
726
+ ]
727
+ },
728
+ "allowedTools": {
729
+ "type": "array",
730
+ "items": {
731
+ "type": "string"
732
+ }
733
+ },
734
+ "devTools": {
735
+ "type": "object",
736
+ "properties": {
737
+ "run_tests": {
738
+ "type": "string"
739
+ },
740
+ "run_lint": {
741
+ "type": "string"
742
+ },
743
+ "run_build": {
744
+ "type": "string"
745
+ },
746
+ "run_single_test": {
747
+ "type": "string"
748
+ },
749
+ "shell": {
750
+ "anyOf": [
751
+ {
752
+ "type": "boolean"
753
+ },
754
+ {
755
+ "type": "object",
756
+ "properties": {
757
+ "enabled": {
758
+ "type": "boolean"
759
+ },
760
+ "timeout": {
761
+ "type": "number"
762
+ },
763
+ "maxOutputBytes": {
764
+ "type": "number"
765
+ },
766
+ "allowlist": {
767
+ "type": "boolean"
768
+ },
769
+ "persistAllowlist": {
770
+ "type": "boolean"
771
+ },
772
+ "judge": {
773
+ "anyOf": [
774
+ {
775
+ "type": "boolean"
776
+ },
777
+ {
778
+ "type": "object",
779
+ "properties": {
780
+ "enabled": {
781
+ "type": "boolean"
782
+ },
783
+ "autoApproveLow": {
784
+ "type": "boolean"
785
+ },
786
+ "blockHigh": {
787
+ "type": "boolean"
788
+ },
789
+ "model": {
790
+ "type": "object",
791
+ "properties": {
792
+ "type": {
793
+ "type": "string"
794
+ },
795
+ "model": {
796
+ "type": "string"
797
+ },
798
+ "configuration": {
799
+ "type": "object",
800
+ "propertyNames": {
801
+ "type": "string"
802
+ },
803
+ "additionalProperties": {}
804
+ },
805
+ "apiKeyEnvironmentVariable": {
806
+ "type": "string"
807
+ }
808
+ },
809
+ "additionalProperties": {}
810
+ }
811
+ }
812
+ }
813
+ ]
814
+ }
815
+ }
816
+ }
817
+ ]
818
+ },
819
+ "shellYolo": {
820
+ "type": "boolean"
821
+ }
822
+ }
823
+ },
824
+ "binaryFormats": {
825
+ "anyOf": [
826
+ {
827
+ "type": "boolean",
828
+ "const": false
829
+ },
830
+ {
831
+ "type": "array",
832
+ "items": {
833
+ "type": "object",
834
+ "properties": {
835
+ "type": {
836
+ "type": "string",
837
+ "enum": [
838
+ "image",
839
+ "file",
840
+ "audio",
841
+ "video",
842
+ "binary"
843
+ ]
844
+ },
845
+ "extensions": {
846
+ "type": "array",
847
+ "items": {
848
+ "type": "string"
849
+ }
850
+ },
851
+ "maxSize": {
852
+ "type": "number"
853
+ },
854
+ "mimeTypes": {
855
+ "type": "object",
856
+ "propertyNames": {
857
+ "type": "string"
858
+ },
859
+ "additionalProperties": {
860
+ "type": "string"
861
+ }
862
+ }
863
+ },
864
+ "required": [
865
+ "type",
866
+ "extensions"
867
+ ]
868
+ }
869
+ }
870
+ ]
871
+ }
872
+ }
873
+ },
874
+ "chat": {
875
+ "type": "object",
876
+ "properties": {
877
+ "filesystem": {
878
+ "anyOf": [
879
+ {
880
+ "type": "array",
881
+ "items": {
882
+ "type": "string"
883
+ }
884
+ },
885
+ {
886
+ "type": "string",
887
+ "enum": [
888
+ "all",
889
+ "read",
890
+ "none"
891
+ ]
892
+ }
893
+ ]
894
+ },
895
+ "builtInTools": {
896
+ "type": "array",
897
+ "items": {
898
+ "type": "string"
899
+ }
900
+ },
901
+ "customTools": {
902
+ "anyOf": [
903
+ {
904
+ "type": "boolean",
905
+ "const": false
906
+ },
907
+ {
908
+ "type": "object",
909
+ "propertyNames": {
910
+ "type": "string"
911
+ },
912
+ "additionalProperties": {
913
+ "type": "object",
914
+ "properties": {
915
+ "command": {
916
+ "type": "string"
917
+ },
918
+ "description": {
919
+ "type": "string"
920
+ },
921
+ "parameters": {
922
+ "type": "object",
923
+ "propertyNames": {
924
+ "type": "string"
925
+ },
926
+ "additionalProperties": {
927
+ "type": "object",
928
+ "properties": {
929
+ "description": {
930
+ "type": "string"
931
+ },
932
+ "allow": {
933
+ "type": "array",
934
+ "items": {
935
+ "type": "string",
936
+ "enum": [
937
+ "absolute-paths",
938
+ "directory-traversal",
939
+ "shell-injection",
940
+ "null-bytes"
941
+ ]
942
+ }
943
+ }
944
+ },
945
+ "required": [
946
+ "description"
947
+ ]
948
+ }
949
+ },
950
+ "timeout": {
951
+ "type": "number"
952
+ }
953
+ },
954
+ "required": [
955
+ "command",
956
+ "description"
957
+ ]
958
+ }
959
+ }
960
+ ]
961
+ },
962
+ "allowedTools": {
963
+ "type": "array",
964
+ "items": {
965
+ "type": "string"
966
+ }
967
+ },
968
+ "binaryFormats": {
969
+ "anyOf": [
970
+ {
971
+ "type": "boolean",
972
+ "const": false
973
+ },
974
+ {
975
+ "type": "array",
976
+ "items": {
977
+ "type": "object",
978
+ "properties": {
979
+ "type": {
980
+ "type": "string",
981
+ "enum": [
982
+ "image",
983
+ "file",
984
+ "audio",
985
+ "video",
986
+ "binary"
987
+ ]
988
+ },
989
+ "extensions": {
990
+ "type": "array",
991
+ "items": {
992
+ "type": "string"
993
+ }
994
+ },
995
+ "maxSize": {
996
+ "type": "number"
997
+ },
998
+ "mimeTypes": {
999
+ "type": "object",
1000
+ "propertyNames": {
1001
+ "type": "string"
1002
+ },
1003
+ "additionalProperties": {
1004
+ "type": "string"
1005
+ }
1006
+ }
1007
+ },
1008
+ "required": [
1009
+ "type",
1010
+ "extensions"
1011
+ ]
1012
+ }
1013
+ }
1014
+ ]
1015
+ }
1016
+ }
1017
+ },
1018
+ "code": {
1019
+ "type": "object",
1020
+ "properties": {
1021
+ "filesystem": {
1022
+ "anyOf": [
1023
+ {
1024
+ "type": "array",
1025
+ "items": {
1026
+ "type": "string"
1027
+ }
1028
+ },
1029
+ {
1030
+ "type": "string",
1031
+ "enum": [
1032
+ "all",
1033
+ "read",
1034
+ "none"
1035
+ ]
1036
+ }
1037
+ ]
1038
+ },
1039
+ "builtInTools": {
1040
+ "type": "array",
1041
+ "items": {
1042
+ "type": "string"
1043
+ }
1044
+ },
1045
+ "customTools": {
1046
+ "anyOf": [
1047
+ {
1048
+ "type": "boolean",
1049
+ "const": false
1050
+ },
1051
+ {
1052
+ "type": "object",
1053
+ "propertyNames": {
1054
+ "type": "string"
1055
+ },
1056
+ "additionalProperties": {
1057
+ "type": "object",
1058
+ "properties": {
1059
+ "command": {
1060
+ "type": "string"
1061
+ },
1062
+ "description": {
1063
+ "type": "string"
1064
+ },
1065
+ "parameters": {
1066
+ "type": "object",
1067
+ "propertyNames": {
1068
+ "type": "string"
1069
+ },
1070
+ "additionalProperties": {
1071
+ "type": "object",
1072
+ "properties": {
1073
+ "description": {
1074
+ "type": "string"
1075
+ },
1076
+ "allow": {
1077
+ "type": "array",
1078
+ "items": {
1079
+ "type": "string",
1080
+ "enum": [
1081
+ "absolute-paths",
1082
+ "directory-traversal",
1083
+ "shell-injection",
1084
+ "null-bytes"
1085
+ ]
1086
+ }
1087
+ }
1088
+ },
1089
+ "required": [
1090
+ "description"
1091
+ ]
1092
+ }
1093
+ },
1094
+ "timeout": {
1095
+ "type": "number"
1096
+ }
1097
+ },
1098
+ "required": [
1099
+ "command",
1100
+ "description"
1101
+ ]
1102
+ }
1103
+ }
1104
+ ]
1105
+ },
1106
+ "allowedTools": {
1107
+ "type": "array",
1108
+ "items": {
1109
+ "type": "string"
1110
+ }
1111
+ },
1112
+ "devTools": {
1113
+ "type": "object",
1114
+ "properties": {
1115
+ "run_tests": {
1116
+ "type": "string"
1117
+ },
1118
+ "run_lint": {
1119
+ "type": "string"
1120
+ },
1121
+ "run_build": {
1122
+ "type": "string"
1123
+ },
1124
+ "run_single_test": {
1125
+ "type": "string"
1126
+ },
1127
+ "shell": {
1128
+ "anyOf": [
1129
+ {
1130
+ "type": "boolean"
1131
+ },
1132
+ {
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "enabled": {
1136
+ "type": "boolean"
1137
+ },
1138
+ "timeout": {
1139
+ "type": "number"
1140
+ },
1141
+ "maxOutputBytes": {
1142
+ "type": "number"
1143
+ },
1144
+ "allowlist": {
1145
+ "type": "boolean"
1146
+ },
1147
+ "persistAllowlist": {
1148
+ "type": "boolean"
1149
+ },
1150
+ "judge": {
1151
+ "anyOf": [
1152
+ {
1153
+ "type": "boolean"
1154
+ },
1155
+ {
1156
+ "type": "object",
1157
+ "properties": {
1158
+ "enabled": {
1159
+ "type": "boolean"
1160
+ },
1161
+ "autoApproveLow": {
1162
+ "type": "boolean"
1163
+ },
1164
+ "blockHigh": {
1165
+ "type": "boolean"
1166
+ },
1167
+ "model": {
1168
+ "type": "object",
1169
+ "properties": {
1170
+ "type": {
1171
+ "type": "string"
1172
+ },
1173
+ "model": {
1174
+ "type": "string"
1175
+ },
1176
+ "configuration": {
1177
+ "type": "object",
1178
+ "propertyNames": {
1179
+ "type": "string"
1180
+ },
1181
+ "additionalProperties": {}
1182
+ },
1183
+ "apiKeyEnvironmentVariable": {
1184
+ "type": "string"
1185
+ }
1186
+ },
1187
+ "additionalProperties": {}
1188
+ }
1189
+ }
1190
+ }
1191
+ ]
1192
+ }
1193
+ }
1194
+ }
1195
+ ]
1196
+ },
1197
+ "shellYolo": {
1198
+ "type": "boolean"
1199
+ }
1200
+ }
1201
+ },
1202
+ "binaryFormats": {
1203
+ "anyOf": [
1204
+ {
1205
+ "type": "boolean",
1206
+ "const": false
1207
+ },
1208
+ {
1209
+ "type": "array",
1210
+ "items": {
1211
+ "type": "object",
1212
+ "properties": {
1213
+ "type": {
1214
+ "type": "string",
1215
+ "enum": [
1216
+ "image",
1217
+ "file",
1218
+ "audio",
1219
+ "video",
1220
+ "binary"
1221
+ ]
1222
+ },
1223
+ "extensions": {
1224
+ "type": "array",
1225
+ "items": {
1226
+ "type": "string"
1227
+ }
1228
+ },
1229
+ "maxSize": {
1230
+ "type": "number"
1231
+ },
1232
+ "mimeTypes": {
1233
+ "type": "object",
1234
+ "propertyNames": {
1235
+ "type": "string"
1236
+ },
1237
+ "additionalProperties": {
1238
+ "type": "string"
1239
+ }
1240
+ }
1241
+ },
1242
+ "required": [
1243
+ "type",
1244
+ "extensions"
1245
+ ]
1246
+ }
1247
+ }
1248
+ ]
1249
+ }
1250
+ }
1251
+ },
1252
+ "exec": {
1253
+ "type": "object",
1254
+ "properties": {
1255
+ "filesystem": {
1256
+ "anyOf": [
1257
+ {
1258
+ "type": "array",
1259
+ "items": {
1260
+ "type": "string"
1261
+ }
1262
+ },
1263
+ {
1264
+ "type": "string",
1265
+ "enum": [
1266
+ "all",
1267
+ "read",
1268
+ "none"
1269
+ ]
1270
+ }
1271
+ ]
1272
+ },
1273
+ "builtInTools": {
1274
+ "type": "array",
1275
+ "items": {
1276
+ "type": "string"
1277
+ }
1278
+ },
1279
+ "customTools": {
1280
+ "anyOf": [
1281
+ {
1282
+ "type": "boolean",
1283
+ "const": false
1284
+ },
1285
+ {
1286
+ "type": "object",
1287
+ "propertyNames": {
1288
+ "type": "string"
1289
+ },
1290
+ "additionalProperties": {
1291
+ "type": "object",
1292
+ "properties": {
1293
+ "command": {
1294
+ "type": "string"
1295
+ },
1296
+ "description": {
1297
+ "type": "string"
1298
+ },
1299
+ "parameters": {
1300
+ "type": "object",
1301
+ "propertyNames": {
1302
+ "type": "string"
1303
+ },
1304
+ "additionalProperties": {
1305
+ "type": "object",
1306
+ "properties": {
1307
+ "description": {
1308
+ "type": "string"
1309
+ },
1310
+ "allow": {
1311
+ "type": "array",
1312
+ "items": {
1313
+ "type": "string",
1314
+ "enum": [
1315
+ "absolute-paths",
1316
+ "directory-traversal",
1317
+ "shell-injection",
1318
+ "null-bytes"
1319
+ ]
1320
+ }
1321
+ }
1322
+ },
1323
+ "required": [
1324
+ "description"
1325
+ ]
1326
+ }
1327
+ },
1328
+ "timeout": {
1329
+ "type": "number"
1330
+ }
1331
+ },
1332
+ "required": [
1333
+ "command",
1334
+ "description"
1335
+ ]
1336
+ }
1337
+ }
1338
+ ]
1339
+ },
1340
+ "allowedTools": {
1341
+ "type": "array",
1342
+ "items": {
1343
+ "type": "string"
1344
+ }
1345
+ },
1346
+ "devTools": {
1347
+ "type": "object",
1348
+ "properties": {
1349
+ "run_tests": {
1350
+ "type": "string"
1351
+ },
1352
+ "run_lint": {
1353
+ "type": "string"
1354
+ },
1355
+ "run_build": {
1356
+ "type": "string"
1357
+ },
1358
+ "run_single_test": {
1359
+ "type": "string"
1360
+ },
1361
+ "shell": {
1362
+ "anyOf": [
1363
+ {
1364
+ "type": "boolean"
1365
+ },
1366
+ {
1367
+ "type": "object",
1368
+ "properties": {
1369
+ "enabled": {
1370
+ "type": "boolean"
1371
+ },
1372
+ "timeout": {
1373
+ "type": "number"
1374
+ },
1375
+ "maxOutputBytes": {
1376
+ "type": "number"
1377
+ },
1378
+ "allowlist": {
1379
+ "type": "boolean"
1380
+ },
1381
+ "persistAllowlist": {
1382
+ "type": "boolean"
1383
+ },
1384
+ "judge": {
1385
+ "anyOf": [
1386
+ {
1387
+ "type": "boolean"
1388
+ },
1389
+ {
1390
+ "type": "object",
1391
+ "properties": {
1392
+ "enabled": {
1393
+ "type": "boolean"
1394
+ },
1395
+ "autoApproveLow": {
1396
+ "type": "boolean"
1397
+ },
1398
+ "blockHigh": {
1399
+ "type": "boolean"
1400
+ },
1401
+ "model": {
1402
+ "type": "object",
1403
+ "properties": {
1404
+ "type": {
1405
+ "type": "string"
1406
+ },
1407
+ "model": {
1408
+ "type": "string"
1409
+ },
1410
+ "configuration": {
1411
+ "type": "object",
1412
+ "propertyNames": {
1413
+ "type": "string"
1414
+ },
1415
+ "additionalProperties": {}
1416
+ },
1417
+ "apiKeyEnvironmentVariable": {
1418
+ "type": "string"
1419
+ }
1420
+ },
1421
+ "additionalProperties": {}
1422
+ }
1423
+ }
1424
+ }
1425
+ ]
1426
+ }
1427
+ }
1428
+ }
1429
+ ]
1430
+ },
1431
+ "shellYolo": {
1432
+ "type": "boolean"
1433
+ }
1434
+ }
1435
+ },
1436
+ "binaryFormats": {
1437
+ "anyOf": [
1438
+ {
1439
+ "type": "boolean",
1440
+ "const": false
1441
+ },
1442
+ {
1443
+ "type": "array",
1444
+ "items": {
1445
+ "type": "object",
1446
+ "properties": {
1447
+ "type": {
1448
+ "type": "string",
1449
+ "enum": [
1450
+ "image",
1451
+ "file",
1452
+ "audio",
1453
+ "video",
1454
+ "binary"
1455
+ ]
1456
+ },
1457
+ "extensions": {
1458
+ "type": "array",
1459
+ "items": {
1460
+ "type": "string"
1461
+ }
1462
+ },
1463
+ "maxSize": {
1464
+ "type": "number"
1465
+ },
1466
+ "mimeTypes": {
1467
+ "type": "object",
1468
+ "propertyNames": {
1469
+ "type": "string"
1470
+ },
1471
+ "additionalProperties": {
1472
+ "type": "string"
1473
+ }
1474
+ }
1475
+ },
1476
+ "required": [
1477
+ "type",
1478
+ "extensions"
1479
+ ]
1480
+ }
1481
+ }
1482
+ ]
1483
+ }
1484
+ }
1485
+ },
1486
+ "api": {
1487
+ "type": "object",
1488
+ "properties": {
1489
+ "filesystem": {
1490
+ "anyOf": [
1491
+ {
1492
+ "type": "array",
1493
+ "items": {
1494
+ "type": "string"
1495
+ }
1496
+ },
1497
+ {
1498
+ "type": "string",
1499
+ "enum": [
1500
+ "all",
1501
+ "read",
1502
+ "none"
1503
+ ]
1504
+ }
1505
+ ]
1506
+ },
1507
+ "builtInTools": {
1508
+ "type": "array",
1509
+ "items": {
1510
+ "type": "string"
1511
+ }
1512
+ },
1513
+ "port": {
1514
+ "type": "number"
1515
+ },
1516
+ "cors": {
1517
+ "type": "object",
1518
+ "properties": {
1519
+ "allowOrigin": {
1520
+ "type": "string"
1521
+ },
1522
+ "allowMethods": {
1523
+ "type": "string"
1524
+ },
1525
+ "allowHeaders": {
1526
+ "type": "string"
1527
+ }
1528
+ }
1529
+ }
1530
+ }
1531
+ }
1532
+ }
1533
+ },
1534
+ "modelDisplayName": {
1535
+ "type": "string"
1536
+ },
1537
+ "allowDirs": {
1538
+ "type": "array",
1539
+ "items": {
1540
+ "type": "string"
1541
+ }
1542
+ },
1543
+ "askWriteMode": {
1544
+ "type": "boolean"
1545
+ }
1546
+ },
1547
+ "additionalProperties": {}
1548
+ }