@nylorun/core 0.23.0-beta → 0.24.0-beta

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,1273 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://docs.nylorun.com/schemas/harness-manifest/v1.json",
4
+ "title": "Nylorun harness manifest 1",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string"
9
+ },
10
+ "id": {
11
+ "description": "The harness that runs the loop: `nylorun` (ours, the default) or a custom harness's id",
12
+ "type": "string",
13
+ "pattern": "^[a-z][a-z0-9-]{1,62}$"
14
+ },
15
+ "instructions": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "tools": {
22
+ "type": "array",
23
+ "items": {
24
+ "$ref": "#/$defs/__schema0"
25
+ }
26
+ },
27
+ "skills": {
28
+ "anyOf": [
29
+ {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "description": "A path to a folder of skill folders, relative to this file"
33
+ },
34
+ {
35
+ "type": "object",
36
+ "propertyNames": {
37
+ "type": "string"
38
+ },
39
+ "additionalProperties": {
40
+ "type": "object",
41
+ "properties": {
42
+ "name": {
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "description": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ },
50
+ "files": {
51
+ "type": "object",
52
+ "propertyNames": {
53
+ "type": "string"
54
+ },
55
+ "additionalProperties": {
56
+ "type": "string"
57
+ }
58
+ },
59
+ "plugin": {
60
+ "$ref": "#/$defs/PluginLabel"
61
+ },
62
+ "secrets": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "string",
66
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
67
+ }
68
+ }
69
+ },
70
+ "required": [
71
+ "name",
72
+ "description",
73
+ "files"
74
+ ],
75
+ "additionalProperties": false
76
+ }
77
+ }
78
+ ]
79
+ },
80
+ "mcpServers": {
81
+ "anyOf": [
82
+ {
83
+ "type": "string",
84
+ "minLength": 1,
85
+ "description": "A path to an mcp.json file, relative to this file"
86
+ },
87
+ {
88
+ "type": "object",
89
+ "propertyNames": {
90
+ "type": "string"
91
+ },
92
+ "additionalProperties": {
93
+ "oneOf": [
94
+ {
95
+ "type": "object",
96
+ "properties": {
97
+ "type": {
98
+ "type": "string",
99
+ "const": "streamable-http"
100
+ },
101
+ "name": {
102
+ "type": "string",
103
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
104
+ },
105
+ "url": {
106
+ "type": "string",
107
+ "minLength": 1
108
+ },
109
+ "headers": {
110
+ "type": "object",
111
+ "propertyNames": {
112
+ "type": "string"
113
+ },
114
+ "additionalProperties": {
115
+ "type": "string"
116
+ }
117
+ },
118
+ "credential": {
119
+ "type": "string",
120
+ "minLength": 1
121
+ },
122
+ "deferred": {
123
+ "type": "boolean"
124
+ },
125
+ "tools": {
126
+ "type": "object",
127
+ "propertyNames": {
128
+ "type": "string",
129
+ "minLength": 1
130
+ },
131
+ "additionalProperties": {
132
+ "$ref": "#/$defs/McpToolSettings"
133
+ }
134
+ },
135
+ "plugin": {
136
+ "$ref": "#/$defs/PluginLabel"
137
+ }
138
+ },
139
+ "required": [
140
+ "type",
141
+ "name",
142
+ "url"
143
+ ],
144
+ "additionalProperties": false
145
+ },
146
+ {
147
+ "type": "object",
148
+ "properties": {
149
+ "type": {
150
+ "type": "string",
151
+ "const": "sse"
152
+ },
153
+ "name": {
154
+ "type": "string",
155
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
156
+ },
157
+ "url": {
158
+ "type": "string",
159
+ "minLength": 1
160
+ },
161
+ "headers": {
162
+ "type": "object",
163
+ "propertyNames": {
164
+ "type": "string"
165
+ },
166
+ "additionalProperties": {
167
+ "type": "string"
168
+ }
169
+ },
170
+ "credential": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ },
174
+ "deferred": {
175
+ "type": "boolean"
176
+ },
177
+ "tools": {
178
+ "type": "object",
179
+ "propertyNames": {
180
+ "type": "string",
181
+ "minLength": 1
182
+ },
183
+ "additionalProperties": {
184
+ "$ref": "#/$defs/McpToolSettings"
185
+ }
186
+ },
187
+ "plugin": {
188
+ "$ref": "#/$defs/PluginLabel"
189
+ }
190
+ },
191
+ "required": [
192
+ "type",
193
+ "name",
194
+ "url"
195
+ ],
196
+ "additionalProperties": false
197
+ }
198
+ ]
199
+ }
200
+ }
201
+ ]
202
+ },
203
+ "plugins": {
204
+ "type": "array",
205
+ "items": {
206
+ "anyOf": [
207
+ {
208
+ "type": "string",
209
+ "minLength": 1,
210
+ "description": "A path to an Agent Plugin folder, relative to this file"
211
+ },
212
+ {
213
+ "$ref": "#/$defs/PluginLabel"
214
+ }
215
+ ]
216
+ }
217
+ },
218
+ "outputSchema": {
219
+ "type": "object",
220
+ "propertyNames": {
221
+ "type": "string"
222
+ },
223
+ "additionalProperties": {}
224
+ },
225
+ "loop": {
226
+ "description": "The harness's own settings, passed to it in turn.start; the Runtime never reads them",
227
+ "type": "object",
228
+ "propertyNames": {
229
+ "type": "string"
230
+ },
231
+ "additionalProperties": {}
232
+ },
233
+ "memory": {
234
+ "description": "The Agent's memory: Markdown files under /memories it keeps across sessions (D72)",
235
+ "type": "object",
236
+ "properties": {
237
+ "access": {
238
+ "description": "`read_write` (the default) or `read_only`",
239
+ "type": "string",
240
+ "enum": [
241
+ "read_write",
242
+ "read_only"
243
+ ]
244
+ },
245
+ "instructions": {
246
+ "description": "What this agent should remember, after the engine's own memory rules",
247
+ "type": "string",
248
+ "maxLength": 4096
249
+ }
250
+ },
251
+ "additionalProperties": false
252
+ },
253
+ "credentials": {
254
+ "type": "object",
255
+ "propertyNames": {
256
+ "type": "string",
257
+ "minLength": 1
258
+ },
259
+ "additionalProperties": {
260
+ "type": "string",
261
+ "minLength": 1
262
+ }
263
+ },
264
+ "requires": {
265
+ "type": "object",
266
+ "properties": {
267
+ "sandbox": {
268
+ "type": "string",
269
+ "enum": [
270
+ "none",
271
+ "any",
272
+ "pod"
273
+ ]
274
+ },
275
+ "secrets": {
276
+ "type": "array",
277
+ "items": {
278
+ "type": "string",
279
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
280
+ }
281
+ }
282
+ },
283
+ "additionalProperties": false
284
+ }
285
+ },
286
+ "additionalProperties": false,
287
+ "$defs": {
288
+ "__schema0": {
289
+ "type": "object",
290
+ "properties": {
291
+ "name": {
292
+ "type": "string",
293
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
294
+ },
295
+ "description": {
296
+ "type": "string"
297
+ },
298
+ "inputSchema": {
299
+ "type": "object",
300
+ "propertyNames": {
301
+ "type": "string"
302
+ },
303
+ "additionalProperties": {}
304
+ },
305
+ "outputSchema": {
306
+ "type": "object",
307
+ "propertyNames": {
308
+ "type": "string"
309
+ },
310
+ "additionalProperties": {}
311
+ },
312
+ "agent": {
313
+ "$ref": "#/$defs/ToolAgentManifest"
314
+ },
315
+ "http": {
316
+ "type": "object",
317
+ "properties": {
318
+ "url": {
319
+ "type": "string"
320
+ },
321
+ "method": {
322
+ "type": "string",
323
+ "enum": [
324
+ "GET",
325
+ "POST",
326
+ "PUT",
327
+ "PATCH",
328
+ "DELETE"
329
+ ]
330
+ },
331
+ "credential": {
332
+ "type": "string",
333
+ "minLength": 1
334
+ },
335
+ "timeoutMs": {
336
+ "type": "integer",
337
+ "exclusiveMinimum": 0,
338
+ "maximum": 2147483647
339
+ }
340
+ },
341
+ "required": [
342
+ "url"
343
+ ],
344
+ "additionalProperties": false
345
+ },
346
+ "approval": {
347
+ "type": "string",
348
+ "enum": [
349
+ "never",
350
+ "always"
351
+ ]
352
+ },
353
+ "fn": {
354
+ "description": "Reserved for a later kind of tool; refused for now."
355
+ },
356
+ "command": {
357
+ "description": "Reserved for a later kind of tool; refused for now."
358
+ }
359
+ },
360
+ "required": [
361
+ "name",
362
+ "inputSchema"
363
+ ],
364
+ "additionalProperties": false
365
+ },
366
+ "ToolAgentManifest": {
367
+ "anyOf": [
368
+ {
369
+ "$ref": "#/$defs/WorkflowManifest"
370
+ },
371
+ {
372
+ "type": "object",
373
+ "properties": {
374
+ "manifestSchemaVersion": {
375
+ "type": "number",
376
+ "const": 7
377
+ },
378
+ "id": {
379
+ "type": "string",
380
+ "minLength": 1
381
+ },
382
+ "name": {
383
+ "type": "string",
384
+ "minLength": 1
385
+ },
386
+ "description": {
387
+ "type": "string"
388
+ },
389
+ "metadata": {
390
+ "type": "object",
391
+ "propertyNames": {
392
+ "type": "string"
393
+ },
394
+ "additionalProperties": {}
395
+ },
396
+ "outputSchema": {
397
+ "type": "object",
398
+ "propertyNames": {
399
+ "type": "string"
400
+ },
401
+ "additionalProperties": {}
402
+ },
403
+ "instructions": {
404
+ "type": "array",
405
+ "items": {
406
+ "type": "string"
407
+ }
408
+ },
409
+ "tools": {
410
+ "type": "array",
411
+ "items": {
412
+ "$ref": "#/$defs/__schema0"
413
+ }
414
+ },
415
+ "skills": {
416
+ "type": "object",
417
+ "propertyNames": {
418
+ "type": "string"
419
+ },
420
+ "additionalProperties": {
421
+ "type": "object",
422
+ "properties": {
423
+ "name": {
424
+ "type": "string",
425
+ "minLength": 1
426
+ },
427
+ "description": {
428
+ "type": "string",
429
+ "minLength": 1
430
+ },
431
+ "files": {
432
+ "type": "object",
433
+ "propertyNames": {
434
+ "type": "string"
435
+ },
436
+ "additionalProperties": {
437
+ "type": "string"
438
+ }
439
+ },
440
+ "plugin": {
441
+ "$ref": "#/$defs/PluginLabel"
442
+ }
443
+ },
444
+ "required": [
445
+ "name",
446
+ "description",
447
+ "files"
448
+ ],
449
+ "additionalProperties": false
450
+ }
451
+ },
452
+ "mcpServers": {
453
+ "type": "object",
454
+ "propertyNames": {
455
+ "type": "string"
456
+ },
457
+ "additionalProperties": {
458
+ "oneOf": [
459
+ {
460
+ "type": "object",
461
+ "properties": {
462
+ "name": {
463
+ "type": "string",
464
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
465
+ },
466
+ "type": {
467
+ "type": "string",
468
+ "const": "streamable-http"
469
+ },
470
+ "url": {
471
+ "type": "string",
472
+ "minLength": 1
473
+ },
474
+ "headers": {
475
+ "type": "object",
476
+ "propertyNames": {
477
+ "type": "string"
478
+ },
479
+ "additionalProperties": {
480
+ "type": "string"
481
+ }
482
+ },
483
+ "approval": {
484
+ "type": "string",
485
+ "enum": [
486
+ "never",
487
+ "always"
488
+ ]
489
+ },
490
+ "deferred": {
491
+ "type": "boolean"
492
+ },
493
+ "tools": {
494
+ "type": "object",
495
+ "propertyNames": {
496
+ "type": "string",
497
+ "minLength": 1
498
+ },
499
+ "additionalProperties": {
500
+ "$ref": "#/$defs/McpToolSettings"
501
+ }
502
+ },
503
+ "plugin": {
504
+ "$ref": "#/$defs/PluginLabel"
505
+ }
506
+ },
507
+ "required": [
508
+ "name",
509
+ "type",
510
+ "url"
511
+ ],
512
+ "additionalProperties": false
513
+ },
514
+ {
515
+ "type": "object",
516
+ "properties": {
517
+ "name": {
518
+ "type": "string",
519
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
520
+ },
521
+ "type": {
522
+ "type": "string",
523
+ "const": "sse"
524
+ },
525
+ "url": {
526
+ "type": "string",
527
+ "minLength": 1
528
+ },
529
+ "headers": {
530
+ "type": "object",
531
+ "propertyNames": {
532
+ "type": "string"
533
+ },
534
+ "additionalProperties": {
535
+ "type": "string"
536
+ }
537
+ },
538
+ "approval": {
539
+ "type": "string",
540
+ "enum": [
541
+ "never",
542
+ "always"
543
+ ]
544
+ },
545
+ "deferred": {
546
+ "type": "boolean"
547
+ },
548
+ "tools": {
549
+ "type": "object",
550
+ "propertyNames": {
551
+ "type": "string",
552
+ "minLength": 1
553
+ },
554
+ "additionalProperties": {
555
+ "$ref": "#/$defs/McpToolSettings"
556
+ }
557
+ },
558
+ "plugin": {
559
+ "$ref": "#/$defs/PluginLabel"
560
+ }
561
+ },
562
+ "required": [
563
+ "name",
564
+ "type",
565
+ "url"
566
+ ],
567
+ "additionalProperties": false
568
+ }
569
+ ]
570
+ }
571
+ },
572
+ "requires": {
573
+ "type": "object",
574
+ "properties": {
575
+ "sandbox": {
576
+ "type": "string",
577
+ "enum": [
578
+ "none",
579
+ "any",
580
+ "pod"
581
+ ]
582
+ },
583
+ "secrets": {
584
+ "type": "array",
585
+ "items": {
586
+ "type": "string",
587
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
588
+ }
589
+ }
590
+ },
591
+ "additionalProperties": false
592
+ },
593
+ "functions": {
594
+ "description": "Reserved: Functions are not available yet"
595
+ }
596
+ },
597
+ "required": [
598
+ "manifestSchemaVersion",
599
+ "id"
600
+ ],
601
+ "additionalProperties": false
602
+ }
603
+ ]
604
+ },
605
+ "WorkflowManifest": {
606
+ "type": "object",
607
+ "properties": {
608
+ "kind": {
609
+ "type": "string",
610
+ "const": "workflow"
611
+ },
612
+ "workflowSchemaVersion": {
613
+ "type": "number",
614
+ "const": 3
615
+ },
616
+ "id": {
617
+ "type": "string",
618
+ "minLength": 1
619
+ },
620
+ "name": {
621
+ "type": "string",
622
+ "minLength": 1
623
+ },
624
+ "description": {
625
+ "type": "string"
626
+ },
627
+ "metadata": {
628
+ "type": "object",
629
+ "propertyNames": {
630
+ "type": "string"
631
+ },
632
+ "additionalProperties": {}
633
+ },
634
+ "inputSchema": {
635
+ "type": "object",
636
+ "propertyNames": {
637
+ "type": "string"
638
+ },
639
+ "additionalProperties": {}
640
+ },
641
+ "outputSchema": {
642
+ "type": "object",
643
+ "propertyNames": {
644
+ "type": "string"
645
+ },
646
+ "additionalProperties": {}
647
+ },
648
+ "sandbox": {
649
+ "type": "object",
650
+ "properties": {
651
+ "image": {
652
+ "type": "string",
653
+ "minLength": 1
654
+ },
655
+ "network": {
656
+ "type": "object",
657
+ "properties": {
658
+ "preset": {
659
+ "type": "string",
660
+ "enum": [
661
+ "none",
662
+ "dev",
663
+ "open"
664
+ ]
665
+ },
666
+ "allow": {
667
+ "type": "array",
668
+ "items": {
669
+ "type": "string"
670
+ }
671
+ }
672
+ },
673
+ "additionalProperties": false
674
+ },
675
+ "resources": {
676
+ "type": "object",
677
+ "properties": {
678
+ "cpus": {
679
+ "type": "integer",
680
+ "minimum": 1,
681
+ "maximum": 9007199254740991
682
+ },
683
+ "memory": {
684
+ "type": "string"
685
+ }
686
+ },
687
+ "additionalProperties": false
688
+ },
689
+ "idle": {
690
+ "type": "string"
691
+ }
692
+ },
693
+ "additionalProperties": false
694
+ },
695
+ "root": {
696
+ "$ref": "#/$defs/WorkflowNode"
697
+ },
698
+ "agents": {
699
+ "type": "object",
700
+ "propertyNames": {
701
+ "type": "string",
702
+ "minLength": 1
703
+ },
704
+ "additionalProperties": {
705
+ "anyOf": [
706
+ {
707
+ "$ref": "#/$defs/WorkflowManifest"
708
+ },
709
+ {
710
+ "type": "object",
711
+ "properties": {
712
+ "manifestSchemaVersion": {
713
+ "type": "number",
714
+ "const": 7
715
+ },
716
+ "id": {
717
+ "type": "string",
718
+ "minLength": 1
719
+ },
720
+ "name": {
721
+ "type": "string",
722
+ "minLength": 1
723
+ },
724
+ "description": {
725
+ "type": "string"
726
+ },
727
+ "metadata": {
728
+ "type": "object",
729
+ "propertyNames": {
730
+ "type": "string"
731
+ },
732
+ "additionalProperties": {}
733
+ },
734
+ "outputSchema": {
735
+ "type": "object",
736
+ "propertyNames": {
737
+ "type": "string"
738
+ },
739
+ "additionalProperties": {}
740
+ },
741
+ "instructions": {
742
+ "type": "array",
743
+ "items": {
744
+ "type": "string"
745
+ }
746
+ },
747
+ "tools": {
748
+ "type": "array",
749
+ "items": {
750
+ "$ref": "#/$defs/__schema0"
751
+ }
752
+ },
753
+ "skills": {
754
+ "type": "object",
755
+ "propertyNames": {
756
+ "type": "string"
757
+ },
758
+ "additionalProperties": {
759
+ "type": "object",
760
+ "properties": {
761
+ "name": {
762
+ "type": "string",
763
+ "minLength": 1
764
+ },
765
+ "description": {
766
+ "type": "string",
767
+ "minLength": 1
768
+ },
769
+ "files": {
770
+ "type": "object",
771
+ "propertyNames": {
772
+ "type": "string"
773
+ },
774
+ "additionalProperties": {
775
+ "type": "string"
776
+ }
777
+ },
778
+ "plugin": {
779
+ "$ref": "#/$defs/PluginLabel"
780
+ }
781
+ },
782
+ "required": [
783
+ "name",
784
+ "description",
785
+ "files"
786
+ ],
787
+ "additionalProperties": false
788
+ }
789
+ },
790
+ "mcpServers": {
791
+ "type": "object",
792
+ "propertyNames": {
793
+ "type": "string"
794
+ },
795
+ "additionalProperties": {
796
+ "oneOf": [
797
+ {
798
+ "type": "object",
799
+ "properties": {
800
+ "name": {
801
+ "type": "string",
802
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
803
+ },
804
+ "type": {
805
+ "type": "string",
806
+ "const": "streamable-http"
807
+ },
808
+ "url": {
809
+ "type": "string",
810
+ "minLength": 1
811
+ },
812
+ "headers": {
813
+ "type": "object",
814
+ "propertyNames": {
815
+ "type": "string"
816
+ },
817
+ "additionalProperties": {
818
+ "type": "string"
819
+ }
820
+ },
821
+ "approval": {
822
+ "type": "string",
823
+ "enum": [
824
+ "never",
825
+ "always"
826
+ ]
827
+ },
828
+ "deferred": {
829
+ "type": "boolean"
830
+ },
831
+ "tools": {
832
+ "type": "object",
833
+ "propertyNames": {
834
+ "type": "string",
835
+ "minLength": 1
836
+ },
837
+ "additionalProperties": {
838
+ "$ref": "#/$defs/McpToolSettings"
839
+ }
840
+ },
841
+ "plugin": {
842
+ "$ref": "#/$defs/PluginLabel"
843
+ }
844
+ },
845
+ "required": [
846
+ "name",
847
+ "type",
848
+ "url"
849
+ ],
850
+ "additionalProperties": false
851
+ },
852
+ {
853
+ "type": "object",
854
+ "properties": {
855
+ "name": {
856
+ "type": "string",
857
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
858
+ },
859
+ "type": {
860
+ "type": "string",
861
+ "const": "sse"
862
+ },
863
+ "url": {
864
+ "type": "string",
865
+ "minLength": 1
866
+ },
867
+ "headers": {
868
+ "type": "object",
869
+ "propertyNames": {
870
+ "type": "string"
871
+ },
872
+ "additionalProperties": {
873
+ "type": "string"
874
+ }
875
+ },
876
+ "approval": {
877
+ "type": "string",
878
+ "enum": [
879
+ "never",
880
+ "always"
881
+ ]
882
+ },
883
+ "deferred": {
884
+ "type": "boolean"
885
+ },
886
+ "tools": {
887
+ "type": "object",
888
+ "propertyNames": {
889
+ "type": "string",
890
+ "minLength": 1
891
+ },
892
+ "additionalProperties": {
893
+ "$ref": "#/$defs/McpToolSettings"
894
+ }
895
+ },
896
+ "plugin": {
897
+ "$ref": "#/$defs/PluginLabel"
898
+ }
899
+ },
900
+ "required": [
901
+ "name",
902
+ "type",
903
+ "url"
904
+ ],
905
+ "additionalProperties": false
906
+ }
907
+ ]
908
+ }
909
+ },
910
+ "requires": {
911
+ "type": "object",
912
+ "properties": {
913
+ "sandbox": {
914
+ "type": "string",
915
+ "enum": [
916
+ "none",
917
+ "any",
918
+ "pod"
919
+ ]
920
+ },
921
+ "secrets": {
922
+ "type": "array",
923
+ "items": {
924
+ "type": "string",
925
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
926
+ }
927
+ }
928
+ },
929
+ "additionalProperties": false
930
+ },
931
+ "functions": {
932
+ "description": "Reserved: Functions are not available yet"
933
+ }
934
+ },
935
+ "required": [
936
+ "manifestSchemaVersion",
937
+ "id"
938
+ ],
939
+ "additionalProperties": false
940
+ }
941
+ ]
942
+ }
943
+ }
944
+ },
945
+ "required": [
946
+ "kind",
947
+ "workflowSchemaVersion",
948
+ "id",
949
+ "root",
950
+ "agents"
951
+ ],
952
+ "additionalProperties": false
953
+ },
954
+ "WorkflowNode": {
955
+ "anyOf": [
956
+ {
957
+ "type": "object",
958
+ "properties": {
959
+ "agent": {
960
+ "type": "string",
961
+ "minLength": 1
962
+ },
963
+ "id": {
964
+ "type": "string",
965
+ "minLength": 1
966
+ }
967
+ },
968
+ "required": [
969
+ "agent"
970
+ ],
971
+ "additionalProperties": false
972
+ },
973
+ {
974
+ "type": "object",
975
+ "properties": {
976
+ "tool": {
977
+ "type": "object",
978
+ "properties": {
979
+ "name": {
980
+ "type": "string",
981
+ "minLength": 1
982
+ },
983
+ "description": {
984
+ "type": "string"
985
+ },
986
+ "inputSchema": {
987
+ "type": "object",
988
+ "propertyNames": {
989
+ "type": "string"
990
+ },
991
+ "additionalProperties": {}
992
+ },
993
+ "outputSchema": {
994
+ "type": "object",
995
+ "propertyNames": {
996
+ "type": "string"
997
+ },
998
+ "additionalProperties": {}
999
+ },
1000
+ "http": {
1001
+ "type": "object",
1002
+ "properties": {
1003
+ "url": {
1004
+ "type": "string"
1005
+ },
1006
+ "method": {
1007
+ "type": "string",
1008
+ "enum": [
1009
+ "GET",
1010
+ "POST",
1011
+ "PUT",
1012
+ "PATCH",
1013
+ "DELETE"
1014
+ ]
1015
+ },
1016
+ "credential": {
1017
+ "type": "string",
1018
+ "minLength": 1
1019
+ },
1020
+ "timeoutMs": {
1021
+ "type": "integer",
1022
+ "exclusiveMinimum": 0,
1023
+ "maximum": 2147483647
1024
+ }
1025
+ },
1026
+ "required": [
1027
+ "url"
1028
+ ],
1029
+ "additionalProperties": false
1030
+ }
1031
+ },
1032
+ "required": [
1033
+ "name"
1034
+ ],
1035
+ "additionalProperties": false
1036
+ },
1037
+ "id": {
1038
+ "type": "string",
1039
+ "minLength": 1
1040
+ }
1041
+ },
1042
+ "required": [
1043
+ "tool"
1044
+ ],
1045
+ "additionalProperties": false
1046
+ },
1047
+ {
1048
+ "type": "object",
1049
+ "properties": {
1050
+ "chain": {
1051
+ "minItems": 1,
1052
+ "type": "array",
1053
+ "items": {
1054
+ "$ref": "#/$defs/WorkflowNode"
1055
+ }
1056
+ },
1057
+ "id": {
1058
+ "type": "string",
1059
+ "minLength": 1
1060
+ }
1061
+ },
1062
+ "required": [
1063
+ "chain"
1064
+ ],
1065
+ "additionalProperties": false
1066
+ },
1067
+ {
1068
+ "type": "object",
1069
+ "properties": {
1070
+ "switch": {
1071
+ "type": "object",
1072
+ "properties": {
1073
+ "cases": {
1074
+ "type": "object",
1075
+ "propertyNames": {
1076
+ "type": "string"
1077
+ },
1078
+ "additionalProperties": {
1079
+ "$ref": "#/$defs/WorkflowNode"
1080
+ }
1081
+ },
1082
+ "default": {
1083
+ "$ref": "#/$defs/WorkflowNode"
1084
+ }
1085
+ },
1086
+ "required": [
1087
+ "cases"
1088
+ ],
1089
+ "additionalProperties": false
1090
+ },
1091
+ "id": {
1092
+ "type": "string",
1093
+ "minLength": 1
1094
+ }
1095
+ },
1096
+ "required": [
1097
+ "switch"
1098
+ ],
1099
+ "additionalProperties": false
1100
+ },
1101
+ {
1102
+ "type": "object",
1103
+ "properties": {
1104
+ "parallel": {
1105
+ "type": "object",
1106
+ "propertyNames": {
1107
+ "type": "string"
1108
+ },
1109
+ "additionalProperties": {
1110
+ "$ref": "#/$defs/WorkflowNode"
1111
+ }
1112
+ },
1113
+ "id": {
1114
+ "type": "string",
1115
+ "minLength": 1
1116
+ }
1117
+ },
1118
+ "required": [
1119
+ "parallel"
1120
+ ],
1121
+ "additionalProperties": false
1122
+ },
1123
+ {
1124
+ "type": "object",
1125
+ "properties": {
1126
+ "map": {
1127
+ "type": "object",
1128
+ "properties": {
1129
+ "each": {
1130
+ "$ref": "#/$defs/WorkflowNode"
1131
+ }
1132
+ },
1133
+ "required": [
1134
+ "each"
1135
+ ],
1136
+ "additionalProperties": false
1137
+ },
1138
+ "id": {
1139
+ "type": "string",
1140
+ "minLength": 1
1141
+ }
1142
+ },
1143
+ "required": [
1144
+ "map"
1145
+ ],
1146
+ "additionalProperties": false
1147
+ },
1148
+ {
1149
+ "type": "object",
1150
+ "properties": {
1151
+ "loop": {
1152
+ "type": "object",
1153
+ "properties": {
1154
+ "run": {
1155
+ "$ref": "#/$defs/WorkflowNode"
1156
+ },
1157
+ "verify": {
1158
+ "$ref": "#/$defs/WorkflowLoopVerify"
1159
+ },
1160
+ "max": {
1161
+ "type": "integer",
1162
+ "exclusiveMinimum": 0,
1163
+ "maximum": 9007199254740991
1164
+ }
1165
+ },
1166
+ "required": [
1167
+ "run",
1168
+ "verify",
1169
+ "max"
1170
+ ],
1171
+ "additionalProperties": false
1172
+ },
1173
+ "id": {
1174
+ "type": "string",
1175
+ "minLength": 1
1176
+ }
1177
+ },
1178
+ "required": [
1179
+ "loop"
1180
+ ],
1181
+ "additionalProperties": false
1182
+ }
1183
+ ]
1184
+ },
1185
+ "WorkflowLoopVerify": {
1186
+ "type": "object",
1187
+ "properties": {
1188
+ "agent": {
1189
+ "type": "string",
1190
+ "minLength": 1
1191
+ },
1192
+ "http": {
1193
+ "type": "object",
1194
+ "properties": {
1195
+ "url": {
1196
+ "type": "string"
1197
+ },
1198
+ "method": {
1199
+ "type": "string",
1200
+ "enum": [
1201
+ "GET",
1202
+ "POST",
1203
+ "PUT",
1204
+ "PATCH",
1205
+ "DELETE"
1206
+ ]
1207
+ },
1208
+ "credential": {
1209
+ "type": "string",
1210
+ "minLength": 1
1211
+ },
1212
+ "timeoutMs": {
1213
+ "type": "integer",
1214
+ "exclusiveMinimum": 0,
1215
+ "maximum": 2147483647
1216
+ }
1217
+ },
1218
+ "required": [
1219
+ "url"
1220
+ ],
1221
+ "additionalProperties": false
1222
+ },
1223
+ "fn": {
1224
+ "description": "Reserved for a later kind of verifier; refused for now."
1225
+ },
1226
+ "command": {
1227
+ "description": "Reserved for a later kind of verifier; refused for now."
1228
+ },
1229
+ "id": {
1230
+ "type": "string",
1231
+ "minLength": 1
1232
+ }
1233
+ },
1234
+ "additionalProperties": false
1235
+ },
1236
+ "PluginLabel": {
1237
+ "type": "object",
1238
+ "properties": {
1239
+ "name": {
1240
+ "type": "string",
1241
+ "minLength": 1
1242
+ },
1243
+ "version": {
1244
+ "type": "string",
1245
+ "minLength": 1
1246
+ }
1247
+ },
1248
+ "required": [
1249
+ "name"
1250
+ ],
1251
+ "additionalProperties": false
1252
+ },
1253
+ "McpToolSettings": {
1254
+ "type": "object",
1255
+ "properties": {
1256
+ "enabled": {
1257
+ "type": "boolean"
1258
+ },
1259
+ "approval": {
1260
+ "type": "string",
1261
+ "enum": [
1262
+ "never",
1263
+ "always"
1264
+ ]
1265
+ },
1266
+ "deferred": {
1267
+ "type": "boolean"
1268
+ }
1269
+ },
1270
+ "additionalProperties": false
1271
+ }
1272
+ }
1273
+ }