@nylorun/core 0.20.0-beta → 0.21.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.
Files changed (88) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/README.md +2 -2
  3. package/dist/compatibility.d.ts +84 -10
  4. package/dist/compatibility.js +84 -10
  5. package/dist/contracts.d.ts +1328 -110
  6. package/dist/contracts.js +544 -157
  7. package/dist/define.d.ts +14 -12
  8. package/dist/define.js +10 -7
  9. package/dist/definition/approval.js +12 -14
  10. package/dist/definition/assemble.d.ts +6 -10
  11. package/dist/definition/assemble.js +48 -105
  12. package/dist/definition/bind-agent.d.ts +3 -4
  13. package/dist/definition/bind-agent.js +12 -30
  14. package/dist/definition/binding.d.ts +2 -2
  15. package/dist/definition/bound.d.ts +10 -10
  16. package/dist/definition/builder.d.ts +16 -20
  17. package/dist/definition/builder.js +29 -81
  18. package/dist/definition/code-tools.d.ts +3 -3
  19. package/dist/definition/code-tools.js +6 -21
  20. package/dist/definition/declaration.d.ts +4 -7
  21. package/dist/definition/declaration.js +29 -99
  22. package/dist/definition/{tools-capability.d.ts → deferred-tools.d.ts} +3 -13
  23. package/dist/definition/{tools-capability.js → deferred-tools.js} +2 -18
  24. package/dist/definition/delegate.d.ts +2 -4
  25. package/dist/definition/delegate.js +8 -10
  26. package/dist/definition/from.d.ts +7 -4
  27. package/dist/definition/from.js +72 -117
  28. package/dist/definition/helpers.d.ts +0 -7
  29. package/dist/definition/helpers.js +0 -5
  30. package/dist/definition/implementations.d.ts +6 -8
  31. package/dist/definition/manifest.d.ts +11 -5
  32. package/dist/definition/manifest.js +26 -26
  33. package/dist/definition/mcp.d.ts +1 -52
  34. package/dist/definition/mcp.js +0 -52
  35. package/dist/definition/media-reference.d.ts +23 -0
  36. package/dist/definition/media-reference.js +26 -0
  37. package/dist/definition/removed.d.ts +3 -10
  38. package/dist/definition/removed.js +10 -17
  39. package/dist/definition/runtime-manifest.d.ts +30 -0
  40. package/dist/definition/runtime-manifest.js +132 -0
  41. package/dist/definition/sandbox-tools.d.ts +1 -1
  42. package/dist/definition/sandbox-tools.js +1 -1
  43. package/dist/definition/skill-tools.d.ts +13 -7
  44. package/dist/definition/skill-tools.js +23 -10
  45. package/dist/definition/trace.d.ts +18 -0
  46. package/dist/definition/trace.js +42 -0
  47. package/dist/definition/variant.d.ts +5 -4
  48. package/dist/definition/variant.js +18 -51
  49. package/dist/definition/workflow/runnable.js +1 -1
  50. package/dist/errors.d.ts +1 -1
  51. package/dist/harness-api/entries.d.ts +1 -0
  52. package/dist/harness-api/entries.js +1 -0
  53. package/dist/harness-api/gates.d.ts +1 -6
  54. package/dist/harness-api/gates.js +1 -3
  55. package/dist/harness-api/harness-api.schema.json +11 -92
  56. package/dist/harness-api/index.d.ts +2 -2
  57. package/dist/harness-api/index.js +2 -2
  58. package/dist/harness-api/mcp.d.ts +0 -4
  59. package/dist/harness-api/mcp.js +0 -2
  60. package/dist/harness-api/messages.d.ts +1 -3
  61. package/dist/harness-api/messages.js +1 -3
  62. package/dist/harness-api/schema.d.ts +5 -17
  63. package/dist/harness-api/schema.js +9 -6
  64. package/dist/index.d.ts +1 -1
  65. package/dist/manifest-schemas.d.ts +6 -0
  66. package/dist/manifest-schemas.js +34 -0
  67. package/dist/schemas/agent-manifest.schema.json +897 -0
  68. package/dist/schemas/environment-manifest.schema.json +329 -0
  69. package/dist/types/agent.d.ts +1 -1
  70. package/dist/types/manifest.d.ts +33 -19
  71. package/dist/types/model.d.ts +2 -2
  72. package/dist/types/observe.d.ts +5 -18
  73. package/dist/types/part.d.ts +25 -0
  74. package/dist/types/tool.d.ts +1 -1
  75. package/dist/types/transcript.d.ts +5 -0
  76. package/dist/utils/definition-files.d.ts +11 -6
  77. package/dist/utils/definition-files.js +19 -9
  78. package/dist/utils/runtime-tools.d.ts +19 -0
  79. package/dist/utils/runtime-tools.js +30 -0
  80. package/dist/utils/sandbox.d.ts +1 -1
  81. package/dist/utils/sandbox.js +1 -1
  82. package/package.json +9 -3
  83. package/dist/definition/capability.d.ts +0 -43
  84. package/dist/definition/capability.js +0 -82
  85. package/dist/definition/sandbox-capability.d.ts +0 -44
  86. package/dist/definition/sandbox-capability.js +0 -139
  87. package/dist/types/middleware.d.ts +0 -94
  88. /package/dist/types/{middleware.js → part.js} +0 -0
@@ -0,0 +1,897 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://docs.nylorun.com/schemas/agent-manifest/v7.json",
4
+ "title": "Nylorun agent manifest 7",
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string",
9
+ "description": "This document's JSON Schema, for editors; clients drop it before saving"
10
+ },
11
+ "manifestSchemaVersion": {
12
+ "type": "number",
13
+ "const": 7
14
+ },
15
+ "id": {
16
+ "type": "string",
17
+ "minLength": 1
18
+ },
19
+ "name": {
20
+ "type": "string",
21
+ "minLength": 1
22
+ },
23
+ "description": {
24
+ "type": "string"
25
+ },
26
+ "metadata": {
27
+ "type": "object",
28
+ "propertyNames": {
29
+ "type": "string"
30
+ },
31
+ "additionalProperties": {}
32
+ },
33
+ "outputSchema": {
34
+ "type": "object",
35
+ "propertyNames": {
36
+ "type": "string"
37
+ },
38
+ "additionalProperties": {}
39
+ },
40
+ "instructions": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string"
44
+ }
45
+ },
46
+ "tools": {
47
+ "type": "array",
48
+ "items": {
49
+ "type": "object",
50
+ "properties": {
51
+ "name": {
52
+ "type": "string",
53
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
54
+ },
55
+ "description": {
56
+ "type": "string"
57
+ },
58
+ "inputSchema": {
59
+ "type": "object",
60
+ "propertyNames": {
61
+ "type": "string"
62
+ },
63
+ "additionalProperties": {}
64
+ },
65
+ "outputSchema": {
66
+ "type": "object",
67
+ "propertyNames": {
68
+ "type": "string"
69
+ },
70
+ "additionalProperties": {}
71
+ },
72
+ "agent": {
73
+ "$ref": "#/$defs/ToolAgentManifest"
74
+ },
75
+ "http": {
76
+ "type": "object",
77
+ "properties": {
78
+ "url": {
79
+ "type": "string"
80
+ },
81
+ "method": {
82
+ "type": "string",
83
+ "enum": [
84
+ "POST",
85
+ "PUT",
86
+ "PATCH"
87
+ ]
88
+ },
89
+ "credential": {
90
+ "type": "string",
91
+ "minLength": 1
92
+ },
93
+ "timeoutMs": {
94
+ "type": "integer",
95
+ "exclusiveMinimum": 0,
96
+ "maximum": 300000
97
+ }
98
+ },
99
+ "required": [
100
+ "url"
101
+ ],
102
+ "additionalProperties": false
103
+ },
104
+ "approval": {
105
+ "type": "string",
106
+ "enum": [
107
+ "never",
108
+ "always"
109
+ ]
110
+ },
111
+ "fn": {
112
+ "description": "Reserved for a later kind of tool; refused for now."
113
+ },
114
+ "command": {
115
+ "description": "Reserved for a later kind of tool; refused for now."
116
+ }
117
+ },
118
+ "required": [
119
+ "name",
120
+ "inputSchema"
121
+ ],
122
+ "additionalProperties": false
123
+ }
124
+ },
125
+ "skills": {
126
+ "type": "object",
127
+ "propertyNames": {
128
+ "type": "string"
129
+ },
130
+ "additionalProperties": {
131
+ "type": "object",
132
+ "properties": {
133
+ "name": {
134
+ "type": "string",
135
+ "minLength": 1
136
+ },
137
+ "description": {
138
+ "type": "string",
139
+ "minLength": 1
140
+ },
141
+ "files": {
142
+ "type": "object",
143
+ "propertyNames": {
144
+ "type": "string"
145
+ },
146
+ "additionalProperties": {
147
+ "type": "string"
148
+ }
149
+ },
150
+ "plugin": {
151
+ "$ref": "#/$defs/PluginLabel"
152
+ }
153
+ },
154
+ "required": [
155
+ "name",
156
+ "description",
157
+ "files"
158
+ ],
159
+ "additionalProperties": false
160
+ }
161
+ },
162
+ "mcpServers": {
163
+ "type": "object",
164
+ "propertyNames": {
165
+ "type": "string"
166
+ },
167
+ "additionalProperties": {
168
+ "oneOf": [
169
+ {
170
+ "type": "object",
171
+ "properties": {
172
+ "name": {
173
+ "type": "string",
174
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
175
+ },
176
+ "type": {
177
+ "type": "string",
178
+ "const": "streamable-http"
179
+ },
180
+ "url": {
181
+ "type": "string",
182
+ "minLength": 1
183
+ },
184
+ "headers": {
185
+ "type": "object",
186
+ "propertyNames": {
187
+ "type": "string"
188
+ },
189
+ "additionalProperties": {
190
+ "type": "string"
191
+ }
192
+ },
193
+ "approval": {
194
+ "type": "string",
195
+ "enum": [
196
+ "never",
197
+ "always"
198
+ ]
199
+ },
200
+ "deferred": {
201
+ "type": "boolean"
202
+ },
203
+ "tools": {
204
+ "type": "object",
205
+ "propertyNames": {
206
+ "type": "string",
207
+ "minLength": 1
208
+ },
209
+ "additionalProperties": {
210
+ "$ref": "#/$defs/McpToolSettings"
211
+ }
212
+ },
213
+ "plugin": {
214
+ "$ref": "#/$defs/PluginLabel"
215
+ }
216
+ },
217
+ "required": [
218
+ "name",
219
+ "type",
220
+ "url"
221
+ ],
222
+ "additionalProperties": false
223
+ },
224
+ {
225
+ "type": "object",
226
+ "properties": {
227
+ "name": {
228
+ "type": "string",
229
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
230
+ },
231
+ "type": {
232
+ "type": "string",
233
+ "const": "sse"
234
+ },
235
+ "url": {
236
+ "type": "string",
237
+ "minLength": 1
238
+ },
239
+ "headers": {
240
+ "type": "object",
241
+ "propertyNames": {
242
+ "type": "string"
243
+ },
244
+ "additionalProperties": {
245
+ "type": "string"
246
+ }
247
+ },
248
+ "approval": {
249
+ "type": "string",
250
+ "enum": [
251
+ "never",
252
+ "always"
253
+ ]
254
+ },
255
+ "deferred": {
256
+ "type": "boolean"
257
+ },
258
+ "tools": {
259
+ "type": "object",
260
+ "propertyNames": {
261
+ "type": "string",
262
+ "minLength": 1
263
+ },
264
+ "additionalProperties": {
265
+ "$ref": "#/$defs/McpToolSettings"
266
+ }
267
+ },
268
+ "plugin": {
269
+ "$ref": "#/$defs/PluginLabel"
270
+ }
271
+ },
272
+ "required": [
273
+ "name",
274
+ "type",
275
+ "url"
276
+ ],
277
+ "additionalProperties": false
278
+ }
279
+ ]
280
+ }
281
+ },
282
+ "requires": {
283
+ "type": "object",
284
+ "properties": {
285
+ "sandbox": {
286
+ "type": "string",
287
+ "enum": [
288
+ "none",
289
+ "any",
290
+ "pod"
291
+ ]
292
+ },
293
+ "secrets": {
294
+ "maxItems": 64,
295
+ "type": "array",
296
+ "items": {
297
+ "type": "string",
298
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,127}$"
299
+ }
300
+ }
301
+ },
302
+ "additionalProperties": false
303
+ },
304
+ "runtime": {
305
+ "type": "object",
306
+ "properties": {
307
+ "sandbox": {
308
+ "type": "object",
309
+ "properties": {
310
+ "image": {
311
+ "type": "string",
312
+ "minLength": 1
313
+ },
314
+ "network": {
315
+ "type": "object",
316
+ "properties": {
317
+ "preset": {
318
+ "type": "string",
319
+ "enum": [
320
+ "none",
321
+ "dev",
322
+ "open"
323
+ ]
324
+ },
325
+ "allow": {
326
+ "type": "array",
327
+ "items": {
328
+ "type": "string"
329
+ }
330
+ }
331
+ },
332
+ "additionalProperties": false
333
+ },
334
+ "resources": {
335
+ "type": "object",
336
+ "properties": {
337
+ "cpus": {
338
+ "type": "integer",
339
+ "minimum": 1,
340
+ "maximum": 64
341
+ },
342
+ "memory": {
343
+ "type": "string"
344
+ }
345
+ },
346
+ "additionalProperties": false
347
+ },
348
+ "idle": {
349
+ "type": "string"
350
+ }
351
+ },
352
+ "additionalProperties": false
353
+ },
354
+ "tools": {
355
+ "type": "array",
356
+ "items": {
357
+ "type": "object",
358
+ "properties": {
359
+ "name": {
360
+ "type": "string",
361
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
362
+ },
363
+ "description": {
364
+ "type": "string"
365
+ },
366
+ "inputSchema": {
367
+ "type": "object",
368
+ "propertyNames": {
369
+ "type": "string"
370
+ },
371
+ "additionalProperties": {}
372
+ },
373
+ "outputSchema": {
374
+ "type": "object",
375
+ "propertyNames": {
376
+ "type": "string"
377
+ },
378
+ "additionalProperties": {}
379
+ },
380
+ "agent": {
381
+ "$ref": "#/$defs/ToolAgentManifest"
382
+ },
383
+ "http": {
384
+ "type": "object",
385
+ "properties": {
386
+ "url": {
387
+ "type": "string"
388
+ },
389
+ "method": {
390
+ "type": "string",
391
+ "enum": [
392
+ "POST",
393
+ "PUT",
394
+ "PATCH"
395
+ ]
396
+ },
397
+ "credential": {
398
+ "type": "string",
399
+ "minLength": 1
400
+ },
401
+ "timeoutMs": {
402
+ "type": "integer",
403
+ "exclusiveMinimum": 0,
404
+ "maximum": 300000
405
+ }
406
+ },
407
+ "required": [
408
+ "url"
409
+ ],
410
+ "additionalProperties": false
411
+ },
412
+ "approval": {
413
+ "type": "string",
414
+ "enum": [
415
+ "never",
416
+ "always"
417
+ ]
418
+ },
419
+ "fn": {
420
+ "description": "Reserved for a later kind of tool; refused for now."
421
+ },
422
+ "command": {
423
+ "description": "Reserved for a later kind of tool; refused for now."
424
+ }
425
+ },
426
+ "required": [
427
+ "name",
428
+ "inputSchema"
429
+ ],
430
+ "additionalProperties": false
431
+ }
432
+ },
433
+ "instructions": {
434
+ "type": "array",
435
+ "items": {
436
+ "type": "string"
437
+ }
438
+ }
439
+ },
440
+ "additionalProperties": false
441
+ },
442
+ "functions": {
443
+ "description": "Reserved: Functions are not available yet"
444
+ }
445
+ },
446
+ "required": [
447
+ "manifestSchemaVersion",
448
+ "id"
449
+ ],
450
+ "additionalProperties": false,
451
+ "$defs": {
452
+ "ToolAgentManifest": {
453
+ "anyOf": [
454
+ {
455
+ "$ref": "#/$defs/WorkflowManifest"
456
+ },
457
+ {
458
+ "$ref": "#"
459
+ }
460
+ ]
461
+ },
462
+ "WorkflowManifest": {
463
+ "type": "object",
464
+ "properties": {
465
+ "kind": {
466
+ "type": "string",
467
+ "const": "workflow"
468
+ },
469
+ "workflowSchemaVersion": {
470
+ "type": "number",
471
+ "const": 3
472
+ },
473
+ "id": {
474
+ "type": "string",
475
+ "minLength": 1
476
+ },
477
+ "name": {
478
+ "type": "string",
479
+ "minLength": 1
480
+ },
481
+ "description": {
482
+ "type": "string"
483
+ },
484
+ "metadata": {
485
+ "type": "object",
486
+ "propertyNames": {
487
+ "type": "string"
488
+ },
489
+ "additionalProperties": {}
490
+ },
491
+ "inputSchema": {
492
+ "type": "object",
493
+ "propertyNames": {
494
+ "type": "string"
495
+ },
496
+ "additionalProperties": {}
497
+ },
498
+ "outputSchema": {
499
+ "type": "object",
500
+ "propertyNames": {
501
+ "type": "string"
502
+ },
503
+ "additionalProperties": {}
504
+ },
505
+ "sandbox": {
506
+ "type": "object",
507
+ "properties": {
508
+ "image": {
509
+ "type": "string",
510
+ "minLength": 1
511
+ },
512
+ "network": {
513
+ "type": "object",
514
+ "properties": {
515
+ "preset": {
516
+ "type": "string",
517
+ "enum": [
518
+ "none",
519
+ "dev",
520
+ "open"
521
+ ]
522
+ },
523
+ "allow": {
524
+ "type": "array",
525
+ "items": {
526
+ "type": "string"
527
+ }
528
+ }
529
+ },
530
+ "additionalProperties": false
531
+ },
532
+ "resources": {
533
+ "type": "object",
534
+ "properties": {
535
+ "cpus": {
536
+ "type": "integer",
537
+ "minimum": 1,
538
+ "maximum": 64
539
+ },
540
+ "memory": {
541
+ "type": "string"
542
+ }
543
+ },
544
+ "additionalProperties": false
545
+ },
546
+ "idle": {
547
+ "type": "string"
548
+ }
549
+ },
550
+ "additionalProperties": false
551
+ },
552
+ "root": {
553
+ "$ref": "#/$defs/WorkflowNode"
554
+ },
555
+ "agents": {
556
+ "type": "object",
557
+ "propertyNames": {
558
+ "type": "string",
559
+ "minLength": 1
560
+ },
561
+ "additionalProperties": {
562
+ "anyOf": [
563
+ {
564
+ "$ref": "#/$defs/WorkflowManifest"
565
+ },
566
+ {
567
+ "$ref": "#"
568
+ }
569
+ ]
570
+ }
571
+ }
572
+ },
573
+ "required": [
574
+ "kind",
575
+ "workflowSchemaVersion",
576
+ "id",
577
+ "root",
578
+ "agents"
579
+ ],
580
+ "additionalProperties": false
581
+ },
582
+ "WorkflowNode": {
583
+ "anyOf": [
584
+ {
585
+ "type": "object",
586
+ "properties": {
587
+ "agent": {
588
+ "type": "string",
589
+ "minLength": 1
590
+ },
591
+ "id": {
592
+ "type": "string",
593
+ "minLength": 1
594
+ }
595
+ },
596
+ "required": [
597
+ "agent"
598
+ ],
599
+ "additionalProperties": false
600
+ },
601
+ {
602
+ "type": "object",
603
+ "properties": {
604
+ "tool": {
605
+ "type": "object",
606
+ "properties": {
607
+ "name": {
608
+ "type": "string",
609
+ "minLength": 1
610
+ },
611
+ "description": {
612
+ "type": "string"
613
+ },
614
+ "inputSchema": {
615
+ "type": "object",
616
+ "propertyNames": {
617
+ "type": "string"
618
+ },
619
+ "additionalProperties": {}
620
+ },
621
+ "outputSchema": {
622
+ "type": "object",
623
+ "propertyNames": {
624
+ "type": "string"
625
+ },
626
+ "additionalProperties": {}
627
+ },
628
+ "http": {
629
+ "type": "object",
630
+ "properties": {
631
+ "url": {
632
+ "type": "string"
633
+ },
634
+ "method": {
635
+ "type": "string",
636
+ "enum": [
637
+ "POST",
638
+ "PUT",
639
+ "PATCH"
640
+ ]
641
+ },
642
+ "credential": {
643
+ "type": "string",
644
+ "minLength": 1
645
+ },
646
+ "timeoutMs": {
647
+ "type": "integer",
648
+ "exclusiveMinimum": 0,
649
+ "maximum": 300000
650
+ }
651
+ },
652
+ "required": [
653
+ "url"
654
+ ],
655
+ "additionalProperties": false
656
+ }
657
+ },
658
+ "required": [
659
+ "name"
660
+ ],
661
+ "additionalProperties": false
662
+ },
663
+ "id": {
664
+ "type": "string",
665
+ "minLength": 1
666
+ }
667
+ },
668
+ "required": [
669
+ "tool"
670
+ ],
671
+ "additionalProperties": false
672
+ },
673
+ {
674
+ "type": "object",
675
+ "properties": {
676
+ "chain": {
677
+ "minItems": 1,
678
+ "type": "array",
679
+ "items": {
680
+ "$ref": "#/$defs/WorkflowNode"
681
+ }
682
+ },
683
+ "id": {
684
+ "type": "string",
685
+ "minLength": 1
686
+ }
687
+ },
688
+ "required": [
689
+ "chain"
690
+ ],
691
+ "additionalProperties": false
692
+ },
693
+ {
694
+ "type": "object",
695
+ "properties": {
696
+ "switch": {
697
+ "type": "object",
698
+ "properties": {
699
+ "cases": {
700
+ "type": "object",
701
+ "propertyNames": {
702
+ "type": "string"
703
+ },
704
+ "additionalProperties": {
705
+ "$ref": "#/$defs/WorkflowNode"
706
+ }
707
+ },
708
+ "default": {
709
+ "$ref": "#/$defs/WorkflowNode"
710
+ }
711
+ },
712
+ "required": [
713
+ "cases"
714
+ ],
715
+ "additionalProperties": false
716
+ },
717
+ "id": {
718
+ "type": "string",
719
+ "minLength": 1
720
+ }
721
+ },
722
+ "required": [
723
+ "switch"
724
+ ],
725
+ "additionalProperties": false
726
+ },
727
+ {
728
+ "type": "object",
729
+ "properties": {
730
+ "parallel": {
731
+ "type": "object",
732
+ "propertyNames": {
733
+ "type": "string"
734
+ },
735
+ "additionalProperties": {
736
+ "$ref": "#/$defs/WorkflowNode"
737
+ }
738
+ },
739
+ "id": {
740
+ "type": "string",
741
+ "minLength": 1
742
+ }
743
+ },
744
+ "required": [
745
+ "parallel"
746
+ ],
747
+ "additionalProperties": false
748
+ },
749
+ {
750
+ "type": "object",
751
+ "properties": {
752
+ "map": {
753
+ "type": "object",
754
+ "properties": {
755
+ "each": {
756
+ "$ref": "#/$defs/WorkflowNode"
757
+ }
758
+ },
759
+ "required": [
760
+ "each"
761
+ ],
762
+ "additionalProperties": false
763
+ },
764
+ "id": {
765
+ "type": "string",
766
+ "minLength": 1
767
+ }
768
+ },
769
+ "required": [
770
+ "map"
771
+ ],
772
+ "additionalProperties": false
773
+ },
774
+ {
775
+ "type": "object",
776
+ "properties": {
777
+ "loop": {
778
+ "type": "object",
779
+ "properties": {
780
+ "run": {
781
+ "$ref": "#/$defs/WorkflowNode"
782
+ },
783
+ "verify": {
784
+ "$ref": "#/$defs/WorkflowLoopVerify"
785
+ },
786
+ "max": {
787
+ "type": "integer",
788
+ "exclusiveMinimum": 0,
789
+ "maximum": 9007199254740991
790
+ }
791
+ },
792
+ "required": [
793
+ "run",
794
+ "verify",
795
+ "max"
796
+ ],
797
+ "additionalProperties": false
798
+ },
799
+ "id": {
800
+ "type": "string",
801
+ "minLength": 1
802
+ }
803
+ },
804
+ "required": [
805
+ "loop"
806
+ ],
807
+ "additionalProperties": false
808
+ }
809
+ ]
810
+ },
811
+ "WorkflowLoopVerify": {
812
+ "type": "object",
813
+ "properties": {
814
+ "agent": {
815
+ "type": "string",
816
+ "minLength": 1
817
+ },
818
+ "http": {
819
+ "type": "object",
820
+ "properties": {
821
+ "url": {
822
+ "type": "string"
823
+ },
824
+ "method": {
825
+ "type": "string",
826
+ "enum": [
827
+ "POST",
828
+ "PUT",
829
+ "PATCH"
830
+ ]
831
+ },
832
+ "credential": {
833
+ "type": "string",
834
+ "minLength": 1
835
+ },
836
+ "timeoutMs": {
837
+ "type": "integer",
838
+ "exclusiveMinimum": 0,
839
+ "maximum": 300000
840
+ }
841
+ },
842
+ "required": [
843
+ "url"
844
+ ],
845
+ "additionalProperties": false
846
+ },
847
+ "fn": {
848
+ "description": "Reserved for a later kind of verifier; refused for now."
849
+ },
850
+ "command": {
851
+ "description": "Reserved for a later kind of verifier; refused for now."
852
+ },
853
+ "id": {
854
+ "type": "string",
855
+ "minLength": 1
856
+ }
857
+ },
858
+ "additionalProperties": false
859
+ },
860
+ "PluginLabel": {
861
+ "type": "object",
862
+ "properties": {
863
+ "name": {
864
+ "type": "string",
865
+ "minLength": 1
866
+ },
867
+ "version": {
868
+ "type": "string",
869
+ "minLength": 1
870
+ }
871
+ },
872
+ "required": [
873
+ "name"
874
+ ],
875
+ "additionalProperties": false
876
+ },
877
+ "McpToolSettings": {
878
+ "type": "object",
879
+ "properties": {
880
+ "enabled": {
881
+ "type": "boolean"
882
+ },
883
+ "approval": {
884
+ "type": "string",
885
+ "enum": [
886
+ "never",
887
+ "always"
888
+ ]
889
+ },
890
+ "deferred": {
891
+ "type": "boolean"
892
+ }
893
+ },
894
+ "additionalProperties": false
895
+ }
896
+ }
897
+ }