@agen-ai/agent-protocol 0.3.1 → 0.4.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.
@@ -1,7 +1,246 @@
1
1
  const AGENT_PROTOCOL_JSON_SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
2
+ const AGENT_ERROR_JSON_SCHEMA = {
3
+ "contractId": "agenai.agent-protocol.error",
4
+ "protocolVersion": 10,
5
+ "direction": "output",
6
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
7
+ "parserInvariants": [
8
+ "failure_quota_category",
9
+ "quota_reset_observation_ordering",
10
+ "serialized_failure_bytes"
11
+ ],
12
+ "sha256": "9e390edcea55e83b86059d2f5b45acabfb19116ec5a435ae40303f05d81af90e",
13
+ "schema": {
14
+ "$defs": {
15
+ "__schema0": {
16
+ "additionalProperties": false,
17
+ "properties": {
18
+ "category": {
19
+ "enum": [
20
+ "rate_limited",
21
+ "quota_exhausted",
22
+ "budget_exhausted",
23
+ "execution_limit",
24
+ "context_limit",
25
+ "authentication",
26
+ "permission",
27
+ "invalid_request",
28
+ "overloaded",
29
+ "transport",
30
+ "provider",
31
+ "protocol",
32
+ "internal",
33
+ "unknown"
34
+ ],
35
+ "type": "string"
36
+ },
37
+ "code": {
38
+ "maxLength": 120,
39
+ "minLength": 1,
40
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
41
+ "type": "string"
42
+ },
43
+ "context": {
44
+ "additionalProperties": false,
45
+ "properties": {
46
+ "component": {
47
+ "maxLength": 160,
48
+ "minLength": 1,
49
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
50
+ "type": "string"
51
+ },
52
+ "operation": {
53
+ "maxLength": 160,
54
+ "minLength": 1,
55
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
56
+ "type": "string"
57
+ },
58
+ "status": {
59
+ "maxLength": 160,
60
+ "minLength": 1,
61
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
62
+ "type": "string"
63
+ }
64
+ },
65
+ "readOnly": true,
66
+ "type": "object"
67
+ },
68
+ "message": {
69
+ "maxLength": 4e3,
70
+ "minLength": 1,
71
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
72
+ "type": "string"
73
+ },
74
+ "recovery": {
75
+ "oneOf": [
76
+ {
77
+ "additionalProperties": false,
78
+ "properties": {
79
+ "kind": {
80
+ "const": "unknown",
81
+ "type": "string"
82
+ }
83
+ },
84
+ "readOnly": true,
85
+ "required": [
86
+ "kind"
87
+ ],
88
+ "type": "object"
89
+ },
90
+ {
91
+ "additionalProperties": false,
92
+ "properties": {
93
+ "kind": {
94
+ "const": "none",
95
+ "type": "string"
96
+ }
97
+ },
98
+ "readOnly": true,
99
+ "required": [
100
+ "kind"
101
+ ],
102
+ "type": "object"
103
+ },
104
+ {
105
+ "additionalProperties": false,
106
+ "properties": {
107
+ "kind": {
108
+ "const": "retry",
109
+ "type": "string"
110
+ },
111
+ "notBefore": {
112
+ "$ref": "#/$defs/__schema1"
113
+ }
114
+ },
115
+ "readOnly": true,
116
+ "required": [
117
+ "kind"
118
+ ],
119
+ "type": "object"
120
+ },
121
+ {
122
+ "additionalProperties": false,
123
+ "properties": {
124
+ "kind": {
125
+ "const": "wait_for_quota",
126
+ "type": "string"
127
+ },
128
+ "quota": {
129
+ "$ref": "#/$defs/__schema2",
130
+ "readOnly": true
131
+ }
132
+ },
133
+ "readOnly": true,
134
+ "required": [
135
+ "kind"
136
+ ],
137
+ "type": "object"
138
+ },
139
+ {
140
+ "additionalProperties": false,
141
+ "properties": {
142
+ "action": {
143
+ "enum": [
144
+ "authenticate",
145
+ "review_access",
146
+ "change_configuration",
147
+ "review_allowance"
148
+ ],
149
+ "type": "string"
150
+ },
151
+ "kind": {
152
+ "const": "user_action",
153
+ "type": "string"
154
+ }
155
+ },
156
+ "readOnly": true,
157
+ "required": [
158
+ "kind",
159
+ "action"
160
+ ],
161
+ "type": "object"
162
+ }
163
+ ]
164
+ }
165
+ },
166
+ "required": [
167
+ "category",
168
+ "code",
169
+ "message",
170
+ "recovery"
171
+ ],
172
+ "type": "object"
173
+ },
174
+ "__schema1": {
175
+ "format": "date-time",
176
+ "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)))$",
177
+ "type": "string"
178
+ },
179
+ "__schema2": {
180
+ "additionalProperties": false,
181
+ "properties": {
182
+ "observedAt": {
183
+ "$ref": "#/$defs/__schema1"
184
+ },
185
+ "poolId": {
186
+ "$ref": "#/$defs/__schema3"
187
+ },
188
+ "reset": {
189
+ "additionalProperties": false,
190
+ "properties": {
191
+ "at": {
192
+ "$ref": "#/$defs/__schema1"
193
+ },
194
+ "observedAt": {
195
+ "$ref": "#/$defs/__schema1"
196
+ },
197
+ "precision": {
198
+ "enum": [
199
+ "reported",
200
+ "estimated"
201
+ ],
202
+ "type": "string"
203
+ }
204
+ },
205
+ "readOnly": true,
206
+ "required": [
207
+ "at",
208
+ "precision",
209
+ "observedAt"
210
+ ],
211
+ "type": "object"
212
+ },
213
+ "sourceId": {
214
+ "$ref": "#/$defs/__schema3"
215
+ },
216
+ "windowId": {
217
+ "$ref": "#/$defs/__schema3"
218
+ }
219
+ },
220
+ "required": [
221
+ "sourceId",
222
+ "poolId",
223
+ "windowId",
224
+ "observedAt"
225
+ ],
226
+ "type": "object"
227
+ },
228
+ "__schema3": {
229
+ "maxLength": 256,
230
+ "minLength": 1,
231
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
232
+ "type": "string"
233
+ }
234
+ },
235
+ "$id": "urn:agenai.agent-protocol.error:v10:output",
236
+ "$ref": "#/$defs/__schema0",
237
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
238
+ "readOnly": true
239
+ }
240
+ };
2
241
  const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
3
242
  "contractId": "agenai.agent-protocol.effective-content-catalog",
4
- "protocolVersion": 9,
243
+ "protocolVersion": 10,
5
244
  "direction": "output",
6
245
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7
246
  "parserInvariants": [
@@ -12,7 +251,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
12
251
  "aggregate_collection_limits",
13
252
  "effective_content_semantics"
14
253
  ],
15
- "sha256": "cb7c4c4a138da11e6e211457a46fa9b39670654c4d01180e4048e1e95678690c",
254
+ "sha256": "54f6bf4df08a0041871336a10e6cb1b37ae913fc8750d40c05b7162a961ab6b7",
16
255
  "schema": {
17
256
  "$defs": {
18
257
  "__schema0": {
@@ -210,7 +449,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
210
449
  "type": "integer"
211
450
  }
212
451
  },
213
- "$id": "urn:agenai.agent-protocol.effective-content-catalog:v9:output",
452
+ "$id": "urn:agenai.agent-protocol.effective-content-catalog:v10:output",
214
453
  "$schema": "https://json-schema.org/draft/2020-12/schema",
215
454
  "additionalProperties": false,
216
455
  "properties": {
@@ -242,7 +481,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
242
481
  };
243
482
  const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
244
483
  "contractId": "agenai.agent-protocol.command-catalog",
245
- "protocolVersion": 9,
484
+ "protocolVersion": 10,
246
485
  "direction": "output",
247
486
  "dialect": "https://json-schema.org/draft/2020-12/schema",
248
487
  "parserInvariants": [
@@ -252,7 +491,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
252
491
  "serialized_utf8_bytes",
253
492
  "aggregate_collection_limits"
254
493
  ],
255
- "sha256": "7dc041b415a86a24b11ba625af4e940a31a9b3730040c597adb0fbc7dbf2973b",
494
+ "sha256": "77339a2807ad3d1842a7b91d42c7029709b251e73062839a2b7247acaaccd118",
256
495
  "schema": {
257
496
  "$defs": {
258
497
  "__schema0": {
@@ -390,7 +629,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
390
629
  "type": "string"
391
630
  }
392
631
  },
393
- "$id": "urn:agenai.agent-protocol.command-catalog:v9:output",
632
+ "$id": "urn:agenai.agent-protocol.command-catalog:v10:output",
394
633
  "$schema": "https://json-schema.org/draft/2020-12/schema",
395
634
  "additionalProperties": false,
396
635
  "properties": {
@@ -422,7 +661,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
422
661
  };
423
662
  const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
424
663
  "contractId": "agenai.agent-protocol.extension-catalog",
425
- "protocolVersion": 9,
664
+ "protocolVersion": 10,
426
665
  "direction": "output",
427
666
  "dialect": "https://json-schema.org/draft/2020-12/schema",
428
667
  "parserInvariants": [
@@ -432,7 +671,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
432
671
  "serialized_utf8_bytes",
433
672
  "aggregate_collection_limits"
434
673
  ],
435
- "sha256": "d03a28173aefb2f3c1f58c419e9e676192e5761a6142737402e935b0eb006566",
674
+ "sha256": "4cb690e3a80b471c837bcfc456fb7eb5fc94df3567422e24c3c36e1bff9bcb5a",
436
675
  "schema": {
437
676
  "$defs": {
438
677
  "__schema0": {
@@ -744,7 +983,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
744
983
  "type": "string"
745
984
  }
746
985
  },
747
- "$id": "urn:agenai.agent-protocol.extension-catalog:v9:output",
986
+ "$id": "urn:agenai.agent-protocol.extension-catalog:v10:output",
748
987
  "$schema": "https://json-schema.org/draft/2020-12/schema",
749
988
  "additionalProperties": false,
750
989
  "properties": {
@@ -776,7 +1015,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
776
1015
  };
777
1016
  const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
778
1017
  "contractId": "agenai.agent-protocol.environment-snapshot",
779
- "protocolVersion": 9,
1018
+ "protocolVersion": 10,
780
1019
  "direction": "output",
781
1020
  "dialect": "https://json-schema.org/draft/2020-12/schema",
782
1021
  "parserInvariants": [
@@ -787,7 +1026,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
787
1026
  "aggregate_collection_limits",
788
1027
  "effective_content_semantics"
789
1028
  ],
790
- "sha256": "00da01c1204e1bc6f53923da3fc0b4c96a751655ebe9c7c613eca15675744f6c",
1029
+ "sha256": "a2427cb046bcd4c4860a7d7c1e5e6319bb53ebc5dac69f7a3b4a0136f137cd86",
791
1030
  "schema": {
792
1031
  "$defs": {
793
1032
  "__schema0": {
@@ -1721,7 +1960,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1721
1960
  "type": "string"
1722
1961
  }
1723
1962
  },
1724
- "$id": "urn:agenai.agent-protocol.environment-snapshot:v9:output",
1963
+ "$id": "urn:agenai.agent-protocol.environment-snapshot:v10:output",
1725
1964
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1726
1965
  "additionalProperties": false,
1727
1966
  "properties": {
@@ -1897,7 +2136,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1897
2136
  };
1898
2137
  const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
1899
2138
  "contractId": "agenai.agent-protocol.account-quota-snapshot",
1900
- "protocolVersion": 9,
2139
+ "protocolVersion": 10,
1901
2140
  "direction": "output",
1902
2141
  "dialect": "https://json-schema.org/draft/2020-12/schema",
1903
2142
  "parserInvariants": [
@@ -1908,7 +2147,7 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
1908
2147
  "unique_model_ids",
1909
2148
  "unique_pool_window_ids"
1910
2149
  ],
1911
- "sha256": "94f935bb6b9194f7f7fd59dde986148e8cef9ea7800f86c0cb09e631ecd7764e",
2150
+ "sha256": "346dbeb6414977c2f95fa15abb070390740e8e08816cde03707aa5d4f4f494bd",
1912
2151
  "schema": {
1913
2152
  "$defs": {
1914
2153
  "__schema0": {
@@ -2297,7 +2536,7 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2297
2536
  "type": "integer"
2298
2537
  }
2299
2538
  },
2300
- "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v9:output",
2539
+ "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v10:output",
2301
2540
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2302
2541
  "oneOf": [
2303
2542
  {
@@ -2469,11 +2708,11 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2469
2708
  };
2470
2709
  const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2471
2710
  "contractId": "agenai.agent-protocol.session-binding",
2472
- "protocolVersion": 9,
2711
+ "protocolVersion": 10,
2473
2712
  "direction": "output",
2474
2713
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2475
2714
  "parserInvariants": [],
2476
- "sha256": "06c5d22a33ae7abbee10a644b0d1270c862bc7b2c1f8c967f8285d42bc755833",
2715
+ "sha256": "4b9fb8dfa5ec5dd085d8dc3bb93d2edb420b49631d584b022bc9b50b0390c351",
2477
2716
  "schema": {
2478
2717
  "$defs": {
2479
2718
  "__schema0": {
@@ -2483,7 +2722,7 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2483
2722
  "type": "string"
2484
2723
  }
2485
2724
  },
2486
- "$id": "urn:agenai.agent-protocol.session-binding:v9:output",
2725
+ "$id": "urn:agenai.agent-protocol.session-binding:v10:output",
2487
2726
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2488
2727
  "additionalProperties": false,
2489
2728
  "properties": {
@@ -2503,14 +2742,14 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2503
2742
  };
2504
2743
  const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2505
2744
  "contractId": "agenai.agent-protocol.session-configuration",
2506
- "protocolVersion": 9,
2745
+ "protocolVersion": 10,
2507
2746
  "direction": "input",
2508
2747
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2509
2748
  "parserInvariants": [
2510
2749
  "configuration_entry_count",
2511
2750
  "serialized_bytes"
2512
2751
  ],
2513
- "sha256": "78ac46a3a31fbf7e2a93a5a56727bf280361bfc07080207a103f3db76bade9ed",
2752
+ "sha256": "cc369c25ac5b3696e7d9ff0a5577ce1782c6758a611bc1af799a14516315ebe6",
2514
2753
  "schema": {
2515
2754
  "$defs": {
2516
2755
  "__schema0": {
@@ -2623,7 +2862,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2623
2862
  "type": "object"
2624
2863
  }
2625
2864
  },
2626
- "$id": "urn:agenai.agent-protocol.session-configuration:v9:input",
2865
+ "$id": "urn:agenai.agent-protocol.session-configuration:v10:input",
2627
2866
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2628
2867
  "oneOf": [
2629
2868
  {
@@ -2680,7 +2919,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2680
2919
  };
2681
2920
  const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
2682
2921
  "contractId": "agenai.agent-protocol.session-open-input",
2683
- "protocolVersion": 9,
2922
+ "protocolVersion": 10,
2684
2923
  "direction": "input",
2685
2924
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2686
2925
  "parserInvariants": [
@@ -2688,7 +2927,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
2688
2927
  "distinct_branch_session_ids",
2689
2928
  "serialized_bytes"
2690
2929
  ],
2691
- "sha256": "9c191e3646bedb617c1c07bf5e4653b3acd2588a796a6b5cf914b7d7aead526a",
2930
+ "sha256": "f26f45a72e8470eeed8e27e8c10c3fca9d93de575e479aa44bc0049c4fcc15f1",
2692
2931
  "schema": {
2693
2932
  "$defs": {
2694
2933
  "__schema0": {
@@ -2876,7 +3115,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
2876
3115
  "type": "string"
2877
3116
  }
2878
3117
  },
2879
- "$id": "urn:agenai.agent-protocol.session-open-input:v9:input",
3118
+ "$id": "urn:agenai.agent-protocol.session-open-input:v10:input",
2880
3119
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2881
3120
  "oneOf": [
2882
3121
  {
@@ -2990,7 +3229,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
2990
3229
  };
2991
3230
  const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
2992
3231
  "contractId": "agenai.agent-protocol.turn-input-content",
2993
- "protocolVersion": 9,
3232
+ "protocolVersion": 10,
2994
3233
  "direction": "input",
2995
3234
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2996
3235
  "parserInvariants": [
@@ -2999,7 +3238,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
2999
3238
  "content_reference_limits",
3000
3239
  "unique_content_references"
3001
3240
  ],
3002
- "sha256": "33cbad909fd9a266501cafdece323c46cdeabe118511c50efdd995c6dc54b2fa",
3241
+ "sha256": "034108447f37f104ad737f103da419a4e246b20d62c9bb5f5d9f44bb625a7d8a",
3003
3242
  "schema": {
3004
3243
  "$defs": {
3005
3244
  "__schema0": {
@@ -3255,7 +3494,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3255
3494
  "type": "integer"
3256
3495
  }
3257
3496
  },
3258
- "$id": "urn:agenai.agent-protocol.turn-input-content:v9:input",
3497
+ "$id": "urn:agenai.agent-protocol.turn-input-content:v10:input",
3259
3498
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3260
3499
  "additionalProperties": false,
3261
3500
  "properties": {
@@ -3274,7 +3513,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3274
3513
  };
3275
3514
  const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3276
3515
  "contractId": "agenai.agent-protocol.turn-run-input",
3277
- "protocolVersion": 9,
3516
+ "protocolVersion": 10,
3278
3517
  "direction": "input",
3279
3518
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3280
3519
  "parserInvariants": [
@@ -3283,7 +3522,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3283
3522
  "content_reference_limits",
3284
3523
  "unique_content_references"
3285
3524
  ],
3286
- "sha256": "22f4f5513c26ef897205398618603ee2fe2e7f8127b8f96297d3da4c2f64aa62",
3525
+ "sha256": "9dc8e0eb5294aa188aaf9c34b451a8ab02c0efbc4d17af9bf913f9200993f8bb",
3287
3526
  "schema": {
3288
3527
  "$defs": {
3289
3528
  "__schema0": {
@@ -3526,7 +3765,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3526
3765
  "type": "string"
3527
3766
  }
3528
3767
  },
3529
- "$id": "urn:agenai.agent-protocol.turn-run-input:v9:input",
3768
+ "$id": "urn:agenai.agent-protocol.turn-run-input:v10:input",
3530
3769
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3531
3770
  "additionalProperties": false,
3532
3771
  "properties": {
@@ -3570,7 +3809,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3570
3809
  };
3571
3810
  const AGENT_REQUEST_JSON_SCHEMA = {
3572
3811
  "contractId": "agenai.agent-protocol.request",
3573
- "protocolVersion": 9,
3812
+ "protocolVersion": 10,
3574
3813
  "direction": "output",
3575
3814
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3576
3815
  "parserInvariants": [
@@ -3578,7 +3817,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
3578
3817
  "unique_field_ids",
3579
3818
  "unique_choice_values"
3580
3819
  ],
3581
- "sha256": "ea8350e2884bb8d80b678ab6a5062a9627a1fdea29543ffc866cc49f5e999f84",
3820
+ "sha256": "7122462a0547d5a7887e52a115969b0518da164fbedbf505891f243c96d8d917",
3582
3821
  "schema": {
3583
3822
  "$defs": {
3584
3823
  "__schema0": {
@@ -3930,7 +4169,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
3930
4169
  "type": "string"
3931
4170
  }
3932
4171
  },
3933
- "$id": "urn:agenai.agent-protocol.request:v9:output",
4172
+ "$id": "urn:agenai.agent-protocol.request:v10:output",
3934
4173
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3935
4174
  "oneOf": [
3936
4175
  {
@@ -4073,14 +4312,14 @@ const AGENT_REQUEST_JSON_SCHEMA = {
4073
4312
  };
4074
4313
  const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4075
4314
  "contractId": "agenai.agent-protocol.request-resolution",
4076
- "protocolVersion": 9,
4315
+ "protocolVersion": 10,
4077
4316
  "direction": "input",
4078
4317
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4079
4318
  "parserInvariants": [
4080
4319
  "request_resolution_correlation",
4081
4320
  "unique_choice_selections"
4082
4321
  ],
4083
- "sha256": "3639fff6ed9857be9cd079fa4f1823b26976cea1695728f0215364387b50e739",
4322
+ "sha256": "f4e0c8e253d99c41f87b1a23b3155e4686fb0480d142e50e5c6c9aebd5501755",
4084
4323
  "schema": {
4085
4324
  "$defs": {
4086
4325
  "__schema0": {
@@ -4230,7 +4469,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4230
4469
  ]
4231
4470
  }
4232
4471
  },
4233
- "$id": "urn:agenai.agent-protocol.request-resolution:v9:input",
4472
+ "$id": "urn:agenai.agent-protocol.request-resolution:v10:input",
4234
4473
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4235
4474
  "anyOf": [
4236
4475
  {
@@ -4347,7 +4586,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4347
4586
  };
4348
4587
  const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4349
4588
  "contractId": "agenai.agent-protocol.operation-catalog",
4350
- "protocolVersion": 9,
4589
+ "protocolVersion": 10,
4351
4590
  "direction": "output",
4352
4591
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4353
4592
  "parserInvariants": [
@@ -4356,7 +4595,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4356
4595
  "unique_operation_ids",
4357
4596
  "unique_operation_option_ids"
4358
4597
  ],
4359
- "sha256": "f9559f32a72cb9b7c1ca41d5a93ceeb8a3c4c14d817095018dcab807dbd92dd5",
4598
+ "sha256": "bdb5d907404f3371f525c4365b4a8664003fbbe001974444e2d3ef152ae7f355",
4360
4599
  "schema": {
4361
4600
  "$defs": {
4362
4601
  "__schema0": {
@@ -4730,7 +4969,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4730
4969
  "type": "array"
4731
4970
  }
4732
4971
  },
4733
- "$id": "urn:agenai.agent-protocol.operation-catalog:v9:output",
4972
+ "$id": "urn:agenai.agent-protocol.operation-catalog:v10:output",
4734
4973
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4735
4974
  "additionalProperties": false,
4736
4975
  "properties": {
@@ -4756,7 +4995,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4756
4995
  };
4757
4996
  const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
4758
4997
  "contractId": "agenai.agent-protocol.operation-invocation",
4759
- "protocolVersion": 9,
4998
+ "protocolVersion": 10,
4760
4999
  "direction": "input",
4761
5000
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4762
5001
  "parserInvariants": [
@@ -4764,7 +5003,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
4764
5003
  "operation_revision_correlation",
4765
5004
  "unique_operation_values"
4766
5005
  ],
4767
- "sha256": "f4c6f6230f6b2f67d452fa496ecd2c6bd64767c072338b959eeb18b08236a670",
5006
+ "sha256": "2f59ca2500d7d764a281bbdb024719b432d2be1eae2768f7d5677b5704a1a698",
4768
5007
  "schema": {
4769
5008
  "$defs": {
4770
5009
  "__schema0": {
@@ -4897,7 +5136,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
4897
5136
  ]
4898
5137
  }
4899
5138
  },
4900
- "$id": "urn:agenai.agent-protocol.operation-invocation:v9:input",
5139
+ "$id": "urn:agenai.agent-protocol.operation-invocation:v10:input",
4901
5140
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4902
5141
  "additionalProperties": false,
4903
5142
  "properties": {
@@ -4933,16 +5172,19 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
4933
5172
  };
4934
5173
  const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
4935
5174
  "contractId": "agenai.agent-protocol.operation-result",
4936
- "protocolVersion": 9,
5175
+ "protocolVersion": 10,
4937
5176
  "direction": "output",
4938
5177
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4939
5178
  "parserInvariants": [
5179
+ "failure_quota_category",
5180
+ "quota_reset_observation_ordering",
5181
+ "serialized_failure_bytes",
4940
5182
  "operation_invocation_correlation",
4941
5183
  "operation_result_error_consistency",
4942
5184
  "operation_result_kind_consistency",
4943
5185
  "unique_operation_result_references"
4944
5186
  ],
4945
- "sha256": "3f5d92aa44cb6fdaf6320272f0b63cb7e94d1d31a6087f2efd8b544107edff17",
5187
+ "sha256": "a963842c1120ec333735cb230eb573e5c4c2604a3f6aa39d5af7a28c3104c104",
4946
5188
  "schema": {
4947
5189
  "$defs": {
4948
5190
  "__schema0": {
@@ -4950,24 +5192,29 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
4950
5192
  "minLength": 1,
4951
5193
  "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
4952
5194
  "type": "string"
4953
- }
4954
- },
4955
- "$id": "urn:agenai.agent-protocol.operation-result:v9:output",
4956
- "$schema": "https://json-schema.org/draft/2020-12/schema",
4957
- "additionalProperties": false,
4958
- "properties": {
4959
- "artifactIds": {
4960
- "items": {
4961
- "$ref": "#/$defs/__schema0"
4962
- },
4963
- "maxItems": 100,
4964
- "minItems": 1,
4965
- "readOnly": true,
4966
- "type": "array"
4967
5195
  },
4968
- "error": {
5196
+ "__schema1": {
4969
5197
  "additionalProperties": false,
4970
5198
  "properties": {
5199
+ "category": {
5200
+ "enum": [
5201
+ "rate_limited",
5202
+ "quota_exhausted",
5203
+ "budget_exhausted",
5204
+ "execution_limit",
5205
+ "context_limit",
5206
+ "authentication",
5207
+ "permission",
5208
+ "invalid_request",
5209
+ "overloaded",
5210
+ "transport",
5211
+ "provider",
5212
+ "protocol",
5213
+ "internal",
5214
+ "unknown"
5215
+ ],
5216
+ "type": "string"
5217
+ },
4971
5218
  "code": {
4972
5219
  "maxLength": 120,
4973
5220
  "minLength": 1,
@@ -5005,44 +5252,204 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5005
5252
  "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
5006
5253
  "type": "string"
5007
5254
  },
5008
- "retryable": {
5009
- "type": "boolean"
5010
- }
5011
- },
5012
- "readOnly": true,
5013
- "required": [
5014
- "code",
5015
- "message",
5016
- "retryable"
5017
- ],
5018
- "type": "object"
5019
- },
5020
- "invocationId": {
5021
- "$ref": "#/$defs/__schema0"
5022
- },
5023
- "outputText": {
5024
- "maxLength": 4e3,
5025
- "minLength": 1,
5026
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
5027
- "type": "string"
5028
- },
5029
- "resourceIds": {
5030
- "items": {
5031
- "$ref": "#/$defs/__schema0"
5032
- },
5033
- "maxItems": 100,
5034
- "minItems": 1,
5035
- "readOnly": true,
5036
- "type": "array"
5037
- },
5038
- "status": {
5039
- "enum": [
5040
- "accepted",
5041
- "completed",
5042
- "failed",
5043
- "canceled",
5044
- "waiting_for_request"
5045
- ],
5255
+ "recovery": {
5256
+ "oneOf": [
5257
+ {
5258
+ "additionalProperties": false,
5259
+ "properties": {
5260
+ "kind": {
5261
+ "const": "unknown",
5262
+ "type": "string"
5263
+ }
5264
+ },
5265
+ "readOnly": true,
5266
+ "required": [
5267
+ "kind"
5268
+ ],
5269
+ "type": "object"
5270
+ },
5271
+ {
5272
+ "additionalProperties": false,
5273
+ "properties": {
5274
+ "kind": {
5275
+ "const": "none",
5276
+ "type": "string"
5277
+ }
5278
+ },
5279
+ "readOnly": true,
5280
+ "required": [
5281
+ "kind"
5282
+ ],
5283
+ "type": "object"
5284
+ },
5285
+ {
5286
+ "additionalProperties": false,
5287
+ "properties": {
5288
+ "kind": {
5289
+ "const": "retry",
5290
+ "type": "string"
5291
+ },
5292
+ "notBefore": {
5293
+ "$ref": "#/$defs/__schema2"
5294
+ }
5295
+ },
5296
+ "readOnly": true,
5297
+ "required": [
5298
+ "kind"
5299
+ ],
5300
+ "type": "object"
5301
+ },
5302
+ {
5303
+ "additionalProperties": false,
5304
+ "properties": {
5305
+ "kind": {
5306
+ "const": "wait_for_quota",
5307
+ "type": "string"
5308
+ },
5309
+ "quota": {
5310
+ "$ref": "#/$defs/__schema3",
5311
+ "readOnly": true
5312
+ }
5313
+ },
5314
+ "readOnly": true,
5315
+ "required": [
5316
+ "kind"
5317
+ ],
5318
+ "type": "object"
5319
+ },
5320
+ {
5321
+ "additionalProperties": false,
5322
+ "properties": {
5323
+ "action": {
5324
+ "enum": [
5325
+ "authenticate",
5326
+ "review_access",
5327
+ "change_configuration",
5328
+ "review_allowance"
5329
+ ],
5330
+ "type": "string"
5331
+ },
5332
+ "kind": {
5333
+ "const": "user_action",
5334
+ "type": "string"
5335
+ }
5336
+ },
5337
+ "readOnly": true,
5338
+ "required": [
5339
+ "kind",
5340
+ "action"
5341
+ ],
5342
+ "type": "object"
5343
+ }
5344
+ ]
5345
+ }
5346
+ },
5347
+ "required": [
5348
+ "category",
5349
+ "code",
5350
+ "message",
5351
+ "recovery"
5352
+ ],
5353
+ "type": "object"
5354
+ },
5355
+ "__schema2": {
5356
+ "format": "date-time",
5357
+ "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)))$",
5358
+ "type": "string"
5359
+ },
5360
+ "__schema3": {
5361
+ "additionalProperties": false,
5362
+ "properties": {
5363
+ "observedAt": {
5364
+ "$ref": "#/$defs/__schema2"
5365
+ },
5366
+ "poolId": {
5367
+ "$ref": "#/$defs/__schema0"
5368
+ },
5369
+ "reset": {
5370
+ "additionalProperties": false,
5371
+ "properties": {
5372
+ "at": {
5373
+ "$ref": "#/$defs/__schema2"
5374
+ },
5375
+ "observedAt": {
5376
+ "$ref": "#/$defs/__schema2"
5377
+ },
5378
+ "precision": {
5379
+ "enum": [
5380
+ "reported",
5381
+ "estimated"
5382
+ ],
5383
+ "type": "string"
5384
+ }
5385
+ },
5386
+ "readOnly": true,
5387
+ "required": [
5388
+ "at",
5389
+ "precision",
5390
+ "observedAt"
5391
+ ],
5392
+ "type": "object"
5393
+ },
5394
+ "sourceId": {
5395
+ "$ref": "#/$defs/__schema0"
5396
+ },
5397
+ "windowId": {
5398
+ "$ref": "#/$defs/__schema0"
5399
+ }
5400
+ },
5401
+ "required": [
5402
+ "sourceId",
5403
+ "poolId",
5404
+ "windowId",
5405
+ "observedAt"
5406
+ ],
5407
+ "type": "object"
5408
+ }
5409
+ },
5410
+ "$id": "urn:agenai.agent-protocol.operation-result:v10:output",
5411
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
5412
+ "additionalProperties": false,
5413
+ "properties": {
5414
+ "artifactIds": {
5415
+ "items": {
5416
+ "$ref": "#/$defs/__schema0"
5417
+ },
5418
+ "maxItems": 100,
5419
+ "minItems": 1,
5420
+ "readOnly": true,
5421
+ "type": "array"
5422
+ },
5423
+ "error": {
5424
+ "$ref": "#/$defs/__schema1",
5425
+ "readOnly": true
5426
+ },
5427
+ "invocationId": {
5428
+ "$ref": "#/$defs/__schema0"
5429
+ },
5430
+ "outputText": {
5431
+ "maxLength": 4e3,
5432
+ "minLength": 1,
5433
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
5434
+ "type": "string"
5435
+ },
5436
+ "resourceIds": {
5437
+ "items": {
5438
+ "$ref": "#/$defs/__schema0"
5439
+ },
5440
+ "maxItems": 100,
5441
+ "minItems": 1,
5442
+ "readOnly": true,
5443
+ "type": "array"
5444
+ },
5445
+ "status": {
5446
+ "enum": [
5447
+ "accepted",
5448
+ "completed",
5449
+ "failed",
5450
+ "canceled",
5451
+ "waiting_for_request"
5452
+ ],
5046
5453
  "type": "string"
5047
5454
  }
5048
5455
  },
@@ -5056,14 +5463,14 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5056
5463
  };
5057
5464
  const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5058
5465
  "contractId": "agenai.agent-protocol.managed-content-catalog",
5059
- "protocolVersion": 9,
5466
+ "protocolVersion": 10,
5060
5467
  "direction": "output",
5061
5468
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5062
5469
  "parserInvariants": [
5063
5470
  "canonical_managed_content_order",
5064
5471
  "unique_managed_content_ids"
5065
5472
  ],
5066
- "sha256": "ae5b77e1360213a2d396376cf3e15677a22b5d44d3fda5865c80e9bc53c944c0",
5473
+ "sha256": "0e2419667187af44e9315f63e9b1a27c3e88f2635e35cbfce27c7f2c9926c7cd",
5067
5474
  "schema": {
5068
5475
  "$defs": {
5069
5476
  "__schema0": {
@@ -5233,7 +5640,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5233
5640
  "type": "object"
5234
5641
  }
5235
5642
  },
5236
- "$id": "urn:agenai.agent-protocol.managed-content-catalog:v9:output",
5643
+ "$id": "urn:agenai.agent-protocol.managed-content-catalog:v10:output",
5237
5644
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5238
5645
  "additionalProperties": false,
5239
5646
  "properties": {
@@ -5259,7 +5666,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5259
5666
  };
5260
5667
  const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5261
5668
  "contractId": "agenai.agent-protocol.configuration-catalog",
5262
- "protocolVersion": 9,
5669
+ "protocolVersion": 10,
5263
5670
  "direction": "output",
5264
5671
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5265
5672
  "parserInvariants": [
@@ -5268,7 +5675,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5268
5675
  "unique_configuration_field_keys",
5269
5676
  "unique_configuration_option_ids"
5270
5677
  ],
5271
- "sha256": "600dbb784300ad5ff61abbb59ae33df9abb61fc63e67681cce1407c3d313cb75",
5678
+ "sha256": "0fd4bbbfcdf9dae1b66d15f7cf8f627ab57dba5ba03cf2e7cb2353202c688373",
5272
5679
  "schema": {
5273
5680
  "$defs": {
5274
5681
  "__schema0": {
@@ -5555,7 +5962,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5555
5962
  "type": "object"
5556
5963
  }
5557
5964
  },
5558
- "$id": "urn:agenai.agent-protocol.configuration-catalog:v9:output",
5965
+ "$id": "urn:agenai.agent-protocol.configuration-catalog:v10:output",
5559
5966
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5560
5967
  "additionalProperties": false,
5561
5968
  "properties": {
@@ -5581,7 +5988,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5581
5988
  };
5582
5989
  const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
5583
5990
  "contractId": "agenai.agent-protocol.configuration-selection",
5584
- "protocolVersion": 9,
5991
+ "protocolVersion": 10,
5585
5992
  "direction": "input",
5586
5993
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5587
5994
  "parserInvariants": [
@@ -5589,7 +5996,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
5589
5996
  "configuration_field_correlation",
5590
5997
  "configuration_selection_bounds"
5591
5998
  ],
5592
- "sha256": "a153e1ba0b30823eef4767a8f69f88611401ccf87e1d2e29712162d93c096b47",
5999
+ "sha256": "88f47450698f17be1c44e47b67a0dde11f100d394358dfca80b6496532dc7b89",
5593
6000
  "schema": {
5594
6001
  "$defs": {
5595
6002
  "__schema0": {
@@ -5604,7 +6011,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
5604
6011
  "type": "integer"
5605
6012
  }
5606
6013
  },
5607
- "$id": "urn:agenai.agent-protocol.configuration-selection:v9:input",
6014
+ "$id": "urn:agenai.agent-protocol.configuration-selection:v10:input",
5608
6015
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5609
6016
  "additionalProperties": false,
5610
6017
  "properties": {
@@ -5710,7 +6117,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
5710
6117
  };
5711
6118
  const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
5712
6119
  "contractId": "agenai.agent-protocol.integration-catalog",
5713
- "protocolVersion": 9,
6120
+ "protocolVersion": 10,
5714
6121
  "direction": "output",
5715
6122
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5716
6123
  "parserInvariants": [
@@ -5720,7 +6127,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
5720
6127
  "unique_integration_tool_ids",
5721
6128
  "unique_integration_resource_ids"
5722
6129
  ],
5723
- "sha256": "4883ed1403b045e3bc7608d09472f0c8e20c915ced525a778b7546637659e655",
6130
+ "sha256": "de92cb95210f5439b136aebc607ac9c2a9c1785630a08b8ba8be800581b9274e",
5724
6131
  "schema": {
5725
6132
  "$defs": {
5726
6133
  "__schema0": {
@@ -6021,7 +6428,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6021
6428
  ]
6022
6429
  }
6023
6430
  },
6024
- "$id": "urn:agenai.agent-protocol.integration-catalog:v9:output",
6431
+ "$id": "urn:agenai.agent-protocol.integration-catalog:v10:output",
6025
6432
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6026
6433
  "additionalProperties": false,
6027
6434
  "properties": {
@@ -6053,16 +6460,19 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6053
6460
  };
6054
6461
  const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6055
6462
  "contractId": "agenai.agent-protocol.collaboration-node",
6056
- "protocolVersion": 9,
6463
+ "protocolVersion": 10,
6057
6464
  "direction": "output",
6058
6465
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6059
6466
  "parserInvariants": [
6467
+ "failure_quota_category",
6468
+ "quota_reset_observation_ordering",
6469
+ "serialized_failure_bytes",
6060
6470
  "collaboration_parent_consistency",
6061
6471
  "collaboration_result_consistency",
6062
6472
  "collaboration_terminal_error_consistency",
6063
6473
  "collaboration_terminal_timestamp_consistency"
6064
6474
  ],
6065
- "sha256": "774a0a44ed3cfeba518501506ffc5f5cb80932cea881cc4f3eba736473e7a75f",
6475
+ "sha256": "0a4821f34e33cb80cfc1bd74aefe670bcbffa1a2adba8fa76971de3720f9ec7a",
6066
6476
  "schema": {
6067
6477
  "$defs": {
6068
6478
  "__schema0": {
@@ -6075,6 +6485,55 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6075
6485
  "const": "reported",
6076
6486
  "type": "string"
6077
6487
  },
6488
+ "__schema10": {
6489
+ "additionalProperties": false,
6490
+ "properties": {
6491
+ "observedAt": {
6492
+ "$ref": "#/$defs/__schema9"
6493
+ },
6494
+ "poolId": {
6495
+ "$ref": "#/$defs/__schema0"
6496
+ },
6497
+ "reset": {
6498
+ "additionalProperties": false,
6499
+ "properties": {
6500
+ "at": {
6501
+ "$ref": "#/$defs/__schema9"
6502
+ },
6503
+ "observedAt": {
6504
+ "$ref": "#/$defs/__schema9"
6505
+ },
6506
+ "precision": {
6507
+ "enum": [
6508
+ "reported",
6509
+ "estimated"
6510
+ ],
6511
+ "type": "string"
6512
+ }
6513
+ },
6514
+ "readOnly": true,
6515
+ "required": [
6516
+ "at",
6517
+ "precision",
6518
+ "observedAt"
6519
+ ],
6520
+ "type": "object"
6521
+ },
6522
+ "sourceId": {
6523
+ "$ref": "#/$defs/__schema0"
6524
+ },
6525
+ "windowId": {
6526
+ "$ref": "#/$defs/__schema0"
6527
+ }
6528
+ },
6529
+ "required": [
6530
+ "sourceId",
6531
+ "poolId",
6532
+ "windowId",
6533
+ "observedAt"
6534
+ ],
6535
+ "type": "object"
6536
+ },
6078
6537
  "__schema2": {
6079
6538
  "$ref": "#/$defs/__schema3"
6080
6539
  },
@@ -6096,37 +6555,196 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6096
6555
  "$ref": "#/$defs/__schema3"
6097
6556
  },
6098
6557
  "__schema8": {
6099
- "format": "date-time",
6100
- "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)))$",
6101
- "type": "string"
6102
- }
6103
- },
6104
- "$id": "urn:agenai.agent-protocol.collaboration-node:v9:output",
6105
- "$schema": "https://json-schema.org/draft/2020-12/schema",
6106
- "additionalProperties": false,
6107
- "properties": {
6108
- "artifactIds": {
6109
- "items": {
6110
- "$ref": "#/$defs/__schema0"
6111
- },
6112
- "maxItems": 100,
6113
- "minItems": 1,
6114
- "readOnly": true,
6115
- "type": "array"
6116
- },
6117
- "closedAt": {
6118
- "$ref": "#/$defs/__schema8"
6119
- },
6120
- "collaborationId": {
6121
- "$ref": "#/$defs/__schema0"
6122
- },
6123
- "createdAt": {
6124
- "$ref": "#/$defs/__schema8"
6125
- },
6126
- "objective": {
6127
- "maxLength": 4e3,
6128
- "minLength": 1,
6129
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6558
+ "additionalProperties": false,
6559
+ "properties": {
6560
+ "category": {
6561
+ "enum": [
6562
+ "rate_limited",
6563
+ "quota_exhausted",
6564
+ "budget_exhausted",
6565
+ "execution_limit",
6566
+ "context_limit",
6567
+ "authentication",
6568
+ "permission",
6569
+ "invalid_request",
6570
+ "overloaded",
6571
+ "transport",
6572
+ "provider",
6573
+ "protocol",
6574
+ "internal",
6575
+ "unknown"
6576
+ ],
6577
+ "type": "string"
6578
+ },
6579
+ "code": {
6580
+ "maxLength": 120,
6581
+ "minLength": 1,
6582
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6583
+ "type": "string"
6584
+ },
6585
+ "context": {
6586
+ "additionalProperties": false,
6587
+ "properties": {
6588
+ "component": {
6589
+ "maxLength": 160,
6590
+ "minLength": 1,
6591
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6592
+ "type": "string"
6593
+ },
6594
+ "operation": {
6595
+ "maxLength": 160,
6596
+ "minLength": 1,
6597
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6598
+ "type": "string"
6599
+ },
6600
+ "status": {
6601
+ "maxLength": 160,
6602
+ "minLength": 1,
6603
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6604
+ "type": "string"
6605
+ }
6606
+ },
6607
+ "readOnly": true,
6608
+ "type": "object"
6609
+ },
6610
+ "message": {
6611
+ "maxLength": 4e3,
6612
+ "minLength": 1,
6613
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6614
+ "type": "string"
6615
+ },
6616
+ "recovery": {
6617
+ "oneOf": [
6618
+ {
6619
+ "additionalProperties": false,
6620
+ "properties": {
6621
+ "kind": {
6622
+ "const": "unknown",
6623
+ "type": "string"
6624
+ }
6625
+ },
6626
+ "readOnly": true,
6627
+ "required": [
6628
+ "kind"
6629
+ ],
6630
+ "type": "object"
6631
+ },
6632
+ {
6633
+ "additionalProperties": false,
6634
+ "properties": {
6635
+ "kind": {
6636
+ "const": "none",
6637
+ "type": "string"
6638
+ }
6639
+ },
6640
+ "readOnly": true,
6641
+ "required": [
6642
+ "kind"
6643
+ ],
6644
+ "type": "object"
6645
+ },
6646
+ {
6647
+ "additionalProperties": false,
6648
+ "properties": {
6649
+ "kind": {
6650
+ "const": "retry",
6651
+ "type": "string"
6652
+ },
6653
+ "notBefore": {
6654
+ "$ref": "#/$defs/__schema9"
6655
+ }
6656
+ },
6657
+ "readOnly": true,
6658
+ "required": [
6659
+ "kind"
6660
+ ],
6661
+ "type": "object"
6662
+ },
6663
+ {
6664
+ "additionalProperties": false,
6665
+ "properties": {
6666
+ "kind": {
6667
+ "const": "wait_for_quota",
6668
+ "type": "string"
6669
+ },
6670
+ "quota": {
6671
+ "$ref": "#/$defs/__schema10",
6672
+ "readOnly": true
6673
+ }
6674
+ },
6675
+ "readOnly": true,
6676
+ "required": [
6677
+ "kind"
6678
+ ],
6679
+ "type": "object"
6680
+ },
6681
+ {
6682
+ "additionalProperties": false,
6683
+ "properties": {
6684
+ "action": {
6685
+ "enum": [
6686
+ "authenticate",
6687
+ "review_access",
6688
+ "change_configuration",
6689
+ "review_allowance"
6690
+ ],
6691
+ "type": "string"
6692
+ },
6693
+ "kind": {
6694
+ "const": "user_action",
6695
+ "type": "string"
6696
+ }
6697
+ },
6698
+ "readOnly": true,
6699
+ "required": [
6700
+ "kind",
6701
+ "action"
6702
+ ],
6703
+ "type": "object"
6704
+ }
6705
+ ]
6706
+ }
6707
+ },
6708
+ "required": [
6709
+ "category",
6710
+ "code",
6711
+ "message",
6712
+ "recovery"
6713
+ ],
6714
+ "type": "object"
6715
+ },
6716
+ "__schema9": {
6717
+ "format": "date-time",
6718
+ "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)))$",
6719
+ "type": "string"
6720
+ }
6721
+ },
6722
+ "$id": "urn:agenai.agent-protocol.collaboration-node:v10:output",
6723
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
6724
+ "additionalProperties": false,
6725
+ "properties": {
6726
+ "artifactIds": {
6727
+ "items": {
6728
+ "$ref": "#/$defs/__schema0"
6729
+ },
6730
+ "maxItems": 100,
6731
+ "minItems": 1,
6732
+ "readOnly": true,
6733
+ "type": "array"
6734
+ },
6735
+ "closedAt": {
6736
+ "$ref": "#/$defs/__schema9"
6737
+ },
6738
+ "collaborationId": {
6739
+ "$ref": "#/$defs/__schema0"
6740
+ },
6741
+ "createdAt": {
6742
+ "$ref": "#/$defs/__schema9"
6743
+ },
6744
+ "objective": {
6745
+ "maxLength": 4e3,
6746
+ "minLength": 1,
6747
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6130
6748
  "type": "string"
6131
6749
  },
6132
6750
  "outcome": {
@@ -6149,56 +6767,8 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6149
6767
  "additionalProperties": false,
6150
6768
  "properties": {
6151
6769
  "error": {
6152
- "additionalProperties": false,
6153
- "properties": {
6154
- "code": {
6155
- "maxLength": 120,
6156
- "minLength": 1,
6157
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6158
- "type": "string"
6159
- },
6160
- "context": {
6161
- "additionalProperties": false,
6162
- "properties": {
6163
- "component": {
6164
- "maxLength": 160,
6165
- "minLength": 1,
6166
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6167
- "type": "string"
6168
- },
6169
- "operation": {
6170
- "maxLength": 160,
6171
- "minLength": 1,
6172
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6173
- "type": "string"
6174
- },
6175
- "status": {
6176
- "maxLength": 160,
6177
- "minLength": 1,
6178
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6179
- "type": "string"
6180
- }
6181
- },
6182
- "readOnly": true,
6183
- "type": "object"
6184
- },
6185
- "message": {
6186
- "maxLength": 4e3,
6187
- "minLength": 1,
6188
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6189
- "type": "string"
6190
- },
6191
- "retryable": {
6192
- "type": "boolean"
6193
- }
6194
- },
6195
- "readOnly": true,
6196
- "required": [
6197
- "code",
6198
- "message",
6199
- "retryable"
6200
- ],
6201
- "type": "object"
6770
+ "$ref": "#/$defs/__schema8",
6771
+ "readOnly": true
6202
6772
  },
6203
6773
  "kind": {
6204
6774
  "const": "failed",
@@ -6282,7 +6852,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6282
6852
  "type": "string"
6283
6853
  },
6284
6854
  "terminalAt": {
6285
- "$ref": "#/$defs/__schema8"
6855
+ "$ref": "#/$defs/__schema9"
6286
6856
  },
6287
6857
  "title": {
6288
6858
  "maxLength": 200,
@@ -6291,7 +6861,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6291
6861
  "type": "string"
6292
6862
  },
6293
6863
  "updatedAt": {
6294
- "$ref": "#/$defs/__schema8"
6864
+ "$ref": "#/$defs/__schema9"
6295
6865
  },
6296
6866
  "usage": {
6297
6867
  "oneOf": [
@@ -6357,13 +6927,13 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6357
6927
  };
6358
6928
  const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
6359
6929
  "contractId": "agenai.agent-protocol.collaboration-spawn",
6360
- "protocolVersion": 9,
6930
+ "protocolVersion": 10,
6361
6931
  "direction": "input",
6362
6932
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6363
6933
  "parserInvariants": [
6364
6934
  "collaboration_parent_consistency"
6365
6935
  ],
6366
- "sha256": "a2b58c912ad38ed4c5c542ee368d920033f3eccfbaf8a4bb496e424827f65d8c",
6936
+ "sha256": "404d06cf4325bb8857c38841c3bfb259c134c16d8d1037614552a12d5562fe78",
6367
6937
  "schema": {
6368
6938
  "$defs": {
6369
6939
  "__schema0": {
@@ -6402,7 +6972,7 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
6402
6972
  "type": "string"
6403
6973
  }
6404
6974
  },
6405
- "$id": "urn:agenai.agent-protocol.collaboration-spawn:v9:input",
6975
+ "$id": "urn:agenai.agent-protocol.collaboration-spawn:v10:input",
6406
6976
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6407
6977
  "additionalProperties": false,
6408
6978
  "properties": {
@@ -6438,13 +7008,13 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
6438
7008
  };
6439
7009
  const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
6440
7010
  "contractId": "agenai.agent-protocol.collaboration-control",
6441
- "protocolVersion": 9,
7011
+ "protocolVersion": 10,
6442
7012
  "direction": "input",
6443
7013
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6444
7014
  "parserInvariants": [
6445
7015
  "serialized_turn_input_bytes"
6446
7016
  ],
6447
- "sha256": "bc452a3917dadaae1eb68d55c4ac435cf2bc5582b216f1f3f9308ad971c8790f",
7017
+ "sha256": "811dec239632073542da421834267e6fae0acc43512e758a1498ed5b0bfb2481",
6448
7018
  "schema": {
6449
7019
  "$defs": {
6450
7020
  "__schema0": {
@@ -6700,7 +7270,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
6700
7270
  "type": "integer"
6701
7271
  }
6702
7272
  },
6703
- "$id": "urn:agenai.agent-protocol.collaboration-control:v9:input",
7273
+ "$id": "urn:agenai.agent-protocol.collaboration-control:v10:input",
6704
7274
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6705
7275
  "anyOf": [
6706
7276
  {
@@ -6810,16 +7380,19 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
6810
7380
  };
6811
7381
  const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
6812
7382
  "contractId": "agenai.agent-protocol.generated-resource",
6813
- "protocolVersion": 9,
7383
+ "protocolVersion": 10,
6814
7384
  "direction": "output",
6815
7385
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6816
7386
  "parserInvariants": [
7387
+ "failure_quota_category",
7388
+ "quota_reset_observation_ordering",
7389
+ "serialized_failure_bytes",
6817
7390
  "generated_resource_artifact_consistency",
6818
7391
  "generated_resource_digest_consistency",
6819
7392
  "generated_resource_error_consistency",
6820
7393
  "generated_resource_media_consistency"
6821
7394
  ],
6822
- "sha256": "aed311b09e2cab8bc021563e6c3d180a4fcdcd1a2fb65ada8763d22c68f8e986",
7395
+ "sha256": "93cce86335368ffc8a5c68d64345640532e732418ca634c7379cd970d30a988f",
6823
7396
  "schema": {
6824
7397
  "$defs": {
6825
7398
  "__schema0": {
@@ -6837,32 +7410,29 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
6837
7410
  "format": "date-time",
6838
7411
  "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)))$",
6839
7412
  "type": "string"
6840
- }
6841
- },
6842
- "$id": "urn:agenai.agent-protocol.generated-resource:v9:output",
6843
- "$schema": "https://json-schema.org/draft/2020-12/schema",
6844
- "additionalProperties": false,
6845
- "properties": {
6846
- "artifactId": {
6847
- "$ref": "#/$defs/__schema0"
6848
- },
6849
- "byteSize": {
6850
- "maximum": 9007199254740991,
6851
- "minimum": 0,
6852
- "type": "integer"
6853
- },
6854
- "createdAt": {
6855
- "$ref": "#/$defs/__schema2"
6856
- },
6857
- "displayName": {
6858
- "maxLength": 200,
6859
- "minLength": 1,
6860
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6861
- "type": "string"
6862
7413
  },
6863
- "error": {
7414
+ "__schema3": {
6864
7415
  "additionalProperties": false,
6865
7416
  "properties": {
7417
+ "category": {
7418
+ "enum": [
7419
+ "rate_limited",
7420
+ "quota_exhausted",
7421
+ "budget_exhausted",
7422
+ "execution_limit",
7423
+ "context_limit",
7424
+ "authentication",
7425
+ "permission",
7426
+ "invalid_request",
7427
+ "overloaded",
7428
+ "transport",
7429
+ "provider",
7430
+ "protocol",
7431
+ "internal",
7432
+ "unknown"
7433
+ ],
7434
+ "type": "string"
7435
+ },
6866
7436
  "code": {
6867
7437
  "maxLength": 120,
6868
7438
  "minLength": 1,
@@ -6900,41 +7470,204 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
6900
7470
  "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
6901
7471
  "type": "string"
6902
7472
  },
6903
- "retryable": {
6904
- "type": "boolean"
6905
- }
6906
- },
6907
- "readOnly": true,
6908
- "required": [
6909
- "code",
6910
- "message",
6911
- "retryable"
6912
- ],
6913
- "type": "object"
6914
- },
6915
- "expiresAt": {
6916
- "$ref": "#/$defs/__schema2"
6917
- },
6918
- "heightPixels": {
6919
- "$ref": "#/$defs/__schema1"
6920
- },
6921
- "kind": {
6922
- "enum": [
6923
- "image",
6924
- "document",
6925
- "archive"
6926
- ],
6927
- "type": "string"
6928
- },
6929
- "mediaType": {
6930
- "maxLength": 200,
6931
- "minLength": 1,
6932
- "pattern": "^[a-z0-9!#$&^_.+-]+\\/[a-z0-9!#$&^_.+-]+$",
6933
- "type": "string"
6934
- },
6935
- "pageCount": {
6936
- "$ref": "#/$defs/__schema1"
6937
- },
7473
+ "recovery": {
7474
+ "oneOf": [
7475
+ {
7476
+ "additionalProperties": false,
7477
+ "properties": {
7478
+ "kind": {
7479
+ "const": "unknown",
7480
+ "type": "string"
7481
+ }
7482
+ },
7483
+ "readOnly": true,
7484
+ "required": [
7485
+ "kind"
7486
+ ],
7487
+ "type": "object"
7488
+ },
7489
+ {
7490
+ "additionalProperties": false,
7491
+ "properties": {
7492
+ "kind": {
7493
+ "const": "none",
7494
+ "type": "string"
7495
+ }
7496
+ },
7497
+ "readOnly": true,
7498
+ "required": [
7499
+ "kind"
7500
+ ],
7501
+ "type": "object"
7502
+ },
7503
+ {
7504
+ "additionalProperties": false,
7505
+ "properties": {
7506
+ "kind": {
7507
+ "const": "retry",
7508
+ "type": "string"
7509
+ },
7510
+ "notBefore": {
7511
+ "$ref": "#/$defs/__schema2"
7512
+ }
7513
+ },
7514
+ "readOnly": true,
7515
+ "required": [
7516
+ "kind"
7517
+ ],
7518
+ "type": "object"
7519
+ },
7520
+ {
7521
+ "additionalProperties": false,
7522
+ "properties": {
7523
+ "kind": {
7524
+ "const": "wait_for_quota",
7525
+ "type": "string"
7526
+ },
7527
+ "quota": {
7528
+ "$ref": "#/$defs/__schema4",
7529
+ "readOnly": true
7530
+ }
7531
+ },
7532
+ "readOnly": true,
7533
+ "required": [
7534
+ "kind"
7535
+ ],
7536
+ "type": "object"
7537
+ },
7538
+ {
7539
+ "additionalProperties": false,
7540
+ "properties": {
7541
+ "action": {
7542
+ "enum": [
7543
+ "authenticate",
7544
+ "review_access",
7545
+ "change_configuration",
7546
+ "review_allowance"
7547
+ ],
7548
+ "type": "string"
7549
+ },
7550
+ "kind": {
7551
+ "const": "user_action",
7552
+ "type": "string"
7553
+ }
7554
+ },
7555
+ "readOnly": true,
7556
+ "required": [
7557
+ "kind",
7558
+ "action"
7559
+ ],
7560
+ "type": "object"
7561
+ }
7562
+ ]
7563
+ }
7564
+ },
7565
+ "required": [
7566
+ "category",
7567
+ "code",
7568
+ "message",
7569
+ "recovery"
7570
+ ],
7571
+ "type": "object"
7572
+ },
7573
+ "__schema4": {
7574
+ "additionalProperties": false,
7575
+ "properties": {
7576
+ "observedAt": {
7577
+ "$ref": "#/$defs/__schema2"
7578
+ },
7579
+ "poolId": {
7580
+ "$ref": "#/$defs/__schema0"
7581
+ },
7582
+ "reset": {
7583
+ "additionalProperties": false,
7584
+ "properties": {
7585
+ "at": {
7586
+ "$ref": "#/$defs/__schema2"
7587
+ },
7588
+ "observedAt": {
7589
+ "$ref": "#/$defs/__schema2"
7590
+ },
7591
+ "precision": {
7592
+ "enum": [
7593
+ "reported",
7594
+ "estimated"
7595
+ ],
7596
+ "type": "string"
7597
+ }
7598
+ },
7599
+ "readOnly": true,
7600
+ "required": [
7601
+ "at",
7602
+ "precision",
7603
+ "observedAt"
7604
+ ],
7605
+ "type": "object"
7606
+ },
7607
+ "sourceId": {
7608
+ "$ref": "#/$defs/__schema0"
7609
+ },
7610
+ "windowId": {
7611
+ "$ref": "#/$defs/__schema0"
7612
+ }
7613
+ },
7614
+ "required": [
7615
+ "sourceId",
7616
+ "poolId",
7617
+ "windowId",
7618
+ "observedAt"
7619
+ ],
7620
+ "type": "object"
7621
+ }
7622
+ },
7623
+ "$id": "urn:agenai.agent-protocol.generated-resource:v10:output",
7624
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
7625
+ "additionalProperties": false,
7626
+ "properties": {
7627
+ "artifactId": {
7628
+ "$ref": "#/$defs/__schema0"
7629
+ },
7630
+ "byteSize": {
7631
+ "maximum": 9007199254740991,
7632
+ "minimum": 0,
7633
+ "type": "integer"
7634
+ },
7635
+ "createdAt": {
7636
+ "$ref": "#/$defs/__schema2"
7637
+ },
7638
+ "displayName": {
7639
+ "maxLength": 200,
7640
+ "minLength": 1,
7641
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
7642
+ "type": "string"
7643
+ },
7644
+ "error": {
7645
+ "$ref": "#/$defs/__schema3",
7646
+ "readOnly": true
7647
+ },
7648
+ "expiresAt": {
7649
+ "$ref": "#/$defs/__schema2"
7650
+ },
7651
+ "heightPixels": {
7652
+ "$ref": "#/$defs/__schema1"
7653
+ },
7654
+ "kind": {
7655
+ "enum": [
7656
+ "image",
7657
+ "document",
7658
+ "archive"
7659
+ ],
7660
+ "type": "string"
7661
+ },
7662
+ "mediaType": {
7663
+ "maxLength": 200,
7664
+ "minLength": 1,
7665
+ "pattern": "^[a-z0-9!#$&^_.+-]+\\/[a-z0-9!#$&^_.+-]+$",
7666
+ "type": "string"
7667
+ },
7668
+ "pageCount": {
7669
+ "$ref": "#/$defs/__schema1"
7670
+ },
6938
7671
  "producer": {
6939
7672
  "oneOf": [
6940
7673
  {
@@ -7051,7 +7784,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7051
7784
  };
7052
7785
  const AGENT_CAPABILITIES_JSON_SCHEMA = {
7053
7786
  "contractId": "agenai.agent-protocol.capabilities",
7054
- "protocolVersion": 9,
7787
+ "protocolVersion": 10,
7055
7788
  "direction": "output",
7056
7789
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7057
7790
  "parserInvariants": [
@@ -7078,7 +7811,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
7078
7811
  "image_input_total_bytes_admits_max_image",
7079
7812
  "image_input_total_bytes_bounded_by_count"
7080
7813
  ],
7081
- "sha256": "9c20fbd1277bc914bc65125c5d18b87a7049ae3abc2008dceaf4837e3f6a9b00",
7814
+ "sha256": "fb2cdb76b6667d316ce5463b63312586f0fb4d255173f159ef9f53a8f0a655ff",
7082
7815
  "schema": {
7083
7816
  "$defs": {
7084
7817
  "__schema0": {
@@ -7561,7 +8294,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
7561
8294
  "type": "string"
7562
8295
  }
7563
8296
  },
7564
- "$id": "urn:agenai.agent-protocol.capabilities:v9:output",
8297
+ "$id": "urn:agenai.agent-protocol.capabilities:v10:output",
7565
8298
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7566
8299
  "additionalProperties": false,
7567
8300
  "properties": {
@@ -8144,7 +8877,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8144
8877
  "type": "object"
8145
8878
  },
8146
8879
  "protocolVersion": {
8147
- "const": 9,
8880
+ "const": 10,
8148
8881
  "type": "number"
8149
8882
  },
8150
8883
  "providerKey": {
@@ -8393,13 +9126,13 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8393
9126
  };
8394
9127
  const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
8395
9128
  "contractId": "agenai.agent-protocol.artifact-descriptor",
8396
- "protocolVersion": 9,
9129
+ "protocolVersion": 10,
8397
9130
  "direction": "output",
8398
9131
  "dialect": "https://json-schema.org/draft/2020-12/schema",
8399
9132
  "parserInvariants": [],
8400
- "sha256": "290deb105edf7eaee1e19d6b04cf5cf66dac9e2765e4f472a51ff0fa3f291277",
9133
+ "sha256": "9d294fbea7081fcce8863a6bde0b708f9c5099c4546c7343cddbaa91854530e7",
8401
9134
  "schema": {
8402
- "$id": "urn:agenai.agent-protocol.artifact-descriptor:v9:output",
9135
+ "$id": "urn:agenai.agent-protocol.artifact-descriptor:v10:output",
8403
9136
  "$schema": "https://json-schema.org/draft/2020-12/schema",
8404
9137
  "additionalProperties": false,
8405
9138
  "properties": {
@@ -8473,24 +9206,28 @@ const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
8473
9206
  };
8474
9207
  const AGENT_EVENT_JSON_SCHEMA = {
8475
9208
  "contractId": "agenai.agent-protocol.event",
8476
- "protocolVersion": 9,
9209
+ "protocolVersion": 10,
8477
9210
  "direction": "output",
8478
9211
  "dialect": "https://json-schema.org/draft/2020-12/schema",
8479
9212
  "parserInvariants": [
9213
+ "failure_quota_category",
9214
+ "quota_reset_observation_ordering",
9215
+ "serialized_failure_bytes",
8480
9216
  "event_state_correlation",
8481
9217
  "context_usage_bounds",
8482
9218
  "file_change_path_ordering_and_uniqueness",
8483
9219
  "item_detail_identification",
8484
9220
  "non_empty_provider_refs",
8485
9221
  "request_semantics",
9222
+ "retry_counter_ordering",
8486
9223
  "serialized_bytes",
8487
9224
  "terminal_error_consistency"
8488
9225
  ],
8489
- "sha256": "e261489c2a647fe48d21505da2155fba09b20e97dfdad4e6a5fca768607b81e2",
9226
+ "sha256": "930922c9f33360fdd8b25354dc9aa24ee2a4ba992eb6cace5ceff7610296905c",
8490
9227
  "schema": {
8491
9228
  "$defs": {
8492
9229
  "__schema0": {
8493
- "const": 9,
9230
+ "const": 10,
8494
9231
  "type": "number"
8495
9232
  },
8496
9233
  "__schema1": {
@@ -8500,720 +9237,328 @@ const AGENT_EVENT_JSON_SCHEMA = {
8500
9237
  "type": "string"
8501
9238
  },
8502
9239
  "__schema10": {
8503
- "enum": [
8504
- "pending",
8505
- "in_progress",
8506
- "completed",
8507
- "failed",
8508
- "canceled",
8509
- "unknown"
8510
- ],
8511
- "type": "string"
8512
- },
8513
- "__schema11": {
8514
- "maxLength": 200,
8515
- "type": "string"
8516
- },
8517
- "__schema12": {
8518
- "maxLength": 2e3,
8519
- "type": "string"
8520
- },
8521
- "__schema13": {
8522
- "$ref": "#/$defs/__schema14"
8523
- },
8524
- "__schema14": {
8525
- "maxLength": 2e3,
8526
- "minLength": 1,
8527
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
8528
- "type": "string"
8529
- },
8530
- "__schema15": {
8531
- "$ref": "#/$defs/__schema16"
8532
- },
8533
- "__schema16": {
8534
- "maxLength": 500,
8535
- "minLength": 1,
8536
- "pattern": "^(?![\\\\/]|[A-Za-z]:[\\\\/])(?!.*(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$))(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
8537
- "type": "string"
8538
- },
8539
- "__schema17": {
8540
- "maximum": 9007199254740991,
8541
- "minimum": -9007199254740991,
8542
- "type": "integer"
8543
- },
8544
- "__schema18": {
8545
- "$ref": "#/$defs/__schema19"
8546
- },
8547
- "__schema19": {
8548
- "maximum": 9007199254740991,
8549
- "minimum": 0,
8550
- "type": "integer"
8551
- },
8552
- "__schema2": {
8553
9240
  "additionalProperties": false,
8554
9241
  "properties": {
8555
- "conversationId": {
8556
- "$ref": "#/$defs/__schema3"
8557
- },
8558
- "historyAnchor": {
8559
- "$ref": "#/$defs/__schema3"
8560
- },
8561
- "itemId": {
8562
- "$ref": "#/$defs/__schema3"
9242
+ "component": {
9243
+ "maxLength": 160,
9244
+ "minLength": 1,
9245
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9246
+ "type": "string"
8563
9247
  },
8564
- "requestId": {
8565
- "$ref": "#/$defs/__schema3"
9248
+ "operation": {
9249
+ "maxLength": 160,
9250
+ "minLength": 1,
9251
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9252
+ "type": "string"
8566
9253
  },
8567
- "turnId": {
8568
- "$ref": "#/$defs/__schema3"
9254
+ "status": {
9255
+ "maxLength": 160,
9256
+ "minLength": 1,
9257
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9258
+ "type": "string"
8569
9259
  }
8570
9260
  },
8571
9261
  "readOnly": true,
8572
9262
  "type": "object"
8573
9263
  },
8574
- "__schema20": {
8575
- "const": true,
8576
- "type": "boolean"
8577
- },
8578
- "__schema21": {
8579
- "items": {
8580
- "$ref": "#/$defs/__schema22"
8581
- },
8582
- "maxItems": 100,
8583
- "minItems": 1,
8584
- "readOnly": true,
8585
- "type": "array"
8586
- },
8587
- "__schema22": {
8588
- "additionalProperties": false,
8589
- "properties": {
8590
- "changeKind": {
8591
- "enum": [
8592
- "created",
8593
- "modified",
8594
- "deleted",
8595
- "renamed",
8596
- "unknown"
8597
- ],
8598
- "type": "string"
8599
- },
8600
- "path": {
8601
- "$ref": "#/$defs/__schema16"
8602
- }
8603
- },
8604
- "readOnly": true,
8605
- "required": [
8606
- "path",
8607
- "changeKind"
8608
- ],
8609
- "type": "object"
8610
- },
8611
- "__schema23": {
8612
- "$ref": "#/$defs/__schema24"
8613
- },
8614
- "__schema24": {
8615
- "maxLength": 160,
8616
- "minLength": 1,
8617
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
8618
- "type": "string"
8619
- },
8620
- "__schema25": {
8621
- "$ref": "#/$defs/__schema24"
8622
- },
8623
- "__schema26": {
8624
- "$ref": "#/$defs/__schema14"
8625
- },
8626
- "__schema27": {
8627
- "$ref": "#/$defs/__schema19"
8628
- },
8629
- "__schema28": {
8630
- "$ref": "#/$defs/__schema24"
8631
- },
8632
- "__schema29": {
8633
- "$ref": "#/$defs/__schema14"
8634
- },
8635
- "__schema3": {
8636
- "maxLength": 512,
8637
- "minLength": 1,
8638
- "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
8639
- "type": "string"
8640
- },
8641
- "__schema30": {
8642
- "$ref": "#/$defs/__schema19"
8643
- },
8644
- "__schema31": {
8645
- "type": "boolean"
8646
- },
8647
- "__schema32": {
8648
- "$ref": "#/$defs/__schema24"
8649
- },
8650
- "__schema33": {
8651
- "$ref": "#/$defs/__schema14"
8652
- },
8653
- "__schema34": {
8654
- "$ref": "#/$defs/__schema14"
8655
- },
8656
- "__schema35": {
8657
- "$ref": "#/$defs/__schema14"
8658
- },
8659
- "__schema36": {
8660
- "$ref": "#/$defs/__schema16"
8661
- },
8662
- "__schema37": {
8663
- "$ref": "#/$defs/__schema14"
8664
- },
8665
- "__schema38": {
8666
- "maxLength": 4e3,
8667
- "minLength": 1,
8668
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
8669
- "type": "string"
8670
- },
8671
- "__schema39": {
8672
- "enum": [
8673
- "automatic",
8674
- "manual",
8675
- "context_limit",
8676
- "recovery",
8677
- "unknown"
8678
- ],
8679
- "type": "string"
8680
- },
8681
- "__schema4": {
8682
- "format": "date-time",
8683
- "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)))$",
8684
- "type": "string"
8685
- },
8686
- "__schema40": {
8687
- "$ref": "#/$defs/__schema19"
8688
- },
8689
- "__schema41": {
8690
- "$ref": "#/$defs/__schema19"
8691
- },
8692
- "__schema42": {
8693
- "maximum": 36e5,
8694
- "minimum": 0,
8695
- "type": "integer"
8696
- },
8697
- "__schema43": {
8698
- "maxLength": 500,
8699
- "minLength": 1,
8700
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
8701
- "type": "string"
8702
- },
8703
- "__schema44": {
8704
- "additionalProperties": false,
8705
- "properties": {
8706
- "priority": {
8707
- "enum": [
8708
- "low",
8709
- "medium",
8710
- "high"
8711
- ],
8712
- "type": "string"
8713
- },
8714
- "status": {
8715
- "enum": [
8716
- "pending",
8717
- "in_progress",
8718
- "completed",
8719
- "canceled"
8720
- ],
8721
- "type": "string"
8722
- },
8723
- "stepId": {
8724
- "$ref": "#/$defs/__schema1"
8725
- },
8726
- "text": {
8727
- "maxLength": 4e3,
8728
- "type": "string"
8729
- }
8730
- },
8731
- "readOnly": true,
8732
- "required": [
8733
- "stepId",
8734
- "text",
8735
- "status"
8736
- ],
8737
- "type": "object"
8738
- },
8739
- "__schema45": {
8740
- "maxLength": 120,
8741
- "minLength": 1,
8742
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
8743
- "type": "string"
8744
- },
8745
- "__schema46": {
8746
- "maxLength": 1e3,
8747
- "minLength": 1,
8748
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
8749
- "type": "string"
8750
- },
8751
- "__schema47": {
8752
- "additionalProperties": false,
8753
- "properties": {
8754
- "decision": {
8755
- "enum": [
8756
- "approved",
8757
- "denied"
8758
- ],
8759
- "type": "string"
8760
- },
8761
- "description": {
8762
- "$ref": "#/$defs/__schema46"
8763
- },
8764
- "label": {
8765
- "$ref": "#/$defs/__schema45"
8766
- },
8767
- "optionId": {
8768
- "$ref": "#/$defs/__schema1"
8769
- },
8770
- "persistence": {
8771
- "enum": [
8772
- "once",
8773
- "session",
8774
- "workspace"
8775
- ],
8776
- "type": "string"
8777
- },
8778
- "scope": {
9264
+ "__schema11": {
9265
+ "oneOf": [
9266
+ {
8779
9267
  "additionalProperties": false,
8780
9268
  "properties": {
8781
- "kind": {
8782
- "enum": [
8783
- "exact_action",
8784
- "command_pattern",
8785
- "domain",
8786
- "tool",
8787
- "server",
8788
- "all_edits"
8789
- ],
9269
+ "itemId": {
9270
+ "$ref": "#/$defs/__schema1"
9271
+ },
9272
+ "itemKind": {
9273
+ "const": "user_message",
8790
9274
  "type": "string"
9275
+ },
9276
+ "status": {
9277
+ "$ref": "#/$defs/__schema12"
9278
+ },
9279
+ "summary": {
9280
+ "$ref": "#/$defs/__schema14"
9281
+ },
9282
+ "title": {
9283
+ "$ref": "#/$defs/__schema13"
8791
9284
  }
8792
9285
  },
8793
9286
  "readOnly": true,
8794
9287
  "required": [
8795
- "kind"
9288
+ "itemId",
9289
+ "status",
9290
+ "itemKind"
8796
9291
  ],
8797
9292
  "type": "object"
8798
- }
8799
- },
8800
- "readOnly": true,
8801
- "required": [
8802
- "optionId",
8803
- "label",
8804
- "decision",
8805
- "persistence",
8806
- "scope"
8807
- ],
8808
- "type": "object"
8809
- },
8810
- "__schema48": {
8811
- "oneOf": [
9293
+ },
8812
9294
  {
8813
9295
  "additionalProperties": false,
8814
9296
  "properties": {
8815
- "description": {
8816
- "$ref": "#/$defs/__schema50"
8817
- },
8818
- "fieldId": {
9297
+ "itemId": {
8819
9298
  "$ref": "#/$defs/__schema1"
8820
9299
  },
8821
- "kind": {
8822
- "const": "text",
9300
+ "itemKind": {
9301
+ "const": "assistant_message",
8823
9302
  "type": "string"
8824
9303
  },
8825
- "label": {
8826
- "$ref": "#/$defs/__schema49"
8827
- },
8828
- "maxLength": {
8829
- "exclusiveMinimum": 0,
8830
- "maximum": 4e3,
8831
- "type": "integer"
8832
- },
8833
- "multiline": {
8834
- "type": "boolean"
9304
+ "status": {
9305
+ "$ref": "#/$defs/__schema12"
8835
9306
  },
8836
- "required": {
8837
- "$ref": "#/$defs/__schema51"
9307
+ "summary": {
9308
+ "$ref": "#/$defs/__schema14"
8838
9309
  },
8839
- "sensitivity": {
8840
- "$ref": "#/$defs/__schema52"
9310
+ "title": {
9311
+ "$ref": "#/$defs/__schema13"
8841
9312
  }
8842
9313
  },
8843
9314
  "readOnly": true,
8844
9315
  "required": [
8845
- "fieldId",
8846
- "label",
8847
- "required",
8848
- "sensitivity",
8849
- "kind",
8850
- "multiline",
8851
- "maxLength"
9316
+ "itemId",
9317
+ "status",
9318
+ "itemKind"
8852
9319
  ],
8853
9320
  "type": "object"
8854
9321
  },
8855
9322
  {
8856
9323
  "additionalProperties": false,
8857
9324
  "properties": {
8858
- "allowOther": {
8859
- "type": "boolean"
8860
- },
8861
- "description": {
8862
- "$ref": "#/$defs/__schema50"
8863
- },
8864
- "fieldId": {
9325
+ "itemId": {
8865
9326
  "$ref": "#/$defs/__schema1"
8866
9327
  },
8867
- "kind": {
8868
- "const": "single_select",
9328
+ "itemKind": {
9329
+ "const": "reasoning",
8869
9330
  "type": "string"
8870
9331
  },
8871
- "label": {
8872
- "$ref": "#/$defs/__schema49"
8873
- },
8874
- "options": {
8875
- "$ref": "#/$defs/__schema53"
9332
+ "status": {
9333
+ "$ref": "#/$defs/__schema12"
8876
9334
  },
8877
- "required": {
8878
- "$ref": "#/$defs/__schema51"
9335
+ "summary": {
9336
+ "$ref": "#/$defs/__schema14"
8879
9337
  },
8880
- "sensitivity": {
8881
- "$ref": "#/$defs/__schema52"
9338
+ "title": {
9339
+ "$ref": "#/$defs/__schema13"
8882
9340
  }
8883
9341
  },
8884
9342
  "readOnly": true,
8885
9343
  "required": [
8886
- "fieldId",
8887
- "label",
8888
- "required",
8889
- "sensitivity",
8890
- "kind",
8891
- "options",
8892
- "allowOther"
9344
+ "itemId",
9345
+ "status",
9346
+ "itemKind"
8893
9347
  ],
8894
9348
  "type": "object"
8895
9349
  },
8896
9350
  {
8897
9351
  "additionalProperties": false,
8898
9352
  "properties": {
8899
- "allowOther": {
8900
- "type": "boolean"
8901
- },
8902
- "description": {
8903
- "$ref": "#/$defs/__schema50"
8904
- },
8905
- "fieldId": {
9353
+ "itemId": {
8906
9354
  "$ref": "#/$defs/__schema1"
8907
9355
  },
8908
- "kind": {
8909
- "const": "multi_select",
9356
+ "itemKind": {
9357
+ "const": "plan",
8910
9358
  "type": "string"
8911
9359
  },
8912
- "label": {
8913
- "$ref": "#/$defs/__schema49"
8914
- },
8915
- "maxSelections": {
8916
- "exclusiveMinimum": 0,
8917
- "maximum": 100,
8918
- "type": "integer"
8919
- },
8920
- "options": {
8921
- "$ref": "#/$defs/__schema53"
9360
+ "status": {
9361
+ "$ref": "#/$defs/__schema12"
8922
9362
  },
8923
- "required": {
8924
- "$ref": "#/$defs/__schema51"
9363
+ "summary": {
9364
+ "$ref": "#/$defs/__schema14"
8925
9365
  },
8926
- "sensitivity": {
8927
- "$ref": "#/$defs/__schema52"
9366
+ "title": {
9367
+ "$ref": "#/$defs/__schema13"
8928
9368
  }
8929
9369
  },
8930
9370
  "readOnly": true,
8931
9371
  "required": [
8932
- "fieldId",
8933
- "label",
8934
- "required",
8935
- "sensitivity",
8936
- "kind",
8937
- "options",
8938
- "allowOther",
8939
- "maxSelections"
9372
+ "itemId",
9373
+ "status",
9374
+ "itemKind"
8940
9375
  ],
8941
9376
  "type": "object"
8942
9377
  },
8943
9378
  {
8944
9379
  "additionalProperties": false,
8945
9380
  "properties": {
8946
- "description": {
8947
- "$ref": "#/$defs/__schema50"
9381
+ "details": {
9382
+ "additionalProperties": false,
9383
+ "properties": {
9384
+ "commandSummary": {
9385
+ "$ref": "#/$defs/__schema15"
9386
+ },
9387
+ "durationMs": {
9388
+ "$ref": "#/$defs/__schema20"
9389
+ },
9390
+ "exitCode": {
9391
+ "$ref": "#/$defs/__schema19"
9392
+ },
9393
+ "truncated": {
9394
+ "$ref": "#/$defs/__schema22"
9395
+ },
9396
+ "workingPath": {
9397
+ "$ref": "#/$defs/__schema17"
9398
+ }
9399
+ },
9400
+ "readOnly": true,
9401
+ "type": "object"
8948
9402
  },
8949
- "fieldId": {
9403
+ "itemId": {
8950
9404
  "$ref": "#/$defs/__schema1"
8951
9405
  },
8952
- "kind": {
8953
- "const": "boolean",
9406
+ "itemKind": {
9407
+ "const": "command_execution",
8954
9408
  "type": "string"
8955
9409
  },
8956
- "label": {
8957
- "$ref": "#/$defs/__schema49"
9410
+ "status": {
9411
+ "$ref": "#/$defs/__schema12"
8958
9412
  },
8959
- "required": {
8960
- "$ref": "#/$defs/__schema51"
9413
+ "summary": {
9414
+ "$ref": "#/$defs/__schema14"
8961
9415
  },
8962
- "sensitivity": {
8963
- "$ref": "#/$defs/__schema52"
9416
+ "title": {
9417
+ "$ref": "#/$defs/__schema13"
8964
9418
  }
8965
9419
  },
8966
9420
  "readOnly": true,
8967
9421
  "required": [
8968
- "fieldId",
8969
- "label",
8970
- "required",
8971
- "sensitivity",
8972
- "kind"
9422
+ "itemId",
9423
+ "status",
9424
+ "itemKind"
8973
9425
  ],
8974
9426
  "type": "object"
8975
9427
  },
8976
9428
  {
8977
9429
  "additionalProperties": false,
8978
9430
  "properties": {
8979
- "confirmLabel": {
8980
- "maxLength": 200,
8981
- "minLength": 1,
8982
- "type": "string"
8983
- },
8984
- "description": {
8985
- "$ref": "#/$defs/__schema50"
9431
+ "details": {
9432
+ "additionalProperties": false,
9433
+ "properties": {
9434
+ "changes": {
9435
+ "$ref": "#/$defs/__schema23"
9436
+ },
9437
+ "truncated": {
9438
+ "$ref": "#/$defs/__schema22"
9439
+ }
9440
+ },
9441
+ "readOnly": true,
9442
+ "required": [
9443
+ "changes"
9444
+ ],
9445
+ "type": "object"
8986
9446
  },
8987
- "fieldId": {
9447
+ "itemId": {
8988
9448
  "$ref": "#/$defs/__schema1"
8989
9449
  },
8990
- "kind": {
8991
- "const": "confirmation",
9450
+ "itemKind": {
9451
+ "const": "file_change",
8992
9452
  "type": "string"
8993
9453
  },
8994
- "label": {
8995
- "$ref": "#/$defs/__schema49"
9454
+ "status": {
9455
+ "$ref": "#/$defs/__schema12"
8996
9456
  },
8997
- "required": {
8998
- "$ref": "#/$defs/__schema51"
9457
+ "summary": {
9458
+ "$ref": "#/$defs/__schema14"
8999
9459
  },
9000
- "sensitivity": {
9001
- "$ref": "#/$defs/__schema52"
9460
+ "title": {
9461
+ "$ref": "#/$defs/__schema13"
9002
9462
  }
9003
9463
  },
9004
9464
  "readOnly": true,
9005
9465
  "required": [
9006
- "fieldId",
9007
- "label",
9008
- "required",
9009
- "sensitivity",
9010
- "kind",
9011
- "confirmLabel"
9466
+ "itemId",
9467
+ "status",
9468
+ "itemKind"
9012
9469
  ],
9013
9470
  "type": "object"
9014
- }
9015
- ]
9016
- },
9017
- "__schema49": {
9018
- "maxLength": 200,
9019
- "minLength": 1,
9020
- "type": "string"
9021
- },
9022
- "__schema5": {
9023
- "additionalProperties": false,
9024
- "properties": {
9025
- "code": {
9026
- "$ref": "#/$defs/__schema6"
9027
- },
9028
- "context": {
9029
- "$ref": "#/$defs/__schema8"
9030
- },
9031
- "message": {
9032
- "$ref": "#/$defs/__schema7"
9033
- },
9034
- "retryable": {
9035
- "type": "boolean"
9036
- }
9037
- },
9038
- "readOnly": true,
9039
- "required": [
9040
- "code",
9041
- "message",
9042
- "retryable"
9043
- ],
9044
- "type": "object"
9045
- },
9046
- "__schema50": {
9047
- "maxLength": 2e3,
9048
- "type": "string"
9049
- },
9050
- "__schema51": {
9051
- "type": "boolean"
9052
- },
9053
- "__schema52": {
9054
- "enum": [
9055
- "ordinary",
9056
- "sensitive"
9057
- ],
9058
- "type": "string"
9059
- },
9060
- "__schema53": {
9061
- "items": {
9062
- "$ref": "#/$defs/__schema54"
9063
- },
9064
- "maxItems": 100,
9065
- "minItems": 1,
9066
- "readOnly": true,
9067
- "type": "array"
9068
- },
9069
- "__schema54": {
9070
- "additionalProperties": false,
9071
- "properties": {
9072
- "description": {
9073
- "maxLength": 2e3,
9074
- "type": "string"
9075
- },
9076
- "label": {
9077
- "maxLength": 200,
9078
- "minLength": 1,
9079
- "type": "string"
9080
9471
  },
9081
- "value": {
9082
- "allOf": [
9083
- {
9472
+ {
9473
+ "additionalProperties": false,
9474
+ "properties": {
9475
+ "details": {
9476
+ "additionalProperties": false,
9477
+ "properties": {
9478
+ "actionSummary": {
9479
+ "$ref": "#/$defs/__schema28"
9480
+ },
9481
+ "durationMs": {
9482
+ "$ref": "#/$defs/__schema29"
9483
+ },
9484
+ "serverName": {
9485
+ "$ref": "#/$defs/__schema25"
9486
+ },
9487
+ "toolName": {
9488
+ "$ref": "#/$defs/__schema27"
9489
+ },
9490
+ "truncated": {
9491
+ "$ref": "#/$defs/__schema22"
9492
+ }
9493
+ },
9494
+ "readOnly": true,
9495
+ "type": "object"
9496
+ },
9497
+ "itemId": {
9084
9498
  "$ref": "#/$defs/__schema1"
9085
9499
  },
9086
- {
9087
- "maxLength": 160,
9500
+ "itemKind": {
9501
+ "const": "mcp_tool_call",
9088
9502
  "type": "string"
9089
- }
9090
- ]
9091
- }
9092
- },
9093
- "readOnly": true,
9094
- "required": [
9095
- "value",
9096
- "label"
9097
- ],
9098
- "type": "object"
9099
- },
9100
- "__schema55": {
9101
- "maximum": 9007199254740991,
9102
- "minimum": 0,
9103
- "type": "integer"
9104
- },
9105
- "__schema56": {
9106
- "exclusiveMinimum": 0,
9107
- "maximum": 9007199254740991,
9108
- "type": "integer"
9109
- },
9110
- "__schema57": {
9111
- "$ref": "#/$defs/__schema55"
9112
- },
9113
- "__schema58": {
9114
- "$ref": "#/$defs/__schema55"
9115
- },
9116
- "__schema59": {
9117
- "$ref": "#/$defs/__schema55"
9118
- },
9119
- "__schema6": {
9120
- "maxLength": 120,
9121
- "minLength": 1,
9122
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9123
- "type": "string"
9124
- },
9125
- "__schema60": {
9126
- "$ref": "#/$defs/__schema55"
9127
- },
9128
- "__schema61": {
9129
- "$ref": "#/$defs/__schema55"
9130
- },
9131
- "__schema62": {
9132
- "$ref": "#/$defs/__schema55"
9133
- },
9134
- "__schema63": {
9135
- "$ref": "#/$defs/__schema55"
9136
- },
9137
- "__schema64": {
9138
- "const": "reported",
9139
- "type": "string"
9140
- },
9141
- "__schema65": {
9142
- "$ref": "#/$defs/__schema66"
9143
- },
9144
- "__schema66": {
9145
- "maximum": 9007199254740991,
9146
- "minimum": 0,
9147
- "type": "integer"
9148
- },
9149
- "__schema67": {
9150
- "$ref": "#/$defs/__schema66"
9151
- },
9152
- "__schema68": {
9153
- "$ref": "#/$defs/__schema66"
9154
- },
9155
- "__schema69": {
9156
- "$ref": "#/$defs/__schema66"
9157
- },
9158
- "__schema7": {
9159
- "maxLength": 4e3,
9160
- "minLength": 1,
9161
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9162
- "type": "string"
9163
- },
9164
- "__schema70": {
9165
- "$ref": "#/$defs/__schema66"
9166
- },
9167
- "__schema71": {
9168
- "exclusiveMinimum": 0,
9169
- "maximum": 9007199254740991,
9170
- "type": "integer"
9171
- },
9172
- "__schema8": {
9173
- "additionalProperties": false,
9174
- "properties": {
9175
- "component": {
9176
- "maxLength": 160,
9177
- "minLength": 1,
9178
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9179
- "type": "string"
9180
- },
9181
- "operation": {
9182
- "maxLength": 160,
9183
- "minLength": 1,
9184
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9185
- "type": "string"
9503
+ },
9504
+ "status": {
9505
+ "$ref": "#/$defs/__schema12"
9506
+ },
9507
+ "summary": {
9508
+ "$ref": "#/$defs/__schema14"
9509
+ },
9510
+ "title": {
9511
+ "$ref": "#/$defs/__schema13"
9512
+ }
9513
+ },
9514
+ "readOnly": true,
9515
+ "required": [
9516
+ "itemId",
9517
+ "status",
9518
+ "itemKind"
9519
+ ],
9520
+ "type": "object"
9186
9521
  },
9187
- "status": {
9188
- "maxLength": 160,
9189
- "minLength": 1,
9190
- "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9191
- "type": "string"
9192
- }
9193
- },
9194
- "readOnly": true,
9195
- "type": "object"
9196
- },
9197
- "__schema9": {
9198
- "oneOf": [
9199
9522
  {
9200
9523
  "additionalProperties": false,
9201
9524
  "properties": {
9525
+ "details": {
9526
+ "additionalProperties": false,
9527
+ "properties": {
9528
+ "actionSummary": {
9529
+ "$ref": "#/$defs/__schema31"
9530
+ },
9531
+ "durationMs": {
9532
+ "$ref": "#/$defs/__schema32"
9533
+ },
9534
+ "success": {
9535
+ "$ref": "#/$defs/__schema33"
9536
+ },
9537
+ "toolName": {
9538
+ "$ref": "#/$defs/__schema30"
9539
+ },
9540
+ "truncated": {
9541
+ "$ref": "#/$defs/__schema22"
9542
+ }
9543
+ },
9544
+ "readOnly": true,
9545
+ "type": "object"
9546
+ },
9202
9547
  "itemId": {
9203
9548
  "$ref": "#/$defs/__schema1"
9204
9549
  },
9205
9550
  "itemKind": {
9206
- "const": "user_message",
9551
+ "const": "dynamic_tool_call",
9207
9552
  "type": "string"
9208
9553
  },
9209
9554
  "status": {
9210
- "$ref": "#/$defs/__schema10"
9555
+ "$ref": "#/$defs/__schema12"
9211
9556
  },
9212
9557
  "summary": {
9213
- "$ref": "#/$defs/__schema12"
9558
+ "$ref": "#/$defs/__schema14"
9214
9559
  },
9215
9560
  "title": {
9216
- "$ref": "#/$defs/__schema11"
9561
+ "$ref": "#/$defs/__schema13"
9217
9562
  }
9218
9563
  },
9219
9564
  "readOnly": true,
@@ -9227,21 +9572,37 @@ const AGENT_EVENT_JSON_SCHEMA = {
9227
9572
  {
9228
9573
  "additionalProperties": false,
9229
9574
  "properties": {
9575
+ "details": {
9576
+ "additionalProperties": false,
9577
+ "properties": {
9578
+ "actionSummary": {
9579
+ "$ref": "#/$defs/__schema35"
9580
+ },
9581
+ "toolName": {
9582
+ "$ref": "#/$defs/__schema34"
9583
+ },
9584
+ "truncated": {
9585
+ "$ref": "#/$defs/__schema22"
9586
+ }
9587
+ },
9588
+ "readOnly": true,
9589
+ "type": "object"
9590
+ },
9230
9591
  "itemId": {
9231
9592
  "$ref": "#/$defs/__schema1"
9232
9593
  },
9233
9594
  "itemKind": {
9234
- "const": "assistant_message",
9595
+ "const": "collaboration_tool_call",
9235
9596
  "type": "string"
9236
9597
  },
9237
9598
  "status": {
9238
- "$ref": "#/$defs/__schema10"
9599
+ "$ref": "#/$defs/__schema12"
9239
9600
  },
9240
9601
  "summary": {
9241
- "$ref": "#/$defs/__schema12"
9602
+ "$ref": "#/$defs/__schema14"
9242
9603
  },
9243
9604
  "title": {
9244
- "$ref": "#/$defs/__schema11"
9605
+ "$ref": "#/$defs/__schema13"
9245
9606
  }
9246
9607
  },
9247
9608
  "readOnly": true,
@@ -9255,21 +9616,37 @@ const AGENT_EVENT_JSON_SCHEMA = {
9255
9616
  {
9256
9617
  "additionalProperties": false,
9257
9618
  "properties": {
9619
+ "details": {
9620
+ "additionalProperties": false,
9621
+ "properties": {
9622
+ "actionSummary": {
9623
+ "$ref": "#/$defs/__schema37"
9624
+ },
9625
+ "querySummary": {
9626
+ "$ref": "#/$defs/__schema36"
9627
+ },
9628
+ "truncated": {
9629
+ "$ref": "#/$defs/__schema22"
9630
+ }
9631
+ },
9632
+ "readOnly": true,
9633
+ "type": "object"
9634
+ },
9258
9635
  "itemId": {
9259
9636
  "$ref": "#/$defs/__schema1"
9260
9637
  },
9261
9638
  "itemKind": {
9262
- "const": "reasoning",
9639
+ "const": "web_search",
9263
9640
  "type": "string"
9264
9641
  },
9265
9642
  "status": {
9266
- "$ref": "#/$defs/__schema10"
9643
+ "$ref": "#/$defs/__schema12"
9267
9644
  },
9268
9645
  "summary": {
9269
- "$ref": "#/$defs/__schema12"
9646
+ "$ref": "#/$defs/__schema14"
9270
9647
  },
9271
9648
  "title": {
9272
- "$ref": "#/$defs/__schema11"
9649
+ "$ref": "#/$defs/__schema13"
9273
9650
  }
9274
9651
  },
9275
9652
  "readOnly": true,
@@ -9283,21 +9660,37 @@ const AGENT_EVENT_JSON_SCHEMA = {
9283
9660
  {
9284
9661
  "additionalProperties": false,
9285
9662
  "properties": {
9663
+ "details": {
9664
+ "additionalProperties": false,
9665
+ "properties": {
9666
+ "actionSummary": {
9667
+ "$ref": "#/$defs/__schema16"
9668
+ },
9669
+ "truncated": {
9670
+ "$ref": "#/$defs/__schema22"
9671
+ }
9672
+ },
9673
+ "readOnly": true,
9674
+ "required": [
9675
+ "actionSummary"
9676
+ ],
9677
+ "type": "object"
9678
+ },
9286
9679
  "itemId": {
9287
9680
  "$ref": "#/$defs/__schema1"
9288
9681
  },
9289
9682
  "itemKind": {
9290
- "const": "plan",
9683
+ "const": "browser_action",
9291
9684
  "type": "string"
9292
9685
  },
9293
9686
  "status": {
9294
- "$ref": "#/$defs/__schema10"
9687
+ "$ref": "#/$defs/__schema12"
9295
9688
  },
9296
9689
  "summary": {
9297
- "$ref": "#/$defs/__schema12"
9690
+ "$ref": "#/$defs/__schema14"
9298
9691
  },
9299
9692
  "title": {
9300
- "$ref": "#/$defs/__schema11"
9693
+ "$ref": "#/$defs/__schema13"
9301
9694
  }
9302
9695
  },
9303
9696
  "readOnly": true,
@@ -9314,40 +9707,34 @@ const AGENT_EVENT_JSON_SCHEMA = {
9314
9707
  "details": {
9315
9708
  "additionalProperties": false,
9316
9709
  "properties": {
9317
- "commandSummary": {
9318
- "$ref": "#/$defs/__schema13"
9319
- },
9320
- "durationMs": {
9321
- "$ref": "#/$defs/__schema18"
9322
- },
9323
- "exitCode": {
9324
- "$ref": "#/$defs/__schema17"
9710
+ "actionSummary": {
9711
+ "$ref": "#/$defs/__schema16"
9325
9712
  },
9326
9713
  "truncated": {
9327
- "$ref": "#/$defs/__schema20"
9328
- },
9329
- "workingPath": {
9330
- "$ref": "#/$defs/__schema15"
9714
+ "$ref": "#/$defs/__schema22"
9331
9715
  }
9332
9716
  },
9333
9717
  "readOnly": true,
9718
+ "required": [
9719
+ "actionSummary"
9720
+ ],
9334
9721
  "type": "object"
9335
9722
  },
9336
9723
  "itemId": {
9337
9724
  "$ref": "#/$defs/__schema1"
9338
9725
  },
9339
9726
  "itemKind": {
9340
- "const": "command_execution",
9727
+ "const": "computer_action",
9341
9728
  "type": "string"
9342
9729
  },
9343
9730
  "status": {
9344
- "$ref": "#/$defs/__schema10"
9731
+ "$ref": "#/$defs/__schema12"
9345
9732
  },
9346
9733
  "summary": {
9347
- "$ref": "#/$defs/__schema12"
9734
+ "$ref": "#/$defs/__schema14"
9348
9735
  },
9349
9736
  "title": {
9350
- "$ref": "#/$defs/__schema11"
9737
+ "$ref": "#/$defs/__schema13"
9351
9738
  }
9352
9739
  },
9353
9740
  "readOnly": true,
@@ -9364,34 +9751,34 @@ const AGENT_EVENT_JSON_SCHEMA = {
9364
9751
  "details": {
9365
9752
  "additionalProperties": false,
9366
9753
  "properties": {
9367
- "changes": {
9368
- "$ref": "#/$defs/__schema21"
9754
+ "actionSummary": {
9755
+ "$ref": "#/$defs/__schema39"
9756
+ },
9757
+ "filePath": {
9758
+ "$ref": "#/$defs/__schema38"
9369
9759
  },
9370
9760
  "truncated": {
9371
- "$ref": "#/$defs/__schema20"
9761
+ "$ref": "#/$defs/__schema22"
9372
9762
  }
9373
9763
  },
9374
9764
  "readOnly": true,
9375
- "required": [
9376
- "changes"
9377
- ],
9378
9765
  "type": "object"
9379
9766
  },
9380
9767
  "itemId": {
9381
9768
  "$ref": "#/$defs/__schema1"
9382
9769
  },
9383
9770
  "itemKind": {
9384
- "const": "file_change",
9771
+ "const": "image_view",
9385
9772
  "type": "string"
9386
9773
  },
9387
9774
  "status": {
9388
- "$ref": "#/$defs/__schema10"
9775
+ "$ref": "#/$defs/__schema12"
9389
9776
  },
9390
9777
  "summary": {
9391
- "$ref": "#/$defs/__schema12"
9778
+ "$ref": "#/$defs/__schema14"
9392
9779
  },
9393
9780
  "title": {
9394
- "$ref": "#/$defs/__schema11"
9781
+ "$ref": "#/$defs/__schema13"
9395
9782
  }
9396
9783
  },
9397
9784
  "readOnly": true,
@@ -9402,96 +9789,153 @@ const AGENT_EVENT_JSON_SCHEMA = {
9402
9789
  ],
9403
9790
  "type": "object"
9404
9791
  },
9792
+ {
9793
+ "additionalProperties": false,
9794
+ "properties": {
9795
+ "details": {
9796
+ "oneOf": [
9797
+ {
9798
+ "additionalProperties": false,
9799
+ "properties": {
9800
+ "phase": {
9801
+ "const": "entered",
9802
+ "type": "string"
9803
+ },
9804
+ "target": {
9805
+ "$ref": "#/$defs/__schema40"
9806
+ },
9807
+ "truncated": {
9808
+ "$ref": "#/$defs/__schema22"
9809
+ }
9810
+ },
9811
+ "readOnly": true,
9812
+ "required": [
9813
+ "phase",
9814
+ "target"
9815
+ ],
9816
+ "type": "object"
9817
+ },
9818
+ {
9819
+ "additionalProperties": false,
9820
+ "properties": {
9821
+ "phase": {
9822
+ "const": "exited",
9823
+ "type": "string"
9824
+ },
9825
+ "report": {
9826
+ "$ref": "#/$defs/__schema40"
9827
+ },
9828
+ "truncated": {
9829
+ "$ref": "#/$defs/__schema22"
9830
+ }
9831
+ },
9832
+ "readOnly": true,
9833
+ "required": [
9834
+ "phase",
9835
+ "report"
9836
+ ],
9837
+ "type": "object"
9838
+ }
9839
+ ]
9840
+ },
9841
+ "itemId": {
9842
+ "$ref": "#/$defs/__schema1"
9843
+ },
9844
+ "itemKind": {
9845
+ "const": "review",
9846
+ "type": "string"
9847
+ },
9848
+ "status": {
9849
+ "$ref": "#/$defs/__schema12"
9850
+ },
9851
+ "summary": {
9852
+ "$ref": "#/$defs/__schema14"
9853
+ },
9854
+ "title": {
9855
+ "$ref": "#/$defs/__schema13"
9856
+ }
9857
+ },
9858
+ "readOnly": true,
9859
+ "required": [
9860
+ "itemId",
9861
+ "status",
9862
+ "itemKind",
9863
+ "details"
9864
+ ],
9865
+ "type": "object"
9866
+ },
9405
9867
  {
9406
9868
  "additionalProperties": false,
9407
9869
  "properties": {
9408
9870
  "details": {
9409
9871
  "additionalProperties": false,
9410
9872
  "properties": {
9411
- "actionSummary": {
9412
- "$ref": "#/$defs/__schema26"
9873
+ "afterTokens": {
9874
+ "$ref": "#/$defs/__schema43"
9413
9875
  },
9414
- "durationMs": {
9415
- "$ref": "#/$defs/__schema27"
9876
+ "beforeTokens": {
9877
+ "$ref": "#/$defs/__schema42"
9416
9878
  },
9417
- "serverName": {
9418
- "$ref": "#/$defs/__schema23"
9879
+ "durationMs": {
9880
+ "$ref": "#/$defs/__schema44"
9419
9881
  },
9420
- "toolName": {
9421
- "$ref": "#/$defs/__schema25"
9882
+ "summaryPreview": {
9883
+ "$ref": "#/$defs/__schema45"
9422
9884
  },
9423
- "truncated": {
9424
- "$ref": "#/$defs/__schema20"
9885
+ "trigger": {
9886
+ "$ref": "#/$defs/__schema41"
9425
9887
  }
9426
9888
  },
9427
9889
  "readOnly": true,
9890
+ "required": [
9891
+ "trigger"
9892
+ ],
9428
9893
  "type": "object"
9429
9894
  },
9430
9895
  "itemId": {
9431
9896
  "$ref": "#/$defs/__schema1"
9432
9897
  },
9433
9898
  "itemKind": {
9434
- "const": "mcp_tool_call",
9899
+ "const": "context_compaction",
9435
9900
  "type": "string"
9436
9901
  },
9437
9902
  "status": {
9438
- "$ref": "#/$defs/__schema10"
9903
+ "$ref": "#/$defs/__schema12"
9439
9904
  },
9440
9905
  "summary": {
9441
- "$ref": "#/$defs/__schema12"
9906
+ "$ref": "#/$defs/__schema14"
9442
9907
  },
9443
9908
  "title": {
9444
- "$ref": "#/$defs/__schema11"
9909
+ "$ref": "#/$defs/__schema13"
9445
9910
  }
9446
9911
  },
9447
9912
  "readOnly": true,
9448
9913
  "required": [
9449
9914
  "itemId",
9450
9915
  "status",
9451
- "itemKind"
9916
+ "itemKind",
9917
+ "details"
9452
9918
  ],
9453
9919
  "type": "object"
9454
9920
  },
9455
9921
  {
9456
9922
  "additionalProperties": false,
9457
9923
  "properties": {
9458
- "details": {
9459
- "additionalProperties": false,
9460
- "properties": {
9461
- "actionSummary": {
9462
- "$ref": "#/$defs/__schema29"
9463
- },
9464
- "durationMs": {
9465
- "$ref": "#/$defs/__schema30"
9466
- },
9467
- "success": {
9468
- "$ref": "#/$defs/__schema31"
9469
- },
9470
- "toolName": {
9471
- "$ref": "#/$defs/__schema28"
9472
- },
9473
- "truncated": {
9474
- "$ref": "#/$defs/__schema20"
9475
- }
9476
- },
9477
- "readOnly": true,
9478
- "type": "object"
9479
- },
9480
9924
  "itemId": {
9481
9925
  "$ref": "#/$defs/__schema1"
9482
9926
  },
9483
9927
  "itemKind": {
9484
- "const": "dynamic_tool_call",
9928
+ "const": "unknown",
9485
9929
  "type": "string"
9486
9930
  },
9487
9931
  "status": {
9488
- "$ref": "#/$defs/__schema10"
9932
+ "$ref": "#/$defs/__schema12"
9489
9933
  },
9490
9934
  "summary": {
9491
- "$ref": "#/$defs/__schema12"
9935
+ "$ref": "#/$defs/__schema14"
9492
9936
  },
9493
9937
  "title": {
9494
- "$ref": "#/$defs/__schema11"
9938
+ "$ref": "#/$defs/__schema13"
9495
9939
  }
9496
9940
  },
9497
9941
  "readOnly": true,
@@ -9500,389 +9944,868 @@ const AGENT_EVENT_JSON_SCHEMA = {
9500
9944
  "status",
9501
9945
  "itemKind"
9502
9946
  ],
9503
- "type": "object"
9947
+ "type": "object"
9948
+ }
9949
+ ]
9950
+ },
9951
+ "__schema12": {
9952
+ "enum": [
9953
+ "pending",
9954
+ "in_progress",
9955
+ "completed",
9956
+ "failed",
9957
+ "canceled",
9958
+ "unknown"
9959
+ ],
9960
+ "type": "string"
9961
+ },
9962
+ "__schema13": {
9963
+ "maxLength": 200,
9964
+ "type": "string"
9965
+ },
9966
+ "__schema14": {
9967
+ "maxLength": 2e3,
9968
+ "type": "string"
9969
+ },
9970
+ "__schema15": {
9971
+ "$ref": "#/$defs/__schema16"
9972
+ },
9973
+ "__schema16": {
9974
+ "maxLength": 2e3,
9975
+ "minLength": 1,
9976
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
9977
+ "type": "string"
9978
+ },
9979
+ "__schema17": {
9980
+ "$ref": "#/$defs/__schema18"
9981
+ },
9982
+ "__schema18": {
9983
+ "maxLength": 500,
9984
+ "minLength": 1,
9985
+ "pattern": "^(?![\\\\/]|[A-Za-z]:[\\\\/])(?!.*(?:^|[\\\\/])\\.\\.(?:[\\\\/]|$))(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
9986
+ "type": "string"
9987
+ },
9988
+ "__schema19": {
9989
+ "maximum": 9007199254740991,
9990
+ "minimum": -9007199254740991,
9991
+ "type": "integer"
9992
+ },
9993
+ "__schema2": {
9994
+ "additionalProperties": false,
9995
+ "properties": {
9996
+ "conversationId": {
9997
+ "$ref": "#/$defs/__schema3"
9998
+ },
9999
+ "historyAnchor": {
10000
+ "$ref": "#/$defs/__schema3"
10001
+ },
10002
+ "itemId": {
10003
+ "$ref": "#/$defs/__schema3"
10004
+ },
10005
+ "requestId": {
10006
+ "$ref": "#/$defs/__schema3"
10007
+ },
10008
+ "turnId": {
10009
+ "$ref": "#/$defs/__schema3"
10010
+ }
10011
+ },
10012
+ "readOnly": true,
10013
+ "type": "object"
10014
+ },
10015
+ "__schema20": {
10016
+ "$ref": "#/$defs/__schema21"
10017
+ },
10018
+ "__schema21": {
10019
+ "maximum": 9007199254740991,
10020
+ "minimum": 0,
10021
+ "type": "integer"
10022
+ },
10023
+ "__schema22": {
10024
+ "const": true,
10025
+ "type": "boolean"
10026
+ },
10027
+ "__schema23": {
10028
+ "items": {
10029
+ "$ref": "#/$defs/__schema24"
10030
+ },
10031
+ "maxItems": 100,
10032
+ "minItems": 1,
10033
+ "readOnly": true,
10034
+ "type": "array"
10035
+ },
10036
+ "__schema24": {
10037
+ "additionalProperties": false,
10038
+ "properties": {
10039
+ "changeKind": {
10040
+ "enum": [
10041
+ "created",
10042
+ "modified",
10043
+ "deleted",
10044
+ "renamed",
10045
+ "unknown"
10046
+ ],
10047
+ "type": "string"
10048
+ },
10049
+ "path": {
10050
+ "$ref": "#/$defs/__schema18"
10051
+ }
10052
+ },
10053
+ "readOnly": true,
10054
+ "required": [
10055
+ "path",
10056
+ "changeKind"
10057
+ ],
10058
+ "type": "object"
10059
+ },
10060
+ "__schema25": {
10061
+ "$ref": "#/$defs/__schema26"
10062
+ },
10063
+ "__schema26": {
10064
+ "maxLength": 160,
10065
+ "minLength": 1,
10066
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10067
+ "type": "string"
10068
+ },
10069
+ "__schema27": {
10070
+ "$ref": "#/$defs/__schema26"
10071
+ },
10072
+ "__schema28": {
10073
+ "$ref": "#/$defs/__schema16"
10074
+ },
10075
+ "__schema29": {
10076
+ "$ref": "#/$defs/__schema21"
10077
+ },
10078
+ "__schema3": {
10079
+ "maxLength": 512,
10080
+ "minLength": 1,
10081
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
10082
+ "type": "string"
10083
+ },
10084
+ "__schema30": {
10085
+ "$ref": "#/$defs/__schema26"
10086
+ },
10087
+ "__schema31": {
10088
+ "$ref": "#/$defs/__schema16"
10089
+ },
10090
+ "__schema32": {
10091
+ "$ref": "#/$defs/__schema21"
10092
+ },
10093
+ "__schema33": {
10094
+ "type": "boolean"
10095
+ },
10096
+ "__schema34": {
10097
+ "$ref": "#/$defs/__schema26"
10098
+ },
10099
+ "__schema35": {
10100
+ "$ref": "#/$defs/__schema16"
10101
+ },
10102
+ "__schema36": {
10103
+ "$ref": "#/$defs/__schema16"
10104
+ },
10105
+ "__schema37": {
10106
+ "$ref": "#/$defs/__schema16"
10107
+ },
10108
+ "__schema38": {
10109
+ "$ref": "#/$defs/__schema18"
10110
+ },
10111
+ "__schema39": {
10112
+ "$ref": "#/$defs/__schema16"
10113
+ },
10114
+ "__schema4": {
10115
+ "format": "date-time",
10116
+ "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)))$",
10117
+ "type": "string"
10118
+ },
10119
+ "__schema40": {
10120
+ "maxLength": 4e3,
10121
+ "minLength": 1,
10122
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10123
+ "type": "string"
10124
+ },
10125
+ "__schema41": {
10126
+ "enum": [
10127
+ "automatic",
10128
+ "manual",
10129
+ "context_limit",
10130
+ "recovery",
10131
+ "unknown"
10132
+ ],
10133
+ "type": "string"
10134
+ },
10135
+ "__schema42": {
10136
+ "$ref": "#/$defs/__schema21"
10137
+ },
10138
+ "__schema43": {
10139
+ "$ref": "#/$defs/__schema21"
10140
+ },
10141
+ "__schema44": {
10142
+ "maximum": 36e5,
10143
+ "minimum": 0,
10144
+ "type": "integer"
10145
+ },
10146
+ "__schema45": {
10147
+ "maxLength": 500,
10148
+ "minLength": 1,
10149
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10150
+ "type": "string"
10151
+ },
10152
+ "__schema46": {
10153
+ "additionalProperties": false,
10154
+ "properties": {
10155
+ "priority": {
10156
+ "enum": [
10157
+ "low",
10158
+ "medium",
10159
+ "high"
10160
+ ],
10161
+ "type": "string"
10162
+ },
10163
+ "status": {
10164
+ "enum": [
10165
+ "pending",
10166
+ "in_progress",
10167
+ "completed",
10168
+ "canceled"
10169
+ ],
10170
+ "type": "string"
10171
+ },
10172
+ "stepId": {
10173
+ "$ref": "#/$defs/__schema1"
10174
+ },
10175
+ "text": {
10176
+ "maxLength": 4e3,
10177
+ "type": "string"
10178
+ }
10179
+ },
10180
+ "readOnly": true,
10181
+ "required": [
10182
+ "stepId",
10183
+ "text",
10184
+ "status"
10185
+ ],
10186
+ "type": "object"
10187
+ },
10188
+ "__schema47": {
10189
+ "maxLength": 120,
10190
+ "minLength": 1,
10191
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10192
+ "type": "string"
10193
+ },
10194
+ "__schema48": {
10195
+ "maxLength": 1e3,
10196
+ "minLength": 1,
10197
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10198
+ "type": "string"
10199
+ },
10200
+ "__schema49": {
10201
+ "additionalProperties": false,
10202
+ "properties": {
10203
+ "decision": {
10204
+ "enum": [
10205
+ "approved",
10206
+ "denied"
10207
+ ],
10208
+ "type": "string"
9504
10209
  },
9505
- {
10210
+ "description": {
10211
+ "$ref": "#/$defs/__schema48"
10212
+ },
10213
+ "label": {
10214
+ "$ref": "#/$defs/__schema47"
10215
+ },
10216
+ "optionId": {
10217
+ "$ref": "#/$defs/__schema1"
10218
+ },
10219
+ "persistence": {
10220
+ "enum": [
10221
+ "once",
10222
+ "session",
10223
+ "workspace"
10224
+ ],
10225
+ "type": "string"
10226
+ },
10227
+ "scope": {
9506
10228
  "additionalProperties": false,
9507
10229
  "properties": {
9508
- "details": {
9509
- "additionalProperties": false,
9510
- "properties": {
9511
- "actionSummary": {
9512
- "$ref": "#/$defs/__schema33"
9513
- },
9514
- "toolName": {
9515
- "$ref": "#/$defs/__schema32"
9516
- },
9517
- "truncated": {
9518
- "$ref": "#/$defs/__schema20"
9519
- }
9520
- },
9521
- "readOnly": true,
9522
- "type": "object"
9523
- },
9524
- "itemId": {
9525
- "$ref": "#/$defs/__schema1"
9526
- },
9527
- "itemKind": {
9528
- "const": "collaboration_tool_call",
10230
+ "kind": {
10231
+ "enum": [
10232
+ "exact_action",
10233
+ "command_pattern",
10234
+ "domain",
10235
+ "tool",
10236
+ "server",
10237
+ "all_edits"
10238
+ ],
9529
10239
  "type": "string"
9530
- },
9531
- "status": {
9532
- "$ref": "#/$defs/__schema10"
9533
- },
9534
- "summary": {
9535
- "$ref": "#/$defs/__schema12"
9536
- },
9537
- "title": {
9538
- "$ref": "#/$defs/__schema11"
9539
10240
  }
9540
10241
  },
9541
10242
  "readOnly": true,
9542
10243
  "required": [
9543
- "itemId",
9544
- "status",
9545
- "itemKind"
10244
+ "kind"
9546
10245
  ],
9547
10246
  "type": "object"
9548
- },
10247
+ }
10248
+ },
10249
+ "readOnly": true,
10250
+ "required": [
10251
+ "optionId",
10252
+ "label",
10253
+ "decision",
10254
+ "persistence",
10255
+ "scope"
10256
+ ],
10257
+ "type": "object"
10258
+ },
10259
+ "__schema5": {
10260
+ "$ref": "#/$defs/__schema6",
10261
+ "readOnly": true
10262
+ },
10263
+ "__schema50": {
10264
+ "oneOf": [
9549
10265
  {
9550
10266
  "additionalProperties": false,
9551
10267
  "properties": {
9552
- "details": {
9553
- "additionalProperties": false,
9554
- "properties": {
9555
- "actionSummary": {
9556
- "$ref": "#/$defs/__schema35"
9557
- },
9558
- "querySummary": {
9559
- "$ref": "#/$defs/__schema34"
9560
- },
9561
- "truncated": {
9562
- "$ref": "#/$defs/__schema20"
9563
- }
9564
- },
9565
- "readOnly": true,
9566
- "type": "object"
10268
+ "description": {
10269
+ "$ref": "#/$defs/__schema52"
9567
10270
  },
9568
- "itemId": {
10271
+ "fieldId": {
9569
10272
  "$ref": "#/$defs/__schema1"
9570
10273
  },
9571
- "itemKind": {
9572
- "const": "web_search",
10274
+ "kind": {
10275
+ "const": "text",
9573
10276
  "type": "string"
9574
10277
  },
9575
- "status": {
9576
- "$ref": "#/$defs/__schema10"
10278
+ "label": {
10279
+ "$ref": "#/$defs/__schema51"
9577
10280
  },
9578
- "summary": {
9579
- "$ref": "#/$defs/__schema12"
10281
+ "maxLength": {
10282
+ "exclusiveMinimum": 0,
10283
+ "maximum": 4e3,
10284
+ "type": "integer"
9580
10285
  },
9581
- "title": {
9582
- "$ref": "#/$defs/__schema11"
10286
+ "multiline": {
10287
+ "type": "boolean"
10288
+ },
10289
+ "required": {
10290
+ "$ref": "#/$defs/__schema53"
10291
+ },
10292
+ "sensitivity": {
10293
+ "$ref": "#/$defs/__schema54"
9583
10294
  }
9584
10295
  },
9585
10296
  "readOnly": true,
9586
10297
  "required": [
9587
- "itemId",
9588
- "status",
9589
- "itemKind"
10298
+ "fieldId",
10299
+ "label",
10300
+ "required",
10301
+ "sensitivity",
10302
+ "kind",
10303
+ "multiline",
10304
+ "maxLength"
9590
10305
  ],
9591
10306
  "type": "object"
9592
10307
  },
9593
10308
  {
9594
10309
  "additionalProperties": false,
9595
10310
  "properties": {
9596
- "details": {
9597
- "additionalProperties": false,
9598
- "properties": {
9599
- "actionSummary": {
9600
- "$ref": "#/$defs/__schema14"
9601
- },
9602
- "truncated": {
9603
- "$ref": "#/$defs/__schema20"
9604
- }
9605
- },
9606
- "readOnly": true,
9607
- "required": [
9608
- "actionSummary"
9609
- ],
9610
- "type": "object"
10311
+ "allowOther": {
10312
+ "type": "boolean"
9611
10313
  },
9612
- "itemId": {
10314
+ "description": {
10315
+ "$ref": "#/$defs/__schema52"
10316
+ },
10317
+ "fieldId": {
9613
10318
  "$ref": "#/$defs/__schema1"
9614
10319
  },
9615
- "itemKind": {
9616
- "const": "browser_action",
10320
+ "kind": {
10321
+ "const": "single_select",
9617
10322
  "type": "string"
9618
10323
  },
9619
- "status": {
9620
- "$ref": "#/$defs/__schema10"
10324
+ "label": {
10325
+ "$ref": "#/$defs/__schema51"
9621
10326
  },
9622
- "summary": {
9623
- "$ref": "#/$defs/__schema12"
10327
+ "options": {
10328
+ "$ref": "#/$defs/__schema55"
9624
10329
  },
9625
- "title": {
9626
- "$ref": "#/$defs/__schema11"
10330
+ "required": {
10331
+ "$ref": "#/$defs/__schema53"
10332
+ },
10333
+ "sensitivity": {
10334
+ "$ref": "#/$defs/__schema54"
9627
10335
  }
9628
10336
  },
9629
10337
  "readOnly": true,
9630
10338
  "required": [
9631
- "itemId",
9632
- "status",
9633
- "itemKind"
10339
+ "fieldId",
10340
+ "label",
10341
+ "required",
10342
+ "sensitivity",
10343
+ "kind",
10344
+ "options",
10345
+ "allowOther"
9634
10346
  ],
9635
10347
  "type": "object"
9636
10348
  },
9637
10349
  {
9638
10350
  "additionalProperties": false,
9639
10351
  "properties": {
9640
- "details": {
9641
- "additionalProperties": false,
9642
- "properties": {
9643
- "actionSummary": {
9644
- "$ref": "#/$defs/__schema14"
9645
- },
9646
- "truncated": {
9647
- "$ref": "#/$defs/__schema20"
9648
- }
9649
- },
9650
- "readOnly": true,
9651
- "required": [
9652
- "actionSummary"
9653
- ],
9654
- "type": "object"
10352
+ "allowOther": {
10353
+ "type": "boolean"
9655
10354
  },
9656
- "itemId": {
10355
+ "description": {
10356
+ "$ref": "#/$defs/__schema52"
10357
+ },
10358
+ "fieldId": {
9657
10359
  "$ref": "#/$defs/__schema1"
9658
10360
  },
9659
- "itemKind": {
9660
- "const": "computer_action",
10361
+ "kind": {
10362
+ "const": "multi_select",
9661
10363
  "type": "string"
9662
10364
  },
9663
- "status": {
9664
- "$ref": "#/$defs/__schema10"
10365
+ "label": {
10366
+ "$ref": "#/$defs/__schema51"
9665
10367
  },
9666
- "summary": {
9667
- "$ref": "#/$defs/__schema12"
10368
+ "maxSelections": {
10369
+ "exclusiveMinimum": 0,
10370
+ "maximum": 100,
10371
+ "type": "integer"
9668
10372
  },
9669
- "title": {
9670
- "$ref": "#/$defs/__schema11"
10373
+ "options": {
10374
+ "$ref": "#/$defs/__schema55"
10375
+ },
10376
+ "required": {
10377
+ "$ref": "#/$defs/__schema53"
10378
+ },
10379
+ "sensitivity": {
10380
+ "$ref": "#/$defs/__schema54"
9671
10381
  }
9672
10382
  },
9673
10383
  "readOnly": true,
9674
10384
  "required": [
9675
- "itemId",
9676
- "status",
9677
- "itemKind"
10385
+ "fieldId",
10386
+ "label",
10387
+ "required",
10388
+ "sensitivity",
10389
+ "kind",
10390
+ "options",
10391
+ "allowOther",
10392
+ "maxSelections"
9678
10393
  ],
9679
10394
  "type": "object"
9680
10395
  },
9681
10396
  {
9682
10397
  "additionalProperties": false,
9683
10398
  "properties": {
9684
- "details": {
9685
- "additionalProperties": false,
9686
- "properties": {
9687
- "actionSummary": {
9688
- "$ref": "#/$defs/__schema37"
9689
- },
9690
- "filePath": {
9691
- "$ref": "#/$defs/__schema36"
9692
- },
9693
- "truncated": {
9694
- "$ref": "#/$defs/__schema20"
9695
- }
9696
- },
9697
- "readOnly": true,
9698
- "type": "object"
10399
+ "description": {
10400
+ "$ref": "#/$defs/__schema52"
9699
10401
  },
9700
- "itemId": {
10402
+ "fieldId": {
9701
10403
  "$ref": "#/$defs/__schema1"
9702
10404
  },
9703
- "itemKind": {
9704
- "const": "image_view",
10405
+ "kind": {
10406
+ "const": "boolean",
9705
10407
  "type": "string"
9706
10408
  },
9707
- "status": {
9708
- "$ref": "#/$defs/__schema10"
10409
+ "label": {
10410
+ "$ref": "#/$defs/__schema51"
9709
10411
  },
9710
- "summary": {
9711
- "$ref": "#/$defs/__schema12"
10412
+ "required": {
10413
+ "$ref": "#/$defs/__schema53"
9712
10414
  },
9713
- "title": {
9714
- "$ref": "#/$defs/__schema11"
10415
+ "sensitivity": {
10416
+ "$ref": "#/$defs/__schema54"
9715
10417
  }
9716
10418
  },
9717
10419
  "readOnly": true,
9718
10420
  "required": [
9719
- "itemId",
9720
- "status",
9721
- "itemKind"
10421
+ "fieldId",
10422
+ "label",
10423
+ "required",
10424
+ "sensitivity",
10425
+ "kind"
9722
10426
  ],
9723
10427
  "type": "object"
9724
10428
  },
9725
10429
  {
9726
10430
  "additionalProperties": false,
9727
10431
  "properties": {
9728
- "details": {
9729
- "oneOf": [
9730
- {
9731
- "additionalProperties": false,
9732
- "properties": {
9733
- "phase": {
9734
- "const": "entered",
9735
- "type": "string"
9736
- },
9737
- "target": {
9738
- "$ref": "#/$defs/__schema38"
9739
- },
9740
- "truncated": {
9741
- "$ref": "#/$defs/__schema20"
9742
- }
9743
- },
9744
- "readOnly": true,
9745
- "required": [
9746
- "phase",
9747
- "target"
9748
- ],
9749
- "type": "object"
9750
- },
9751
- {
9752
- "additionalProperties": false,
9753
- "properties": {
9754
- "phase": {
9755
- "const": "exited",
9756
- "type": "string"
9757
- },
9758
- "report": {
9759
- "$ref": "#/$defs/__schema38"
9760
- },
9761
- "truncated": {
9762
- "$ref": "#/$defs/__schema20"
9763
- }
9764
- },
9765
- "readOnly": true,
9766
- "required": [
9767
- "phase",
9768
- "report"
9769
- ],
9770
- "type": "object"
9771
- }
9772
- ]
10432
+ "confirmLabel": {
10433
+ "maxLength": 200,
10434
+ "minLength": 1,
10435
+ "type": "string"
9773
10436
  },
9774
- "itemId": {
10437
+ "description": {
10438
+ "$ref": "#/$defs/__schema52"
10439
+ },
10440
+ "fieldId": {
9775
10441
  "$ref": "#/$defs/__schema1"
9776
10442
  },
9777
- "itemKind": {
9778
- "const": "review",
10443
+ "kind": {
10444
+ "const": "confirmation",
9779
10445
  "type": "string"
9780
10446
  },
9781
- "status": {
9782
- "$ref": "#/$defs/__schema10"
10447
+ "label": {
10448
+ "$ref": "#/$defs/__schema51"
9783
10449
  },
9784
- "summary": {
9785
- "$ref": "#/$defs/__schema12"
10450
+ "required": {
10451
+ "$ref": "#/$defs/__schema53"
9786
10452
  },
9787
- "title": {
9788
- "$ref": "#/$defs/__schema11"
10453
+ "sensitivity": {
10454
+ "$ref": "#/$defs/__schema54"
9789
10455
  }
9790
10456
  },
9791
10457
  "readOnly": true,
9792
10458
  "required": [
9793
- "itemId",
9794
- "status",
9795
- "itemKind",
9796
- "details"
10459
+ "fieldId",
10460
+ "label",
10461
+ "required",
10462
+ "sensitivity",
10463
+ "kind",
10464
+ "confirmLabel"
9797
10465
  ],
9798
10466
  "type": "object"
10467
+ }
10468
+ ]
10469
+ },
10470
+ "__schema51": {
10471
+ "maxLength": 200,
10472
+ "minLength": 1,
10473
+ "type": "string"
10474
+ },
10475
+ "__schema52": {
10476
+ "maxLength": 2e3,
10477
+ "type": "string"
10478
+ },
10479
+ "__schema53": {
10480
+ "type": "boolean"
10481
+ },
10482
+ "__schema54": {
10483
+ "enum": [
10484
+ "ordinary",
10485
+ "sensitive"
10486
+ ],
10487
+ "type": "string"
10488
+ },
10489
+ "__schema55": {
10490
+ "items": {
10491
+ "$ref": "#/$defs/__schema56"
10492
+ },
10493
+ "maxItems": 100,
10494
+ "minItems": 1,
10495
+ "readOnly": true,
10496
+ "type": "array"
10497
+ },
10498
+ "__schema56": {
10499
+ "additionalProperties": false,
10500
+ "properties": {
10501
+ "description": {
10502
+ "maxLength": 2e3,
10503
+ "type": "string"
9799
10504
  },
9800
- {
9801
- "additionalProperties": false,
9802
- "properties": {
9803
- "details": {
10505
+ "label": {
10506
+ "maxLength": 200,
10507
+ "minLength": 1,
10508
+ "type": "string"
10509
+ },
10510
+ "value": {
10511
+ "allOf": [
10512
+ {
10513
+ "$ref": "#/$defs/__schema1"
10514
+ },
10515
+ {
10516
+ "maxLength": 160,
10517
+ "type": "string"
10518
+ }
10519
+ ]
10520
+ }
10521
+ },
10522
+ "readOnly": true,
10523
+ "required": [
10524
+ "value",
10525
+ "label"
10526
+ ],
10527
+ "type": "object"
10528
+ },
10529
+ "__schema57": {
10530
+ "maximum": 9007199254740991,
10531
+ "minimum": 0,
10532
+ "type": "integer"
10533
+ },
10534
+ "__schema58": {
10535
+ "exclusiveMinimum": 0,
10536
+ "maximum": 9007199254740991,
10537
+ "type": "integer"
10538
+ },
10539
+ "__schema59": {
10540
+ "$ref": "#/$defs/__schema57"
10541
+ },
10542
+ "__schema6": {
10543
+ "additionalProperties": false,
10544
+ "properties": {
10545
+ "category": {
10546
+ "enum": [
10547
+ "rate_limited",
10548
+ "quota_exhausted",
10549
+ "budget_exhausted",
10550
+ "execution_limit",
10551
+ "context_limit",
10552
+ "authentication",
10553
+ "permission",
10554
+ "invalid_request",
10555
+ "overloaded",
10556
+ "transport",
10557
+ "provider",
10558
+ "protocol",
10559
+ "internal",
10560
+ "unknown"
10561
+ ],
10562
+ "type": "string"
10563
+ },
10564
+ "code": {
10565
+ "$ref": "#/$defs/__schema7"
10566
+ },
10567
+ "context": {
10568
+ "$ref": "#/$defs/__schema10"
10569
+ },
10570
+ "message": {
10571
+ "$ref": "#/$defs/__schema8"
10572
+ },
10573
+ "recovery": {
10574
+ "oneOf": [
10575
+ {
10576
+ "additionalProperties": false,
10577
+ "properties": {
10578
+ "kind": {
10579
+ "const": "unknown",
10580
+ "type": "string"
10581
+ }
10582
+ },
10583
+ "readOnly": true,
10584
+ "required": [
10585
+ "kind"
10586
+ ],
10587
+ "type": "object"
10588
+ },
10589
+ {
10590
+ "additionalProperties": false,
10591
+ "properties": {
10592
+ "kind": {
10593
+ "const": "none",
10594
+ "type": "string"
10595
+ }
10596
+ },
10597
+ "readOnly": true,
10598
+ "required": [
10599
+ "kind"
10600
+ ],
10601
+ "type": "object"
10602
+ },
10603
+ {
10604
+ "additionalProperties": false,
10605
+ "properties": {
10606
+ "kind": {
10607
+ "const": "retry",
10608
+ "type": "string"
10609
+ },
10610
+ "notBefore": {
10611
+ "$ref": "#/$defs/__schema4"
10612
+ }
10613
+ },
10614
+ "readOnly": true,
10615
+ "required": [
10616
+ "kind"
10617
+ ],
10618
+ "type": "object"
10619
+ },
10620
+ {
9804
10621
  "additionalProperties": false,
9805
10622
  "properties": {
9806
- "afterTokens": {
9807
- "$ref": "#/$defs/__schema41"
9808
- },
9809
- "beforeTokens": {
9810
- "$ref": "#/$defs/__schema40"
9811
- },
9812
- "durationMs": {
9813
- "$ref": "#/$defs/__schema42"
9814
- },
9815
- "summaryPreview": {
9816
- "$ref": "#/$defs/__schema43"
10623
+ "kind": {
10624
+ "const": "wait_for_quota",
10625
+ "type": "string"
9817
10626
  },
9818
- "trigger": {
9819
- "$ref": "#/$defs/__schema39"
10627
+ "quota": {
10628
+ "$ref": "#/$defs/__schema9",
10629
+ "readOnly": true
9820
10630
  }
9821
10631
  },
9822
10632
  "readOnly": true,
9823
10633
  "required": [
9824
- "trigger"
10634
+ "kind"
9825
10635
  ],
9826
10636
  "type": "object"
9827
10637
  },
9828
- "itemId": {
9829
- "$ref": "#/$defs/__schema1"
9830
- },
9831
- "itemKind": {
9832
- "const": "context_compaction",
9833
- "type": "string"
9834
- },
9835
- "status": {
9836
- "$ref": "#/$defs/__schema10"
9837
- },
9838
- "summary": {
9839
- "$ref": "#/$defs/__schema12"
9840
- },
9841
- "title": {
9842
- "$ref": "#/$defs/__schema11"
10638
+ {
10639
+ "additionalProperties": false,
10640
+ "properties": {
10641
+ "action": {
10642
+ "enum": [
10643
+ "authenticate",
10644
+ "review_access",
10645
+ "change_configuration",
10646
+ "review_allowance"
10647
+ ],
10648
+ "type": "string"
10649
+ },
10650
+ "kind": {
10651
+ "const": "user_action",
10652
+ "type": "string"
10653
+ }
10654
+ },
10655
+ "readOnly": true,
10656
+ "required": [
10657
+ "kind",
10658
+ "action"
10659
+ ],
10660
+ "type": "object"
9843
10661
  }
9844
- },
9845
- "readOnly": true,
9846
- "required": [
9847
- "itemId",
9848
- "status",
9849
- "itemKind",
9850
- "details"
9851
- ],
9852
- "type": "object"
10662
+ ]
10663
+ }
10664
+ },
10665
+ "required": [
10666
+ "category",
10667
+ "code",
10668
+ "message",
10669
+ "recovery"
10670
+ ],
10671
+ "type": "object"
10672
+ },
10673
+ "__schema60": {
10674
+ "$ref": "#/$defs/__schema57"
10675
+ },
10676
+ "__schema61": {
10677
+ "$ref": "#/$defs/__schema57"
10678
+ },
10679
+ "__schema62": {
10680
+ "$ref": "#/$defs/__schema57"
10681
+ },
10682
+ "__schema63": {
10683
+ "$ref": "#/$defs/__schema57"
10684
+ },
10685
+ "__schema64": {
10686
+ "$ref": "#/$defs/__schema57"
10687
+ },
10688
+ "__schema65": {
10689
+ "$ref": "#/$defs/__schema57"
10690
+ },
10691
+ "__schema66": {
10692
+ "const": "reported",
10693
+ "type": "string"
10694
+ },
10695
+ "__schema67": {
10696
+ "$ref": "#/$defs/__schema68"
10697
+ },
10698
+ "__schema68": {
10699
+ "maximum": 9007199254740991,
10700
+ "minimum": 0,
10701
+ "type": "integer"
10702
+ },
10703
+ "__schema69": {
10704
+ "$ref": "#/$defs/__schema68"
10705
+ },
10706
+ "__schema7": {
10707
+ "maxLength": 120,
10708
+ "minLength": 1,
10709
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10710
+ "type": "string"
10711
+ },
10712
+ "__schema70": {
10713
+ "$ref": "#/$defs/__schema68"
10714
+ },
10715
+ "__schema71": {
10716
+ "$ref": "#/$defs/__schema68"
10717
+ },
10718
+ "__schema72": {
10719
+ "$ref": "#/$defs/__schema68"
10720
+ },
10721
+ "__schema73": {
10722
+ "exclusiveMinimum": 0,
10723
+ "maximum": 9007199254740991,
10724
+ "type": "integer"
10725
+ },
10726
+ "__schema74": {
10727
+ "additionalProperties": false,
10728
+ "properties": {
10729
+ "attempt": {
10730
+ "$ref": "#/$defs/__schema58"
9853
10731
  },
9854
- {
10732
+ "delayMs": {
10733
+ "$ref": "#/$defs/__schema57"
10734
+ },
10735
+ "error": {
10736
+ "$ref": "#/$defs/__schema5"
10737
+ },
10738
+ "maxAttempts": {
10739
+ "$ref": "#/$defs/__schema58"
10740
+ },
10741
+ "owner": {
10742
+ "const": "provider",
10743
+ "type": "string"
10744
+ }
10745
+ },
10746
+ "required": [
10747
+ "owner",
10748
+ "error"
10749
+ ],
10750
+ "type": "object"
10751
+ },
10752
+ "__schema8": {
10753
+ "maxLength": 4e3,
10754
+ "minLength": 1,
10755
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$",
10756
+ "type": "string"
10757
+ },
10758
+ "__schema9": {
10759
+ "additionalProperties": false,
10760
+ "properties": {
10761
+ "observedAt": {
10762
+ "$ref": "#/$defs/__schema4"
10763
+ },
10764
+ "poolId": {
10765
+ "$ref": "#/$defs/__schema1"
10766
+ },
10767
+ "reset": {
9855
10768
  "additionalProperties": false,
9856
10769
  "properties": {
9857
- "itemId": {
9858
- "$ref": "#/$defs/__schema1"
9859
- },
9860
- "itemKind": {
9861
- "const": "unknown",
9862
- "type": "string"
9863
- },
9864
- "status": {
9865
- "$ref": "#/$defs/__schema10"
10770
+ "at": {
10771
+ "$ref": "#/$defs/__schema4"
9866
10772
  },
9867
- "summary": {
9868
- "$ref": "#/$defs/__schema12"
10773
+ "observedAt": {
10774
+ "$ref": "#/$defs/__schema4"
9869
10775
  },
9870
- "title": {
9871
- "$ref": "#/$defs/__schema11"
10776
+ "precision": {
10777
+ "enum": [
10778
+ "reported",
10779
+ "estimated"
10780
+ ],
10781
+ "type": "string"
9872
10782
  }
9873
10783
  },
9874
10784
  "readOnly": true,
9875
10785
  "required": [
9876
- "itemId",
9877
- "status",
9878
- "itemKind"
10786
+ "at",
10787
+ "precision",
10788
+ "observedAt"
9879
10789
  ],
9880
10790
  "type": "object"
10791
+ },
10792
+ "sourceId": {
10793
+ "$ref": "#/$defs/__schema1"
10794
+ },
10795
+ "windowId": {
10796
+ "$ref": "#/$defs/__schema1"
9881
10797
  }
9882
- ]
10798
+ },
10799
+ "required": [
10800
+ "sourceId",
10801
+ "poolId",
10802
+ "windowId",
10803
+ "observedAt"
10804
+ ],
10805
+ "type": "object"
9883
10806
  }
9884
10807
  },
9885
- "$id": "urn:agenai.agent-protocol.event:v9:output",
10808
+ "$id": "urn:agenai.agent-protocol.event:v10:output",
9886
10809
  "$schema": "https://json-schema.org/draft/2020-12/schema",
9887
10810
  "oneOf": [
9888
10811
  {
@@ -10055,7 +10978,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10055
10978
  "$ref": "#/$defs/__schema4"
10056
10979
  },
10057
10980
  "payload": {
10058
- "$ref": "#/$defs/__schema9"
10981
+ "$ref": "#/$defs/__schema11"
10059
10982
  },
10060
10983
  "protocolVersion": {
10061
10984
  "$ref": "#/$defs/__schema0"
@@ -10092,7 +11015,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10092
11015
  "$ref": "#/$defs/__schema4"
10093
11016
  },
10094
11017
  "payload": {
10095
- "$ref": "#/$defs/__schema9"
11018
+ "$ref": "#/$defs/__schema11"
10096
11019
  },
10097
11020
  "protocolVersion": {
10098
11021
  "$ref": "#/$defs/__schema0"
@@ -10129,7 +11052,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10129
11052
  "$ref": "#/$defs/__schema4"
10130
11053
  },
10131
11054
  "payload": {
10132
- "$ref": "#/$defs/__schema9"
11055
+ "$ref": "#/$defs/__schema11"
10133
11056
  },
10134
11057
  "protocolVersion": {
10135
11058
  "$ref": "#/$defs/__schema0"
@@ -10239,7 +11162,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10239
11162
  },
10240
11163
  "steps": {
10241
11164
  "items": {
10242
- "$ref": "#/$defs/__schema44"
11165
+ "$ref": "#/$defs/__schema46"
10243
11166
  },
10244
11167
  "maxItems": 100,
10245
11168
  "readOnly": true,
@@ -10429,7 +11352,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10429
11352
  },
10430
11353
  "options": {
10431
11354
  "items": {
10432
- "$ref": "#/$defs/__schema47"
11355
+ "$ref": "#/$defs/__schema49"
10433
11356
  },
10434
11357
  "maxItems": 16,
10435
11358
  "minItems": 1,
@@ -10458,14 +11381,14 @@ const AGENT_EVENT_JSON_SCHEMA = {
10458
11381
  "$ref": "#/$defs/__schema1"
10459
11382
  },
10460
11383
  "description": {
10461
- "$ref": "#/$defs/__schema46"
11384
+ "$ref": "#/$defs/__schema48"
10462
11385
  },
10463
11386
  "kind": {
10464
11387
  "const": "plan",
10465
11388
  "type": "string"
10466
11389
  },
10467
11390
  "title": {
10468
- "$ref": "#/$defs/__schema45"
11391
+ "$ref": "#/$defs/__schema47"
10469
11392
  }
10470
11393
  },
10471
11394
  "readOnly": true,
@@ -10480,7 +11403,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10480
11403
  "additionalProperties": false,
10481
11404
  "properties": {
10482
11405
  "description": {
10483
- "$ref": "#/$defs/__schema46"
11406
+ "$ref": "#/$defs/__schema48"
10484
11407
  },
10485
11408
  "itemId": {
10486
11409
  "$ref": "#/$defs/__schema1"
@@ -10495,7 +11418,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10495
11418
  "type": "string"
10496
11419
  },
10497
11420
  "title": {
10498
- "$ref": "#/$defs/__schema45"
11421
+ "$ref": "#/$defs/__schema47"
10499
11422
  }
10500
11423
  },
10501
11424
  "readOnly": true,
@@ -10527,7 +11450,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10527
11450
  },
10528
11451
  "fields": {
10529
11452
  "items": {
10530
- "$ref": "#/$defs/__schema48"
11453
+ "$ref": "#/$defs/__schema50"
10531
11454
  },
10532
11455
  "maxItems": 16,
10533
11456
  "minItems": 1,
@@ -10698,7 +11621,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10698
11621
  "type": "string"
10699
11622
  },
10700
11623
  "thresholdTokens": {
10701
- "$ref": "#/$defs/__schema56"
11624
+ "$ref": "#/$defs/__schema58"
10702
11625
  }
10703
11626
  },
10704
11627
  "readOnly": true,
@@ -10711,32 +11634,32 @@ const AGENT_EVENT_JSON_SCHEMA = {
10711
11634
  "additionalProperties": false,
10712
11635
  "properties": {
10713
11636
  "cacheCreationTokens": {
10714
- "$ref": "#/$defs/__schema60"
11637
+ "$ref": "#/$defs/__schema62"
10715
11638
  },
10716
11639
  "cachedReadTokens": {
10717
- "$ref": "#/$defs/__schema59"
11640
+ "$ref": "#/$defs/__schema61"
10718
11641
  },
10719
11642
  "inputTokens": {
10720
- "$ref": "#/$defs/__schema57"
11643
+ "$ref": "#/$defs/__schema59"
10721
11644
  },
10722
11645
  "modelCalls": {
10723
- "$ref": "#/$defs/__schema62"
11646
+ "$ref": "#/$defs/__schema64"
10724
11647
  },
10725
11648
  "outputTokens": {
10726
- "$ref": "#/$defs/__schema58"
11649
+ "$ref": "#/$defs/__schema60"
10727
11650
  },
10728
11651
  "reasoningTokens": {
10729
- "$ref": "#/$defs/__schema61"
11652
+ "$ref": "#/$defs/__schema63"
10730
11653
  },
10731
11654
  "turns": {
10732
- "$ref": "#/$defs/__schema63"
11655
+ "$ref": "#/$defs/__schema65"
10733
11656
  }
10734
11657
  },
10735
11658
  "readOnly": true,
10736
11659
  "type": "object"
10737
11660
  },
10738
11661
  "maxTokens": {
10739
- "$ref": "#/$defs/__schema56"
11662
+ "$ref": "#/$defs/__schema58"
10740
11663
  },
10741
11664
  "measurementScope": {
10742
11665
  "enum": [
@@ -10746,7 +11669,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10746
11669
  "type": "string"
10747
11670
  },
10748
11671
  "usedTokens": {
10749
- "$ref": "#/$defs/__schema55"
11672
+ "$ref": "#/$defs/__schema57"
10750
11673
  }
10751
11674
  },
10752
11675
  "readOnly": true,
@@ -11160,22 +12083,22 @@ const AGENT_EVENT_JSON_SCHEMA = {
11160
12083
  "additionalProperties": false,
11161
12084
  "properties": {
11162
12085
  "inputTokens": {
11163
- "$ref": "#/$defs/__schema65"
12086
+ "$ref": "#/$defs/__schema67"
11164
12087
  },
11165
12088
  "kind": {
11166
- "$ref": "#/$defs/__schema64"
12089
+ "$ref": "#/$defs/__schema66"
11167
12090
  },
11168
12091
  "modelCalls": {
11169
- "$ref": "#/$defs/__schema70"
12092
+ "$ref": "#/$defs/__schema72"
11170
12093
  },
11171
12094
  "outputTokens": {
11172
- "$ref": "#/$defs/__schema67"
12095
+ "$ref": "#/$defs/__schema69"
11173
12096
  },
11174
12097
  "reasoningTokens": {
11175
- "$ref": "#/$defs/__schema68"
12098
+ "$ref": "#/$defs/__schema70"
11176
12099
  },
11177
12100
  "totalTokens": {
11178
- "$ref": "#/$defs/__schema69"
12101
+ "$ref": "#/$defs/__schema71"
11179
12102
  }
11180
12103
  },
11181
12104
  "readOnly": true,
@@ -11271,7 +12194,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
11271
12194
  "$ref": "#/$defs/__schema4"
11272
12195
  },
11273
12196
  "heightPixels": {
11274
- "$ref": "#/$defs/__schema71"
12197
+ "$ref": "#/$defs/__schema73"
11275
12198
  },
11276
12199
  "kind": {
11277
12200
  "enum": [
@@ -11288,7 +12211,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
11288
12211
  "type": "string"
11289
12212
  },
11290
12213
  "pageCount": {
11291
- "$ref": "#/$defs/__schema71"
12214
+ "$ref": "#/$defs/__schema73"
11292
12215
  },
11293
12216
  "producer": {
11294
12217
  "oneOf": [
@@ -11389,7 +12312,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
11389
12312
  "type": "string"
11390
12313
  },
11391
12314
  "widthPixels": {
11392
- "$ref": "#/$defs/__schema71"
12315
+ "$ref": "#/$defs/__schema73"
11393
12316
  }
11394
12317
  },
11395
12318
  "readOnly": true,
@@ -11437,6 +12360,44 @@ const AGENT_EVENT_JSON_SCHEMA = {
11437
12360
  ],
11438
12361
  "type": "object"
11439
12362
  },
12363
+ {
12364
+ "additionalProperties": false,
12365
+ "properties": {
12366
+ "occurredAt": {
12367
+ "$ref": "#/$defs/__schema4"
12368
+ },
12369
+ "payload": {
12370
+ "$ref": "#/$defs/__schema74",
12371
+ "readOnly": true
12372
+ },
12373
+ "protocolVersion": {
12374
+ "$ref": "#/$defs/__schema0"
12375
+ },
12376
+ "providerRefs": {
12377
+ "$ref": "#/$defs/__schema2"
12378
+ },
12379
+ "sessionId": {
12380
+ "$ref": "#/$defs/__schema1"
12381
+ },
12382
+ "turnId": {
12383
+ "$ref": "#/$defs/__schema1"
12384
+ },
12385
+ "type": {
12386
+ "const": "runtime.retrying",
12387
+ "type": "string"
12388
+ }
12389
+ },
12390
+ "readOnly": true,
12391
+ "required": [
12392
+ "protocolVersion",
12393
+ "sessionId",
12394
+ "occurredAt",
12395
+ "type",
12396
+ "turnId",
12397
+ "payload"
12398
+ ],
12399
+ "type": "object"
12400
+ },
11440
12401
  {
11441
12402
  "additionalProperties": false,
11442
12403
  "properties": {
@@ -11447,16 +12408,13 @@ const AGENT_EVENT_JSON_SCHEMA = {
11447
12408
  "additionalProperties": false,
11448
12409
  "properties": {
11449
12410
  "code": {
11450
- "$ref": "#/$defs/__schema6"
12411
+ "$ref": "#/$defs/__schema7"
11451
12412
  },
11452
12413
  "context": {
11453
- "$ref": "#/$defs/__schema8"
12414
+ "$ref": "#/$defs/__schema10"
11454
12415
  },
11455
12416
  "message": {
11456
- "$ref": "#/$defs/__schema7"
11457
- },
11458
- "retryable": {
11459
- "type": "boolean"
12417
+ "$ref": "#/$defs/__schema8"
11460
12418
  }
11461
12419
  },
11462
12420
  "readOnly": true,
@@ -11549,13 +12507,13 @@ const AGENT_EVENT_JSON_SCHEMA = {
11549
12507
  "additionalProperties": false,
11550
12508
  "properties": {
11551
12509
  "code": {
11552
- "$ref": "#/$defs/__schema6"
12510
+ "$ref": "#/$defs/__schema7"
11553
12511
  },
11554
12512
  "context": {
11555
- "$ref": "#/$defs/__schema8"
12513
+ "$ref": "#/$defs/__schema10"
11556
12514
  },
11557
12515
  "message": {
11558
- "$ref": "#/$defs/__schema7"
12516
+ "$ref": "#/$defs/__schema8"
11559
12517
  }
11560
12518
  },
11561
12519
  "readOnly": true,
@@ -11596,6 +12554,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
11596
12554
  }
11597
12555
  };
11598
12556
  const AGENT_PROTOCOL_JSON_SCHEMA_REGISTRY = [
12557
+ AGENT_ERROR_JSON_SCHEMA,
11599
12558
  AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA,
11600
12559
  AGENT_COMMAND_CATALOG_JSON_SCHEMA,
11601
12560
  AGENT_EXTENSION_CATALOG_JSON_SCHEMA,
@@ -11635,6 +12594,7 @@ export {
11635
12594
  AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA,
11636
12595
  AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA,
11637
12596
  AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA,
12597
+ AGENT_ERROR_JSON_SCHEMA,
11638
12598
  AGENT_EVENT_JSON_SCHEMA,
11639
12599
  AGENT_EXTENSION_CATALOG_JSON_SCHEMA,
11640
12600
  AGENT_GENERATED_RESOURCE_JSON_SCHEMA,