@agen-ai/agent-protocol 0.2.4 → 0.3.0

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 (90) hide show
  1. package/README.md +57 -13
  2. package/dist/accountQuota/index.d.ts +3 -0
  3. package/dist/accountQuota/index.js +2 -0
  4. package/dist/accountQuota/parsers.d.ts +7 -0
  5. package/dist/accountQuota/parsers.js +20 -0
  6. package/dist/accountQuota/types.d.ts +89 -0
  7. package/dist/accountQuota/types.js +12 -0
  8. package/dist/capabilities/contentReferenceText.d.ts +13 -0
  9. package/dist/capabilities/contentReferenceText.js +25 -0
  10. package/dist/capabilities/index.d.ts +1 -0
  11. package/dist/capabilities/index.js +1 -0
  12. package/dist/capabilities/types.d.ts +19 -1
  13. package/dist/capabilities/types.js +6 -0
  14. package/dist/commands/index.d.ts +3 -0
  15. package/dist/commands/index.js +2 -0
  16. package/dist/commands/parsers.d.ts +7 -0
  17. package/dist/commands/parsers.js +23 -0
  18. package/dist/commands/types.d.ts +26 -0
  19. package/dist/commands/types.js +10 -0
  20. package/dist/effectiveContent/index.d.ts +3 -0
  21. package/dist/effectiveContent/index.js +2 -0
  22. package/dist/effectiveContent/parsers.d.ts +7 -0
  23. package/dist/effectiveContent/parsers.js +23 -0
  24. package/dist/effectiveContent/types.d.ts +35 -0
  25. package/dist/effectiveContent/types.js +19 -0
  26. package/dist/environment/facts.d.ts +28 -0
  27. package/dist/environment/facts.js +39 -0
  28. package/dist/environment/index.d.ts +4 -0
  29. package/dist/environment/index.js +3 -0
  30. package/dist/environment/parsers.d.ts +17 -0
  31. package/dist/environment/parsers.js +68 -0
  32. package/dist/environment/types.d.ts +61 -0
  33. package/dist/environment/types.js +26 -0
  34. package/dist/events/types.d.ts +1 -1
  35. package/dist/extensions/index.d.ts +3 -0
  36. package/dist/extensions/index.js +2 -0
  37. package/dist/extensions/parsers.d.ts +7 -0
  38. package/dist/extensions/parsers.js +23 -0
  39. package/dist/extensions/types.d.ts +73 -0
  40. package/dist/extensions/types.js +30 -0
  41. package/dist/foundation/parsers.d.ts +9 -1
  42. package/dist/foundation/parsers.js +24 -0
  43. package/dist/foundation/types.d.ts +5 -1
  44. package/dist/foundation/types.js +1 -1
  45. package/dist/integrations/types.d.ts +22 -4
  46. package/dist/integrations/types.js +6 -2
  47. package/dist/jsonSchema/generated.d.ts +9893 -5474
  48. package/dist/jsonSchema/generated.js +3097 -154
  49. package/dist/public/accountQuota.d.ts +2 -0
  50. package/dist/public/accountQuota.js +1 -0
  51. package/dist/public/commands.d.ts +2 -0
  52. package/dist/public/commands.js +1 -0
  53. package/dist/public/effectiveContent.d.ts +2 -0
  54. package/dist/public/effectiveContent.js +1 -0
  55. package/dist/public/environment.d.ts +2 -0
  56. package/dist/public/environment.js +1 -0
  57. package/dist/public/extensions.d.ts +2 -0
  58. package/dist/public/extensions.js +1 -0
  59. package/dist/public/index.d.ts +5 -0
  60. package/dist/public/index.js +5 -0
  61. package/dist/turns/parsers.d.ts +3 -1
  62. package/dist/turns/parsers.js +9 -0
  63. package/dist/turns/types.d.ts +13 -2
  64. package/dist/turns/types.js +4 -0
  65. package/dist/zod/accountQuota.d.ts +265 -0
  66. package/dist/zod/accountQuota.js +155 -0
  67. package/dist/zod/capabilities.d.ts +79 -1
  68. package/dist/zod/capabilities.js +21 -5
  69. package/dist/zod/commands.d.ts +35 -0
  70. package/dist/zod/commands.js +114 -0
  71. package/dist/zod/effectiveContent.d.ts +72 -0
  72. package/dist/zod/effectiveContent.js +157 -0
  73. package/dist/zod/environment.d.ts +531 -0
  74. package/dist/zod/environment.js +336 -0
  75. package/dist/zod/environmentFacts.d.ts +10 -0
  76. package/dist/zod/environmentFacts.js +40 -0
  77. package/dist/zod/events.d.ts +23 -23
  78. package/dist/zod/extensions.d.ts +161 -0
  79. package/dist/zod/extensions.js +194 -0
  80. package/dist/zod/foundation.d.ts +6 -1
  81. package/dist/zod/foundation.js +12 -3
  82. package/dist/zod/index.d.ts +10 -4
  83. package/dist/zod/index.js +22 -2
  84. package/dist/zod/integrations.d.ts +54 -9
  85. package/dist/zod/integrations.js +49 -6
  86. package/dist/zod/resources.d.ts +2 -2
  87. package/dist/zod/turns.d.ts +33 -0
  88. package/dist/zod/turns.js +34 -1
  89. package/dist/zod/typeEquality.generated.d.ts +40 -4
  90. package/package.json +23 -3
@@ -1,11 +1,2479 @@
1
1
  const AGENT_PROTOCOL_JSON_SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
2
+ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
3
+ "contractId": "agenai.agent-protocol.effective-content-catalog",
4
+ "protocolVersion": 9,
5
+ "direction": "output",
6
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
7
+ "parserInvariants": [
8
+ "bounded_acyclic_input",
9
+ "canonical_identity_order",
10
+ "qualified_reference_consistency",
11
+ "serialized_utf8_bytes",
12
+ "aggregate_collection_limits",
13
+ "effective_content_semantics"
14
+ ],
15
+ "sha256": "cb7c4c4a138da11e6e211457a46fa9b39670654c4d01180e4048e1e95678690c",
16
+ "schema": {
17
+ "$defs": {
18
+ "__schema0": {
19
+ "exclusiveMinimum": 0,
20
+ "maximum": 9007199254740991,
21
+ "type": "integer"
22
+ },
23
+ "__schema1": {
24
+ "additionalProperties": false,
25
+ "properties": {
26
+ "agentDefinition": {
27
+ "additionalProperties": false,
28
+ "properties": {
29
+ "hidden": {
30
+ "$ref": "#/$defs/__schema3"
31
+ },
32
+ "mode": {
33
+ "enum": [
34
+ "primary",
35
+ "subagent",
36
+ "all",
37
+ "unknown"
38
+ ],
39
+ "type": "string"
40
+ }
41
+ },
42
+ "readOnly": true,
43
+ "required": [
44
+ "mode",
45
+ "hidden"
46
+ ],
47
+ "type": "object"
48
+ },
49
+ "contentId": {
50
+ "$ref": "#/$defs/__schema2"
51
+ },
52
+ "enablement": {
53
+ "$ref": "#/$defs/__schema3"
54
+ },
55
+ "extension": {
56
+ "additionalProperties": false,
57
+ "properties": {
58
+ "catalogRevision": {
59
+ "$ref": "#/$defs/__schema4"
60
+ },
61
+ "extensionId": {
62
+ "$ref": "#/$defs/__schema2"
63
+ },
64
+ "revision": {
65
+ "$ref": "#/$defs/__schema4"
66
+ }
67
+ },
68
+ "readOnly": true,
69
+ "required": [
70
+ "extensionId",
71
+ "revision",
72
+ "catalogRevision"
73
+ ],
74
+ "type": "object"
75
+ },
76
+ "invocation": {
77
+ "enum": [
78
+ "user_and_model",
79
+ "user_only",
80
+ "model_only",
81
+ "unavailable",
82
+ "unknown"
83
+ ],
84
+ "type": "string"
85
+ },
86
+ "kind": {
87
+ "enum": [
88
+ "skill",
89
+ "rule",
90
+ "prompt",
91
+ "agent_definition"
92
+ ],
93
+ "type": "string"
94
+ },
95
+ "modelCallability": {
96
+ "$ref": "#/$defs/__schema3"
97
+ },
98
+ "name": {
99
+ "maxLength": 200,
100
+ "minLength": 1,
101
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
102
+ "type": "string"
103
+ },
104
+ "registration": {
105
+ "$ref": "#/$defs/__schema3"
106
+ },
107
+ "revision": {
108
+ "$ref": "#/$defs/__schema0"
109
+ },
110
+ "source": {
111
+ "additionalProperties": false,
112
+ "properties": {
113
+ "origin": {
114
+ "enum": [
115
+ "managed",
116
+ "workspace",
117
+ "user",
118
+ "bundled",
119
+ "plugin",
120
+ "remote",
121
+ "unknown"
122
+ ],
123
+ "type": "string"
124
+ },
125
+ "scope": {
126
+ "enum": [
127
+ "workspace",
128
+ "project",
129
+ "user",
130
+ "system",
131
+ "remote",
132
+ "unknown"
133
+ ],
134
+ "type": "string"
135
+ }
136
+ },
137
+ "readOnly": true,
138
+ "required": [
139
+ "scope",
140
+ "origin"
141
+ ],
142
+ "type": "object"
143
+ },
144
+ "summary": {
145
+ "maxLength": 2e3,
146
+ "minLength": 1,
147
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
148
+ "type": "string"
149
+ }
150
+ },
151
+ "readOnly": true,
152
+ "required": [
153
+ "contentId",
154
+ "revision",
155
+ "kind",
156
+ "name",
157
+ "source",
158
+ "registration",
159
+ "enablement",
160
+ "invocation",
161
+ "modelCallability"
162
+ ],
163
+ "type": "object"
164
+ },
165
+ "__schema2": {
166
+ "maxLength": 256,
167
+ "minLength": 1,
168
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
169
+ "type": "string"
170
+ },
171
+ "__schema3": {
172
+ "oneOf": [
173
+ {
174
+ "additionalProperties": false,
175
+ "properties": {
176
+ "kind": {
177
+ "const": "known",
178
+ "type": "string"
179
+ },
180
+ "value": {
181
+ "type": "boolean"
182
+ }
183
+ },
184
+ "readOnly": true,
185
+ "required": [
186
+ "kind",
187
+ "value"
188
+ ],
189
+ "type": "object"
190
+ },
191
+ {
192
+ "additionalProperties": false,
193
+ "properties": {
194
+ "kind": {
195
+ "const": "unknown",
196
+ "type": "string"
197
+ }
198
+ },
199
+ "readOnly": true,
200
+ "required": [
201
+ "kind"
202
+ ],
203
+ "type": "object"
204
+ }
205
+ ]
206
+ },
207
+ "__schema4": {
208
+ "exclusiveMinimum": 0,
209
+ "maximum": 9007199254740991,
210
+ "type": "integer"
211
+ }
212
+ },
213
+ "$id": "urn:agenai.agent-protocol.effective-content-catalog:v9:output",
214
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
215
+ "additionalProperties": false,
216
+ "properties": {
217
+ "content": {
218
+ "items": {
219
+ "$ref": "#/$defs/__schema1"
220
+ },
221
+ "maxItems": 1024,
222
+ "readOnly": true,
223
+ "type": "array"
224
+ },
225
+ "observedAt": {
226
+ "format": "date-time",
227
+ "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)))$",
228
+ "type": "string"
229
+ },
230
+ "revision": {
231
+ "$ref": "#/$defs/__schema0"
232
+ }
233
+ },
234
+ "readOnly": true,
235
+ "required": [
236
+ "revision",
237
+ "observedAt",
238
+ "content"
239
+ ],
240
+ "type": "object"
241
+ }
242
+ };
243
+ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
244
+ "contractId": "agenai.agent-protocol.command-catalog",
245
+ "protocolVersion": 9,
246
+ "direction": "output",
247
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
248
+ "parserInvariants": [
249
+ "bounded_acyclic_input",
250
+ "canonical_identity_order",
251
+ "qualified_reference_consistency",
252
+ "serialized_utf8_bytes",
253
+ "aggregate_collection_limits"
254
+ ],
255
+ "sha256": "7dc041b415a86a24b11ba625af4e940a31a9b3730040c597adb0fbc7dbf2973b",
256
+ "schema": {
257
+ "$defs": {
258
+ "__schema0": {
259
+ "exclusiveMinimum": 0,
260
+ "maximum": 9007199254740991,
261
+ "type": "integer"
262
+ },
263
+ "__schema1": {
264
+ "additionalProperties": false,
265
+ "properties": {
266
+ "availability": {
267
+ "oneOf": [
268
+ {
269
+ "additionalProperties": false,
270
+ "properties": {
271
+ "kind": {
272
+ "const": "known",
273
+ "type": "string"
274
+ },
275
+ "value": {
276
+ "type": "boolean"
277
+ }
278
+ },
279
+ "readOnly": true,
280
+ "required": [
281
+ "kind",
282
+ "value"
283
+ ],
284
+ "type": "object"
285
+ },
286
+ {
287
+ "additionalProperties": false,
288
+ "properties": {
289
+ "kind": {
290
+ "const": "unknown",
291
+ "type": "string"
292
+ }
293
+ },
294
+ "readOnly": true,
295
+ "required": [
296
+ "kind"
297
+ ],
298
+ "type": "object"
299
+ }
300
+ ]
301
+ },
302
+ "commandId": {
303
+ "$ref": "#/$defs/__schema2"
304
+ },
305
+ "name": {
306
+ "maxLength": 200,
307
+ "minLength": 1,
308
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
309
+ "type": "string"
310
+ },
311
+ "operation": {
312
+ "additionalProperties": false,
313
+ "properties": {
314
+ "catalogRevision": {
315
+ "$ref": "#/$defs/__schema0"
316
+ },
317
+ "operationId": {
318
+ "$ref": "#/$defs/__schema2"
319
+ },
320
+ "revision": {
321
+ "$ref": "#/$defs/__schema0"
322
+ }
323
+ },
324
+ "readOnly": true,
325
+ "required": [
326
+ "operationId",
327
+ "revision",
328
+ "catalogRevision"
329
+ ],
330
+ "type": "object"
331
+ },
332
+ "revision": {
333
+ "$ref": "#/$defs/__schema0"
334
+ },
335
+ "source": {
336
+ "additionalProperties": false,
337
+ "properties": {
338
+ "origin": {
339
+ "enum": [
340
+ "managed",
341
+ "workspace",
342
+ "user",
343
+ "bundled",
344
+ "plugin",
345
+ "remote",
346
+ "unknown"
347
+ ],
348
+ "type": "string"
349
+ },
350
+ "scope": {
351
+ "enum": [
352
+ "workspace",
353
+ "project",
354
+ "user",
355
+ "system",
356
+ "remote",
357
+ "unknown"
358
+ ],
359
+ "type": "string"
360
+ }
361
+ },
362
+ "readOnly": true,
363
+ "required": [
364
+ "scope",
365
+ "origin"
366
+ ],
367
+ "type": "object"
368
+ },
369
+ "summary": {
370
+ "maxLength": 2e3,
371
+ "minLength": 1,
372
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
373
+ "type": "string"
374
+ }
375
+ },
376
+ "readOnly": true,
377
+ "required": [
378
+ "commandId",
379
+ "revision",
380
+ "name",
381
+ "source",
382
+ "availability"
383
+ ],
384
+ "type": "object"
385
+ },
386
+ "__schema2": {
387
+ "maxLength": 256,
388
+ "minLength": 1,
389
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
390
+ "type": "string"
391
+ }
392
+ },
393
+ "$id": "urn:agenai.agent-protocol.command-catalog:v9:output",
394
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
395
+ "additionalProperties": false,
396
+ "properties": {
397
+ "commands": {
398
+ "items": {
399
+ "$ref": "#/$defs/__schema1"
400
+ },
401
+ "maxItems": 1024,
402
+ "readOnly": true,
403
+ "type": "array"
404
+ },
405
+ "observedAt": {
406
+ "format": "date-time",
407
+ "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)))$",
408
+ "type": "string"
409
+ },
410
+ "revision": {
411
+ "$ref": "#/$defs/__schema0"
412
+ }
413
+ },
414
+ "readOnly": true,
415
+ "required": [
416
+ "revision",
417
+ "observedAt",
418
+ "commands"
419
+ ],
420
+ "type": "object"
421
+ }
422
+ };
423
+ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
424
+ "contractId": "agenai.agent-protocol.extension-catalog",
425
+ "protocolVersion": 9,
426
+ "direction": "output",
427
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
428
+ "parserInvariants": [
429
+ "bounded_acyclic_input",
430
+ "canonical_identity_order",
431
+ "qualified_reference_consistency",
432
+ "serialized_utf8_bytes",
433
+ "aggregate_collection_limits"
434
+ ],
435
+ "sha256": "d03a28173aefb2f3c1f58c419e9e676192e5761a6142737402e935b0eb006566",
436
+ "schema": {
437
+ "$defs": {
438
+ "__schema0": {
439
+ "exclusiveMinimum": 0,
440
+ "maximum": 9007199254740991,
441
+ "type": "integer"
442
+ },
443
+ "__schema1": {
444
+ "additionalProperties": false,
445
+ "properties": {
446
+ "components": {
447
+ "items": {
448
+ "$ref": "#/$defs/__schema4"
449
+ },
450
+ "maxItems": 4096,
451
+ "readOnly": true,
452
+ "type": "array"
453
+ },
454
+ "enablement": {
455
+ "$ref": "#/$defs/__schema3"
456
+ },
457
+ "extensionId": {
458
+ "$ref": "#/$defs/__schema2"
459
+ },
460
+ "installation": {
461
+ "$ref": "#/$defs/__schema3"
462
+ },
463
+ "name": {
464
+ "maxLength": 200,
465
+ "minLength": 1,
466
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
467
+ "type": "string"
468
+ },
469
+ "revision": {
470
+ "$ref": "#/$defs/__schema0"
471
+ },
472
+ "source": {
473
+ "additionalProperties": false,
474
+ "properties": {
475
+ "origin": {
476
+ "enum": [
477
+ "managed",
478
+ "workspace",
479
+ "user",
480
+ "bundled",
481
+ "plugin",
482
+ "remote",
483
+ "unknown"
484
+ ],
485
+ "type": "string"
486
+ },
487
+ "scope": {
488
+ "enum": [
489
+ "workspace",
490
+ "project",
491
+ "user",
492
+ "system",
493
+ "remote",
494
+ "unknown"
495
+ ],
496
+ "type": "string"
497
+ }
498
+ },
499
+ "readOnly": true,
500
+ "required": [
501
+ "scope",
502
+ "origin"
503
+ ],
504
+ "type": "object"
505
+ },
506
+ "summary": {
507
+ "maxLength": 2e3,
508
+ "minLength": 1,
509
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
510
+ "type": "string"
511
+ },
512
+ "version": {
513
+ "maxLength": 200,
514
+ "minLength": 1,
515
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
516
+ "type": "string"
517
+ }
518
+ },
519
+ "readOnly": true,
520
+ "required": [
521
+ "extensionId",
522
+ "revision",
523
+ "name",
524
+ "installation",
525
+ "enablement",
526
+ "source",
527
+ "components"
528
+ ],
529
+ "type": "object"
530
+ },
531
+ "__schema2": {
532
+ "maxLength": 256,
533
+ "minLength": 1,
534
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
535
+ "type": "string"
536
+ },
537
+ "__schema3": {
538
+ "oneOf": [
539
+ {
540
+ "additionalProperties": false,
541
+ "properties": {
542
+ "kind": {
543
+ "const": "known",
544
+ "type": "string"
545
+ },
546
+ "value": {
547
+ "type": "boolean"
548
+ }
549
+ },
550
+ "readOnly": true,
551
+ "required": [
552
+ "kind",
553
+ "value"
554
+ ],
555
+ "type": "object"
556
+ },
557
+ {
558
+ "additionalProperties": false,
559
+ "properties": {
560
+ "kind": {
561
+ "const": "unknown",
562
+ "type": "string"
563
+ }
564
+ },
565
+ "readOnly": true,
566
+ "required": [
567
+ "kind"
568
+ ],
569
+ "type": "object"
570
+ }
571
+ ]
572
+ },
573
+ "__schema4": {
574
+ "oneOf": [
575
+ {
576
+ "additionalProperties": false,
577
+ "properties": {
578
+ "kind": {
579
+ "enum": [
580
+ "skill",
581
+ "rule",
582
+ "prompt",
583
+ "agent_definition"
584
+ ],
585
+ "type": "string"
586
+ },
587
+ "name": {
588
+ "$ref": "#/$defs/__schema5"
589
+ },
590
+ "target": {
591
+ "additionalProperties": false,
592
+ "properties": {
593
+ "catalogRevision": {
594
+ "$ref": "#/$defs/__schema0"
595
+ },
596
+ "domain": {
597
+ "const": "content",
598
+ "type": "string"
599
+ },
600
+ "id": {
601
+ "$ref": "#/$defs/__schema2"
602
+ },
603
+ "revision": {
604
+ "$ref": "#/$defs/__schema0"
605
+ }
606
+ },
607
+ "readOnly": true,
608
+ "required": [
609
+ "domain",
610
+ "id",
611
+ "revision",
612
+ "catalogRevision"
613
+ ],
614
+ "type": "object"
615
+ }
616
+ },
617
+ "readOnly": true,
618
+ "required": [
619
+ "kind",
620
+ "name"
621
+ ],
622
+ "type": "object"
623
+ },
624
+ {
625
+ "additionalProperties": false,
626
+ "properties": {
627
+ "kind": {
628
+ "const": "command",
629
+ "type": "string"
630
+ },
631
+ "name": {
632
+ "$ref": "#/$defs/__schema5"
633
+ },
634
+ "target": {
635
+ "additionalProperties": false,
636
+ "properties": {
637
+ "catalogRevision": {
638
+ "$ref": "#/$defs/__schema0"
639
+ },
640
+ "domain": {
641
+ "const": "commands",
642
+ "type": "string"
643
+ },
644
+ "id": {
645
+ "$ref": "#/$defs/__schema2"
646
+ },
647
+ "revision": {
648
+ "$ref": "#/$defs/__schema0"
649
+ }
650
+ },
651
+ "readOnly": true,
652
+ "required": [
653
+ "domain",
654
+ "id",
655
+ "revision",
656
+ "catalogRevision"
657
+ ],
658
+ "type": "object"
659
+ }
660
+ },
661
+ "readOnly": true,
662
+ "required": [
663
+ "kind",
664
+ "name"
665
+ ],
666
+ "type": "object"
667
+ },
668
+ {
669
+ "additionalProperties": false,
670
+ "properties": {
671
+ "kind": {
672
+ "enum": [
673
+ "mcp_server",
674
+ "connector"
675
+ ],
676
+ "type": "string"
677
+ },
678
+ "name": {
679
+ "$ref": "#/$defs/__schema5"
680
+ },
681
+ "target": {
682
+ "additionalProperties": false,
683
+ "properties": {
684
+ "catalogRevision": {
685
+ "$ref": "#/$defs/__schema0"
686
+ },
687
+ "domain": {
688
+ "const": "integrations",
689
+ "type": "string"
690
+ },
691
+ "id": {
692
+ "$ref": "#/$defs/__schema2"
693
+ },
694
+ "revision": {
695
+ "$ref": "#/$defs/__schema0"
696
+ }
697
+ },
698
+ "readOnly": true,
699
+ "required": [
700
+ "domain",
701
+ "id",
702
+ "revision",
703
+ "catalogRevision"
704
+ ],
705
+ "type": "object"
706
+ }
707
+ },
708
+ "readOnly": true,
709
+ "required": [
710
+ "kind",
711
+ "name"
712
+ ],
713
+ "type": "object"
714
+ },
715
+ {
716
+ "additionalProperties": false,
717
+ "properties": {
718
+ "kind": {
719
+ "enum": [
720
+ "hook",
721
+ "lsp_server",
722
+ "scheduled_task",
723
+ "other"
724
+ ],
725
+ "type": "string"
726
+ },
727
+ "name": {
728
+ "$ref": "#/$defs/__schema5"
729
+ }
730
+ },
731
+ "readOnly": true,
732
+ "required": [
733
+ "kind",
734
+ "name"
735
+ ],
736
+ "type": "object"
737
+ }
738
+ ]
739
+ },
740
+ "__schema5": {
741
+ "maxLength": 200,
742
+ "minLength": 1,
743
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
744
+ "type": "string"
745
+ }
746
+ },
747
+ "$id": "urn:agenai.agent-protocol.extension-catalog:v9:output",
748
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
749
+ "additionalProperties": false,
750
+ "properties": {
751
+ "extensions": {
752
+ "items": {
753
+ "$ref": "#/$defs/__schema1"
754
+ },
755
+ "maxItems": 256,
756
+ "readOnly": true,
757
+ "type": "array"
758
+ },
759
+ "observedAt": {
760
+ "format": "date-time",
761
+ "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)))$",
762
+ "type": "string"
763
+ },
764
+ "revision": {
765
+ "$ref": "#/$defs/__schema0"
766
+ }
767
+ },
768
+ "readOnly": true,
769
+ "required": [
770
+ "revision",
771
+ "observedAt",
772
+ "extensions"
773
+ ],
774
+ "type": "object"
775
+ }
776
+ };
777
+ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
778
+ "contractId": "agenai.agent-protocol.environment-snapshot",
779
+ "protocolVersion": 9,
780
+ "direction": "output",
781
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
782
+ "parserInvariants": [
783
+ "bounded_acyclic_input",
784
+ "canonical_identity_order",
785
+ "qualified_reference_consistency",
786
+ "serialized_utf8_bytes",
787
+ "aggregate_collection_limits",
788
+ "effective_content_semantics"
789
+ ],
790
+ "sha256": "00da01c1204e1bc6f53923da3fc0b4c96a751655ebe9c7c613eca15675744f6c",
791
+ "schema": {
792
+ "$defs": {
793
+ "__schema0": {
794
+ "maxLength": 256,
795
+ "minLength": 1,
796
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
797
+ "type": "string"
798
+ },
799
+ "__schema1": {
800
+ "const": "available",
801
+ "type": "string"
802
+ },
803
+ "__schema10": {
804
+ "additionalProperties": false,
805
+ "properties": {
806
+ "agentDefinition": {
807
+ "additionalProperties": false,
808
+ "properties": {
809
+ "hidden": {
810
+ "$ref": "#/$defs/__schema12"
811
+ },
812
+ "mode": {
813
+ "enum": [
814
+ "primary",
815
+ "subagent",
816
+ "all",
817
+ "unknown"
818
+ ],
819
+ "type": "string"
820
+ }
821
+ },
822
+ "readOnly": true,
823
+ "required": [
824
+ "mode",
825
+ "hidden"
826
+ ],
827
+ "type": "object"
828
+ },
829
+ "contentId": {
830
+ "$ref": "#/$defs/__schema0"
831
+ },
832
+ "enablement": {
833
+ "$ref": "#/$defs/__schema12"
834
+ },
835
+ "extension": {
836
+ "additionalProperties": false,
837
+ "properties": {
838
+ "catalogRevision": {
839
+ "$ref": "#/$defs/__schema13"
840
+ },
841
+ "extensionId": {
842
+ "$ref": "#/$defs/__schema0"
843
+ },
844
+ "revision": {
845
+ "$ref": "#/$defs/__schema13"
846
+ }
847
+ },
848
+ "readOnly": true,
849
+ "required": [
850
+ "extensionId",
851
+ "revision",
852
+ "catalogRevision"
853
+ ],
854
+ "type": "object"
855
+ },
856
+ "invocation": {
857
+ "enum": [
858
+ "user_and_model",
859
+ "user_only",
860
+ "model_only",
861
+ "unavailable",
862
+ "unknown"
863
+ ],
864
+ "type": "string"
865
+ },
866
+ "kind": {
867
+ "enum": [
868
+ "skill",
869
+ "rule",
870
+ "prompt",
871
+ "agent_definition"
872
+ ],
873
+ "type": "string"
874
+ },
875
+ "modelCallability": {
876
+ "$ref": "#/$defs/__schema12"
877
+ },
878
+ "name": {
879
+ "maxLength": 200,
880
+ "minLength": 1,
881
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
882
+ "type": "string"
883
+ },
884
+ "registration": {
885
+ "$ref": "#/$defs/__schema12"
886
+ },
887
+ "revision": {
888
+ "$ref": "#/$defs/__schema8"
889
+ },
890
+ "source": {
891
+ "$ref": "#/$defs/__schema11"
892
+ },
893
+ "summary": {
894
+ "maxLength": 2e3,
895
+ "minLength": 1,
896
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
897
+ "type": "string"
898
+ }
899
+ },
900
+ "readOnly": true,
901
+ "required": [
902
+ "contentId",
903
+ "revision",
904
+ "kind",
905
+ "name",
906
+ "source",
907
+ "registration",
908
+ "enablement",
909
+ "invocation",
910
+ "modelCallability"
911
+ ],
912
+ "type": "object"
913
+ },
914
+ "__schema11": {
915
+ "additionalProperties": false,
916
+ "properties": {
917
+ "origin": {
918
+ "enum": [
919
+ "managed",
920
+ "workspace",
921
+ "user",
922
+ "bundled",
923
+ "plugin",
924
+ "remote",
925
+ "unknown"
926
+ ],
927
+ "type": "string"
928
+ },
929
+ "scope": {
930
+ "enum": [
931
+ "workspace",
932
+ "project",
933
+ "user",
934
+ "system",
935
+ "remote",
936
+ "unknown"
937
+ ],
938
+ "type": "string"
939
+ }
940
+ },
941
+ "readOnly": true,
942
+ "required": [
943
+ "scope",
944
+ "origin"
945
+ ],
946
+ "type": "object"
947
+ },
948
+ "__schema12": {
949
+ "oneOf": [
950
+ {
951
+ "additionalProperties": false,
952
+ "properties": {
953
+ "kind": {
954
+ "const": "known",
955
+ "type": "string"
956
+ },
957
+ "value": {
958
+ "type": "boolean"
959
+ }
960
+ },
961
+ "readOnly": true,
962
+ "required": [
963
+ "kind",
964
+ "value"
965
+ ],
966
+ "type": "object"
967
+ },
968
+ {
969
+ "additionalProperties": false,
970
+ "properties": {
971
+ "kind": {
972
+ "const": "unknown",
973
+ "type": "string"
974
+ }
975
+ },
976
+ "readOnly": true,
977
+ "required": [
978
+ "kind"
979
+ ],
980
+ "type": "object"
981
+ }
982
+ ]
983
+ },
984
+ "__schema13": {
985
+ "exclusiveMinimum": 0,
986
+ "maximum": 9007199254740991,
987
+ "type": "integer"
988
+ },
989
+ "__schema14": {
990
+ "oneOf": [
991
+ {
992
+ "additionalProperties": false,
993
+ "properties": {
994
+ "kind": {
995
+ "const": "unsupported",
996
+ "type": "string"
997
+ },
998
+ "reasons": {
999
+ "$ref": "#/$defs/__schema4"
1000
+ }
1001
+ },
1002
+ "readOnly": true,
1003
+ "required": [
1004
+ "kind",
1005
+ "reasons"
1006
+ ],
1007
+ "type": "object"
1008
+ },
1009
+ {
1010
+ "additionalProperties": false,
1011
+ "properties": {
1012
+ "kind": {
1013
+ "const": "not_initialized",
1014
+ "type": "string"
1015
+ },
1016
+ "reasons": {
1017
+ "$ref": "#/$defs/__schema4"
1018
+ }
1019
+ },
1020
+ "readOnly": true,
1021
+ "required": [
1022
+ "kind",
1023
+ "reasons"
1024
+ ],
1025
+ "type": "object"
1026
+ },
1027
+ {
1028
+ "additionalProperties": false,
1029
+ "properties": {
1030
+ "kind": {
1031
+ "const": "unavailable",
1032
+ "type": "string"
1033
+ },
1034
+ "reasons": {
1035
+ "$ref": "#/$defs/__schema5",
1036
+ "minItems": 1,
1037
+ "readOnly": true
1038
+ }
1039
+ },
1040
+ "readOnly": true,
1041
+ "required": [
1042
+ "kind",
1043
+ "reasons"
1044
+ ],
1045
+ "type": "object"
1046
+ }
1047
+ ]
1048
+ },
1049
+ "__schema15": {
1050
+ "additionalProperties": false,
1051
+ "properties": {
1052
+ "commands": {
1053
+ "items": {
1054
+ "$ref": "#/$defs/__schema17"
1055
+ },
1056
+ "maxItems": 1024,
1057
+ "readOnly": true,
1058
+ "type": "array"
1059
+ },
1060
+ "observedAt": {
1061
+ "$ref": "#/$defs/__schema9"
1062
+ },
1063
+ "revision": {
1064
+ "$ref": "#/$defs/__schema16"
1065
+ }
1066
+ },
1067
+ "readOnly": true,
1068
+ "required": [
1069
+ "revision",
1070
+ "observedAt",
1071
+ "commands"
1072
+ ],
1073
+ "type": "object"
1074
+ },
1075
+ "__schema16": {
1076
+ "exclusiveMinimum": 0,
1077
+ "maximum": 9007199254740991,
1078
+ "type": "integer"
1079
+ },
1080
+ "__schema17": {
1081
+ "additionalProperties": false,
1082
+ "properties": {
1083
+ "availability": {
1084
+ "$ref": "#/$defs/__schema12"
1085
+ },
1086
+ "commandId": {
1087
+ "$ref": "#/$defs/__schema0"
1088
+ },
1089
+ "name": {
1090
+ "maxLength": 200,
1091
+ "minLength": 1,
1092
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1093
+ "type": "string"
1094
+ },
1095
+ "operation": {
1096
+ "additionalProperties": false,
1097
+ "properties": {
1098
+ "catalogRevision": {
1099
+ "$ref": "#/$defs/__schema16"
1100
+ },
1101
+ "operationId": {
1102
+ "$ref": "#/$defs/__schema0"
1103
+ },
1104
+ "revision": {
1105
+ "$ref": "#/$defs/__schema16"
1106
+ }
1107
+ },
1108
+ "readOnly": true,
1109
+ "required": [
1110
+ "operationId",
1111
+ "revision",
1112
+ "catalogRevision"
1113
+ ],
1114
+ "type": "object"
1115
+ },
1116
+ "revision": {
1117
+ "$ref": "#/$defs/__schema16"
1118
+ },
1119
+ "source": {
1120
+ "$ref": "#/$defs/__schema11"
1121
+ },
1122
+ "summary": {
1123
+ "maxLength": 2e3,
1124
+ "minLength": 1,
1125
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1126
+ "type": "string"
1127
+ }
1128
+ },
1129
+ "readOnly": true,
1130
+ "required": [
1131
+ "commandId",
1132
+ "revision",
1133
+ "name",
1134
+ "source",
1135
+ "availability"
1136
+ ],
1137
+ "type": "object"
1138
+ },
1139
+ "__schema18": {
1140
+ "additionalProperties": false,
1141
+ "properties": {
1142
+ "extensions": {
1143
+ "items": {
1144
+ "$ref": "#/$defs/__schema20"
1145
+ },
1146
+ "maxItems": 256,
1147
+ "readOnly": true,
1148
+ "type": "array"
1149
+ },
1150
+ "observedAt": {
1151
+ "$ref": "#/$defs/__schema9"
1152
+ },
1153
+ "revision": {
1154
+ "$ref": "#/$defs/__schema19"
1155
+ }
1156
+ },
1157
+ "readOnly": true,
1158
+ "required": [
1159
+ "revision",
1160
+ "observedAt",
1161
+ "extensions"
1162
+ ],
1163
+ "type": "object"
1164
+ },
1165
+ "__schema19": {
1166
+ "exclusiveMinimum": 0,
1167
+ "maximum": 9007199254740991,
1168
+ "type": "integer"
1169
+ },
1170
+ "__schema2": {
1171
+ "enum": [
1172
+ "workspace_discovery",
1173
+ "session"
1174
+ ],
1175
+ "type": "string"
1176
+ },
1177
+ "__schema20": {
1178
+ "additionalProperties": false,
1179
+ "properties": {
1180
+ "components": {
1181
+ "items": {
1182
+ "$ref": "#/$defs/__schema21"
1183
+ },
1184
+ "maxItems": 4096,
1185
+ "readOnly": true,
1186
+ "type": "array"
1187
+ },
1188
+ "enablement": {
1189
+ "$ref": "#/$defs/__schema12"
1190
+ },
1191
+ "extensionId": {
1192
+ "$ref": "#/$defs/__schema0"
1193
+ },
1194
+ "installation": {
1195
+ "$ref": "#/$defs/__schema12"
1196
+ },
1197
+ "name": {
1198
+ "maxLength": 200,
1199
+ "minLength": 1,
1200
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1201
+ "type": "string"
1202
+ },
1203
+ "revision": {
1204
+ "$ref": "#/$defs/__schema19"
1205
+ },
1206
+ "source": {
1207
+ "$ref": "#/$defs/__schema11"
1208
+ },
1209
+ "summary": {
1210
+ "maxLength": 2e3,
1211
+ "minLength": 1,
1212
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1213
+ "type": "string"
1214
+ },
1215
+ "version": {
1216
+ "maxLength": 200,
1217
+ "minLength": 1,
1218
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1219
+ "type": "string"
1220
+ }
1221
+ },
1222
+ "readOnly": true,
1223
+ "required": [
1224
+ "extensionId",
1225
+ "revision",
1226
+ "name",
1227
+ "installation",
1228
+ "enablement",
1229
+ "source",
1230
+ "components"
1231
+ ],
1232
+ "type": "object"
1233
+ },
1234
+ "__schema21": {
1235
+ "oneOf": [
1236
+ {
1237
+ "additionalProperties": false,
1238
+ "properties": {
1239
+ "kind": {
1240
+ "enum": [
1241
+ "skill",
1242
+ "rule",
1243
+ "prompt",
1244
+ "agent_definition"
1245
+ ],
1246
+ "type": "string"
1247
+ },
1248
+ "name": {
1249
+ "$ref": "#/$defs/__schema22"
1250
+ },
1251
+ "target": {
1252
+ "additionalProperties": false,
1253
+ "properties": {
1254
+ "catalogRevision": {
1255
+ "$ref": "#/$defs/__schema19"
1256
+ },
1257
+ "domain": {
1258
+ "const": "content",
1259
+ "type": "string"
1260
+ },
1261
+ "id": {
1262
+ "$ref": "#/$defs/__schema0"
1263
+ },
1264
+ "revision": {
1265
+ "$ref": "#/$defs/__schema19"
1266
+ }
1267
+ },
1268
+ "readOnly": true,
1269
+ "required": [
1270
+ "domain",
1271
+ "id",
1272
+ "revision",
1273
+ "catalogRevision"
1274
+ ],
1275
+ "type": "object"
1276
+ }
1277
+ },
1278
+ "readOnly": true,
1279
+ "required": [
1280
+ "kind",
1281
+ "name"
1282
+ ],
1283
+ "type": "object"
1284
+ },
1285
+ {
1286
+ "additionalProperties": false,
1287
+ "properties": {
1288
+ "kind": {
1289
+ "const": "command",
1290
+ "type": "string"
1291
+ },
1292
+ "name": {
1293
+ "$ref": "#/$defs/__schema22"
1294
+ },
1295
+ "target": {
1296
+ "additionalProperties": false,
1297
+ "properties": {
1298
+ "catalogRevision": {
1299
+ "$ref": "#/$defs/__schema19"
1300
+ },
1301
+ "domain": {
1302
+ "const": "commands",
1303
+ "type": "string"
1304
+ },
1305
+ "id": {
1306
+ "$ref": "#/$defs/__schema0"
1307
+ },
1308
+ "revision": {
1309
+ "$ref": "#/$defs/__schema19"
1310
+ }
1311
+ },
1312
+ "readOnly": true,
1313
+ "required": [
1314
+ "domain",
1315
+ "id",
1316
+ "revision",
1317
+ "catalogRevision"
1318
+ ],
1319
+ "type": "object"
1320
+ }
1321
+ },
1322
+ "readOnly": true,
1323
+ "required": [
1324
+ "kind",
1325
+ "name"
1326
+ ],
1327
+ "type": "object"
1328
+ },
1329
+ {
1330
+ "additionalProperties": false,
1331
+ "properties": {
1332
+ "kind": {
1333
+ "enum": [
1334
+ "mcp_server",
1335
+ "connector"
1336
+ ],
1337
+ "type": "string"
1338
+ },
1339
+ "name": {
1340
+ "$ref": "#/$defs/__schema22"
1341
+ },
1342
+ "target": {
1343
+ "additionalProperties": false,
1344
+ "properties": {
1345
+ "catalogRevision": {
1346
+ "$ref": "#/$defs/__schema19"
1347
+ },
1348
+ "domain": {
1349
+ "const": "integrations",
1350
+ "type": "string"
1351
+ },
1352
+ "id": {
1353
+ "$ref": "#/$defs/__schema0"
1354
+ },
1355
+ "revision": {
1356
+ "$ref": "#/$defs/__schema19"
1357
+ }
1358
+ },
1359
+ "readOnly": true,
1360
+ "required": [
1361
+ "domain",
1362
+ "id",
1363
+ "revision",
1364
+ "catalogRevision"
1365
+ ],
1366
+ "type": "object"
1367
+ }
1368
+ },
1369
+ "readOnly": true,
1370
+ "required": [
1371
+ "kind",
1372
+ "name"
1373
+ ],
1374
+ "type": "object"
1375
+ },
1376
+ {
1377
+ "additionalProperties": false,
1378
+ "properties": {
1379
+ "kind": {
1380
+ "enum": [
1381
+ "hook",
1382
+ "lsp_server",
1383
+ "scheduled_task",
1384
+ "other"
1385
+ ],
1386
+ "type": "string"
1387
+ },
1388
+ "name": {
1389
+ "$ref": "#/$defs/__schema22"
1390
+ }
1391
+ },
1392
+ "readOnly": true,
1393
+ "required": [
1394
+ "kind",
1395
+ "name"
1396
+ ],
1397
+ "type": "object"
1398
+ }
1399
+ ]
1400
+ },
1401
+ "__schema22": {
1402
+ "maxLength": 200,
1403
+ "minLength": 1,
1404
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1405
+ "type": "string"
1406
+ },
1407
+ "__schema23": {
1408
+ "additionalProperties": false,
1409
+ "properties": {
1410
+ "integrations": {
1411
+ "items": {
1412
+ "$ref": "#/$defs/__schema25"
1413
+ },
1414
+ "maxItems": 128,
1415
+ "readOnly": true,
1416
+ "type": "array"
1417
+ },
1418
+ "observedAt": {
1419
+ "$ref": "#/$defs/__schema9"
1420
+ },
1421
+ "revision": {
1422
+ "$ref": "#/$defs/__schema24"
1423
+ }
1424
+ },
1425
+ "readOnly": true,
1426
+ "required": [
1427
+ "revision",
1428
+ "observedAt",
1429
+ "integrations"
1430
+ ],
1431
+ "type": "object"
1432
+ },
1433
+ "__schema24": {
1434
+ "exclusiveMinimum": 0,
1435
+ "maximum": 9007199254740991,
1436
+ "type": "integer"
1437
+ },
1438
+ "__schema25": {
1439
+ "oneOf": [
1440
+ {
1441
+ "additionalProperties": false,
1442
+ "properties": {
1443
+ "integrationId": {
1444
+ "$ref": "#/$defs/__schema0"
1445
+ },
1446
+ "kind": {
1447
+ "const": "mcp",
1448
+ "type": "string"
1449
+ },
1450
+ "name": {
1451
+ "$ref": "#/$defs/__schema26"
1452
+ },
1453
+ "revision": {
1454
+ "$ref": "#/$defs/__schema24"
1455
+ },
1456
+ "servers": {
1457
+ "items": {
1458
+ "$ref": "#/$defs/__schema27"
1459
+ },
1460
+ "maxItems": 32,
1461
+ "readOnly": true,
1462
+ "type": "array"
1463
+ },
1464
+ "status": {
1465
+ "enum": [
1466
+ "starting",
1467
+ "ready",
1468
+ "degraded",
1469
+ "unavailable"
1470
+ ],
1471
+ "type": "string"
1472
+ }
1473
+ },
1474
+ "readOnly": true,
1475
+ "required": [
1476
+ "integrationId",
1477
+ "revision",
1478
+ "kind",
1479
+ "name",
1480
+ "status",
1481
+ "servers"
1482
+ ],
1483
+ "type": "object"
1484
+ },
1485
+ {
1486
+ "additionalProperties": false,
1487
+ "properties": {
1488
+ "authentication": {
1489
+ "$ref": "#/$defs/__schema12"
1490
+ },
1491
+ "callability": {
1492
+ "$ref": "#/$defs/__schema12"
1493
+ },
1494
+ "description": {
1495
+ "$ref": "#/$defs/__schema29"
1496
+ },
1497
+ "enablement": {
1498
+ "$ref": "#/$defs/__schema12"
1499
+ },
1500
+ "health": {
1501
+ "enum": [
1502
+ "starting",
1503
+ "ready",
1504
+ "degraded",
1505
+ "unavailable"
1506
+ ],
1507
+ "type": "string"
1508
+ },
1509
+ "installation": {
1510
+ "$ref": "#/$defs/__schema12"
1511
+ },
1512
+ "integrationId": {
1513
+ "$ref": "#/$defs/__schema0"
1514
+ },
1515
+ "kind": {
1516
+ "const": "connector",
1517
+ "type": "string"
1518
+ },
1519
+ "name": {
1520
+ "$ref": "#/$defs/__schema26"
1521
+ },
1522
+ "revision": {
1523
+ "$ref": "#/$defs/__schema24"
1524
+ },
1525
+ "source": {
1526
+ "$ref": "#/$defs/__schema11"
1527
+ },
1528
+ "tools": {
1529
+ "items": {
1530
+ "$ref": "#/$defs/__schema28"
1531
+ },
1532
+ "maxItems": 100,
1533
+ "readOnly": true,
1534
+ "type": "array"
1535
+ }
1536
+ },
1537
+ "readOnly": true,
1538
+ "required": [
1539
+ "integrationId",
1540
+ "revision",
1541
+ "kind",
1542
+ "name",
1543
+ "source",
1544
+ "installation",
1545
+ "enablement",
1546
+ "authentication",
1547
+ "health",
1548
+ "callability"
1549
+ ],
1550
+ "type": "object"
1551
+ }
1552
+ ]
1553
+ },
1554
+ "__schema26": {
1555
+ "maxLength": 200,
1556
+ "minLength": 1,
1557
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1558
+ "type": "string"
1559
+ },
1560
+ "__schema27": {
1561
+ "additionalProperties": false,
1562
+ "properties": {
1563
+ "name": {
1564
+ "$ref": "#/$defs/__schema26"
1565
+ },
1566
+ "resources": {
1567
+ "items": {
1568
+ "$ref": "#/$defs/__schema30"
1569
+ },
1570
+ "maxItems": 100,
1571
+ "readOnly": true,
1572
+ "type": "array"
1573
+ },
1574
+ "serverId": {
1575
+ "$ref": "#/$defs/__schema0"
1576
+ },
1577
+ "status": {
1578
+ "enum": [
1579
+ "starting",
1580
+ "ready",
1581
+ "degraded",
1582
+ "unavailable"
1583
+ ],
1584
+ "type": "string"
1585
+ },
1586
+ "tools": {
1587
+ "items": {
1588
+ "$ref": "#/$defs/__schema28"
1589
+ },
1590
+ "maxItems": 100,
1591
+ "readOnly": true,
1592
+ "type": "array"
1593
+ }
1594
+ },
1595
+ "readOnly": true,
1596
+ "required": [
1597
+ "serverId",
1598
+ "name",
1599
+ "status",
1600
+ "tools",
1601
+ "resources"
1602
+ ],
1603
+ "type": "object"
1604
+ },
1605
+ "__schema28": {
1606
+ "additionalProperties": false,
1607
+ "properties": {
1608
+ "description": {
1609
+ "$ref": "#/$defs/__schema29"
1610
+ },
1611
+ "name": {
1612
+ "$ref": "#/$defs/__schema26"
1613
+ },
1614
+ "toolId": {
1615
+ "$ref": "#/$defs/__schema0"
1616
+ }
1617
+ },
1618
+ "readOnly": true,
1619
+ "required": [
1620
+ "toolId",
1621
+ "name"
1622
+ ],
1623
+ "type": "object"
1624
+ },
1625
+ "__schema29": {
1626
+ "maxLength": 2e3,
1627
+ "minLength": 1,
1628
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
1629
+ "type": "string"
1630
+ },
1631
+ "__schema3": {
1632
+ "enum": [
1633
+ "complete",
1634
+ "partial"
1635
+ ],
1636
+ "type": "string"
1637
+ },
1638
+ "__schema30": {
1639
+ "additionalProperties": false,
1640
+ "properties": {
1641
+ "description": {
1642
+ "$ref": "#/$defs/__schema29"
1643
+ },
1644
+ "mediaType": {
1645
+ "maxLength": 200,
1646
+ "minLength": 1,
1647
+ "pattern": "^[a-z0-9!#$&^_.+-]+\\/[a-z0-9!#$&^_.+-]+$",
1648
+ "type": "string"
1649
+ },
1650
+ "name": {
1651
+ "$ref": "#/$defs/__schema26"
1652
+ },
1653
+ "resourceId": {
1654
+ "$ref": "#/$defs/__schema0"
1655
+ }
1656
+ },
1657
+ "readOnly": true,
1658
+ "required": [
1659
+ "resourceId",
1660
+ "name"
1661
+ ],
1662
+ "type": "object"
1663
+ },
1664
+ "__schema4": {
1665
+ "$ref": "#/$defs/__schema5",
1666
+ "readOnly": true
1667
+ },
1668
+ "__schema5": {
1669
+ "items": {
1670
+ "$ref": "#/$defs/__schema6"
1671
+ },
1672
+ "maxItems": 16,
1673
+ "type": "array"
1674
+ },
1675
+ "__schema6": {
1676
+ "enum": [
1677
+ "missing_metadata",
1678
+ "native_ambiguity",
1679
+ "permission_denied",
1680
+ "authentication_required",
1681
+ "source_changed",
1682
+ "capacity_exceeded",
1683
+ "transient_failure"
1684
+ ],
1685
+ "type": "string"
1686
+ },
1687
+ "__schema7": {
1688
+ "additionalProperties": false,
1689
+ "properties": {
1690
+ "content": {
1691
+ "items": {
1692
+ "$ref": "#/$defs/__schema10"
1693
+ },
1694
+ "maxItems": 1024,
1695
+ "readOnly": true,
1696
+ "type": "array"
1697
+ },
1698
+ "observedAt": {
1699
+ "$ref": "#/$defs/__schema9"
1700
+ },
1701
+ "revision": {
1702
+ "$ref": "#/$defs/__schema8"
1703
+ }
1704
+ },
1705
+ "readOnly": true,
1706
+ "required": [
1707
+ "revision",
1708
+ "observedAt",
1709
+ "content"
1710
+ ],
1711
+ "type": "object"
1712
+ },
1713
+ "__schema8": {
1714
+ "exclusiveMinimum": 0,
1715
+ "maximum": 9007199254740991,
1716
+ "type": "integer"
1717
+ },
1718
+ "__schema9": {
1719
+ "format": "date-time",
1720
+ "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)))$",
1721
+ "type": "string"
1722
+ }
1723
+ },
1724
+ "$id": "urn:agenai.agent-protocol.environment-snapshot:v9:output",
1725
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1726
+ "additionalProperties": false,
1727
+ "properties": {
1728
+ "commands": {
1729
+ "anyOf": [
1730
+ {
1731
+ "additionalProperties": false,
1732
+ "properties": {
1733
+ "catalog": {
1734
+ "$ref": "#/$defs/__schema15"
1735
+ },
1736
+ "completeness": {
1737
+ "$ref": "#/$defs/__schema3"
1738
+ },
1739
+ "extent": {
1740
+ "$ref": "#/$defs/__schema2"
1741
+ },
1742
+ "kind": {
1743
+ "$ref": "#/$defs/__schema1"
1744
+ },
1745
+ "reasons": {
1746
+ "$ref": "#/$defs/__schema4"
1747
+ }
1748
+ },
1749
+ "readOnly": true,
1750
+ "required": [
1751
+ "kind",
1752
+ "extent",
1753
+ "completeness",
1754
+ "reasons",
1755
+ "catalog"
1756
+ ],
1757
+ "type": "object"
1758
+ },
1759
+ {
1760
+ "$ref": "#/$defs/__schema14"
1761
+ }
1762
+ ]
1763
+ },
1764
+ "content": {
1765
+ "anyOf": [
1766
+ {
1767
+ "additionalProperties": false,
1768
+ "properties": {
1769
+ "catalog": {
1770
+ "$ref": "#/$defs/__schema7"
1771
+ },
1772
+ "completeness": {
1773
+ "$ref": "#/$defs/__schema3"
1774
+ },
1775
+ "extent": {
1776
+ "$ref": "#/$defs/__schema2"
1777
+ },
1778
+ "kind": {
1779
+ "$ref": "#/$defs/__schema1"
1780
+ },
1781
+ "reasons": {
1782
+ "$ref": "#/$defs/__schema4"
1783
+ }
1784
+ },
1785
+ "readOnly": true,
1786
+ "required": [
1787
+ "kind",
1788
+ "extent",
1789
+ "completeness",
1790
+ "reasons",
1791
+ "catalog"
1792
+ ],
1793
+ "type": "object"
1794
+ },
1795
+ {
1796
+ "$ref": "#/$defs/__schema14"
1797
+ }
1798
+ ]
1799
+ },
1800
+ "environmentId": {
1801
+ "$ref": "#/$defs/__schema0"
1802
+ },
1803
+ "extensions": {
1804
+ "anyOf": [
1805
+ {
1806
+ "additionalProperties": false,
1807
+ "properties": {
1808
+ "catalog": {
1809
+ "$ref": "#/$defs/__schema18"
1810
+ },
1811
+ "completeness": {
1812
+ "$ref": "#/$defs/__schema3"
1813
+ },
1814
+ "extent": {
1815
+ "$ref": "#/$defs/__schema2"
1816
+ },
1817
+ "kind": {
1818
+ "$ref": "#/$defs/__schema1"
1819
+ },
1820
+ "reasons": {
1821
+ "$ref": "#/$defs/__schema4"
1822
+ }
1823
+ },
1824
+ "readOnly": true,
1825
+ "required": [
1826
+ "kind",
1827
+ "extent",
1828
+ "completeness",
1829
+ "reasons",
1830
+ "catalog"
1831
+ ],
1832
+ "type": "object"
1833
+ },
1834
+ {
1835
+ "$ref": "#/$defs/__schema14"
1836
+ }
1837
+ ]
1838
+ },
1839
+ "integrations": {
1840
+ "anyOf": [
1841
+ {
1842
+ "additionalProperties": false,
1843
+ "properties": {
1844
+ "catalog": {
1845
+ "$ref": "#/$defs/__schema23"
1846
+ },
1847
+ "completeness": {
1848
+ "$ref": "#/$defs/__schema3"
1849
+ },
1850
+ "extent": {
1851
+ "$ref": "#/$defs/__schema2"
1852
+ },
1853
+ "kind": {
1854
+ "$ref": "#/$defs/__schema1"
1855
+ },
1856
+ "reasons": {
1857
+ "$ref": "#/$defs/__schema4"
1858
+ }
1859
+ },
1860
+ "readOnly": true,
1861
+ "required": [
1862
+ "kind",
1863
+ "extent",
1864
+ "completeness",
1865
+ "reasons",
1866
+ "catalog"
1867
+ ],
1868
+ "type": "object"
1869
+ },
1870
+ {
1871
+ "$ref": "#/$defs/__schema14"
1872
+ }
1873
+ ]
1874
+ },
1875
+ "revision": {
1876
+ "exclusiveMinimum": 0,
1877
+ "maximum": 9007199254740991,
1878
+ "type": "integer"
1879
+ },
1880
+ "schemaVersion": {
1881
+ "const": 1,
1882
+ "type": "number"
1883
+ }
1884
+ },
1885
+ "readOnly": true,
1886
+ "required": [
1887
+ "schemaVersion",
1888
+ "environmentId",
1889
+ "revision",
1890
+ "content",
1891
+ "commands",
1892
+ "extensions",
1893
+ "integrations"
1894
+ ],
1895
+ "type": "object"
1896
+ }
1897
+ };
1898
+ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
1899
+ "contractId": "agenai.agent-protocol.account-quota-snapshot",
1900
+ "protocolVersion": 9,
1901
+ "direction": "output",
1902
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
1903
+ "parserInvariants": [
1904
+ "quota_observation_ordering",
1905
+ "quota_quantity_presence",
1906
+ "quota_reset_ordering",
1907
+ "serialized_bytes",
1908
+ "unique_model_ids",
1909
+ "unique_pool_window_ids"
1910
+ ],
1911
+ "sha256": "94f935bb6b9194f7f7fd59dde986148e8cef9ea7800f86c0cb09e631ecd7764e",
1912
+ "schema": {
1913
+ "$defs": {
1914
+ "__schema0": {
1915
+ "const": 1,
1916
+ "type": "number"
1917
+ },
1918
+ "__schema1": {
1919
+ "maxLength": 256,
1920
+ "minLength": 1,
1921
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1922
+ "type": "string"
1923
+ },
1924
+ "__schema2": {
1925
+ "format": "date-time",
1926
+ "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)))$",
1927
+ "type": "string"
1928
+ },
1929
+ "__schema3": {
1930
+ "maxLength": 160,
1931
+ "minLength": 1,
1932
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1933
+ "type": "string"
1934
+ },
1935
+ "__schema4": {
1936
+ "additionalProperties": false,
1937
+ "properties": {
1938
+ "allowanceKind": {
1939
+ "enum": [
1940
+ "included",
1941
+ "extra",
1942
+ "reserve",
1943
+ "unknown"
1944
+ ],
1945
+ "type": "string"
1946
+ },
1947
+ "applicability": {
1948
+ "oneOf": [
1949
+ {
1950
+ "additionalProperties": false,
1951
+ "properties": {
1952
+ "kind": {
1953
+ "const": "account",
1954
+ "type": "string"
1955
+ }
1956
+ },
1957
+ "readOnly": true,
1958
+ "required": [
1959
+ "kind"
1960
+ ],
1961
+ "type": "object"
1962
+ },
1963
+ {
1964
+ "additionalProperties": false,
1965
+ "properties": {
1966
+ "kind": {
1967
+ "const": "product",
1968
+ "type": "string"
1969
+ },
1970
+ "productId": {
1971
+ "$ref": "#/$defs/__schema1"
1972
+ }
1973
+ },
1974
+ "readOnly": true,
1975
+ "required": [
1976
+ "kind",
1977
+ "productId"
1978
+ ],
1979
+ "type": "object"
1980
+ },
1981
+ {
1982
+ "additionalProperties": false,
1983
+ "properties": {
1984
+ "kind": {
1985
+ "const": "models",
1986
+ "type": "string"
1987
+ },
1988
+ "modelIds": {
1989
+ "items": {
1990
+ "$ref": "#/$defs/__schema1"
1991
+ },
1992
+ "maxItems": 32,
1993
+ "minItems": 1,
1994
+ "readOnly": true,
1995
+ "type": "array"
1996
+ }
1997
+ },
1998
+ "readOnly": true,
1999
+ "required": [
2000
+ "kind",
2001
+ "modelIds"
2002
+ ],
2003
+ "type": "object"
2004
+ },
2005
+ {
2006
+ "additionalProperties": false,
2007
+ "properties": {
2008
+ "kind": {
2009
+ "const": "unknown",
2010
+ "type": "string"
2011
+ }
2012
+ },
2013
+ "readOnly": true,
2014
+ "required": [
2015
+ "kind"
2016
+ ],
2017
+ "type": "object"
2018
+ }
2019
+ ]
2020
+ },
2021
+ "label": {
2022
+ "$ref": "#/$defs/__schema3"
2023
+ },
2024
+ "measurement": {
2025
+ "oneOf": [
2026
+ {
2027
+ "additionalProperties": false,
2028
+ "properties": {
2029
+ "kind": {
2030
+ "const": "unknown",
2031
+ "type": "string"
2032
+ }
2033
+ },
2034
+ "readOnly": true,
2035
+ "required": [
2036
+ "kind"
2037
+ ],
2038
+ "type": "object"
2039
+ },
2040
+ {
2041
+ "additionalProperties": false,
2042
+ "properties": {
2043
+ "kind": {
2044
+ "const": "percentage",
2045
+ "type": "string"
2046
+ },
2047
+ "usedPercent": {
2048
+ "$ref": "#/$defs/__schema6"
2049
+ }
2050
+ },
2051
+ "readOnly": true,
2052
+ "required": [
2053
+ "kind",
2054
+ "usedPercent"
2055
+ ],
2056
+ "type": "object"
2057
+ },
2058
+ {
2059
+ "additionalProperties": false,
2060
+ "properties": {
2061
+ "kind": {
2062
+ "const": "quantity",
2063
+ "type": "string"
2064
+ },
2065
+ "limit": {
2066
+ "$ref": "#/$defs/__schema6"
2067
+ },
2068
+ "remaining": {
2069
+ "$ref": "#/$defs/__schema6"
2070
+ },
2071
+ "unit": {
2072
+ "$ref": "#/$defs/__schema3"
2073
+ },
2074
+ "used": {
2075
+ "$ref": "#/$defs/__schema6"
2076
+ },
2077
+ "usedPercent": {
2078
+ "$ref": "#/$defs/__schema6"
2079
+ }
2080
+ },
2081
+ "readOnly": true,
2082
+ "required": [
2083
+ "kind",
2084
+ "unit"
2085
+ ],
2086
+ "type": "object"
2087
+ },
2088
+ {
2089
+ "additionalProperties": false,
2090
+ "properties": {
2091
+ "currency": {
2092
+ "pattern": "^[A-Z]{3}$",
2093
+ "type": "string"
2094
+ },
2095
+ "kind": {
2096
+ "const": "money",
2097
+ "type": "string"
2098
+ },
2099
+ "limitMinorUnits": {
2100
+ "$ref": "#/$defs/__schema7"
2101
+ },
2102
+ "remainingMinorUnits": {
2103
+ "$ref": "#/$defs/__schema7"
2104
+ },
2105
+ "scale": {
2106
+ "maximum": 9,
2107
+ "minimum": 0,
2108
+ "type": "integer"
2109
+ },
2110
+ "usedMinorUnits": {
2111
+ "$ref": "#/$defs/__schema7"
2112
+ },
2113
+ "usedPercent": {
2114
+ "$ref": "#/$defs/__schema6"
2115
+ }
2116
+ },
2117
+ "readOnly": true,
2118
+ "required": [
2119
+ "kind",
2120
+ "currency",
2121
+ "scale"
2122
+ ],
2123
+ "type": "object"
2124
+ }
2125
+ ]
2126
+ },
2127
+ "observedAt": {
2128
+ "$ref": "#/$defs/__schema2"
2129
+ },
2130
+ "period": {
2131
+ "oneOf": [
2132
+ {
2133
+ "additionalProperties": false,
2134
+ "properties": {
2135
+ "durationSeconds": {
2136
+ "$ref": "#/$defs/__schema5"
2137
+ },
2138
+ "kind": {
2139
+ "const": "rolling",
2140
+ "type": "string"
2141
+ }
2142
+ },
2143
+ "readOnly": true,
2144
+ "required": [
2145
+ "kind"
2146
+ ],
2147
+ "type": "object"
2148
+ },
2149
+ {
2150
+ "additionalProperties": false,
2151
+ "properties": {
2152
+ "durationSeconds": {
2153
+ "$ref": "#/$defs/__schema5"
2154
+ },
2155
+ "kind": {
2156
+ "const": "fixed",
2157
+ "type": "string"
2158
+ }
2159
+ },
2160
+ "readOnly": true,
2161
+ "required": [
2162
+ "kind"
2163
+ ],
2164
+ "type": "object"
2165
+ },
2166
+ {
2167
+ "additionalProperties": false,
2168
+ "properties": {
2169
+ "durationSeconds": {
2170
+ "$ref": "#/$defs/__schema5"
2171
+ },
2172
+ "kind": {
2173
+ "const": "unknown",
2174
+ "type": "string"
2175
+ }
2176
+ },
2177
+ "readOnly": true,
2178
+ "required": [
2179
+ "kind"
2180
+ ],
2181
+ "type": "object"
2182
+ },
2183
+ {
2184
+ "additionalProperties": false,
2185
+ "properties": {
2186
+ "kind": {
2187
+ "const": "calendar",
2188
+ "type": "string"
2189
+ },
2190
+ "timeZone": {
2191
+ "$ref": "#/$defs/__schema3"
2192
+ },
2193
+ "unit": {
2194
+ "enum": [
2195
+ "day",
2196
+ "week",
2197
+ "month",
2198
+ "year"
2199
+ ],
2200
+ "type": "string"
2201
+ }
2202
+ },
2203
+ "readOnly": true,
2204
+ "required": [
2205
+ "kind",
2206
+ "unit",
2207
+ "timeZone"
2208
+ ],
2209
+ "type": "object"
2210
+ },
2211
+ {
2212
+ "additionalProperties": false,
2213
+ "properties": {
2214
+ "kind": {
2215
+ "const": "billing_cycle",
2216
+ "type": "string"
2217
+ },
2218
+ "unit": {
2219
+ "enum": [
2220
+ "month",
2221
+ "year",
2222
+ "unknown"
2223
+ ],
2224
+ "type": "string"
2225
+ }
2226
+ },
2227
+ "readOnly": true,
2228
+ "required": [
2229
+ "kind",
2230
+ "unit"
2231
+ ],
2232
+ "type": "object"
2233
+ }
2234
+ ]
2235
+ },
2236
+ "poolId": {
2237
+ "$ref": "#/$defs/__schema1"
2238
+ },
2239
+ "reset": {
2240
+ "additionalProperties": false,
2241
+ "properties": {
2242
+ "at": {
2243
+ "$ref": "#/$defs/__schema2"
2244
+ },
2245
+ "observedAt": {
2246
+ "$ref": "#/$defs/__schema2"
2247
+ },
2248
+ "precision": {
2249
+ "enum": [
2250
+ "reported",
2251
+ "estimated"
2252
+ ],
2253
+ "type": "string"
2254
+ }
2255
+ },
2256
+ "readOnly": true,
2257
+ "required": [
2258
+ "at",
2259
+ "precision",
2260
+ "observedAt"
2261
+ ],
2262
+ "type": "object"
2263
+ },
2264
+ "startsAt": {
2265
+ "$ref": "#/$defs/__schema2"
2266
+ },
2267
+ "windowId": {
2268
+ "$ref": "#/$defs/__schema1"
2269
+ }
2270
+ },
2271
+ "readOnly": true,
2272
+ "required": [
2273
+ "poolId",
2274
+ "windowId",
2275
+ "label",
2276
+ "allowanceKind",
2277
+ "applicability",
2278
+ "period",
2279
+ "measurement",
2280
+ "observedAt"
2281
+ ],
2282
+ "type": "object"
2283
+ },
2284
+ "__schema5": {
2285
+ "exclusiveMinimum": 0,
2286
+ "maximum": 9007199254740991,
2287
+ "type": "integer"
2288
+ },
2289
+ "__schema6": {
2290
+ "maximum": 9007199254740991,
2291
+ "minimum": 0,
2292
+ "type": "number"
2293
+ },
2294
+ "__schema7": {
2295
+ "maximum": 9007199254740991,
2296
+ "minimum": 0,
2297
+ "type": "integer"
2298
+ }
2299
+ },
2300
+ "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v9:output",
2301
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2302
+ "oneOf": [
2303
+ {
2304
+ "additionalProperties": false,
2305
+ "properties": {
2306
+ "accountLabel": {
2307
+ "$ref": "#/$defs/__schema3"
2308
+ },
2309
+ "allowance": {
2310
+ "additionalProperties": false,
2311
+ "properties": {
2312
+ "extra": {
2313
+ "enum": [
2314
+ "allowed",
2315
+ "unavailable",
2316
+ "unknown"
2317
+ ],
2318
+ "type": "string"
2319
+ },
2320
+ "included": {
2321
+ "enum": [
2322
+ "allowed",
2323
+ "exhausted",
2324
+ "unknown"
2325
+ ],
2326
+ "type": "string"
2327
+ },
2328
+ "reserve": {
2329
+ "enum": [
2330
+ "allowed",
2331
+ "unavailable",
2332
+ "unknown"
2333
+ ],
2334
+ "type": "string"
2335
+ }
2336
+ },
2337
+ "readOnly": true,
2338
+ "required": [
2339
+ "included",
2340
+ "extra",
2341
+ "reserve"
2342
+ ],
2343
+ "type": "object"
2344
+ },
2345
+ "completeness": {
2346
+ "enum": [
2347
+ "complete",
2348
+ "partial"
2349
+ ],
2350
+ "type": "string"
2351
+ },
2352
+ "observedAt": {
2353
+ "$ref": "#/$defs/__schema2"
2354
+ },
2355
+ "planLabel": {
2356
+ "$ref": "#/$defs/__schema3"
2357
+ },
2358
+ "schemaVersion": {
2359
+ "$ref": "#/$defs/__schema0"
2360
+ },
2361
+ "sourceId": {
2362
+ "$ref": "#/$defs/__schema1"
2363
+ },
2364
+ "state": {
2365
+ "const": "available",
2366
+ "type": "string"
2367
+ },
2368
+ "windows": {
2369
+ "items": {
2370
+ "$ref": "#/$defs/__schema4"
2371
+ },
2372
+ "maxItems": 64,
2373
+ "readOnly": true,
2374
+ "type": "array"
2375
+ }
2376
+ },
2377
+ "readOnly": true,
2378
+ "required": [
2379
+ "schemaVersion",
2380
+ "sourceId",
2381
+ "observedAt",
2382
+ "state",
2383
+ "completeness",
2384
+ "windows",
2385
+ "allowance"
2386
+ ],
2387
+ "type": "object"
2388
+ },
2389
+ {
2390
+ "additionalProperties": false,
2391
+ "properties": {
2392
+ "observedAt": {
2393
+ "$ref": "#/$defs/__schema2"
2394
+ },
2395
+ "schemaVersion": {
2396
+ "$ref": "#/$defs/__schema0"
2397
+ },
2398
+ "sourceId": {
2399
+ "$ref": "#/$defs/__schema1"
2400
+ },
2401
+ "state": {
2402
+ "const": "authentication_required",
2403
+ "type": "string"
2404
+ }
2405
+ },
2406
+ "readOnly": true,
2407
+ "required": [
2408
+ "schemaVersion",
2409
+ "sourceId",
2410
+ "observedAt",
2411
+ "state"
2412
+ ],
2413
+ "type": "object"
2414
+ },
2415
+ {
2416
+ "additionalProperties": false,
2417
+ "properties": {
2418
+ "observedAt": {
2419
+ "$ref": "#/$defs/__schema2"
2420
+ },
2421
+ "schemaVersion": {
2422
+ "$ref": "#/$defs/__schema0"
2423
+ },
2424
+ "sourceId": {
2425
+ "$ref": "#/$defs/__schema1"
2426
+ },
2427
+ "state": {
2428
+ "const": "inapplicable",
2429
+ "type": "string"
2430
+ }
2431
+ },
2432
+ "readOnly": true,
2433
+ "required": [
2434
+ "schemaVersion",
2435
+ "sourceId",
2436
+ "observedAt",
2437
+ "state"
2438
+ ],
2439
+ "type": "object"
2440
+ },
2441
+ {
2442
+ "additionalProperties": false,
2443
+ "properties": {
2444
+ "observedAt": {
2445
+ "$ref": "#/$defs/__schema2"
2446
+ },
2447
+ "schemaVersion": {
2448
+ "$ref": "#/$defs/__schema0"
2449
+ },
2450
+ "sourceId": {
2451
+ "$ref": "#/$defs/__schema1"
2452
+ },
2453
+ "state": {
2454
+ "const": "temporarily_unavailable",
2455
+ "type": "string"
2456
+ }
2457
+ },
2458
+ "readOnly": true,
2459
+ "required": [
2460
+ "schemaVersion",
2461
+ "sourceId",
2462
+ "observedAt",
2463
+ "state"
2464
+ ],
2465
+ "type": "object"
2466
+ }
2467
+ ]
2468
+ }
2469
+ };
2
2470
  const AGENT_SESSION_BINDING_JSON_SCHEMA = {
3
2471
  "contractId": "agenai.agent-protocol.session-binding",
4
- "protocolVersion": 8,
2472
+ "protocolVersion": 9,
5
2473
  "direction": "output",
6
2474
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7
2475
  "parserInvariants": [],
8
- "sha256": "066245cff4499dfd199eab873ac8f4b9d1b963e2e9dc07a4b083c7620badfc33",
2476
+ "sha256": "06c5d22a33ae7abbee10a644b0d1270c862bc7b2c1f8c967f8285d42bc755833",
9
2477
  "schema": {
10
2478
  "$defs": {
11
2479
  "__schema0": {
@@ -15,7 +2483,7 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
15
2483
  "type": "string"
16
2484
  }
17
2485
  },
18
- "$id": "urn:agenai.agent-protocol.session-binding:v8:output",
2486
+ "$id": "urn:agenai.agent-protocol.session-binding:v9:output",
19
2487
  "$schema": "https://json-schema.org/draft/2020-12/schema",
20
2488
  "additionalProperties": false,
21
2489
  "properties": {
@@ -35,14 +2503,14 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
35
2503
  };
36
2504
  const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
37
2505
  "contractId": "agenai.agent-protocol.session-configuration",
38
- "protocolVersion": 8,
2506
+ "protocolVersion": 9,
39
2507
  "direction": "input",
40
2508
  "dialect": "https://json-schema.org/draft/2020-12/schema",
41
2509
  "parserInvariants": [
42
2510
  "configuration_entry_count",
43
2511
  "serialized_bytes"
44
2512
  ],
45
- "sha256": "1ab7ecdaeb944f74636f701d446e0ccc9d0911cc44a4bbbc42c11d51de9d639d",
2513
+ "sha256": "78ac46a3a31fbf7e2a93a5a56727bf280361bfc07080207a103f3db76bade9ed",
46
2514
  "schema": {
47
2515
  "$defs": {
48
2516
  "__schema0": {
@@ -155,7 +2623,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
155
2623
  "type": "object"
156
2624
  }
157
2625
  },
158
- "$id": "urn:agenai.agent-protocol.session-configuration:v8:input",
2626
+ "$id": "urn:agenai.agent-protocol.session-configuration:v9:input",
159
2627
  "$schema": "https://json-schema.org/draft/2020-12/schema",
160
2628
  "oneOf": [
161
2629
  {
@@ -212,7 +2680,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
212
2680
  };
213
2681
  const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
214
2682
  "contractId": "agenai.agent-protocol.session-open-input",
215
- "protocolVersion": 8,
2683
+ "protocolVersion": 9,
216
2684
  "direction": "input",
217
2685
  "dialect": "https://json-schema.org/draft/2020-12/schema",
218
2686
  "parserInvariants": [
@@ -220,7 +2688,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
220
2688
  "distinct_branch_session_ids",
221
2689
  "serialized_bytes"
222
2690
  ],
223
- "sha256": "1bbb74a15011021b3f6f303d2399c8f2139b68f8d205bec31dfade3cbb9d9d7f",
2691
+ "sha256": "9c191e3646bedb617c1c07bf5e4653b3acd2588a796a6b5cf914b7d7aead526a",
224
2692
  "schema": {
225
2693
  "$defs": {
226
2694
  "__schema0": {
@@ -408,7 +2876,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
408
2876
  "type": "string"
409
2877
  }
410
2878
  },
411
- "$id": "urn:agenai.agent-protocol.session-open-input:v8:input",
2879
+ "$id": "urn:agenai.agent-protocol.session-open-input:v9:input",
412
2880
  "$schema": "https://json-schema.org/draft/2020-12/schema",
413
2881
  "oneOf": [
414
2882
  {
@@ -522,14 +2990,16 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
522
2990
  };
523
2991
  const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
524
2992
  "contractId": "agenai.agent-protocol.turn-input-content",
525
- "protocolVersion": 8,
2993
+ "protocolVersion": 9,
526
2994
  "direction": "input",
527
2995
  "dialect": "https://json-schema.org/draft/2020-12/schema",
528
2996
  "parserInvariants": [
529
2997
  "inline_image_decoded_byte_size",
530
- "serialized_bytes"
2998
+ "serialized_bytes",
2999
+ "content_reference_limits",
3000
+ "unique_content_references"
531
3001
  ],
532
- "sha256": "cc292a266caffaa18061316e38d0de451bfc36288c547cb310b62e7c117b7e72",
3002
+ "sha256": "33cbad909fd9a266501cafdece323c46cdeabe118511c50efdd995c6dc54b2fa",
533
3003
  "schema": {
534
3004
  "$defs": {
535
3005
  "__schema0": {
@@ -692,9 +3162,53 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
692
3162
  "source"
693
3163
  ],
694
3164
  "type": "object"
3165
+ },
3166
+ {
3167
+ "additionalProperties": false,
3168
+ "properties": {
3169
+ "arguments": {
3170
+ "$ref": "#/$defs/__schema10"
3171
+ },
3172
+ "contentCatalogRevision": {
3173
+ "$ref": "#/$defs/__schema9"
3174
+ },
3175
+ "contentId": {
3176
+ "$ref": "#/$defs/__schema8"
3177
+ },
3178
+ "contentRevision": {
3179
+ "$ref": "#/$defs/__schema9"
3180
+ },
3181
+ "environmentId": {
3182
+ "$ref": "#/$defs/__schema8"
3183
+ },
3184
+ "environmentRevision": {
3185
+ "$ref": "#/$defs/__schema9"
3186
+ },
3187
+ "type": {
3188
+ "$ref": "#/$defs/__schema7"
3189
+ }
3190
+ },
3191
+ "readOnly": true,
3192
+ "required": [
3193
+ "type",
3194
+ "environmentId",
3195
+ "environmentRevision",
3196
+ "contentCatalogRevision",
3197
+ "contentId",
3198
+ "contentRevision"
3199
+ ],
3200
+ "type": "object"
695
3201
  }
696
3202
  ]
697
3203
  },
3204
+ "__schema10": {
3205
+ "maxLength": 4096,
3206
+ "type": "string"
3207
+ },
3208
+ "__schema11": {
3209
+ "maxLength": 2e3,
3210
+ "type": "string"
3211
+ },
698
3212
  "__schema2": {
699
3213
  "enum": [
700
3214
  "image/png",
@@ -726,11 +3240,22 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
726
3240
  "type": "string"
727
3241
  },
728
3242
  "__schema7": {
729
- "maxLength": 2e3,
3243
+ "const": "content_reference",
3244
+ "type": "string"
3245
+ },
3246
+ "__schema8": {
3247
+ "maxLength": 256,
3248
+ "minLength": 1,
3249
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
730
3250
  "type": "string"
3251
+ },
3252
+ "__schema9": {
3253
+ "exclusiveMinimum": 0,
3254
+ "maximum": 9007199254740991,
3255
+ "type": "integer"
731
3256
  }
732
3257
  },
733
- "$id": "urn:agenai.agent-protocol.turn-input-content:v8:input",
3258
+ "$id": "urn:agenai.agent-protocol.turn-input-content:v9:input",
734
3259
  "$schema": "https://json-schema.org/draft/2020-12/schema",
735
3260
  "additionalProperties": false,
736
3261
  "properties": {
@@ -738,7 +3263,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
738
3263
  "$ref": "#/$defs/__schema0"
739
3264
  },
740
3265
  "summary": {
741
- "$ref": "#/$defs/__schema7"
3266
+ "$ref": "#/$defs/__schema11"
742
3267
  }
743
3268
  },
744
3269
  "required": [
@@ -749,17 +3274,25 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
749
3274
  };
750
3275
  const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
751
3276
  "contractId": "agenai.agent-protocol.turn-run-input",
752
- "protocolVersion": 8,
3277
+ "protocolVersion": 9,
753
3278
  "direction": "input",
754
3279
  "dialect": "https://json-schema.org/draft/2020-12/schema",
755
3280
  "parserInvariants": [
756
3281
  "inline_image_decoded_byte_size",
757
- "serialized_bytes"
3282
+ "serialized_bytes",
3283
+ "content_reference_limits",
3284
+ "unique_content_references"
758
3285
  ],
759
- "sha256": "4786fe908d25e26593d79ae4ea60e108dc47301b6f348f44598677178520d63e",
3286
+ "sha256": "22f4f5513c26ef897205398618603ee2fe2e7f8127b8f96297d3da4c2f64aa62",
760
3287
  "schema": {
761
3288
  "$defs": {
762
3289
  "__schema0": {
3290
+ "maxLength": 256,
3291
+ "minLength": 1,
3292
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
3293
+ "type": "string"
3294
+ },
3295
+ "__schema1": {
763
3296
  "oneOf": [
764
3297
  {
765
3298
  "additionalProperties": false,
@@ -790,13 +3323,13 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
790
3323
  "additionalProperties": false,
791
3324
  "properties": {
792
3325
  "byteSize": {
793
- "$ref": "#/$defs/__schema2"
3326
+ "$ref": "#/$defs/__schema3"
794
3327
  },
795
3328
  "heightPixels": {
796
- "$ref": "#/$defs/__schema3"
3329
+ "$ref": "#/$defs/__schema4"
797
3330
  },
798
3331
  "mediaType": {
799
- "$ref": "#/$defs/__schema1"
3332
+ "$ref": "#/$defs/__schema2"
800
3333
  },
801
3334
  "type": {
802
3335
  "const": "url",
@@ -808,7 +3341,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
808
3341
  "type": "string"
809
3342
  },
810
3343
  "widthPixels": {
811
- "$ref": "#/$defs/__schema3"
3344
+ "$ref": "#/$defs/__schema4"
812
3345
  }
813
3346
  },
814
3347
  "readOnly": true,
@@ -826,22 +3359,22 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
826
3359
  "additionalProperties": false,
827
3360
  "properties": {
828
3361
  "byteSize": {
829
- "$ref": "#/$defs/__schema2"
3362
+ "$ref": "#/$defs/__schema3"
830
3363
  },
831
3364
  "data": {
832
- "$ref": "#/$defs/__schema5"
3365
+ "$ref": "#/$defs/__schema6"
833
3366
  },
834
3367
  "heightPixels": {
835
- "$ref": "#/$defs/__schema3"
3368
+ "$ref": "#/$defs/__schema4"
836
3369
  },
837
3370
  "mediaType": {
838
- "$ref": "#/$defs/__schema1"
3371
+ "$ref": "#/$defs/__schema2"
839
3372
  },
840
3373
  "type": {
841
- "$ref": "#/$defs/__schema4"
3374
+ "$ref": "#/$defs/__schema5"
842
3375
  },
843
3376
  "widthPixels": {
844
- "$ref": "#/$defs/__schema3"
3377
+ "$ref": "#/$defs/__schema4"
845
3378
  }
846
3379
  },
847
3380
  "readOnly": true,
@@ -859,13 +3392,13 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
859
3392
  "additionalProperties": false,
860
3393
  "properties": {
861
3394
  "byteSize": {
862
- "$ref": "#/$defs/__schema2"
3395
+ "$ref": "#/$defs/__schema3"
863
3396
  },
864
3397
  "heightPixels": {
865
- "$ref": "#/$defs/__schema3"
3398
+ "$ref": "#/$defs/__schema4"
866
3399
  },
867
3400
  "mediaType": {
868
- "$ref": "#/$defs/__schema1"
3401
+ "$ref": "#/$defs/__schema2"
869
3402
  },
870
3403
  "path": {
871
3404
  "maxLength": 4096,
@@ -882,7 +3415,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
882
3415
  "type": "string"
883
3416
  },
884
3417
  "widthPixels": {
885
- "$ref": "#/$defs/__schema3"
3418
+ "$ref": "#/$defs/__schema4"
886
3419
  }
887
3420
  },
888
3421
  "readOnly": true,
@@ -910,10 +3443,46 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
910
3443
  "source"
911
3444
  ],
912
3445
  "type": "object"
3446
+ },
3447
+ {
3448
+ "additionalProperties": false,
3449
+ "properties": {
3450
+ "arguments": {
3451
+ "$ref": "#/$defs/__schema9"
3452
+ },
3453
+ "contentCatalogRevision": {
3454
+ "$ref": "#/$defs/__schema8"
3455
+ },
3456
+ "contentId": {
3457
+ "$ref": "#/$defs/__schema0"
3458
+ },
3459
+ "contentRevision": {
3460
+ "$ref": "#/$defs/__schema8"
3461
+ },
3462
+ "environmentId": {
3463
+ "$ref": "#/$defs/__schema0"
3464
+ },
3465
+ "environmentRevision": {
3466
+ "$ref": "#/$defs/__schema8"
3467
+ },
3468
+ "type": {
3469
+ "$ref": "#/$defs/__schema7"
3470
+ }
3471
+ },
3472
+ "readOnly": true,
3473
+ "required": [
3474
+ "type",
3475
+ "environmentId",
3476
+ "environmentRevision",
3477
+ "contentCatalogRevision",
3478
+ "contentId",
3479
+ "contentRevision"
3480
+ ],
3481
+ "type": "object"
913
3482
  }
914
3483
  ]
915
3484
  },
916
- "__schema1": {
3485
+ "__schema2": {
917
3486
  "enum": [
918
3487
  "image/png",
919
3488
  "image/jpeg",
@@ -921,30 +3490,43 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
921
3490
  ],
922
3491
  "type": "string"
923
3492
  },
924
- "__schema2": {
3493
+ "__schema3": {
925
3494
  "exclusiveMinimum": 0,
926
3495
  "maximum": 104857600,
927
3496
  "type": "integer"
928
3497
  },
929
- "__schema3": {
3498
+ "__schema4": {
930
3499
  "exclusiveMinimum": 0,
931
3500
  "maximum": 1e5,
932
3501
  "type": "integer"
933
3502
  },
934
- "__schema4": {
3503
+ "__schema5": {
935
3504
  "const": "base64",
936
3505
  "type": "string"
937
3506
  },
938
- "__schema5": {
3507
+ "__schema6": {
939
3508
  "contentEncoding": "base64",
940
3509
  "format": "base64",
941
3510
  "maxLength": 5e5,
942
3511
  "minLength": 1,
943
3512
  "pattern": "^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$",
944
3513
  "type": "string"
3514
+ },
3515
+ "__schema7": {
3516
+ "const": "content_reference",
3517
+ "type": "string"
3518
+ },
3519
+ "__schema8": {
3520
+ "exclusiveMinimum": 0,
3521
+ "maximum": 9007199254740991,
3522
+ "type": "integer"
3523
+ },
3524
+ "__schema9": {
3525
+ "maxLength": 4096,
3526
+ "type": "string"
945
3527
  }
946
3528
  },
947
- "$id": "urn:agenai.agent-protocol.turn-run-input:v8:input",
3529
+ "$id": "urn:agenai.agent-protocol.turn-run-input:v9:input",
948
3530
  "$schema": "https://json-schema.org/draft/2020-12/schema",
949
3531
  "additionalProperties": false,
950
3532
  "properties": {
@@ -962,7 +3544,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
962
3544
  },
963
3545
  "parts": {
964
3546
  "items": {
965
- "$ref": "#/$defs/__schema0"
3547
+ "$ref": "#/$defs/__schema1"
966
3548
  },
967
3549
  "maxItems": 100,
968
3550
  "minItems": 1,
@@ -974,10 +3556,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
974
3556
  "type": "string"
975
3557
  },
976
3558
  "turnId": {
977
- "maxLength": 256,
978
- "minLength": 1,
979
- "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
980
- "type": "string"
3559
+ "$ref": "#/$defs/__schema0"
981
3560
  }
982
3561
  },
983
3562
  "readOnly": true,
@@ -991,7 +3570,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
991
3570
  };
992
3571
  const AGENT_REQUEST_JSON_SCHEMA = {
993
3572
  "contractId": "agenai.agent-protocol.request",
994
- "protocolVersion": 8,
3573
+ "protocolVersion": 9,
995
3574
  "direction": "output",
996
3575
  "dialect": "https://json-schema.org/draft/2020-12/schema",
997
3576
  "parserInvariants": [
@@ -999,7 +3578,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
999
3578
  "unique_field_ids",
1000
3579
  "unique_choice_values"
1001
3580
  ],
1002
- "sha256": "eef828e384c7160f2d3d925c3d154e3090ee3e7532708ede00e5224c2db99c2b",
3581
+ "sha256": "ea8350e2884bb8d80b678ab6a5062a9627a1fdea29543ffc866cc49f5e999f84",
1003
3582
  "schema": {
1004
3583
  "$defs": {
1005
3584
  "__schema0": {
@@ -1351,7 +3930,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
1351
3930
  "type": "string"
1352
3931
  }
1353
3932
  },
1354
- "$id": "urn:agenai.agent-protocol.request:v8:output",
3933
+ "$id": "urn:agenai.agent-protocol.request:v9:output",
1355
3934
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1356
3935
  "oneOf": [
1357
3936
  {
@@ -1494,14 +4073,14 @@ const AGENT_REQUEST_JSON_SCHEMA = {
1494
4073
  };
1495
4074
  const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
1496
4075
  "contractId": "agenai.agent-protocol.request-resolution",
1497
- "protocolVersion": 8,
4076
+ "protocolVersion": 9,
1498
4077
  "direction": "input",
1499
4078
  "dialect": "https://json-schema.org/draft/2020-12/schema",
1500
4079
  "parserInvariants": [
1501
4080
  "request_resolution_correlation",
1502
4081
  "unique_choice_selections"
1503
4082
  ],
1504
- "sha256": "3afab86f4f59220d2bc904f4c1e70d339102b666defd7e5731e5996df5c05daa",
4083
+ "sha256": "3639fff6ed9857be9cd079fa4f1823b26976cea1695728f0215364387b50e739",
1505
4084
  "schema": {
1506
4085
  "$defs": {
1507
4086
  "__schema0": {
@@ -1651,7 +4230,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
1651
4230
  ]
1652
4231
  }
1653
4232
  },
1654
- "$id": "urn:agenai.agent-protocol.request-resolution:v8:input",
4233
+ "$id": "urn:agenai.agent-protocol.request-resolution:v9:input",
1655
4234
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1656
4235
  "anyOf": [
1657
4236
  {
@@ -1768,7 +4347,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
1768
4347
  };
1769
4348
  const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
1770
4349
  "contractId": "agenai.agent-protocol.operation-catalog",
1771
- "protocolVersion": 8,
4350
+ "protocolVersion": 9,
1772
4351
  "direction": "output",
1773
4352
  "dialect": "https://json-schema.org/draft/2020-12/schema",
1774
4353
  "parserInvariants": [
@@ -1777,7 +4356,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
1777
4356
  "unique_operation_ids",
1778
4357
  "unique_operation_option_ids"
1779
4358
  ],
1780
- "sha256": "258677cf5b6062d3d48d3fe4c3425c5f8b7bc1a12eb2a23e019c6171a940eecf",
4359
+ "sha256": "f9559f32a72cb9b7c1ca41d5a93ceeb8a3c4c14d817095018dcab807dbd92dd5",
1781
4360
  "schema": {
1782
4361
  "$defs": {
1783
4362
  "__schema0": {
@@ -2151,7 +4730,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
2151
4730
  "type": "array"
2152
4731
  }
2153
4732
  },
2154
- "$id": "urn:agenai.agent-protocol.operation-catalog:v8:output",
4733
+ "$id": "urn:agenai.agent-protocol.operation-catalog:v9:output",
2155
4734
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2156
4735
  "additionalProperties": false,
2157
4736
  "properties": {
@@ -2177,7 +4756,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
2177
4756
  };
2178
4757
  const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
2179
4758
  "contractId": "agenai.agent-protocol.operation-invocation",
2180
- "protocolVersion": 8,
4759
+ "protocolVersion": 9,
2181
4760
  "direction": "input",
2182
4761
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2183
4762
  "parserInvariants": [
@@ -2185,7 +4764,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
2185
4764
  "operation_revision_correlation",
2186
4765
  "unique_operation_values"
2187
4766
  ],
2188
- "sha256": "d8fd31e5bfb898b0772ed6c818eceb12756c168cb358085bce94a64f34f95e48",
4767
+ "sha256": "f4c6f6230f6b2f67d452fa496ecd2c6bd64767c072338b959eeb18b08236a670",
2189
4768
  "schema": {
2190
4769
  "$defs": {
2191
4770
  "__schema0": {
@@ -2318,7 +4897,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
2318
4897
  ]
2319
4898
  }
2320
4899
  },
2321
- "$id": "urn:agenai.agent-protocol.operation-invocation:v8:input",
4900
+ "$id": "urn:agenai.agent-protocol.operation-invocation:v9:input",
2322
4901
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2323
4902
  "additionalProperties": false,
2324
4903
  "properties": {
@@ -2354,7 +4933,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
2354
4933
  };
2355
4934
  const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
2356
4935
  "contractId": "agenai.agent-protocol.operation-result",
2357
- "protocolVersion": 8,
4936
+ "protocolVersion": 9,
2358
4937
  "direction": "output",
2359
4938
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2360
4939
  "parserInvariants": [
@@ -2363,7 +4942,7 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
2363
4942
  "operation_result_kind_consistency",
2364
4943
  "unique_operation_result_references"
2365
4944
  ],
2366
- "sha256": "cc1b527db2f130f93dc7ba2d3c02ff1e96f7998a8e944b359aab9e90dfe4583f",
4945
+ "sha256": "3f5d92aa44cb6fdaf6320272f0b63cb7e94d1d31a6087f2efd8b544107edff17",
2367
4946
  "schema": {
2368
4947
  "$defs": {
2369
4948
  "__schema0": {
@@ -2373,7 +4952,7 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
2373
4952
  "type": "string"
2374
4953
  }
2375
4954
  },
2376
- "$id": "urn:agenai.agent-protocol.operation-result:v8:output",
4955
+ "$id": "urn:agenai.agent-protocol.operation-result:v9:output",
2377
4956
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2378
4957
  "additionalProperties": false,
2379
4958
  "properties": {
@@ -2477,14 +5056,14 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
2477
5056
  };
2478
5057
  const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
2479
5058
  "contractId": "agenai.agent-protocol.managed-content-catalog",
2480
- "protocolVersion": 8,
5059
+ "protocolVersion": 9,
2481
5060
  "direction": "output",
2482
5061
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2483
5062
  "parserInvariants": [
2484
5063
  "canonical_managed_content_order",
2485
5064
  "unique_managed_content_ids"
2486
5065
  ],
2487
- "sha256": "10bcee7c31f46ae4a855a1851fc034366d508ea5e38c6876b28d1354ae60a01b",
5066
+ "sha256": "ae5b77e1360213a2d396376cf3e15677a22b5d44d3fda5865c80e9bc53c944c0",
2488
5067
  "schema": {
2489
5068
  "$defs": {
2490
5069
  "__schema0": {
@@ -2654,7 +5233,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
2654
5233
  "type": "object"
2655
5234
  }
2656
5235
  },
2657
- "$id": "urn:agenai.agent-protocol.managed-content-catalog:v8:output",
5236
+ "$id": "urn:agenai.agent-protocol.managed-content-catalog:v9:output",
2658
5237
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2659
5238
  "additionalProperties": false,
2660
5239
  "properties": {
@@ -2680,7 +5259,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
2680
5259
  };
2681
5260
  const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
2682
5261
  "contractId": "agenai.agent-protocol.configuration-catalog",
2683
- "protocolVersion": 8,
5262
+ "protocolVersion": 9,
2684
5263
  "direction": "output",
2685
5264
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2686
5265
  "parserInvariants": [
@@ -2689,7 +5268,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
2689
5268
  "unique_configuration_field_keys",
2690
5269
  "unique_configuration_option_ids"
2691
5270
  ],
2692
- "sha256": "c02a19cfc7c4e67cff8c8414ba21690e0190a6a2eb67f63aafcc5a0f7d9983bc",
5271
+ "sha256": "600dbb784300ad5ff61abbb59ae33df9abb61fc63e67681cce1407c3d313cb75",
2693
5272
  "schema": {
2694
5273
  "$defs": {
2695
5274
  "__schema0": {
@@ -2976,7 +5555,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
2976
5555
  "type": "object"
2977
5556
  }
2978
5557
  },
2979
- "$id": "urn:agenai.agent-protocol.configuration-catalog:v8:output",
5558
+ "$id": "urn:agenai.agent-protocol.configuration-catalog:v9:output",
2980
5559
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2981
5560
  "additionalProperties": false,
2982
5561
  "properties": {
@@ -3002,7 +5581,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
3002
5581
  };
3003
5582
  const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
3004
5583
  "contractId": "agenai.agent-protocol.configuration-selection",
3005
- "protocolVersion": 8,
5584
+ "protocolVersion": 9,
3006
5585
  "direction": "input",
3007
5586
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3008
5587
  "parserInvariants": [
@@ -3010,7 +5589,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
3010
5589
  "configuration_field_correlation",
3011
5590
  "configuration_selection_bounds"
3012
5591
  ],
3013
- "sha256": "2baea6dc7a2a036d2117b594ab40b21d24c8a9ad89680b0d14b49568188191e7",
5592
+ "sha256": "a153e1ba0b30823eef4767a8f69f88611401ccf87e1d2e29712162d93c096b47",
3014
5593
  "schema": {
3015
5594
  "$defs": {
3016
5595
  "__schema0": {
@@ -3025,7 +5604,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
3025
5604
  "type": "integer"
3026
5605
  }
3027
5606
  },
3028
- "$id": "urn:agenai.agent-protocol.configuration-selection:v8:input",
5607
+ "$id": "urn:agenai.agent-protocol.configuration-selection:v9:input",
3029
5608
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3030
5609
  "additionalProperties": false,
3031
5610
  "properties": {
@@ -3131,7 +5710,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
3131
5710
  };
3132
5711
  const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
3133
5712
  "contractId": "agenai.agent-protocol.integration-catalog",
3134
- "protocolVersion": 8,
5713
+ "protocolVersion": 9,
3135
5714
  "direction": "output",
3136
5715
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3137
5716
  "parserInvariants": [
@@ -3141,7 +5720,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
3141
5720
  "unique_integration_tool_ids",
3142
5721
  "unique_integration_resource_ids"
3143
5722
  ],
3144
- "sha256": "9374172c2d35cea4bc4230052be8343d80fc95bb2e65537af7dfe3df6c2eb61d",
5723
+ "sha256": "4883ed1403b045e3bc7608d09472f0c8e20c915ced525a778b7546637659e655",
3145
5724
  "schema": {
3146
5725
  "$defs": {
3147
5726
  "__schema0": {
@@ -3150,49 +5729,151 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
3150
5729
  "type": "integer"
3151
5730
  },
3152
5731
  "__schema1": {
3153
- "additionalProperties": false,
3154
- "properties": {
3155
- "integrationId": {
3156
- "$ref": "#/$defs/__schema2"
3157
- },
3158
- "kind": {
3159
- "const": "mcp",
3160
- "type": "string"
3161
- },
3162
- "name": {
3163
- "$ref": "#/$defs/__schema3"
3164
- },
3165
- "revision": {
3166
- "$ref": "#/$defs/__schema0"
5732
+ "oneOf": [
5733
+ {
5734
+ "additionalProperties": false,
5735
+ "properties": {
5736
+ "integrationId": {
5737
+ "$ref": "#/$defs/__schema2"
5738
+ },
5739
+ "kind": {
5740
+ "const": "mcp",
5741
+ "type": "string"
5742
+ },
5743
+ "name": {
5744
+ "$ref": "#/$defs/__schema3"
5745
+ },
5746
+ "revision": {
5747
+ "$ref": "#/$defs/__schema0"
5748
+ },
5749
+ "servers": {
5750
+ "items": {
5751
+ "$ref": "#/$defs/__schema4"
5752
+ },
5753
+ "maxItems": 32,
5754
+ "readOnly": true,
5755
+ "type": "array"
5756
+ },
5757
+ "status": {
5758
+ "enum": [
5759
+ "starting",
5760
+ "ready",
5761
+ "degraded",
5762
+ "unavailable"
5763
+ ],
5764
+ "type": "string"
5765
+ }
5766
+ },
5767
+ "readOnly": true,
5768
+ "required": [
5769
+ "integrationId",
5770
+ "revision",
5771
+ "kind",
5772
+ "name",
5773
+ "status",
5774
+ "servers"
5775
+ ],
5776
+ "type": "object"
3167
5777
  },
3168
- "servers": {
3169
- "items": {
3170
- "$ref": "#/$defs/__schema4"
5778
+ {
5779
+ "additionalProperties": false,
5780
+ "properties": {
5781
+ "authentication": {
5782
+ "$ref": "#/$defs/__schema8"
5783
+ },
5784
+ "callability": {
5785
+ "$ref": "#/$defs/__schema8"
5786
+ },
5787
+ "description": {
5788
+ "$ref": "#/$defs/__schema6"
5789
+ },
5790
+ "enablement": {
5791
+ "$ref": "#/$defs/__schema8"
5792
+ },
5793
+ "health": {
5794
+ "enum": [
5795
+ "starting",
5796
+ "ready",
5797
+ "degraded",
5798
+ "unavailable"
5799
+ ],
5800
+ "type": "string"
5801
+ },
5802
+ "installation": {
5803
+ "$ref": "#/$defs/__schema8"
5804
+ },
5805
+ "integrationId": {
5806
+ "$ref": "#/$defs/__schema2"
5807
+ },
5808
+ "kind": {
5809
+ "const": "connector",
5810
+ "type": "string"
5811
+ },
5812
+ "name": {
5813
+ "$ref": "#/$defs/__schema3"
5814
+ },
5815
+ "revision": {
5816
+ "$ref": "#/$defs/__schema0"
5817
+ },
5818
+ "source": {
5819
+ "additionalProperties": false,
5820
+ "properties": {
5821
+ "origin": {
5822
+ "enum": [
5823
+ "managed",
5824
+ "workspace",
5825
+ "user",
5826
+ "bundled",
5827
+ "plugin",
5828
+ "remote",
5829
+ "unknown"
5830
+ ],
5831
+ "type": "string"
5832
+ },
5833
+ "scope": {
5834
+ "enum": [
5835
+ "workspace",
5836
+ "project",
5837
+ "user",
5838
+ "system",
5839
+ "remote",
5840
+ "unknown"
5841
+ ],
5842
+ "type": "string"
5843
+ }
5844
+ },
5845
+ "readOnly": true,
5846
+ "required": [
5847
+ "scope",
5848
+ "origin"
5849
+ ],
5850
+ "type": "object"
5851
+ },
5852
+ "tools": {
5853
+ "items": {
5854
+ "$ref": "#/$defs/__schema5"
5855
+ },
5856
+ "maxItems": 100,
5857
+ "readOnly": true,
5858
+ "type": "array"
5859
+ }
3171
5860
  },
3172
- "maxItems": 32,
3173
5861
  "readOnly": true,
3174
- "type": "array"
3175
- },
3176
- "status": {
3177
- "enum": [
3178
- "starting",
3179
- "ready",
3180
- "degraded",
3181
- "unavailable"
5862
+ "required": [
5863
+ "integrationId",
5864
+ "revision",
5865
+ "kind",
5866
+ "name",
5867
+ "source",
5868
+ "installation",
5869
+ "enablement",
5870
+ "authentication",
5871
+ "health",
5872
+ "callability"
3182
5873
  ],
3183
- "type": "string"
5874
+ "type": "object"
3184
5875
  }
3185
- },
3186
- "readOnly": true,
3187
- "required": [
3188
- "integrationId",
3189
- "revision",
3190
- "kind",
3191
- "name",
3192
- "status",
3193
- "servers"
3194
- ],
3195
- "type": "object"
5876
+ ]
3196
5877
  },
3197
5878
  "__schema2": {
3198
5879
  "maxLength": 256,
@@ -3302,9 +5983,45 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
3302
5983
  "name"
3303
5984
  ],
3304
5985
  "type": "object"
5986
+ },
5987
+ "__schema8": {
5988
+ "oneOf": [
5989
+ {
5990
+ "additionalProperties": false,
5991
+ "properties": {
5992
+ "kind": {
5993
+ "const": "known",
5994
+ "type": "string"
5995
+ },
5996
+ "value": {
5997
+ "type": "boolean"
5998
+ }
5999
+ },
6000
+ "readOnly": true,
6001
+ "required": [
6002
+ "kind",
6003
+ "value"
6004
+ ],
6005
+ "type": "object"
6006
+ },
6007
+ {
6008
+ "additionalProperties": false,
6009
+ "properties": {
6010
+ "kind": {
6011
+ "const": "unknown",
6012
+ "type": "string"
6013
+ }
6014
+ },
6015
+ "readOnly": true,
6016
+ "required": [
6017
+ "kind"
6018
+ ],
6019
+ "type": "object"
6020
+ }
6021
+ ]
3305
6022
  }
3306
6023
  },
3307
- "$id": "urn:agenai.agent-protocol.integration-catalog:v8:output",
6024
+ "$id": "urn:agenai.agent-protocol.integration-catalog:v9:output",
3308
6025
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3309
6026
  "additionalProperties": false,
3310
6027
  "properties": {
@@ -3312,7 +6029,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
3312
6029
  "items": {
3313
6030
  "$ref": "#/$defs/__schema1"
3314
6031
  },
3315
- "maxItems": 32,
6032
+ "maxItems": 128,
3316
6033
  "readOnly": true,
3317
6034
  "type": "array"
3318
6035
  },
@@ -3336,7 +6053,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
3336
6053
  };
3337
6054
  const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
3338
6055
  "contractId": "agenai.agent-protocol.collaboration-node",
3339
- "protocolVersion": 8,
6056
+ "protocolVersion": 9,
3340
6057
  "direction": "output",
3341
6058
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3342
6059
  "parserInvariants": [
@@ -3345,7 +6062,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
3345
6062
  "collaboration_terminal_error_consistency",
3346
6063
  "collaboration_terminal_timestamp_consistency"
3347
6064
  ],
3348
- "sha256": "6219513b58100b590f051c640c2e69a9c4b3ecb0aff21e248eb93faf21845857",
6065
+ "sha256": "774a0a44ed3cfeba518501506ffc5f5cb80932cea881cc4f3eba736473e7a75f",
3349
6066
  "schema": {
3350
6067
  "$defs": {
3351
6068
  "__schema0": {
@@ -3384,7 +6101,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
3384
6101
  "type": "string"
3385
6102
  }
3386
6103
  },
3387
- "$id": "urn:agenai.agent-protocol.collaboration-node:v8:output",
6104
+ "$id": "urn:agenai.agent-protocol.collaboration-node:v9:output",
3388
6105
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3389
6106
  "additionalProperties": false,
3390
6107
  "properties": {
@@ -3640,13 +6357,13 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
3640
6357
  };
3641
6358
  const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
3642
6359
  "contractId": "agenai.agent-protocol.collaboration-spawn",
3643
- "protocolVersion": 8,
6360
+ "protocolVersion": 9,
3644
6361
  "direction": "input",
3645
6362
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3646
6363
  "parserInvariants": [
3647
6364
  "collaboration_parent_consistency"
3648
6365
  ],
3649
- "sha256": "3f41048142a2b5c67ae1b60e206ecdac697cfcd11e3301b99101f9babec37a90",
6366
+ "sha256": "a2b58c912ad38ed4c5c542ee368d920033f3eccfbaf8a4bb496e424827f65d8c",
3650
6367
  "schema": {
3651
6368
  "$defs": {
3652
6369
  "__schema0": {
@@ -3685,7 +6402,7 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
3685
6402
  "type": "string"
3686
6403
  }
3687
6404
  },
3688
- "$id": "urn:agenai.agent-protocol.collaboration-spawn:v8:input",
6405
+ "$id": "urn:agenai.agent-protocol.collaboration-spawn:v9:input",
3689
6406
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3690
6407
  "additionalProperties": false,
3691
6408
  "properties": {
@@ -3721,13 +6438,13 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
3721
6438
  };
3722
6439
  const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
3723
6440
  "contractId": "agenai.agent-protocol.collaboration-control",
3724
- "protocolVersion": 8,
6441
+ "protocolVersion": 9,
3725
6442
  "direction": "input",
3726
6443
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3727
6444
  "parserInvariants": [
3728
6445
  "serialized_turn_input_bytes"
3729
6446
  ],
3730
- "sha256": "06b17f1f907092e3dd0320e9557efa0dae48d03828257abd5c46fa0cf5aff96c",
6447
+ "sha256": "bc452a3917dadaae1eb68d55c4ac435cf2bc5582b216f1f3f9308ad971c8790f",
3731
6448
  "schema": {
3732
6449
  "$defs": {
3733
6450
  "__schema0": {
@@ -3890,9 +6607,53 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
3890
6607
  "source"
3891
6608
  ],
3892
6609
  "type": "object"
6610
+ },
6611
+ {
6612
+ "additionalProperties": false,
6613
+ "properties": {
6614
+ "arguments": {
6615
+ "$ref": "#/$defs/__schema10"
6616
+ },
6617
+ "contentCatalogRevision": {
6618
+ "$ref": "#/$defs/__schema9"
6619
+ },
6620
+ "contentId": {
6621
+ "$ref": "#/$defs/__schema8"
6622
+ },
6623
+ "contentRevision": {
6624
+ "$ref": "#/$defs/__schema9"
6625
+ },
6626
+ "environmentId": {
6627
+ "$ref": "#/$defs/__schema8"
6628
+ },
6629
+ "environmentRevision": {
6630
+ "$ref": "#/$defs/__schema9"
6631
+ },
6632
+ "type": {
6633
+ "$ref": "#/$defs/__schema7"
6634
+ }
6635
+ },
6636
+ "readOnly": true,
6637
+ "required": [
6638
+ "type",
6639
+ "environmentId",
6640
+ "environmentRevision",
6641
+ "contentCatalogRevision",
6642
+ "contentId",
6643
+ "contentRevision"
6644
+ ],
6645
+ "type": "object"
3893
6646
  }
3894
6647
  ]
3895
6648
  },
6649
+ "__schema10": {
6650
+ "maxLength": 4096,
6651
+ "type": "string"
6652
+ },
6653
+ "__schema11": {
6654
+ "maxLength": 2e3,
6655
+ "type": "string"
6656
+ },
3896
6657
  "__schema2": {
3897
6658
  "enum": [
3898
6659
  "image/png",
@@ -3924,7 +6685,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
3924
6685
  "type": "string"
3925
6686
  },
3926
6687
  "__schema7": {
3927
- "maxLength": 2e3,
6688
+ "const": "content_reference",
3928
6689
  "type": "string"
3929
6690
  },
3930
6691
  "__schema8": {
@@ -3932,9 +6693,14 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
3932
6693
  "minLength": 1,
3933
6694
  "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
3934
6695
  "type": "string"
6696
+ },
6697
+ "__schema9": {
6698
+ "exclusiveMinimum": 0,
6699
+ "maximum": 9007199254740991,
6700
+ "type": "integer"
3935
6701
  }
3936
6702
  },
3937
- "$id": "urn:agenai.agent-protocol.collaboration-control:v8:input",
6703
+ "$id": "urn:agenai.agent-protocol.collaboration-control:v9:input",
3938
6704
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3939
6705
  "anyOf": [
3940
6706
  {
@@ -3946,7 +6712,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
3946
6712
  "$ref": "#/$defs/__schema0"
3947
6713
  },
3948
6714
  "summary": {
3949
- "$ref": "#/$defs/__schema7"
6715
+ "$ref": "#/$defs/__schema11"
3950
6716
  }
3951
6717
  },
3952
6718
  "required": [
@@ -4044,7 +6810,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
4044
6810
  };
4045
6811
  const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
4046
6812
  "contractId": "agenai.agent-protocol.generated-resource",
4047
- "protocolVersion": 8,
6813
+ "protocolVersion": 9,
4048
6814
  "direction": "output",
4049
6815
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4050
6816
  "parserInvariants": [
@@ -4053,7 +6819,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
4053
6819
  "generated_resource_error_consistency",
4054
6820
  "generated_resource_media_consistency"
4055
6821
  ],
4056
- "sha256": "2fe091f5d4172aaa3416462f8bfcb5c618e9031984052907e6a437330bd2ec3d",
6822
+ "sha256": "aed311b09e2cab8bc021563e6c3d180a4fcdcd1a2fb65ada8763d22c68f8e986",
4057
6823
  "schema": {
4058
6824
  "$defs": {
4059
6825
  "__schema0": {
@@ -4073,7 +6839,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
4073
6839
  "type": "string"
4074
6840
  }
4075
6841
  },
4076
- "$id": "urn:agenai.agent-protocol.generated-resource:v8:output",
6842
+ "$id": "urn:agenai.agent-protocol.generated-resource:v9:output",
4077
6843
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4078
6844
  "additionalProperties": false,
4079
6845
  "properties": {
@@ -4285,7 +7051,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
4285
7051
  };
4286
7052
  const AGENT_CAPABILITIES_JSON_SCHEMA = {
4287
7053
  "contractId": "agenai.agent-protocol.capabilities",
4288
- "protocolVersion": 8,
7054
+ "protocolVersion": 9,
4289
7055
  "direction": "output",
4290
7056
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4291
7057
  "parserInvariants": [
@@ -4312,7 +7078,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4312
7078
  "image_input_total_bytes_admits_max_image",
4313
7079
  "image_input_total_bytes_bounded_by_count"
4314
7080
  ],
4315
- "sha256": "36665c4edb430f2389284c419302d7c3ff013b5bfaa8c23a70ddfa00e1ef7981",
7081
+ "sha256": "9c20fbd1277bc914bc65125c5d18b87a7049ae3abc2008dceaf4837e3f6a9b00",
4316
7082
  "schema": {
4317
7083
  "$defs": {
4318
7084
  "__schema0": {
@@ -4325,6 +7091,76 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4325
7091
  "__schema1": {
4326
7092
  "additionalProperties": false,
4327
7093
  "properties": {
7094
+ "contentReferences": {
7095
+ "oneOf": [
7096
+ {
7097
+ "additionalProperties": false,
7098
+ "properties": {
7099
+ "kind": {
7100
+ "const": "unsupported",
7101
+ "type": "string"
7102
+ }
7103
+ },
7104
+ "readOnly": true,
7105
+ "required": [
7106
+ "kind"
7107
+ ],
7108
+ "type": "object"
7109
+ },
7110
+ {
7111
+ "additionalProperties": false,
7112
+ "properties": {
7113
+ "arguments": {
7114
+ "type": "boolean"
7115
+ },
7116
+ "kind": {
7117
+ "const": "supported",
7118
+ "type": "string"
7119
+ },
7120
+ "maxReferences": {
7121
+ "maximum": 16,
7122
+ "minimum": 1,
7123
+ "type": "integer"
7124
+ },
7125
+ "textFormats": {
7126
+ "additionalProperties": false,
7127
+ "properties": {
7128
+ "arguments": {
7129
+ "enum": [
7130
+ "unrestricted",
7131
+ "single_line",
7132
+ "literal_single_line"
7133
+ ],
7134
+ "type": "string"
7135
+ },
7136
+ "prompt": {
7137
+ "enum": [
7138
+ "unrestricted",
7139
+ "single_line",
7140
+ "literal_single_line"
7141
+ ],
7142
+ "type": "string"
7143
+ }
7144
+ },
7145
+ "readOnly": true,
7146
+ "required": [
7147
+ "prompt",
7148
+ "arguments"
7149
+ ],
7150
+ "type": "object"
7151
+ }
7152
+ },
7153
+ "readOnly": true,
7154
+ "required": [
7155
+ "kind",
7156
+ "maxReferences",
7157
+ "arguments",
7158
+ "textFormats"
7159
+ ],
7160
+ "type": "object"
7161
+ }
7162
+ ]
7163
+ },
4328
7164
  "images": {
4329
7165
  "oneOf": [
4330
7166
  {
@@ -4400,7 +7236,8 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4400
7236
  "readOnly": true,
4401
7237
  "required": [
4402
7238
  "text",
4403
- "images"
7239
+ "images",
7240
+ "contentReferences"
4404
7241
  ],
4405
7242
  "type": "object"
4406
7243
  },
@@ -4557,11 +7394,90 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4557
7394
  },
4558
7395
  "__schema23": {
4559
7396
  "enum": [
4560
- "mcp"
7397
+ "mcp",
7398
+ "connector"
4561
7399
  ],
4562
7400
  "type": "string"
4563
7401
  },
4564
7402
  "__schema24": {
7403
+ "$ref": "#/$defs/__schema25"
7404
+ },
7405
+ "__schema25": {
7406
+ "anyOf": [
7407
+ {
7408
+ "additionalProperties": false,
7409
+ "properties": {
7410
+ "kind": {
7411
+ "const": "unsupported",
7412
+ "type": "string"
7413
+ }
7414
+ },
7415
+ "readOnly": true,
7416
+ "required": [
7417
+ "kind"
7418
+ ],
7419
+ "type": "object"
7420
+ },
7421
+ {
7422
+ "additionalProperties": false,
7423
+ "properties": {
7424
+ "domains": {
7425
+ "items": {
7426
+ "$ref": "#/$defs/__schema26"
7427
+ },
7428
+ "maxItems": 4,
7429
+ "minItems": 1,
7430
+ "readOnly": true,
7431
+ "type": "array"
7432
+ },
7433
+ "kind": {
7434
+ "const": "read",
7435
+ "type": "string"
7436
+ }
7437
+ },
7438
+ "readOnly": true,
7439
+ "required": [
7440
+ "kind",
7441
+ "domains"
7442
+ ],
7443
+ "type": "object"
7444
+ },
7445
+ {
7446
+ "additionalProperties": false,
7447
+ "properties": {
7448
+ "domains": {
7449
+ "items": {
7450
+ "$ref": "#/$defs/__schema26"
7451
+ },
7452
+ "maxItems": 4,
7453
+ "minItems": 1,
7454
+ "readOnly": true,
7455
+ "type": "array"
7456
+ },
7457
+ "kind": {
7458
+ "const": "read_and_watch",
7459
+ "type": "string"
7460
+ }
7461
+ },
7462
+ "readOnly": true,
7463
+ "required": [
7464
+ "kind",
7465
+ "domains"
7466
+ ],
7467
+ "type": "object"
7468
+ }
7469
+ ]
7470
+ },
7471
+ "__schema26": {
7472
+ "enum": [
7473
+ "content",
7474
+ "commands",
7475
+ "extensions",
7476
+ "integrations"
7477
+ ],
7478
+ "type": "string"
7479
+ },
7480
+ "__schema27": {
4565
7481
  "enum": [
4566
7482
  "delegate",
4567
7483
  "reviewer",
@@ -4570,7 +7486,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4570
7486
  ],
4571
7487
  "type": "string"
4572
7488
  },
4573
- "__schema25": {
7489
+ "__schema28": {
4574
7490
  "enum": [
4575
7491
  "spawn",
4576
7492
  "steer",
@@ -4580,7 +7496,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4580
7496
  ],
4581
7497
  "type": "string"
4582
7498
  },
4583
- "__schema26": {
7499
+ "__schema29": {
4584
7500
  "enum": [
4585
7501
  "image",
4586
7502
  "document",
@@ -4588,14 +7504,6 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4588
7504
  ],
4589
7505
  "type": "string"
4590
7506
  },
4591
- "__schema27": {
4592
- "enum": [
4593
- "device_code",
4594
- "browser",
4595
- "terminal"
4596
- ],
4597
- "type": "string"
4598
- },
4599
7507
  "__schema3": {
4600
7508
  "items": {
4601
7509
  "$ref": "#/$defs/__schema4"
@@ -4606,6 +7514,14 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4606
7514
  "type": "array",
4607
7515
  "uniqueItems": true
4608
7516
  },
7517
+ "__schema30": {
7518
+ "enum": [
7519
+ "device_code",
7520
+ "browser",
7521
+ "terminal"
7522
+ ],
7523
+ "type": "string"
7524
+ },
4609
7525
  "__schema4": {
4610
7526
  "enum": [
4611
7527
  "url",
@@ -4645,7 +7561,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4645
7561
  "type": "string"
4646
7562
  }
4647
7563
  },
4648
- "$id": "urn:agenai.agent-protocol.capabilities:v8:output",
7564
+ "$id": "urn:agenai.agent-protocol.capabilities:v9:output",
4649
7565
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4650
7566
  "additionalProperties": false,
4651
7567
  "properties": {
@@ -4670,7 +7586,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4670
7586
  "properties": {
4671
7587
  "flows": {
4672
7588
  "items": {
4673
- "$ref": "#/$defs/__schema27"
7589
+ "$ref": "#/$defs/__schema30"
4674
7590
  },
4675
7591
  "maxItems": 3,
4676
7592
  "minItems": 1,
@@ -4713,7 +7629,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4713
7629
  "properties": {
4714
7630
  "controlActions": {
4715
7631
  "items": {
4716
- "$ref": "#/$defs/__schema25"
7632
+ "$ref": "#/$defs/__schema28"
4717
7633
  },
4718
7634
  "maxItems": 5,
4719
7635
  "minItems": 1,
@@ -4742,7 +7658,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4742
7658
  },
4743
7659
  "roles": {
4744
7660
  "items": {
4745
- "$ref": "#/$defs/__schema24"
7661
+ "$ref": "#/$defs/__schema27"
4746
7662
  },
4747
7663
  "maxItems": 4,
4748
7664
  "minItems": 1,
@@ -4924,6 +7840,23 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4924
7840
  ],
4925
7841
  "type": "object"
4926
7842
  },
7843
+ "environment": {
7844
+ "additionalProperties": false,
7845
+ "properties": {
7846
+ "instance": {
7847
+ "$ref": "#/$defs/__schema24"
7848
+ },
7849
+ "session": {
7850
+ "$ref": "#/$defs/__schema24"
7851
+ }
7852
+ },
7853
+ "readOnly": true,
7854
+ "required": [
7855
+ "instance",
7856
+ "session"
7857
+ ],
7858
+ "type": "object"
7859
+ },
4927
7860
  "generatedResources": {
4928
7861
  "oneOf": [
4929
7862
  {
@@ -4959,7 +7892,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
4959
7892
  },
4960
7893
  "resourceKinds": {
4961
7894
  "items": {
4962
- "$ref": "#/$defs/__schema26"
7895
+ "$ref": "#/$defs/__schema29"
4963
7896
  },
4964
7897
  "maxItems": 3,
4965
7898
  "minItems": 1,
@@ -5005,7 +7938,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5005
7938
  "items": {
5006
7939
  "$ref": "#/$defs/__schema23"
5007
7940
  },
5008
- "maxItems": 1,
7941
+ "maxItems": 2,
5009
7942
  "minItems": 1,
5010
7943
  "readOnly": true,
5011
7944
  "type": "array",
@@ -5017,7 +7950,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5017
7950
  },
5018
7951
  "maxIntegrations": {
5019
7952
  "exclusiveMinimum": 0,
5020
- "maximum": 32,
7953
+ "maximum": 128,
5021
7954
  "type": "integer"
5022
7955
  },
5023
7956
  "maxResourcesPerServer": {
@@ -5132,7 +8065,6 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5132
8065
  "$ref": "#/$defs/__schema20"
5133
8066
  },
5134
8067
  "maxItems": 5,
5135
- "minItems": 1,
5136
8068
  "readOnly": true,
5137
8069
  "type": "array",
5138
8070
  "uniqueItems": true
@@ -5142,8 +8074,8 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5142
8074
  "type": "string"
5143
8075
  },
5144
8076
  "maxFieldsPerOperation": {
5145
- "exclusiveMinimum": 0,
5146
8077
  "maximum": 16,
8078
+ "minimum": 0,
5147
8079
  "type": "integer"
5148
8080
  },
5149
8081
  "maxOperations": {
@@ -5212,7 +8144,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5212
8144
  "type": "object"
5213
8145
  },
5214
8146
  "protocolVersion": {
5215
- "const": 8,
8147
+ "const": 9,
5216
8148
  "type": "number"
5217
8149
  },
5218
8150
  "providerKey": {
@@ -5450,6 +8382,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5450
8382
  "operations",
5451
8383
  "managedContent",
5452
8384
  "integrations",
8385
+ "environment",
5453
8386
  "collaboration",
5454
8387
  "generatedResources",
5455
8388
  "authentication",
@@ -5460,13 +8393,13 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
5460
8393
  };
5461
8394
  const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
5462
8395
  "contractId": "agenai.agent-protocol.artifact-descriptor",
5463
- "protocolVersion": 8,
8396
+ "protocolVersion": 9,
5464
8397
  "direction": "output",
5465
8398
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5466
8399
  "parserInvariants": [],
5467
- "sha256": "a007d3749da3d647f3062ce8c1b102ef2adfa6bb09a57e510d771b03ca2526fb",
8400
+ "sha256": "290deb105edf7eaee1e19d6b04cf5cf66dac9e2765e4f472a51ff0fa3f291277",
5468
8401
  "schema": {
5469
- "$id": "urn:agenai.agent-protocol.artifact-descriptor:v8:output",
8402
+ "$id": "urn:agenai.agent-protocol.artifact-descriptor:v9:output",
5470
8403
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5471
8404
  "additionalProperties": false,
5472
8405
  "properties": {
@@ -5540,7 +8473,7 @@ const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
5540
8473
  };
5541
8474
  const AGENT_EVENT_JSON_SCHEMA = {
5542
8475
  "contractId": "agenai.agent-protocol.event",
5543
- "protocolVersion": 8,
8476
+ "protocolVersion": 9,
5544
8477
  "direction": "output",
5545
8478
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5546
8479
  "parserInvariants": [
@@ -5553,11 +8486,11 @@ const AGENT_EVENT_JSON_SCHEMA = {
5553
8486
  "serialized_bytes",
5554
8487
  "terminal_error_consistency"
5555
8488
  ],
5556
- "sha256": "26feae7d72f6f282b3d865caeeccd4161c9052eba33feade21191768e0b7cb17",
8489
+ "sha256": "e261489c2a647fe48d21505da2155fba09b20e97dfdad4e6a5fca768607b81e2",
5557
8490
  "schema": {
5558
8491
  "$defs": {
5559
8492
  "__schema0": {
5560
- "const": 8,
8493
+ "const": 9,
5561
8494
  "type": "number"
5562
8495
  },
5563
8496
  "__schema1": {
@@ -6949,7 +9882,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
6949
9882
  ]
6950
9883
  }
6951
9884
  },
6952
- "$id": "urn:agenai.agent-protocol.event:v8:output",
9885
+ "$id": "urn:agenai.agent-protocol.event:v9:output",
6953
9886
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6954
9887
  "oneOf": [
6955
9888
  {
@@ -8663,6 +11596,11 @@ const AGENT_EVENT_JSON_SCHEMA = {
8663
11596
  }
8664
11597
  };
8665
11598
  const AGENT_PROTOCOL_JSON_SCHEMA_REGISTRY = [
11599
+ AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA,
11600
+ AGENT_COMMAND_CATALOG_JSON_SCHEMA,
11601
+ AGENT_EXTENSION_CATALOG_JSON_SCHEMA,
11602
+ AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA,
11603
+ AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA,
8666
11604
  AGENT_SESSION_BINDING_JSON_SCHEMA,
8667
11605
  AGENT_SESSION_CONFIGURATION_JSON_SCHEMA,
8668
11606
  AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA,
@@ -8686,14 +11624,19 @@ const AGENT_PROTOCOL_JSON_SCHEMA_REGISTRY = [
8686
11624
  AGENT_EVENT_JSON_SCHEMA
8687
11625
  ];
8688
11626
  export {
11627
+ AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA,
8689
11628
  AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA,
8690
11629
  AGENT_CAPABILITIES_JSON_SCHEMA,
8691
11630
  AGENT_COLLABORATION_CONTROL_JSON_SCHEMA,
8692
11631
  AGENT_COLLABORATION_NODE_JSON_SCHEMA,
8693
11632
  AGENT_COLLABORATION_SPAWN_JSON_SCHEMA,
11633
+ AGENT_COMMAND_CATALOG_JSON_SCHEMA,
8694
11634
  AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA,
8695
11635
  AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA,
11636
+ AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA,
11637
+ AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA,
8696
11638
  AGENT_EVENT_JSON_SCHEMA,
11639
+ AGENT_EXTENSION_CATALOG_JSON_SCHEMA,
8697
11640
  AGENT_GENERATED_RESOURCE_JSON_SCHEMA,
8698
11641
  AGENT_INTEGRATION_CATALOG_JSON_SCHEMA,
8699
11642
  AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA,