@agent-vm/agent-portal-sdk 0.0.150 → 0.0.152

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 (101) hide show
  1. package/contract-fixtures/portable-contracts/catalog/catalog-manifest.fixture.json +28 -0
  2. package/contract-fixtures/portable-contracts/catalog/catalog-offer-request.fixture.json +16 -0
  3. package/contract-fixtures/portable-contracts/catalog/catalog-offer-result.fixture.json +12 -0
  4. package/contract-fixtures/portable-contracts/catalog/catalog-prepare-request.fixture.json +12 -0
  5. package/contract-fixtures/portable-contracts/catalog/catalog-prepare-result.fixture.json +12 -0
  6. package/contract-fixtures/portable-contracts/catalog/catalog-read-request.fixture.json +22 -0
  7. package/contract-fixtures/portable-contracts/catalog/catalog-read-result.fixture.json +12 -0
  8. package/contract-fixtures/portable-contracts/catalog/catalog-release-request.fixture.json +18 -0
  9. package/contract-fixtures/portable-contracts/catalog/catalog-release-result.fixture.json +12 -0
  10. package/dist/adapter-boundary/index.d.ts +1 -1
  11. package/dist/approval-surface/index.d.ts +1 -1
  12. package/dist/approval-surface/index.js +1 -1
  13. package/dist/{approval-surface-CfbAG-81.js → approval-surface-BsE8CS3l.js} +3 -3
  14. package/dist/{approval-surface-CfbAG-81.js.map → approval-surface-BsE8CS3l.js.map} +1 -1
  15. package/dist/artifact-surface/index.d.ts +1 -1
  16. package/dist/capability-description-surface/index.d.ts +1 -1
  17. package/dist/capability-description-surface/index.js +1 -1
  18. package/dist/cli/tool-portal.js +13 -5
  19. package/dist/cli/tool-portal.js.map +1 -1
  20. package/dist/contracts/index.d.ts +2 -2
  21. package/dist/contracts/index.js +2 -2
  22. package/dist/{contracts-K6l783Yb.js → contracts-DlvJ0mo0.js} +87 -5
  23. package/dist/contracts-DlvJ0mo0.js.map +1 -0
  24. package/dist/gateway-runtime-client/index.d.ts +5 -5
  25. package/dist/gateway-runtime-client/index.js +6 -6
  26. package/dist/gateway-runtime-local-exec/gateway-runtime-local-exec-helper.js +1 -1
  27. package/dist/gateway-runtime-local-exec/index.js +1 -1
  28. package/dist/{gateway-runtime-local-exec-transport-CO2bQ3wz.js → gateway-runtime-local-exec-transport-CV4xijjZ.js} +2 -2
  29. package/dist/{gateway-runtime-local-exec-transport-CO2bQ3wz.js.map → gateway-runtime-local-exec-transport-CV4xijjZ.js.map} +1 -1
  30. package/dist/generated-tools/index.d.ts +53 -0
  31. package/dist/generated-tools/index.d.ts.map +1 -0
  32. package/dist/generated-tools/index.js +56 -0
  33. package/dist/generated-tools/index.js.map +1 -0
  34. package/dist/{index-BdK9cTP_.d.ts → index-BArHO3EQ.d.ts} +3 -3
  35. package/dist/{index-BdK9cTP_.d.ts.map → index-BArHO3EQ.d.ts.map} +1 -1
  36. package/dist/{index-E3B9TETl.d.ts → index-BU_dNZIt.d.ts} +1 -1
  37. package/dist/{index-E3B9TETl.d.ts.map → index-BU_dNZIt.d.ts.map} +1 -1
  38. package/dist/{index-D_69tlLY.d.ts → index-BiZZR4uU.d.ts} +1 -1
  39. package/dist/{index-D_69tlLY.d.ts.map → index-BiZZR4uU.d.ts.map} +1 -1
  40. package/dist/{index-DDLN0DE_.d.ts → index-C8Wl2up5.d.ts} +2 -2
  41. package/dist/{index-DDLN0DE_.d.ts.map → index-C8Wl2up5.d.ts.map} +1 -1
  42. package/dist/{index-ksJ4wmQG.d.ts → index-CPKrnpa6.d.ts} +180 -2
  43. package/dist/index-CPKrnpa6.d.ts.map +1 -0
  44. package/dist/{index-DZJH4Rau.d.ts → index-Cwtjtz8S.d.ts} +11 -11
  45. package/dist/{index-DZJH4Rau.d.ts.map → index-Cwtjtz8S.d.ts.map} +1 -1
  46. package/dist/{index-DwxCTubj.d.ts → index-D6WrkwXg.d.ts} +1 -1
  47. package/dist/{index-DwxCTubj.d.ts.map → index-D6WrkwXg.d.ts.map} +1 -1
  48. package/dist/{index-CLHNSgWL.d.ts → index-DFOVxirw.d.ts} +6 -6
  49. package/dist/{index-CLHNSgWL.d.ts.map → index-DFOVxirw.d.ts.map} +1 -1
  50. package/dist/{index-ByBEiqZp.d.ts → index-DO3Rrknf.d.ts} +2 -2
  51. package/dist/{index-ByBEiqZp.d.ts.map → index-DO3Rrknf.d.ts.map} +1 -1
  52. package/dist/{index-B5Yuf_ir.d.ts → index-DfnyhwPE.d.ts} +4 -4
  53. package/dist/{index-B5Yuf_ir.d.ts.map → index-DfnyhwPE.d.ts.map} +1 -1
  54. package/dist/index.d.ts +19 -12
  55. package/dist/index.d.ts.map +1 -0
  56. package/dist/index.js +27 -11
  57. package/dist/index.js.map +1 -0
  58. package/dist/{json-value-schema-CwDmttWU.d.ts → json-value-schema-CBPcpqFG.d.ts} +1 -1
  59. package/dist/{json-value-schema-CwDmttWU.d.ts.map → json-value-schema-CBPcpqFG.d.ts.map} +1 -1
  60. package/dist/local-transport-75M3QuSr.js +383 -0
  61. package/dist/local-transport-75M3QuSr.js.map +1 -0
  62. package/dist/local-transport-LampGTSy.js +2 -0
  63. package/dist/portable-contracts/index.d.ts +1 -1
  64. package/dist/portable-contracts/index.js +1 -1
  65. package/dist/{portable-contracts-D7axGgu1.js → portable-contracts-j7lwJkzK.js} +43 -7
  66. package/dist/portable-contracts-j7lwJkzK.js.map +1 -0
  67. package/dist/{portal-call-request-schema-B1dbBjmW.js → portal-call-request-schema-8wgpdxjI.js} +2 -2
  68. package/dist/{portal-call-request-schema-B1dbBjmW.js.map → portal-call-request-schema-8wgpdxjI.js.map} +1 -1
  69. package/dist/{portal-call-result-schema-BEPp8X4z.d.ts → portal-call-result-schema-DvW6QIxq.d.ts} +78 -78
  70. package/dist/{portal-call-result-schema-BEPp8X4z.d.ts.map → portal-call-result-schema-DvW6QIxq.d.ts.map} +1 -1
  71. package/dist/{portal-call-result-schema-DVJ6FyTz.js → portal-call-result-schema-bjzGidd5.js} +3 -3
  72. package/dist/{portal-call-result-schema-DVJ6FyTz.js.map → portal-call-result-schema-bjzGidd5.js.map} +1 -1
  73. package/dist/portal-call-surface/index.d.ts +2 -2
  74. package/dist/portal-call-surface/index.js +4 -4
  75. package/dist/{portal-call-surface-BPVX-rjw.js → portal-call-surface-CG609sIB.js} +5 -5
  76. package/dist/{portal-call-surface-BPVX-rjw.js.map → portal-call-surface-CG609sIB.js.map} +1 -1
  77. package/dist/portal-error-schema-Ft5ydM8F.js +25 -0
  78. package/dist/portal-error-schema-Ft5ydM8F.js.map +1 -0
  79. package/dist/portal-event-surface/index.d.ts +1 -1
  80. package/dist/portal-event-surface/index.js +2 -2
  81. package/dist/{portal-event-surface-Z76kra2a.js → portal-event-surface-AGsuU_aJ.js} +3 -3
  82. package/dist/{portal-event-surface-Z76kra2a.js.map → portal-event-surface-AGsuU_aJ.js.map} +1 -1
  83. package/dist/safe-diagnostic-schema-CpcrwZlp.js +51 -0
  84. package/dist/safe-diagnostic-schema-CpcrwZlp.js.map +1 -0
  85. package/dist/testing/index.d.ts +2 -2
  86. package/dist/testing/index.js +2 -2
  87. package/dist/tool-portal-mcp-client/index.d.ts +1 -1
  88. package/dist/tool-portal-mcp-client/index.js +1 -1
  89. package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +1 -1
  90. package/dist/{tool-portal-mcp-client-DSDLoZ5e.js → tool-portal-mcp-client-CKnzM8W5.js} +4 -4
  91. package/dist/{tool-portal-mcp-client-DSDLoZ5e.js.map → tool-portal-mcp-client-CKnzM8W5.js.map} +1 -1
  92. package/package.json +6 -2
  93. package/portable-contract-schema-manifest.json +607 -0
  94. package/dist/contracts-K6l783Yb.js.map +0 -1
  95. package/dist/index-ksJ4wmQG.d.ts.map +0 -1
  96. package/dist/portable-contracts-D7axGgu1.js.map +0 -1
  97. package/dist/portal-error-schema-TSNrpQSy.js +0 -52
  98. package/dist/portal-error-schema-TSNrpQSy.js.map +0 -1
  99. package/dist/request-id-schema-DQ84TX-D.js +0 -23
  100. package/dist/request-id-schema-DQ84TX-D.js.map +0 -1
  101. /package/dist/{capability-description-surface-DKZLjpG4.js → capability-description-surface-BFRN8Ohb.js} +0 -0
@@ -23,6 +23,590 @@
23
23
  "sandbox.path.work-relative"
24
24
  ],
25
25
  "schemas": {
26
+ "portal.catalog.manifest": {
27
+ "jsonSchema": {
28
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
29
+ "type": "object",
30
+ "properties": {
31
+ "bundleByteLength": {
32
+ "type": "integer",
33
+ "exclusiveMinimum": 0,
34
+ "maximum": 16777216
35
+ },
36
+ "bundleSha256": {
37
+ "type": "string",
38
+ "pattern": "^sha256:[0-9a-f]{64}$"
39
+ },
40
+ "definitionFingerprint": {
41
+ "type": "string",
42
+ "pattern": "^[a-f0-9]{64}$"
43
+ },
44
+ "files": {
45
+ "readOnly": true,
46
+ "maxItems": 256,
47
+ "type": "array",
48
+ "items": {
49
+ "type": "object",
50
+ "properties": {
51
+ "byteLength": {
52
+ "type": "integer",
53
+ "minimum": 0,
54
+ "maximum": 1048576
55
+ },
56
+ "namespace": {
57
+ "type": "string",
58
+ "minLength": 1,
59
+ "maxLength": 256
60
+ },
61
+ "path": {
62
+ "type": "string",
63
+ "maxLength": 1024
64
+ },
65
+ "sha256": {
66
+ "type": "string",
67
+ "pattern": "^[a-f0-9]{64}$"
68
+ }
69
+ },
70
+ "required": ["byteLength", "namespace", "path", "sha256"],
71
+ "additionalProperties": false
72
+ }
73
+ },
74
+ "generatorVersion": {
75
+ "type": "string",
76
+ "minLength": 1,
77
+ "maxLength": 256
78
+ },
79
+ "namespaces": {
80
+ "readOnly": true,
81
+ "maxItems": 256,
82
+ "type": "array",
83
+ "items": {
84
+ "type": "object",
85
+ "properties": {
86
+ "exportedFactoryName": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 256
90
+ },
91
+ "modulePath": {
92
+ "type": "string",
93
+ "maxLength": 1024
94
+ },
95
+ "namespace": {
96
+ "type": "string",
97
+ "minLength": 1,
98
+ "maxLength": 256
99
+ }
100
+ },
101
+ "required": ["exportedFactoryName", "modulePath", "namespace"],
102
+ "additionalProperties": false
103
+ }
104
+ },
105
+ "sdkContractVersion": {
106
+ "type": "string",
107
+ "minLength": 1,
108
+ "maxLength": 256
109
+ }
110
+ },
111
+ "required": [
112
+ "bundleByteLength",
113
+ "bundleSha256",
114
+ "definitionFingerprint",
115
+ "files",
116
+ "generatorVersion",
117
+ "namespaces",
118
+ "sdkContractVersion"
119
+ ],
120
+ "additionalProperties": false
121
+ },
122
+ "refinementIdentities": ["sandbox.path.work-relative"]
123
+ },
124
+ "portal.catalog.offer-request": {
125
+ "jsonSchema": {
126
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
127
+ "type": "object",
128
+ "properties": {
129
+ "definitionFingerprint": {
130
+ "type": "string",
131
+ "pattern": "^[a-f0-9]{64}$"
132
+ }
133
+ },
134
+ "required": ["definitionFingerprint"],
135
+ "additionalProperties": false
136
+ },
137
+ "refinementIdentities": []
138
+ },
139
+ "portal.catalog.offer-result": {
140
+ "jsonSchema": {
141
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
142
+ "oneOf": [
143
+ {
144
+ "type": "object",
145
+ "properties": {
146
+ "kind": {
147
+ "type": "string",
148
+ "const": "offered"
149
+ },
150
+ "manifest": {
151
+ "type": "object",
152
+ "properties": {
153
+ "bundleByteLength": {
154
+ "type": "integer",
155
+ "exclusiveMinimum": 0,
156
+ "maximum": 16777216
157
+ },
158
+ "bundleSha256": {
159
+ "type": "string",
160
+ "pattern": "^sha256:[0-9a-f]{64}$"
161
+ },
162
+ "definitionFingerprint": {
163
+ "type": "string",
164
+ "pattern": "^[a-f0-9]{64}$"
165
+ },
166
+ "files": {
167
+ "readOnly": true,
168
+ "maxItems": 256,
169
+ "type": "array",
170
+ "items": {
171
+ "type": "object",
172
+ "properties": {
173
+ "byteLength": {
174
+ "type": "integer",
175
+ "minimum": 0,
176
+ "maximum": 1048576
177
+ },
178
+ "namespace": {
179
+ "type": "string",
180
+ "minLength": 1,
181
+ "maxLength": 256
182
+ },
183
+ "path": {
184
+ "type": "string",
185
+ "maxLength": 1024
186
+ },
187
+ "sha256": {
188
+ "type": "string",
189
+ "pattern": "^[a-f0-9]{64}$"
190
+ }
191
+ },
192
+ "required": ["byteLength", "namespace", "path", "sha256"],
193
+ "additionalProperties": false
194
+ }
195
+ },
196
+ "generatorVersion": {
197
+ "type": "string",
198
+ "minLength": 1,
199
+ "maxLength": 256
200
+ },
201
+ "namespaces": {
202
+ "readOnly": true,
203
+ "maxItems": 256,
204
+ "type": "array",
205
+ "items": {
206
+ "type": "object",
207
+ "properties": {
208
+ "exportedFactoryName": {
209
+ "type": "string",
210
+ "minLength": 1,
211
+ "maxLength": 256
212
+ },
213
+ "modulePath": {
214
+ "type": "string",
215
+ "maxLength": 1024
216
+ },
217
+ "namespace": {
218
+ "type": "string",
219
+ "minLength": 1,
220
+ "maxLength": 256
221
+ }
222
+ },
223
+ "required": ["exportedFactoryName", "modulePath", "namespace"],
224
+ "additionalProperties": false
225
+ }
226
+ },
227
+ "sdkContractVersion": {
228
+ "type": "string",
229
+ "minLength": 1,
230
+ "maxLength": 256
231
+ }
232
+ },
233
+ "required": [
234
+ "bundleByteLength",
235
+ "bundleSha256",
236
+ "definitionFingerprint",
237
+ "files",
238
+ "generatorVersion",
239
+ "namespaces",
240
+ "sdkContractVersion"
241
+ ],
242
+ "additionalProperties": false
243
+ },
244
+ "offerId": {
245
+ "type": "string",
246
+ "minLength": 1,
247
+ "maxLength": 256
248
+ }
249
+ },
250
+ "required": ["kind", "manifest", "offerId"],
251
+ "additionalProperties": false
252
+ },
253
+ {
254
+ "type": "object",
255
+ "properties": {
256
+ "kind": {
257
+ "type": "string",
258
+ "const": "unavailable"
259
+ },
260
+ "reason": {
261
+ "type": "string",
262
+ "const": "catalog-source-unavailable"
263
+ }
264
+ },
265
+ "required": ["kind", "reason"],
266
+ "additionalProperties": false
267
+ }
268
+ ]
269
+ },
270
+ "refinementIdentities": ["sandbox.path.work-relative"]
271
+ },
272
+ "portal.catalog.prepare-request": {
273
+ "jsonSchema": {
274
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
275
+ "type": "object",
276
+ "properties": {},
277
+ "additionalProperties": false
278
+ },
279
+ "refinementIdentities": []
280
+ },
281
+ "portal.catalog.prepare-result": {
282
+ "jsonSchema": {
283
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
284
+ "oneOf": [
285
+ {
286
+ "type": "object",
287
+ "properties": {
288
+ "cacheDisposition": {
289
+ "type": "string",
290
+ "enum": ["prepared", "reused"]
291
+ },
292
+ "kind": {
293
+ "type": "string",
294
+ "const": "complete"
295
+ },
296
+ "manifest": {
297
+ "type": "object",
298
+ "properties": {
299
+ "bundleByteLength": {
300
+ "type": "integer",
301
+ "exclusiveMinimum": 0,
302
+ "maximum": 16777216
303
+ },
304
+ "bundleSha256": {
305
+ "type": "string",
306
+ "pattern": "^sha256:[0-9a-f]{64}$"
307
+ },
308
+ "definitionFingerprint": {
309
+ "type": "string",
310
+ "pattern": "^[a-f0-9]{64}$"
311
+ },
312
+ "files": {
313
+ "readOnly": true,
314
+ "maxItems": 256,
315
+ "type": "array",
316
+ "items": {
317
+ "type": "object",
318
+ "properties": {
319
+ "byteLength": {
320
+ "type": "integer",
321
+ "minimum": 0,
322
+ "maximum": 1048576
323
+ },
324
+ "namespace": {
325
+ "type": "string",
326
+ "minLength": 1,
327
+ "maxLength": 256
328
+ },
329
+ "path": {
330
+ "type": "string",
331
+ "maxLength": 1024
332
+ },
333
+ "sha256": {
334
+ "type": "string",
335
+ "pattern": "^[a-f0-9]{64}$"
336
+ }
337
+ },
338
+ "required": ["byteLength", "namespace", "path", "sha256"],
339
+ "additionalProperties": false
340
+ }
341
+ },
342
+ "generatorVersion": {
343
+ "type": "string",
344
+ "minLength": 1,
345
+ "maxLength": 256
346
+ },
347
+ "namespaces": {
348
+ "readOnly": true,
349
+ "maxItems": 256,
350
+ "type": "array",
351
+ "items": {
352
+ "type": "object",
353
+ "properties": {
354
+ "exportedFactoryName": {
355
+ "type": "string",
356
+ "minLength": 1,
357
+ "maxLength": 256
358
+ },
359
+ "modulePath": {
360
+ "type": "string",
361
+ "maxLength": 1024
362
+ },
363
+ "namespace": {
364
+ "type": "string",
365
+ "minLength": 1,
366
+ "maxLength": 256
367
+ }
368
+ },
369
+ "required": ["exportedFactoryName", "modulePath", "namespace"],
370
+ "additionalProperties": false
371
+ }
372
+ },
373
+ "sdkContractVersion": {
374
+ "type": "string",
375
+ "minLength": 1,
376
+ "maxLength": 256
377
+ }
378
+ },
379
+ "required": [
380
+ "bundleByteLength",
381
+ "bundleSha256",
382
+ "definitionFingerprint",
383
+ "files",
384
+ "generatorVersion",
385
+ "namespaces",
386
+ "sdkContractVersion"
387
+ ],
388
+ "additionalProperties": false
389
+ }
390
+ },
391
+ "required": ["cacheDisposition", "kind", "manifest"],
392
+ "additionalProperties": false
393
+ },
394
+ {
395
+ "type": "object",
396
+ "properties": {
397
+ "diagnostics": {
398
+ "readOnly": true,
399
+ "maxItems": 64,
400
+ "type": "array",
401
+ "items": {
402
+ "type": "object",
403
+ "properties": {
404
+ "code": {
405
+ "type": "string",
406
+ "enum": [
407
+ "provider_unavailable",
408
+ "capability_denied",
409
+ "approval_required",
410
+ "validation_failed",
411
+ "execution_failed",
412
+ "output_truncated",
413
+ "timeout",
414
+ "cancelled",
415
+ "artifact_unavailable"
416
+ ]
417
+ },
418
+ "level": {
419
+ "type": "string",
420
+ "enum": ["debug", "info", "warn", "error"]
421
+ },
422
+ "safeMessage": {
423
+ "type": "string",
424
+ "maxLength": 500
425
+ },
426
+ "safeParams": {
427
+ "type": "object",
428
+ "propertyNames": {
429
+ "type": "string"
430
+ },
431
+ "additionalProperties": {
432
+ "anyOf": [
433
+ {
434
+ "type": "string"
435
+ },
436
+ {
437
+ "type": "number"
438
+ },
439
+ {
440
+ "type": "boolean"
441
+ }
442
+ ]
443
+ }
444
+ }
445
+ },
446
+ "required": ["code", "level", "safeMessage"],
447
+ "additionalProperties": false
448
+ }
449
+ },
450
+ "kind": {
451
+ "type": "string",
452
+ "const": "incomplete"
453
+ },
454
+ "reason": {
455
+ "type": "string",
456
+ "enum": [
457
+ "catalog-capacity-exhausted",
458
+ "catalog-incomplete",
459
+ "catalog-preparation-failed"
460
+ ]
461
+ },
462
+ "retainedDefinitionFingerprint": {
463
+ "type": "string",
464
+ "pattern": "^[a-f0-9]{64}$"
465
+ }
466
+ },
467
+ "required": ["diagnostics", "kind", "reason"],
468
+ "additionalProperties": false
469
+ }
470
+ ]
471
+ },
472
+ "refinementIdentities": ["sandbox.path.work-relative"]
473
+ },
474
+ "portal.catalog.read-request": {
475
+ "jsonSchema": {
476
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
477
+ "type": "object",
478
+ "properties": {
479
+ "definitionFingerprint": {
480
+ "type": "string",
481
+ "pattern": "^[a-f0-9]{64}$"
482
+ },
483
+ "length": {
484
+ "type": "integer",
485
+ "exclusiveMinimum": 0,
486
+ "maximum": 65536
487
+ },
488
+ "offerId": {
489
+ "type": "string",
490
+ "minLength": 1,
491
+ "maxLength": 256
492
+ },
493
+ "offset": {
494
+ "type": "integer",
495
+ "minimum": 0,
496
+ "maximum": 16777216
497
+ }
498
+ },
499
+ "required": ["definitionFingerprint", "length", "offerId", "offset"],
500
+ "additionalProperties": false
501
+ },
502
+ "refinementIdentities": []
503
+ },
504
+ "portal.catalog.read-result": {
505
+ "jsonSchema": {
506
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
507
+ "oneOf": [
508
+ {
509
+ "type": "object",
510
+ "properties": {
511
+ "byteLength": {
512
+ "type": "integer",
513
+ "minimum": 0,
514
+ "maximum": 65536
515
+ },
516
+ "contentBase64": {
517
+ "type": "string",
518
+ "maxLength": 87384,
519
+ "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$"
520
+ },
521
+ "eof": {
522
+ "type": "boolean"
523
+ },
524
+ "kind": {
525
+ "type": "string",
526
+ "const": "content"
527
+ },
528
+ "totalLength": {
529
+ "type": "integer",
530
+ "exclusiveMinimum": 0,
531
+ "maximum": 16777216
532
+ }
533
+ },
534
+ "required": ["byteLength", "contentBase64", "eof", "kind", "totalLength"],
535
+ "additionalProperties": false
536
+ },
537
+ {
538
+ "type": "object",
539
+ "properties": {
540
+ "kind": {
541
+ "type": "string",
542
+ "const": "unavailable"
543
+ },
544
+ "reason": {
545
+ "type": "string",
546
+ "const": "catalog-source-unavailable"
547
+ }
548
+ },
549
+ "required": ["kind", "reason"],
550
+ "additionalProperties": false
551
+ }
552
+ ]
553
+ },
554
+ "refinementIdentities": []
555
+ },
556
+ "portal.catalog.release-request": {
557
+ "jsonSchema": {
558
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
559
+ "type": "object",
560
+ "properties": {
561
+ "definitionFingerprint": {
562
+ "type": "string",
563
+ "pattern": "^[a-f0-9]{64}$"
564
+ },
565
+ "offerId": {
566
+ "type": "string",
567
+ "minLength": 1,
568
+ "maxLength": 256
569
+ }
570
+ },
571
+ "required": ["definitionFingerprint", "offerId"],
572
+ "additionalProperties": false
573
+ },
574
+ "refinementIdentities": []
575
+ },
576
+ "portal.catalog.release-result": {
577
+ "jsonSchema": {
578
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
579
+ "oneOf": [
580
+ {
581
+ "type": "object",
582
+ "properties": {
583
+ "kind": {
584
+ "type": "string",
585
+ "const": "released"
586
+ }
587
+ },
588
+ "required": ["kind"],
589
+ "additionalProperties": false
590
+ },
591
+ {
592
+ "type": "object",
593
+ "properties": {
594
+ "kind": {
595
+ "type": "string",
596
+ "const": "unavailable"
597
+ },
598
+ "reason": {
599
+ "type": "string",
600
+ "const": "catalog-source-unavailable"
601
+ }
602
+ },
603
+ "required": ["kind", "reason"],
604
+ "additionalProperties": false
605
+ }
606
+ ]
607
+ },
608
+ "refinementIdentities": []
609
+ },
26
610
  "portal.artifact.read-request": {
27
611
  "jsonSchema": {
28
612
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -5401,6 +5985,10 @@
5401
5985
  "minLength": 1,
5402
5986
  "maxLength": 256
5403
5987
  },
5988
+ "toolPortalCatalogMode": {
5989
+ "type": "string",
5990
+ "enum": ["compact", "catalog"]
5991
+ },
5404
5992
  "toolPortalNamespaces": {
5405
5993
  "readOnly": true,
5406
5994
  "type": "array",
@@ -5468,6 +6056,11 @@
5468
6056
  "type": "string",
5469
6057
  "minLength": 1,
5470
6058
  "maxLength": 256
6059
+ },
6060
+ "turnId": {
6061
+ "type": "string",
6062
+ "minLength": 1,
6063
+ "maxLength": 256
5471
6064
  }
5472
6065
  },
5473
6066
  "additionalProperties": false
@@ -8666,6 +9259,10 @@
8666
9259
  "additionalProperties": false
8667
9260
  }
8668
9261
  },
9262
+ "ioProfile": {
9263
+ "type": "string",
9264
+ "enum": ["standard", "portal-relay"]
9265
+ },
8669
9266
  "maxRuntimeMs": {
8670
9267
  "type": "integer",
8671
9268
  "exclusiveMinimum": 0,
@@ -9506,6 +10103,11 @@
9506
10103
  },
9507
10104
  "required": ["handleId", "kind", "owningGeneration", "channel"],
9508
10105
  "additionalProperties": false
10106
+ },
10107
+ "waitMs": {
10108
+ "type": "integer",
10109
+ "minimum": 0,
10110
+ "maximum": 3600000
9509
10111
  }
9510
10112
  },
9511
10113
  "required": ["maxBytes", "stream"],
@@ -9592,6 +10194,11 @@
9592
10194
  "$schema": "https://json-schema.org/draft/2020-12/schema",
9593
10195
  "type": "object",
9594
10196
  "properties": {
10197
+ "acknowledgedThrough": {
10198
+ "type": "integer",
10199
+ "minimum": -1,
10200
+ "maximum": 9007199254740991
10201
+ },
9595
10202
  "content": {
9596
10203
  "type": "object",
9597
10204
  "properties": {