@nylorun/core 0.22.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/README.md +1 -1
  3. package/dist/compatibility.d.ts +120 -47
  4. package/dist/compatibility.js +122 -49
  5. package/dist/contracts.d.ts +2824 -907
  6. package/dist/contracts.js +1286 -585
  7. package/dist/define.d.ts +9 -12
  8. package/dist/define.js +8 -11
  9. package/dist/definition/assemble.d.ts +1 -3
  10. package/dist/definition/assemble.js +4 -8
  11. package/dist/definition/bound.d.ts +1 -1
  12. package/dist/definition/delegate.d.ts +5 -0
  13. package/dist/definition/delegate.js +6 -1
  14. package/dist/definition/from.d.ts +4 -2
  15. package/dist/definition/from.js +11 -29
  16. package/dist/definition/http-tool.d.ts +5 -3
  17. package/dist/definition/http-tool.js +8 -5
  18. package/dist/definition/manifest.d.ts +7 -6
  19. package/dist/definition/manifest.js +7 -6
  20. package/dist/definition/mcp.d.ts +1 -1
  21. package/dist/definition/media-reference.d.ts +2 -11
  22. package/dist/definition/media-reference.js +0 -12
  23. package/dist/definition/model-failure.js +1 -0
  24. package/dist/definition/removed.d.ts +7 -0
  25. package/dist/definition/removed.js +21 -0
  26. package/dist/definition/sections.d.ts +63 -0
  27. package/dist/definition/sections.js +204 -0
  28. package/dist/definition/trace.d.ts +0 -7
  29. package/dist/definition/trace.js +0 -34
  30. package/dist/definition/variant.d.ts +1 -1
  31. package/dist/definition/variant.js +1 -3
  32. package/dist/harness-api/artifacts.d.ts +84 -0
  33. package/dist/harness-api/artifacts.js +128 -0
  34. package/dist/harness-api/gates.d.ts +0 -4
  35. package/dist/harness-api/gates.js +0 -4
  36. package/dist/harness-api/harness-api.schema.json +2798 -1124
  37. package/dist/harness-api/index.d.ts +9 -6
  38. package/dist/harness-api/index.js +9 -6
  39. package/dist/harness-api/json-schema.js +5 -2
  40. package/dist/harness-api/mcp.d.ts +77 -30
  41. package/dist/harness-api/mcp.js +42 -25
  42. package/dist/harness-api/messages.d.ts +47 -17
  43. package/dist/harness-api/messages.js +20 -5
  44. package/dist/harness-api/schema.d.ts +609 -200
  45. package/dist/harness-api/schema.js +345 -62
  46. package/dist/harness-api/transcript.d.ts +8 -10
  47. package/dist/harness-api/transcript.js +27 -11
  48. package/dist/harness-api/transport.d.ts +7 -1
  49. package/dist/harness-api/transport.js +10 -7
  50. package/dist/manifest-schemas.d.ts +9 -5
  51. package/dist/manifest-schemas.js +23 -27
  52. package/dist/schemas/agent-manifest.schema.json +1508 -365
  53. package/dist/schemas/harness-manifest.schema.json +1273 -0
  54. package/dist/schemas/{environment-manifest.schema.json → runtime-manifest.schema.json} +165 -84
  55. package/dist/types/manifest.d.ts +72 -14
  56. package/dist/types/manifest.js +4 -0
  57. package/dist/types/model.d.ts +15 -5
  58. package/dist/utils/definition-files.d.ts +20 -6
  59. package/dist/utils/definition-files.js +31 -17
  60. package/dist/utils/file-systems.d.ts +20 -0
  61. package/dist/utils/file-systems.js +20 -0
  62. package/dist/utils/harness-id.d.ts +4 -1
  63. package/dist/utils/harness-id.js +4 -1
  64. package/dist/utils/media-types.d.ts +30 -0
  65. package/dist/utils/media-types.js +128 -0
  66. package/dist/utils/memory.d.ts +64 -0
  67. package/dist/utils/memory.js +139 -0
  68. package/dist/utils/runtime-limits.d.ts +280 -0
  69. package/dist/utils/runtime-limits.js +585 -0
  70. package/dist/utils/runtime-tools.d.ts +8 -16
  71. package/dist/utils/runtime-tools.js +8 -27
  72. package/dist/utils/sandbox.d.ts +4 -1
  73. package/dist/utils/sandbox.js +4 -1
  74. package/package.json +6 -5
  75. package/dist/definition/deferred-tools.d.ts +0 -27
  76. package/dist/definition/deferred-tools.js +0 -82
  77. package/dist/definition/runtime-manifest.d.ts +0 -30
  78. package/dist/definition/runtime-manifest.js +0 -132
  79. package/dist/definition/sandbox-tools.d.ts +0 -5
  80. package/dist/definition/sandbox-tools.js +0 -109
  81. package/dist/definition/skill-tools.d.ts +0 -23
  82. package/dist/definition/skill-tools.js +0 -76
@@ -1,24 +1,19 @@
1
1
  {
2
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",
3
+ "$id": "https://docs.nylorun.com/schemas/agent-manifest/v8.json",
4
+ "title": "Nylorun agent manifest 8",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "$schema": {
8
- "type": "string",
9
- "description": "This document's JSON Schema, for editors; clients drop it before saving"
8
+ "type": "string"
10
9
  },
11
10
  "manifestSchemaVersion": {
12
11
  "type": "number",
13
- "const": 7
14
- },
15
- "id": {
16
- "type": "string",
17
- "minLength": 1
12
+ "const": 8
18
13
  },
19
14
  "name": {
20
15
  "type": "string",
21
- "minLength": 1
16
+ "description": "An agent manifest's name, such as `triage`"
22
17
  },
23
18
  "description": {
24
19
  "type": "string"
@@ -30,301 +25,345 @@
30
25
  },
31
26
  "additionalProperties": {}
32
27
  },
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": {
28
+ "harness": {
29
+ "anyOf": [
30
+ {
31
+ "type": "string",
32
+ "minLength": 1,
33
+ "description": "A path to a harness.manifest.json file, relative to this file"
34
+ },
35
+ {
36
+ "type": "object",
37
+ "properties": {
38
+ "$schema": {
61
39
  "type": "string"
62
40
  },
63
- "additionalProperties": {}
64
- },
65
- "outputSchema": {
66
- "type": "object",
67
- "propertyNames": {
68
- "type": "string"
41
+ "id": {
42
+ "description": "The harness that runs the loop: `nylorun` (ours, the default) or a custom harness's id",
43
+ "type": "string",
44
+ "pattern": "^[a-z][a-z0-9-]{1,62}$"
69
45
  },
70
- "additionalProperties": {}
71
- },
72
- "agent": {
73
- "$ref": "#/$defs/ToolAgentManifest"
74
- },
75
- "http": {
76
- "type": "object",
77
- "properties": {
78
- "url": {
46
+ "instructions": {
47
+ "type": "array",
48
+ "items": {
79
49
  "type": "string"
80
- },
81
- "method": {
82
- "type": "string",
83
- "enum": [
84
- "GET",
85
- "POST",
86
- "PUT",
87
- "PATCH",
88
- "DELETE"
89
- ]
90
- },
91
- "credential": {
92
- "type": "string",
93
- "minLength": 1
94
- },
95
- "timeoutMs": {
96
- "type": "integer",
97
- "exclusiveMinimum": 0,
98
- "maximum": 300000
99
50
  }
100
51
  },
101
- "required": [
102
- "url"
103
- ],
104
- "additionalProperties": false
105
- },
106
- "approval": {
107
- "type": "string",
108
- "enum": [
109
- "never",
110
- "always"
111
- ]
112
- },
113
- "fn": {
114
- "description": "Reserved for a later kind of tool; refused for now."
115
- },
116
- "command": {
117
- "description": "Reserved for a later kind of tool; refused for now."
118
- }
119
- },
120
- "required": [
121
- "name",
122
- "inputSchema"
123
- ],
124
- "additionalProperties": false
125
- }
126
- },
127
- "skills": {
128
- "type": "object",
129
- "propertyNames": {
130
- "type": "string"
131
- },
132
- "additionalProperties": {
133
- "type": "object",
134
- "properties": {
135
- "name": {
136
- "type": "string",
137
- "minLength": 1
138
- },
139
- "description": {
140
- "type": "string",
141
- "minLength": 1
142
- },
143
- "files": {
144
- "type": "object",
145
- "propertyNames": {
146
- "type": "string"
52
+ "tools": {
53
+ "type": "array",
54
+ "items": {
55
+ "$ref": "#/$defs/__schema0"
56
+ }
147
57
  },
148
- "additionalProperties": {
149
- "type": "string"
150
- }
151
- },
152
- "plugin": {
153
- "$ref": "#/$defs/PluginLabel"
154
- }
155
- },
156
- "required": [
157
- "name",
158
- "description",
159
- "files"
160
- ],
161
- "additionalProperties": false
162
- }
163
- },
164
- "mcpServers": {
165
- "type": "object",
166
- "propertyNames": {
167
- "type": "string"
168
- },
169
- "additionalProperties": {
170
- "oneOf": [
171
- {
172
- "type": "object",
173
- "properties": {
174
- "name": {
175
- "type": "string",
176
- "pattern": "^[A-Za-z0-9_-]{1,64}$"
177
- },
178
- "type": {
179
- "type": "string",
180
- "const": "streamable-http"
181
- },
182
- "url": {
183
- "type": "string",
184
- "minLength": 1
185
- },
186
- "headers": {
187
- "type": "object",
188
- "propertyNames": {
189
- "type": "string"
58
+ "skills": {
59
+ "anyOf": [
60
+ {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "description": "A path to a folder of skill folders, relative to this file"
190
64
  },
191
- "additionalProperties": {
192
- "type": "string"
65
+ {
66
+ "type": "object",
67
+ "propertyNames": {
68
+ "type": "string"
69
+ },
70
+ "additionalProperties": {
71
+ "type": "object",
72
+ "properties": {
73
+ "name": {
74
+ "type": "string",
75
+ "minLength": 1
76
+ },
77
+ "description": {
78
+ "type": "string",
79
+ "minLength": 1
80
+ },
81
+ "files": {
82
+ "type": "object",
83
+ "propertyNames": {
84
+ "type": "string"
85
+ },
86
+ "additionalProperties": {
87
+ "type": "string"
88
+ }
89
+ },
90
+ "plugin": {
91
+ "$ref": "#/$defs/PluginLabel"
92
+ },
93
+ "secrets": {
94
+ "type": "array",
95
+ "items": {
96
+ "type": "string",
97
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
98
+ }
99
+ }
100
+ },
101
+ "required": [
102
+ "name",
103
+ "description",
104
+ "files"
105
+ ],
106
+ "additionalProperties": false
107
+ }
193
108
  }
194
- },
195
- "approval": {
196
- "type": "string",
197
- "enum": [
198
- "never",
199
- "always"
200
- ]
201
- },
202
- "deferred": {
203
- "type": "boolean"
204
- },
205
- "tools": {
206
- "type": "object",
207
- "propertyNames": {
109
+ ]
110
+ },
111
+ "mcpServers": {
112
+ "anyOf": [
113
+ {
208
114
  "type": "string",
209
- "minLength": 1
115
+ "minLength": 1,
116
+ "description": "A path to an mcp.json file, relative to this file"
210
117
  },
211
- "additionalProperties": {
212
- "$ref": "#/$defs/McpToolSettings"
118
+ {
119
+ "type": "object",
120
+ "propertyNames": {
121
+ "type": "string"
122
+ },
123
+ "additionalProperties": {
124
+ "oneOf": [
125
+ {
126
+ "type": "object",
127
+ "properties": {
128
+ "type": {
129
+ "type": "string",
130
+ "const": "streamable-http"
131
+ },
132
+ "name": {
133
+ "type": "string",
134
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
135
+ },
136
+ "url": {
137
+ "type": "string",
138
+ "minLength": 1
139
+ },
140
+ "headers": {
141
+ "type": "object",
142
+ "propertyNames": {
143
+ "type": "string"
144
+ },
145
+ "additionalProperties": {
146
+ "type": "string"
147
+ }
148
+ },
149
+ "credential": {
150
+ "type": "string",
151
+ "minLength": 1
152
+ },
153
+ "deferred": {
154
+ "type": "boolean"
155
+ },
156
+ "tools": {
157
+ "type": "object",
158
+ "propertyNames": {
159
+ "type": "string",
160
+ "minLength": 1
161
+ },
162
+ "additionalProperties": {
163
+ "$ref": "#/$defs/McpToolSettings"
164
+ }
165
+ },
166
+ "plugin": {
167
+ "$ref": "#/$defs/PluginLabel"
168
+ }
169
+ },
170
+ "required": [
171
+ "type",
172
+ "name",
173
+ "url"
174
+ ],
175
+ "additionalProperties": false
176
+ },
177
+ {
178
+ "type": "object",
179
+ "properties": {
180
+ "type": {
181
+ "type": "string",
182
+ "const": "sse"
183
+ },
184
+ "name": {
185
+ "type": "string",
186
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
187
+ },
188
+ "url": {
189
+ "type": "string",
190
+ "minLength": 1
191
+ },
192
+ "headers": {
193
+ "type": "object",
194
+ "propertyNames": {
195
+ "type": "string"
196
+ },
197
+ "additionalProperties": {
198
+ "type": "string"
199
+ }
200
+ },
201
+ "credential": {
202
+ "type": "string",
203
+ "minLength": 1
204
+ },
205
+ "deferred": {
206
+ "type": "boolean"
207
+ },
208
+ "tools": {
209
+ "type": "object",
210
+ "propertyNames": {
211
+ "type": "string",
212
+ "minLength": 1
213
+ },
214
+ "additionalProperties": {
215
+ "$ref": "#/$defs/McpToolSettings"
216
+ }
217
+ },
218
+ "plugin": {
219
+ "$ref": "#/$defs/PluginLabel"
220
+ }
221
+ },
222
+ "required": [
223
+ "type",
224
+ "name",
225
+ "url"
226
+ ],
227
+ "additionalProperties": false
228
+ }
229
+ ]
230
+ }
213
231
  }
214
- },
215
- "plugin": {
216
- "$ref": "#/$defs/PluginLabel"
232
+ ]
233
+ },
234
+ "plugins": {
235
+ "type": "array",
236
+ "items": {
237
+ "anyOf": [
238
+ {
239
+ "type": "string",
240
+ "minLength": 1,
241
+ "description": "A path to an Agent Plugin folder, relative to this file"
242
+ },
243
+ {
244
+ "$ref": "#/$defs/PluginLabel"
245
+ }
246
+ ]
217
247
  }
218
248
  },
219
- "required": [
220
- "name",
221
- "type",
222
- "url"
223
- ],
224
- "additionalProperties": false
225
- },
226
- {
227
- "type": "object",
228
- "properties": {
229
- "name": {
230
- "type": "string",
231
- "pattern": "^[A-Za-z0-9_-]{1,64}$"
232
- },
233
- "type": {
234
- "type": "string",
235
- "const": "sse"
249
+ "outputSchema": {
250
+ "type": "object",
251
+ "propertyNames": {
252
+ "type": "string"
236
253
  },
237
- "url": {
238
- "type": "string",
239
- "minLength": 1
254
+ "additionalProperties": {}
255
+ },
256
+ "loop": {
257
+ "description": "The harness's own settings, passed to it in turn.start; the Runtime never reads them",
258
+ "type": "object",
259
+ "propertyNames": {
260
+ "type": "string"
240
261
  },
241
- "headers": {
242
- "type": "object",
243
- "propertyNames": {
244
- "type": "string"
262
+ "additionalProperties": {}
263
+ },
264
+ "memory": {
265
+ "description": "The Agent's memory: Markdown files under /memories it keeps across sessions (D72)",
266
+ "type": "object",
267
+ "properties": {
268
+ "access": {
269
+ "description": "`read_write` (the default) or `read_only`",
270
+ "type": "string",
271
+ "enum": [
272
+ "read_write",
273
+ "read_only"
274
+ ]
245
275
  },
246
- "additionalProperties": {
247
- "type": "string"
276
+ "instructions": {
277
+ "description": "What this agent should remember, after the engine's own memory rules",
278
+ "type": "string",
279
+ "maxLength": 4096
248
280
  }
249
281
  },
250
- "approval": {
282
+ "additionalProperties": false
283
+ },
284
+ "credentials": {
285
+ "type": "object",
286
+ "propertyNames": {
251
287
  "type": "string",
252
- "enum": [
253
- "never",
254
- "always"
255
- ]
256
- },
257
- "deferred": {
258
- "type": "boolean"
288
+ "minLength": 1
259
289
  },
260
- "tools": {
261
- "type": "object",
262
- "propertyNames": {
290
+ "additionalProperties": {
291
+ "type": "string",
292
+ "minLength": 1
293
+ }
294
+ },
295
+ "requires": {
296
+ "type": "object",
297
+ "properties": {
298
+ "sandbox": {
263
299
  "type": "string",
264
- "minLength": 1
300
+ "enum": [
301
+ "none",
302
+ "any",
303
+ "pod"
304
+ ]
265
305
  },
266
- "additionalProperties": {
267
- "$ref": "#/$defs/McpToolSettings"
306
+ "secrets": {
307
+ "type": "array",
308
+ "items": {
309
+ "type": "string",
310
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
311
+ }
268
312
  }
269
313
  },
270
- "plugin": {
271
- "$ref": "#/$defs/PluginLabel"
272
- }
273
- },
274
- "required": [
275
- "name",
276
- "type",
277
- "url"
278
- ],
279
- "additionalProperties": false
280
- }
281
- ]
282
- }
283
- },
284
- "requires": {
285
- "type": "object",
286
- "properties": {
287
- "sandbox": {
288
- "type": "string",
289
- "enum": [
290
- "none",
291
- "any",
292
- "pod"
293
- ]
314
+ "additionalProperties": false
315
+ }
316
+ },
317
+ "additionalProperties": false
294
318
  },
295
- "secrets": {
296
- "maxItems": 64,
297
- "type": "array",
298
- "items": {
299
- "type": "string",
300
- "pattern": "^[A-Za-z_][A-Za-z0-9_]{0,127}$"
301
- }
319
+ {
320
+ "$ref": "#/$defs/WorkflowHarnessSection"
302
321
  }
303
- },
304
- "additionalProperties": false
322
+ ]
305
323
  },
306
324
  "runtime": {
307
- "type": "object",
308
- "properties": {
309
- "sandbox": {
325
+ "anyOf": [
326
+ {
327
+ "type": "string",
328
+ "minLength": 1,
329
+ "description": "A path to a runtime.manifest.json file, relative to this file"
330
+ },
331
+ {
310
332
  "type": "object",
311
333
  "properties": {
334
+ "kind": {
335
+ "type": "string",
336
+ "enum": [
337
+ "virtual",
338
+ "pod",
339
+ "none"
340
+ ]
341
+ },
312
342
  "image": {
313
343
  "type": "string",
314
344
  "minLength": 1
315
345
  },
316
- "network": {
346
+ "resources": {
317
347
  "type": "object",
318
348
  "properties": {
319
- "preset": {
320
- "type": "string",
321
- "enum": [
322
- "none",
323
- "dev",
324
- "open"
325
- ]
349
+ "cpus": {
350
+ "type": "integer",
351
+ "minimum": 1,
352
+ "maximum": 9007199254740991
326
353
  },
327
- "allow": {
354
+ "memory": {
355
+ "type": "string"
356
+ }
357
+ },
358
+ "additionalProperties": false
359
+ },
360
+ "storage": {
361
+ "type": "string"
362
+ },
363
+ "network": {
364
+ "type": "object",
365
+ "properties": {
366
+ "allowedHosts": {
328
367
  "type": "array",
329
368
  "items": {
330
369
  "type": "string"
@@ -333,133 +372,673 @@
333
372
  },
334
373
  "additionalProperties": false
335
374
  },
336
- "resources": {
375
+ "lifecycle": {
337
376
  "type": "object",
338
377
  "properties": {
339
- "cpus": {
340
- "type": "integer",
341
- "minimum": 1,
342
- "maximum": 64
378
+ "idle": {
379
+ "type": "string"
343
380
  },
344
- "memory": {
381
+ "deleteAfter": {
345
382
  "type": "string"
346
383
  }
347
384
  },
348
385
  "additionalProperties": false
349
386
  },
350
- "idle": {
387
+ "setup": {
388
+ "type": "array",
389
+ "items": {
390
+ "type": "object",
391
+ "properties": {
392
+ "command": {
393
+ "type": "string",
394
+ "minLength": 1
395
+ },
396
+ "cwd": {
397
+ "type": "string",
398
+ "minLength": 1,
399
+ "maxLength": 1024
400
+ },
401
+ "timeout": {
402
+ "type": "string"
403
+ }
404
+ },
405
+ "required": [
406
+ "command"
407
+ ],
408
+ "additionalProperties": false
409
+ }
410
+ },
411
+ "files": {
412
+ "type": "array",
413
+ "items": {
414
+ "anyOf": [
415
+ {
416
+ "anyOf": [
417
+ {
418
+ "type": "object",
419
+ "properties": {
420
+ "artifactId": {
421
+ "type": "string"
422
+ },
423
+ "version": {
424
+ "type": "integer",
425
+ "exclusiveMinimum": 0,
426
+ "maximum": 9007199254740991
427
+ },
428
+ "path": {
429
+ "type": "string",
430
+ "minLength": 1,
431
+ "maxLength": 1024
432
+ }
433
+ },
434
+ "required": [
435
+ "artifactId",
436
+ "version",
437
+ "path"
438
+ ],
439
+ "additionalProperties": false
440
+ },
441
+ {
442
+ "type": "object",
443
+ "properties": {
444
+ "path": {
445
+ "type": "string",
446
+ "minLength": 1,
447
+ "maxLength": 1024
448
+ },
449
+ "files": {
450
+ "type": "object",
451
+ "propertyNames": {
452
+ "type": "string",
453
+ "minLength": 1,
454
+ "maxLength": 1024
455
+ },
456
+ "additionalProperties": {
457
+ "type": "string"
458
+ }
459
+ }
460
+ },
461
+ "required": [
462
+ "path",
463
+ "files"
464
+ ],
465
+ "additionalProperties": false
466
+ }
467
+ ]
468
+ },
469
+ {
470
+ "type": "object",
471
+ "properties": {
472
+ "path": {
473
+ "type": "string",
474
+ "minLength": 1
475
+ },
476
+ "from": {
477
+ "type": "string",
478
+ "minLength": 1
479
+ }
480
+ },
481
+ "required": [
482
+ "path",
483
+ "from"
484
+ ],
485
+ "additionalProperties": false
486
+ }
487
+ ]
488
+ }
489
+ },
490
+ "limits": {
491
+ "type": "object",
492
+ "properties": {
493
+ "artifacts": {
494
+ "type": "object",
495
+ "properties": {
496
+ "fileBytes": {
497
+ "type": "integer",
498
+ "exclusiveMinimum": 0,
499
+ "maximum": 9007199254740991
500
+ },
501
+ "totalBytes": {
502
+ "type": "integer",
503
+ "exclusiveMinimum": 0,
504
+ "maximum": 9007199254740991
505
+ }
506
+ },
507
+ "additionalProperties": false
508
+ },
509
+ "skills": {
510
+ "type": "object",
511
+ "properties": {
512
+ "totalBytes": {
513
+ "type": "integer",
514
+ "exclusiveMinimum": 0,
515
+ "maximum": 9007199254740991
516
+ }
517
+ },
518
+ "additionalProperties": false
519
+ },
520
+ "disk": {
521
+ "type": "object",
522
+ "properties": {
523
+ "versionBytes": {
524
+ "type": "integer",
525
+ "exclusiveMinimum": 0,
526
+ "maximum": 9007199254740991
527
+ },
528
+ "versionEntries": {
529
+ "type": "integer",
530
+ "exclusiveMinimum": 0,
531
+ "maximum": 9007199254740991
532
+ }
533
+ },
534
+ "additionalProperties": false
535
+ }
536
+ },
537
+ "additionalProperties": false
538
+ },
539
+ "secrets": {
540
+ "type": "object",
541
+ "propertyNames": {
542
+ "type": "string"
543
+ },
544
+ "additionalProperties": {
545
+ "oneOf": [
546
+ {
547
+ "type": "object",
548
+ "properties": {
549
+ "type": {
550
+ "type": "string",
551
+ "const": "environment_secret"
552
+ },
553
+ "allowedHosts": {
554
+ "minItems": 1,
555
+ "type": "array",
556
+ "items": {
557
+ "type": "string"
558
+ }
559
+ },
560
+ "inject": {
561
+ "type": "object",
562
+ "properties": {
563
+ "header": {
564
+ "type": "string",
565
+ "pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$"
566
+ },
567
+ "format": {
568
+ "type": "string",
569
+ "minLength": 1
570
+ }
571
+ },
572
+ "required": [
573
+ "header",
574
+ "format"
575
+ ],
576
+ "additionalProperties": false
577
+ },
578
+ "required": {
579
+ "type": "boolean"
580
+ },
581
+ "description": {
582
+ "type": "string"
583
+ }
584
+ },
585
+ "required": [
586
+ "type",
587
+ "allowedHosts"
588
+ ],
589
+ "additionalProperties": false
590
+ },
591
+ {
592
+ "type": "object",
593
+ "properties": {
594
+ "type": {
595
+ "type": "string",
596
+ "const": "environment_variable"
597
+ },
598
+ "required": {
599
+ "type": "boolean"
600
+ },
601
+ "description": {
602
+ "type": "string"
603
+ }
604
+ },
605
+ "required": [
606
+ "type"
607
+ ],
608
+ "additionalProperties": false
609
+ },
610
+ {
611
+ "type": "object",
612
+ "properties": {
613
+ "type": {
614
+ "type": "string",
615
+ "const": "bearer"
616
+ },
617
+ "url": {
618
+ "type": "string",
619
+ "minLength": 1
620
+ },
621
+ "via": {
622
+ "type": "string"
623
+ },
624
+ "identity": {
625
+ "type": "object",
626
+ "properties": {
627
+ "header": {
628
+ "type": "string",
629
+ "pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$"
630
+ }
631
+ },
632
+ "required": [
633
+ "header"
634
+ ],
635
+ "additionalProperties": false
636
+ },
637
+ "required": {
638
+ "type": "boolean"
639
+ },
640
+ "description": {
641
+ "type": "string"
642
+ }
643
+ },
644
+ "required": [
645
+ "type",
646
+ "url"
647
+ ],
648
+ "additionalProperties": false
649
+ },
650
+ {
651
+ "type": "object",
652
+ "properties": {
653
+ "type": {
654
+ "type": "string",
655
+ "const": "headers"
656
+ },
657
+ "url": {
658
+ "type": "string",
659
+ "minLength": 1
660
+ },
661
+ "via": {
662
+ "type": "string"
663
+ },
664
+ "identity": {
665
+ "type": "object",
666
+ "properties": {
667
+ "header": {
668
+ "type": "string",
669
+ "pattern": "^[!#$%&'*+.^_`|~0-9A-Za-z-]+$"
670
+ }
671
+ },
672
+ "required": [
673
+ "header"
674
+ ],
675
+ "additionalProperties": false
676
+ },
677
+ "required": {
678
+ "type": "boolean"
679
+ },
680
+ "description": {
681
+ "type": "string"
682
+ }
683
+ },
684
+ "required": [
685
+ "type",
686
+ "url"
687
+ ],
688
+ "additionalProperties": false
689
+ }
690
+ ]
691
+ }
692
+ },
693
+ "triggers": {
694
+ "description": "What starts the Agent's turns with no client connected, by trigger id (D74)",
695
+ "type": "object",
696
+ "propertyNames": {
697
+ "type": "string",
698
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
699
+ "description": "A trigger's id, such as `hourly-check`"
700
+ },
701
+ "additionalProperties": {
702
+ "$ref": "#/$defs/Trigger"
703
+ }
704
+ },
705
+ "selfWake": {
706
+ "description": "Offer the agent schedule_wake: it books its session's next turn itself (D77)",
707
+ "type": "boolean"
708
+ },
709
+ "$schema": {
351
710
  "type": "string"
352
711
  }
353
712
  },
713
+ "required": [
714
+ "kind"
715
+ ],
354
716
  "additionalProperties": false
717
+ }
718
+ ]
719
+ }
720
+ },
721
+ "required": [
722
+ "manifestSchemaVersion",
723
+ "name",
724
+ "harness"
725
+ ],
726
+ "additionalProperties": false,
727
+ "$defs": {
728
+ "__schema0": {
729
+ "type": "object",
730
+ "properties": {
731
+ "name": {
732
+ "type": "string",
733
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
355
734
  },
356
- "tools": {
357
- "type": "array",
358
- "items": {
359
- "type": "object",
360
- "properties": {
361
- "name": {
362
- "type": "string",
363
- "pattern": "^[A-Za-z0-9_-]{1,64}$"
364
- },
365
- "description": {
735
+ "description": {
736
+ "type": "string"
737
+ },
738
+ "inputSchema": {
739
+ "type": "object",
740
+ "propertyNames": {
741
+ "type": "string"
742
+ },
743
+ "additionalProperties": {}
744
+ },
745
+ "outputSchema": {
746
+ "type": "object",
747
+ "propertyNames": {
748
+ "type": "string"
749
+ },
750
+ "additionalProperties": {}
751
+ },
752
+ "agent": {
753
+ "$ref": "#/$defs/ToolAgentManifest"
754
+ },
755
+ "http": {
756
+ "type": "object",
757
+ "properties": {
758
+ "url": {
759
+ "type": "string"
760
+ },
761
+ "method": {
762
+ "type": "string",
763
+ "enum": [
764
+ "GET",
765
+ "POST",
766
+ "PUT",
767
+ "PATCH",
768
+ "DELETE"
769
+ ]
770
+ },
771
+ "credential": {
772
+ "type": "string",
773
+ "minLength": 1
774
+ },
775
+ "timeoutMs": {
776
+ "type": "integer",
777
+ "exclusiveMinimum": 0,
778
+ "maximum": 2147483647
779
+ }
780
+ },
781
+ "required": [
782
+ "url"
783
+ ],
784
+ "additionalProperties": false
785
+ },
786
+ "approval": {
787
+ "type": "string",
788
+ "enum": [
789
+ "never",
790
+ "always"
791
+ ]
792
+ },
793
+ "fn": {
794
+ "description": "Reserved for a later kind of tool; refused for now."
795
+ },
796
+ "command": {
797
+ "description": "Reserved for a later kind of tool; refused for now."
798
+ }
799
+ },
800
+ "required": [
801
+ "name",
802
+ "inputSchema"
803
+ ],
804
+ "additionalProperties": false
805
+ },
806
+ "ToolAgentManifest": {
807
+ "anyOf": [
808
+ {
809
+ "$ref": "#/$defs/WorkflowManifest"
810
+ },
811
+ {
812
+ "type": "object",
813
+ "properties": {
814
+ "manifestSchemaVersion": {
815
+ "type": "number",
816
+ "const": 7
817
+ },
818
+ "id": {
819
+ "type": "string",
820
+ "minLength": 1
821
+ },
822
+ "name": {
823
+ "type": "string",
824
+ "minLength": 1
825
+ },
826
+ "description": {
827
+ "type": "string"
828
+ },
829
+ "metadata": {
830
+ "type": "object",
831
+ "propertyNames": {
366
832
  "type": "string"
367
833
  },
368
- "inputSchema": {
369
- "type": "object",
370
- "propertyNames": {
371
- "type": "string"
372
- },
373
- "additionalProperties": {}
374
- },
375
- "outputSchema": {
376
- "type": "object",
377
- "propertyNames": {
378
- "type": "string"
379
- },
380
- "additionalProperties": {}
834
+ "additionalProperties": {}
835
+ },
836
+ "outputSchema": {
837
+ "type": "object",
838
+ "propertyNames": {
839
+ "type": "string"
381
840
  },
382
- "agent": {
383
- "$ref": "#/$defs/ToolAgentManifest"
841
+ "additionalProperties": {}
842
+ },
843
+ "instructions": {
844
+ "type": "array",
845
+ "items": {
846
+ "type": "string"
847
+ }
848
+ },
849
+ "tools": {
850
+ "type": "array",
851
+ "items": {
852
+ "$ref": "#/$defs/__schema0"
853
+ }
854
+ },
855
+ "skills": {
856
+ "type": "object",
857
+ "propertyNames": {
858
+ "type": "string"
384
859
  },
385
- "http": {
860
+ "additionalProperties": {
386
861
  "type": "object",
387
862
  "properties": {
388
- "url": {
389
- "type": "string"
390
- },
391
- "method": {
863
+ "name": {
392
864
  "type": "string",
393
- "enum": [
394
- "GET",
395
- "POST",
396
- "PUT",
397
- "PATCH",
398
- "DELETE"
399
- ]
865
+ "minLength": 1
400
866
  },
401
- "credential": {
867
+ "description": {
402
868
  "type": "string",
403
869
  "minLength": 1
404
870
  },
405
- "timeoutMs": {
406
- "type": "integer",
407
- "exclusiveMinimum": 0,
408
- "maximum": 300000
871
+ "files": {
872
+ "type": "object",
873
+ "propertyNames": {
874
+ "type": "string"
875
+ },
876
+ "additionalProperties": {
877
+ "type": "string"
878
+ }
879
+ },
880
+ "plugin": {
881
+ "$ref": "#/$defs/PluginLabel"
409
882
  }
410
883
  },
411
884
  "required": [
412
- "url"
885
+ "name",
886
+ "description",
887
+ "files"
413
888
  ],
414
889
  "additionalProperties": false
890
+ }
891
+ },
892
+ "mcpServers": {
893
+ "type": "object",
894
+ "propertyNames": {
895
+ "type": "string"
415
896
  },
416
- "approval": {
417
- "type": "string",
418
- "enum": [
419
- "never",
420
- "always"
897
+ "additionalProperties": {
898
+ "oneOf": [
899
+ {
900
+ "type": "object",
901
+ "properties": {
902
+ "name": {
903
+ "type": "string",
904
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
905
+ },
906
+ "type": {
907
+ "type": "string",
908
+ "const": "streamable-http"
909
+ },
910
+ "url": {
911
+ "type": "string",
912
+ "minLength": 1
913
+ },
914
+ "headers": {
915
+ "type": "object",
916
+ "propertyNames": {
917
+ "type": "string"
918
+ },
919
+ "additionalProperties": {
920
+ "type": "string"
921
+ }
922
+ },
923
+ "approval": {
924
+ "type": "string",
925
+ "enum": [
926
+ "never",
927
+ "always"
928
+ ]
929
+ },
930
+ "deferred": {
931
+ "type": "boolean"
932
+ },
933
+ "tools": {
934
+ "type": "object",
935
+ "propertyNames": {
936
+ "type": "string",
937
+ "minLength": 1
938
+ },
939
+ "additionalProperties": {
940
+ "$ref": "#/$defs/McpToolSettings"
941
+ }
942
+ },
943
+ "plugin": {
944
+ "$ref": "#/$defs/PluginLabel"
945
+ }
946
+ },
947
+ "required": [
948
+ "name",
949
+ "type",
950
+ "url"
951
+ ],
952
+ "additionalProperties": false
953
+ },
954
+ {
955
+ "type": "object",
956
+ "properties": {
957
+ "name": {
958
+ "type": "string",
959
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
960
+ },
961
+ "type": {
962
+ "type": "string",
963
+ "const": "sse"
964
+ },
965
+ "url": {
966
+ "type": "string",
967
+ "minLength": 1
968
+ },
969
+ "headers": {
970
+ "type": "object",
971
+ "propertyNames": {
972
+ "type": "string"
973
+ },
974
+ "additionalProperties": {
975
+ "type": "string"
976
+ }
977
+ },
978
+ "approval": {
979
+ "type": "string",
980
+ "enum": [
981
+ "never",
982
+ "always"
983
+ ]
984
+ },
985
+ "deferred": {
986
+ "type": "boolean"
987
+ },
988
+ "tools": {
989
+ "type": "object",
990
+ "propertyNames": {
991
+ "type": "string",
992
+ "minLength": 1
993
+ },
994
+ "additionalProperties": {
995
+ "$ref": "#/$defs/McpToolSettings"
996
+ }
997
+ },
998
+ "plugin": {
999
+ "$ref": "#/$defs/PluginLabel"
1000
+ }
1001
+ },
1002
+ "required": [
1003
+ "name",
1004
+ "type",
1005
+ "url"
1006
+ ],
1007
+ "additionalProperties": false
1008
+ }
421
1009
  ]
422
- },
423
- "fn": {
424
- "description": "Reserved for a later kind of tool; refused for now."
425
- },
426
- "command": {
427
- "description": "Reserved for a later kind of tool; refused for now."
428
1010
  }
429
1011
  },
430
- "required": [
431
- "name",
432
- "inputSchema"
433
- ],
434
- "additionalProperties": false
435
- }
436
- },
437
- "instructions": {
438
- "type": "array",
439
- "items": {
440
- "type": "string"
441
- }
442
- }
443
- },
444
- "additionalProperties": false
445
- },
446
- "functions": {
447
- "description": "Reserved: Functions are not available yet"
448
- }
449
- },
450
- "required": [
451
- "manifestSchemaVersion",
452
- "id"
453
- ],
454
- "additionalProperties": false,
455
- "$defs": {
456
- "ToolAgentManifest": {
457
- "anyOf": [
458
- {
459
- "$ref": "#/$defs/WorkflowManifest"
460
- },
461
- {
462
- "$ref": "#"
1012
+ "requires": {
1013
+ "type": "object",
1014
+ "properties": {
1015
+ "sandbox": {
1016
+ "type": "string",
1017
+ "enum": [
1018
+ "none",
1019
+ "any",
1020
+ "pod"
1021
+ ]
1022
+ },
1023
+ "secrets": {
1024
+ "type": "array",
1025
+ "items": {
1026
+ "type": "string",
1027
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1028
+ }
1029
+ }
1030
+ },
1031
+ "additionalProperties": false
1032
+ },
1033
+ "functions": {
1034
+ "description": "Reserved: Functions are not available yet"
1035
+ }
1036
+ },
1037
+ "required": [
1038
+ "manifestSchemaVersion",
1039
+ "id"
1040
+ ],
1041
+ "additionalProperties": false
463
1042
  }
464
1043
  ]
465
1044
  },
@@ -539,7 +1118,7 @@
539
1118
  "cpus": {
540
1119
  "type": "integer",
541
1120
  "minimum": 1,
542
- "maximum": 64
1121
+ "maximum": 9007199254740991
543
1122
  },
544
1123
  "memory": {
545
1124
  "type": "string"
@@ -568,7 +1147,236 @@
568
1147
  "$ref": "#/$defs/WorkflowManifest"
569
1148
  },
570
1149
  {
571
- "$ref": "#"
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "manifestSchemaVersion": {
1153
+ "type": "number",
1154
+ "const": 7
1155
+ },
1156
+ "id": {
1157
+ "type": "string",
1158
+ "minLength": 1
1159
+ },
1160
+ "name": {
1161
+ "type": "string",
1162
+ "minLength": 1
1163
+ },
1164
+ "description": {
1165
+ "type": "string"
1166
+ },
1167
+ "metadata": {
1168
+ "type": "object",
1169
+ "propertyNames": {
1170
+ "type": "string"
1171
+ },
1172
+ "additionalProperties": {}
1173
+ },
1174
+ "outputSchema": {
1175
+ "type": "object",
1176
+ "propertyNames": {
1177
+ "type": "string"
1178
+ },
1179
+ "additionalProperties": {}
1180
+ },
1181
+ "instructions": {
1182
+ "type": "array",
1183
+ "items": {
1184
+ "type": "string"
1185
+ }
1186
+ },
1187
+ "tools": {
1188
+ "type": "array",
1189
+ "items": {
1190
+ "$ref": "#/$defs/__schema0"
1191
+ }
1192
+ },
1193
+ "skills": {
1194
+ "type": "object",
1195
+ "propertyNames": {
1196
+ "type": "string"
1197
+ },
1198
+ "additionalProperties": {
1199
+ "type": "object",
1200
+ "properties": {
1201
+ "name": {
1202
+ "type": "string",
1203
+ "minLength": 1
1204
+ },
1205
+ "description": {
1206
+ "type": "string",
1207
+ "minLength": 1
1208
+ },
1209
+ "files": {
1210
+ "type": "object",
1211
+ "propertyNames": {
1212
+ "type": "string"
1213
+ },
1214
+ "additionalProperties": {
1215
+ "type": "string"
1216
+ }
1217
+ },
1218
+ "plugin": {
1219
+ "$ref": "#/$defs/PluginLabel"
1220
+ }
1221
+ },
1222
+ "required": [
1223
+ "name",
1224
+ "description",
1225
+ "files"
1226
+ ],
1227
+ "additionalProperties": false
1228
+ }
1229
+ },
1230
+ "mcpServers": {
1231
+ "type": "object",
1232
+ "propertyNames": {
1233
+ "type": "string"
1234
+ },
1235
+ "additionalProperties": {
1236
+ "oneOf": [
1237
+ {
1238
+ "type": "object",
1239
+ "properties": {
1240
+ "name": {
1241
+ "type": "string",
1242
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
1243
+ },
1244
+ "type": {
1245
+ "type": "string",
1246
+ "const": "streamable-http"
1247
+ },
1248
+ "url": {
1249
+ "type": "string",
1250
+ "minLength": 1
1251
+ },
1252
+ "headers": {
1253
+ "type": "object",
1254
+ "propertyNames": {
1255
+ "type": "string"
1256
+ },
1257
+ "additionalProperties": {
1258
+ "type": "string"
1259
+ }
1260
+ },
1261
+ "approval": {
1262
+ "type": "string",
1263
+ "enum": [
1264
+ "never",
1265
+ "always"
1266
+ ]
1267
+ },
1268
+ "deferred": {
1269
+ "type": "boolean"
1270
+ },
1271
+ "tools": {
1272
+ "type": "object",
1273
+ "propertyNames": {
1274
+ "type": "string",
1275
+ "minLength": 1
1276
+ },
1277
+ "additionalProperties": {
1278
+ "$ref": "#/$defs/McpToolSettings"
1279
+ }
1280
+ },
1281
+ "plugin": {
1282
+ "$ref": "#/$defs/PluginLabel"
1283
+ }
1284
+ },
1285
+ "required": [
1286
+ "name",
1287
+ "type",
1288
+ "url"
1289
+ ],
1290
+ "additionalProperties": false
1291
+ },
1292
+ {
1293
+ "type": "object",
1294
+ "properties": {
1295
+ "name": {
1296
+ "type": "string",
1297
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
1298
+ },
1299
+ "type": {
1300
+ "type": "string",
1301
+ "const": "sse"
1302
+ },
1303
+ "url": {
1304
+ "type": "string",
1305
+ "minLength": 1
1306
+ },
1307
+ "headers": {
1308
+ "type": "object",
1309
+ "propertyNames": {
1310
+ "type": "string"
1311
+ },
1312
+ "additionalProperties": {
1313
+ "type": "string"
1314
+ }
1315
+ },
1316
+ "approval": {
1317
+ "type": "string",
1318
+ "enum": [
1319
+ "never",
1320
+ "always"
1321
+ ]
1322
+ },
1323
+ "deferred": {
1324
+ "type": "boolean"
1325
+ },
1326
+ "tools": {
1327
+ "type": "object",
1328
+ "propertyNames": {
1329
+ "type": "string",
1330
+ "minLength": 1
1331
+ },
1332
+ "additionalProperties": {
1333
+ "$ref": "#/$defs/McpToolSettings"
1334
+ }
1335
+ },
1336
+ "plugin": {
1337
+ "$ref": "#/$defs/PluginLabel"
1338
+ }
1339
+ },
1340
+ "required": [
1341
+ "name",
1342
+ "type",
1343
+ "url"
1344
+ ],
1345
+ "additionalProperties": false
1346
+ }
1347
+ ]
1348
+ }
1349
+ },
1350
+ "requires": {
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "sandbox": {
1354
+ "type": "string",
1355
+ "enum": [
1356
+ "none",
1357
+ "any",
1358
+ "pod"
1359
+ ]
1360
+ },
1361
+ "secrets": {
1362
+ "type": "array",
1363
+ "items": {
1364
+ "type": "string",
1365
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1366
+ }
1367
+ }
1368
+ },
1369
+ "additionalProperties": false
1370
+ },
1371
+ "functions": {
1372
+ "description": "Reserved: Functions are not available yet"
1373
+ }
1374
+ },
1375
+ "required": [
1376
+ "manifestSchemaVersion",
1377
+ "id"
1378
+ ],
1379
+ "additionalProperties": false
572
1380
  }
573
1381
  ]
574
1382
  }
@@ -652,7 +1460,7 @@
652
1460
  "timeoutMs": {
653
1461
  "type": "integer",
654
1462
  "exclusiveMinimum": 0,
655
- "maximum": 300000
1463
+ "maximum": 2147483647
656
1464
  }
657
1465
  },
658
1466
  "required": [
@@ -844,7 +1652,7 @@
844
1652
  "timeoutMs": {
845
1653
  "type": "integer",
846
1654
  "exclusiveMinimum": 0,
847
- "maximum": 300000
1655
+ "maximum": 2147483647
848
1656
  }
849
1657
  },
850
1658
  "required": [
@@ -900,6 +1708,341 @@
900
1708
  }
901
1709
  },
902
1710
  "additionalProperties": false
1711
+ },
1712
+ "WorkflowHarnessSection": {
1713
+ "type": "object",
1714
+ "properties": {
1715
+ "kind": {
1716
+ "type": "string",
1717
+ "const": "workflow"
1718
+ },
1719
+ "id": {
1720
+ "description": "The harness that runs the loop: `nylorun` (ours, the default) or a custom harness's id",
1721
+ "type": "string",
1722
+ "pattern": "^[a-z][a-z0-9-]{1,62}$"
1723
+ },
1724
+ "inputSchema": {
1725
+ "type": "object",
1726
+ "propertyNames": {
1727
+ "type": "string"
1728
+ },
1729
+ "additionalProperties": {}
1730
+ },
1731
+ "outputSchema": {
1732
+ "type": "object",
1733
+ "propertyNames": {
1734
+ "type": "string"
1735
+ },
1736
+ "additionalProperties": {}
1737
+ },
1738
+ "root": {
1739
+ "$ref": "#/$defs/WorkflowNode"
1740
+ },
1741
+ "agents": {
1742
+ "type": "object",
1743
+ "propertyNames": {
1744
+ "type": "string",
1745
+ "minLength": 1
1746
+ },
1747
+ "additionalProperties": {
1748
+ "anyOf": [
1749
+ {
1750
+ "$ref": "#/$defs/WorkflowManifest"
1751
+ },
1752
+ {
1753
+ "type": "object",
1754
+ "properties": {
1755
+ "manifestSchemaVersion": {
1756
+ "type": "number",
1757
+ "const": 7
1758
+ },
1759
+ "id": {
1760
+ "type": "string",
1761
+ "minLength": 1
1762
+ },
1763
+ "name": {
1764
+ "type": "string",
1765
+ "minLength": 1
1766
+ },
1767
+ "description": {
1768
+ "type": "string"
1769
+ },
1770
+ "metadata": {
1771
+ "type": "object",
1772
+ "propertyNames": {
1773
+ "type": "string"
1774
+ },
1775
+ "additionalProperties": {}
1776
+ },
1777
+ "outputSchema": {
1778
+ "type": "object",
1779
+ "propertyNames": {
1780
+ "type": "string"
1781
+ },
1782
+ "additionalProperties": {}
1783
+ },
1784
+ "instructions": {
1785
+ "type": "array",
1786
+ "items": {
1787
+ "type": "string"
1788
+ }
1789
+ },
1790
+ "tools": {
1791
+ "type": "array",
1792
+ "items": {
1793
+ "$ref": "#/$defs/__schema0"
1794
+ }
1795
+ },
1796
+ "skills": {
1797
+ "type": "object",
1798
+ "propertyNames": {
1799
+ "type": "string"
1800
+ },
1801
+ "additionalProperties": {
1802
+ "type": "object",
1803
+ "properties": {
1804
+ "name": {
1805
+ "type": "string",
1806
+ "minLength": 1
1807
+ },
1808
+ "description": {
1809
+ "type": "string",
1810
+ "minLength": 1
1811
+ },
1812
+ "files": {
1813
+ "type": "object",
1814
+ "propertyNames": {
1815
+ "type": "string"
1816
+ },
1817
+ "additionalProperties": {
1818
+ "type": "string"
1819
+ }
1820
+ },
1821
+ "plugin": {
1822
+ "$ref": "#/$defs/PluginLabel"
1823
+ }
1824
+ },
1825
+ "required": [
1826
+ "name",
1827
+ "description",
1828
+ "files"
1829
+ ],
1830
+ "additionalProperties": false
1831
+ }
1832
+ },
1833
+ "mcpServers": {
1834
+ "type": "object",
1835
+ "propertyNames": {
1836
+ "type": "string"
1837
+ },
1838
+ "additionalProperties": {
1839
+ "oneOf": [
1840
+ {
1841
+ "type": "object",
1842
+ "properties": {
1843
+ "name": {
1844
+ "type": "string",
1845
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
1846
+ },
1847
+ "type": {
1848
+ "type": "string",
1849
+ "const": "streamable-http"
1850
+ },
1851
+ "url": {
1852
+ "type": "string",
1853
+ "minLength": 1
1854
+ },
1855
+ "headers": {
1856
+ "type": "object",
1857
+ "propertyNames": {
1858
+ "type": "string"
1859
+ },
1860
+ "additionalProperties": {
1861
+ "type": "string"
1862
+ }
1863
+ },
1864
+ "approval": {
1865
+ "type": "string",
1866
+ "enum": [
1867
+ "never",
1868
+ "always"
1869
+ ]
1870
+ },
1871
+ "deferred": {
1872
+ "type": "boolean"
1873
+ },
1874
+ "tools": {
1875
+ "type": "object",
1876
+ "propertyNames": {
1877
+ "type": "string",
1878
+ "minLength": 1
1879
+ },
1880
+ "additionalProperties": {
1881
+ "$ref": "#/$defs/McpToolSettings"
1882
+ }
1883
+ },
1884
+ "plugin": {
1885
+ "$ref": "#/$defs/PluginLabel"
1886
+ }
1887
+ },
1888
+ "required": [
1889
+ "name",
1890
+ "type",
1891
+ "url"
1892
+ ],
1893
+ "additionalProperties": false
1894
+ },
1895
+ {
1896
+ "type": "object",
1897
+ "properties": {
1898
+ "name": {
1899
+ "type": "string",
1900
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
1901
+ },
1902
+ "type": {
1903
+ "type": "string",
1904
+ "const": "sse"
1905
+ },
1906
+ "url": {
1907
+ "type": "string",
1908
+ "minLength": 1
1909
+ },
1910
+ "headers": {
1911
+ "type": "object",
1912
+ "propertyNames": {
1913
+ "type": "string"
1914
+ },
1915
+ "additionalProperties": {
1916
+ "type": "string"
1917
+ }
1918
+ },
1919
+ "approval": {
1920
+ "type": "string",
1921
+ "enum": [
1922
+ "never",
1923
+ "always"
1924
+ ]
1925
+ },
1926
+ "deferred": {
1927
+ "type": "boolean"
1928
+ },
1929
+ "tools": {
1930
+ "type": "object",
1931
+ "propertyNames": {
1932
+ "type": "string",
1933
+ "minLength": 1
1934
+ },
1935
+ "additionalProperties": {
1936
+ "$ref": "#/$defs/McpToolSettings"
1937
+ }
1938
+ },
1939
+ "plugin": {
1940
+ "$ref": "#/$defs/PluginLabel"
1941
+ }
1942
+ },
1943
+ "required": [
1944
+ "name",
1945
+ "type",
1946
+ "url"
1947
+ ],
1948
+ "additionalProperties": false
1949
+ }
1950
+ ]
1951
+ }
1952
+ },
1953
+ "requires": {
1954
+ "type": "object",
1955
+ "properties": {
1956
+ "sandbox": {
1957
+ "type": "string",
1958
+ "enum": [
1959
+ "none",
1960
+ "any",
1961
+ "pod"
1962
+ ]
1963
+ },
1964
+ "secrets": {
1965
+ "type": "array",
1966
+ "items": {
1967
+ "type": "string",
1968
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
1969
+ }
1970
+ }
1971
+ },
1972
+ "additionalProperties": false
1973
+ },
1974
+ "functions": {
1975
+ "description": "Reserved: Functions are not available yet"
1976
+ }
1977
+ },
1978
+ "required": [
1979
+ "manifestSchemaVersion",
1980
+ "id"
1981
+ ],
1982
+ "additionalProperties": false
1983
+ }
1984
+ ]
1985
+ }
1986
+ },
1987
+ "plugins": {
1988
+ "type": "array",
1989
+ "items": {
1990
+ "$ref": "#/$defs/PluginLabel"
1991
+ }
1992
+ },
1993
+ "loop": {
1994
+ "description": "The harness's own settings, passed to it in turn.start; the Runtime never reads them",
1995
+ "type": "object",
1996
+ "propertyNames": {
1997
+ "type": "string"
1998
+ },
1999
+ "additionalProperties": {}
2000
+ }
2001
+ },
2002
+ "required": [
2003
+ "kind",
2004
+ "root",
2005
+ "agents"
2006
+ ],
2007
+ "additionalProperties": false
2008
+ },
2009
+ "Trigger": {
2010
+ "type": "object",
2011
+ "properties": {
2012
+ "schedule": {
2013
+ "type": "string",
2014
+ "pattern": "^\\S+(\\s+\\S+){4}$"
2015
+ },
2016
+ "timezone": {
2017
+ "type": "string",
2018
+ "minLength": 1
2019
+ },
2020
+ "at": {
2021
+ "type": "string",
2022
+ "format": "date-time",
2023
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
2024
+ },
2025
+ "webhook": {
2026
+ "type": "string",
2027
+ "enum": [
2028
+ "standard-webhooks"
2029
+ ]
2030
+ },
2031
+ "session": {
2032
+ "type": "string",
2033
+ "minLength": 1,
2034
+ "maxLength": 200
2035
+ },
2036
+ "prompt": {
2037
+ "type": "string",
2038
+ "minLength": 1
2039
+ }
2040
+ },
2041
+ "required": [
2042
+ "session",
2043
+ "prompt"
2044
+ ],
2045
+ "additionalProperties": false
903
2046
  }
904
2047
  }
905
2048
  }