@agen-ai/agent-protocol 0.4.0 → 0.4.1

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,261 @@
1
1
  const AGENT_PROTOCOL_JSON_SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
2
+ const AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA = {
3
+ "contractId": "agenai.agent-protocol.session-decision-request",
4
+ "protocolVersion": 11,
5
+ "direction": "output",
6
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
7
+ "parserInvariants": [
8
+ "bounded_acyclic_json_data",
9
+ "utf16_text_lengths",
10
+ "utf8_field_bytes",
11
+ "serialized_utf8_bytes",
12
+ "unique_choice_ids"
13
+ ],
14
+ "sha256": "21da909d993039b8fdc84ae995796a1ed34f4724a8460f88304d83ab6a967db3",
15
+ "schema": {
16
+ "$defs": {
17
+ "__schema0": {
18
+ "maxLength": 256,
19
+ "minLength": 1,
20
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
21
+ "type": "string"
22
+ },
23
+ "__schema1": {
24
+ "allOf": [
25
+ {
26
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
27
+ },
28
+ {
29
+ "pattern": "^[^\\u0000-\\u001F\\u007F-\\u009F]*$"
30
+ }
31
+ ],
32
+ "maxLength": 120,
33
+ "minLength": 1,
34
+ "type": "string"
35
+ },
36
+ "__schema2": {
37
+ "additionalProperties": false,
38
+ "properties": {
39
+ "choiceId": {
40
+ "maxLength": 128,
41
+ "minLength": 1,
42
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
43
+ "type": "string"
44
+ },
45
+ "consequence": {
46
+ "oneOf": [
47
+ {
48
+ "additionalProperties": false,
49
+ "properties": {
50
+ "kind": {
51
+ "const": "grant",
52
+ "type": "string"
53
+ },
54
+ "persistence": {
55
+ "additionalProperties": false,
56
+ "properties": {
57
+ "duration": {
58
+ "const": "persistent",
59
+ "type": "string"
60
+ },
61
+ "kind": {
62
+ "const": "provider_managed",
63
+ "type": "string"
64
+ },
65
+ "mayAffectOtherSessions": {
66
+ "const": true,
67
+ "type": "boolean"
68
+ }
69
+ },
70
+ "readOnly": true,
71
+ "required": [
72
+ "kind",
73
+ "duration",
74
+ "mayAffectOtherSessions"
75
+ ],
76
+ "type": "object"
77
+ },
78
+ "scope": {
79
+ "const": "workspace",
80
+ "type": "string"
81
+ }
82
+ },
83
+ "readOnly": true,
84
+ "required": [
85
+ "kind",
86
+ "scope",
87
+ "persistence"
88
+ ],
89
+ "type": "object"
90
+ },
91
+ {
92
+ "additionalProperties": false,
93
+ "properties": {
94
+ "configuration": {
95
+ "const": "remains_gated",
96
+ "type": "string"
97
+ },
98
+ "kind": {
99
+ "const": "decline",
100
+ "type": "string"
101
+ }
102
+ },
103
+ "readOnly": true,
104
+ "required": [
105
+ "kind",
106
+ "configuration"
107
+ ],
108
+ "type": "object"
109
+ }
110
+ ]
111
+ },
112
+ "description": {
113
+ "allOf": [
114
+ {
115
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
116
+ },
117
+ {
118
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
119
+ }
120
+ ],
121
+ "maxLength": 1e3,
122
+ "minLength": 1,
123
+ "type": "string"
124
+ },
125
+ "label": {
126
+ "$ref": "#/$defs/__schema1"
127
+ }
128
+ },
129
+ "readOnly": true,
130
+ "required": [
131
+ "choiceId",
132
+ "label",
133
+ "description",
134
+ "consequence"
135
+ ],
136
+ "type": "object"
137
+ }
138
+ },
139
+ "$id": "urn:agenai.agent-protocol.session-decision-request:v11:output",
140
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
141
+ "additionalProperties": false,
142
+ "properties": {
143
+ "choices": {
144
+ "items": {
145
+ "$ref": "#/$defs/__schema2"
146
+ },
147
+ "maxItems": 16,
148
+ "minItems": 1,
149
+ "readOnly": true,
150
+ "type": "array"
151
+ },
152
+ "description": {
153
+ "allOf": [
154
+ {
155
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
156
+ },
157
+ {
158
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
159
+ }
160
+ ],
161
+ "maxLength": 4e3,
162
+ "minLength": 1,
163
+ "type": "string"
164
+ },
165
+ "expiresAt": {
166
+ "format": "date-time",
167
+ "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)))$",
168
+ "type": "string"
169
+ },
170
+ "kind": {
171
+ "const": "decision",
172
+ "type": "string"
173
+ },
174
+ "requestId": {
175
+ "$ref": "#/$defs/__schema0"
176
+ },
177
+ "sessionId": {
178
+ "$ref": "#/$defs/__schema0"
179
+ },
180
+ "target": {
181
+ "additionalProperties": false,
182
+ "properties": {
183
+ "kind": {
184
+ "const": "workspace",
185
+ "type": "string"
186
+ },
187
+ "path": {
188
+ "allOf": [
189
+ {
190
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
191
+ },
192
+ {
193
+ "pattern": "^[^\\p{Cc}\\p{Cf}]*$"
194
+ }
195
+ ],
196
+ "maxLength": 4096,
197
+ "minLength": 1,
198
+ "type": "string"
199
+ }
200
+ },
201
+ "readOnly": true,
202
+ "required": [
203
+ "kind",
204
+ "path"
205
+ ],
206
+ "type": "object"
207
+ },
208
+ "title": {
209
+ "$ref": "#/$defs/__schema1"
210
+ }
211
+ },
212
+ "readOnly": true,
213
+ "required": [
214
+ "kind",
215
+ "requestId",
216
+ "sessionId",
217
+ "title",
218
+ "target",
219
+ "expiresAt",
220
+ "choices"
221
+ ],
222
+ "type": "object"
223
+ }
224
+ };
225
+ const AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA = {
226
+ "contractId": "agenai.agent-protocol.session-decision-response",
227
+ "protocolVersion": 11,
228
+ "direction": "input",
229
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
230
+ "parserInvariants": [
231
+ "bounded_acyclic_json_data",
232
+ "utf8_field_bytes",
233
+ "serialized_utf8_bytes",
234
+ "offered_choice_membership"
235
+ ],
236
+ "sha256": "01b8bf6dd5185c42f2cdce480aa4162e32bb778de182fb180e5e4b36b44410b5",
237
+ "schema": {
238
+ "$id": "urn:agenai.agent-protocol.session-decision-response:v11:input",
239
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
240
+ "additionalProperties": false,
241
+ "properties": {
242
+ "choiceId": {
243
+ "maxLength": 128,
244
+ "minLength": 1,
245
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
246
+ "type": "string"
247
+ }
248
+ },
249
+ "readOnly": true,
250
+ "required": [
251
+ "choiceId"
252
+ ],
253
+ "type": "object"
254
+ }
255
+ };
2
256
  const AGENT_ERROR_JSON_SCHEMA = {
3
257
  "contractId": "agenai.agent-protocol.error",
4
- "protocolVersion": 10,
258
+ "protocolVersion": 11,
5
259
  "direction": "output",
6
260
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7
261
  "parserInvariants": [
@@ -9,7 +263,7 @@ const AGENT_ERROR_JSON_SCHEMA = {
9
263
  "quota_reset_observation_ordering",
10
264
  "serialized_failure_bytes"
11
265
  ],
12
- "sha256": "9e390edcea55e83b86059d2f5b45acabfb19116ec5a435ae40303f05d81af90e",
266
+ "sha256": "ae06691d4cea4ed6e3dd30b77f1fb8fb7261b3b5b129160510ed1e7f2376bd30",
13
267
  "schema": {
14
268
  "$defs": {
15
269
  "__schema0": {
@@ -232,7 +486,7 @@ const AGENT_ERROR_JSON_SCHEMA = {
232
486
  "type": "string"
233
487
  }
234
488
  },
235
- "$id": "urn:agenai.agent-protocol.error:v10:output",
489
+ "$id": "urn:agenai.agent-protocol.error:v11:output",
236
490
  "$ref": "#/$defs/__schema0",
237
491
  "$schema": "https://json-schema.org/draft/2020-12/schema",
238
492
  "readOnly": true
@@ -240,7 +494,7 @@ const AGENT_ERROR_JSON_SCHEMA = {
240
494
  };
241
495
  const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
242
496
  "contractId": "agenai.agent-protocol.effective-content-catalog",
243
- "protocolVersion": 10,
497
+ "protocolVersion": 11,
244
498
  "direction": "output",
245
499
  "dialect": "https://json-schema.org/draft/2020-12/schema",
246
500
  "parserInvariants": [
@@ -251,7 +505,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
251
505
  "aggregate_collection_limits",
252
506
  "effective_content_semantics"
253
507
  ],
254
- "sha256": "54f6bf4df08a0041871336a10e6cb1b37ae913fc8750d40c05b7162a961ab6b7",
508
+ "sha256": "c7891798f3ae28a0d8539bf69fa8230439245c285eda43c25d3db0ae7ee7d05f",
255
509
  "schema": {
256
510
  "$defs": {
257
511
  "__schema0": {
@@ -449,7 +703,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
449
703
  "type": "integer"
450
704
  }
451
705
  },
452
- "$id": "urn:agenai.agent-protocol.effective-content-catalog:v10:output",
706
+ "$id": "urn:agenai.agent-protocol.effective-content-catalog:v11:output",
453
707
  "$schema": "https://json-schema.org/draft/2020-12/schema",
454
708
  "additionalProperties": false,
455
709
  "properties": {
@@ -481,7 +735,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
481
735
  };
482
736
  const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
483
737
  "contractId": "agenai.agent-protocol.command-catalog",
484
- "protocolVersion": 10,
738
+ "protocolVersion": 11,
485
739
  "direction": "output",
486
740
  "dialect": "https://json-schema.org/draft/2020-12/schema",
487
741
  "parserInvariants": [
@@ -491,7 +745,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
491
745
  "serialized_utf8_bytes",
492
746
  "aggregate_collection_limits"
493
747
  ],
494
- "sha256": "77339a2807ad3d1842a7b91d42c7029709b251e73062839a2b7247acaaccd118",
748
+ "sha256": "8da01088ff582dad538061782b756f82ca53cf30ddf78bb8544dd8ad052e3b41",
495
749
  "schema": {
496
750
  "$defs": {
497
751
  "__schema0": {
@@ -629,7 +883,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
629
883
  "type": "string"
630
884
  }
631
885
  },
632
- "$id": "urn:agenai.agent-protocol.command-catalog:v10:output",
886
+ "$id": "urn:agenai.agent-protocol.command-catalog:v11:output",
633
887
  "$schema": "https://json-schema.org/draft/2020-12/schema",
634
888
  "additionalProperties": false,
635
889
  "properties": {
@@ -661,7 +915,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
661
915
  };
662
916
  const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
663
917
  "contractId": "agenai.agent-protocol.extension-catalog",
664
- "protocolVersion": 10,
918
+ "protocolVersion": 11,
665
919
  "direction": "output",
666
920
  "dialect": "https://json-schema.org/draft/2020-12/schema",
667
921
  "parserInvariants": [
@@ -671,7 +925,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
671
925
  "serialized_utf8_bytes",
672
926
  "aggregate_collection_limits"
673
927
  ],
674
- "sha256": "4cb690e3a80b471c837bcfc456fb7eb5fc94df3567422e24c3c36e1bff9bcb5a",
928
+ "sha256": "c8cf27886e00b7172ba7c99def2129c9e7c2781b7a4175baf5c1db812561098e",
675
929
  "schema": {
676
930
  "$defs": {
677
931
  "__schema0": {
@@ -983,7 +1237,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
983
1237
  "type": "string"
984
1238
  }
985
1239
  },
986
- "$id": "urn:agenai.agent-protocol.extension-catalog:v10:output",
1240
+ "$id": "urn:agenai.agent-protocol.extension-catalog:v11:output",
987
1241
  "$schema": "https://json-schema.org/draft/2020-12/schema",
988
1242
  "additionalProperties": false,
989
1243
  "properties": {
@@ -1015,7 +1269,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
1015
1269
  };
1016
1270
  const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1017
1271
  "contractId": "agenai.agent-protocol.environment-snapshot",
1018
- "protocolVersion": 10,
1272
+ "protocolVersion": 11,
1019
1273
  "direction": "output",
1020
1274
  "dialect": "https://json-schema.org/draft/2020-12/schema",
1021
1275
  "parserInvariants": [
@@ -1026,7 +1280,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1026
1280
  "aggregate_collection_limits",
1027
1281
  "effective_content_semantics"
1028
1282
  ],
1029
- "sha256": "a2427cb046bcd4c4860a7d7c1e5e6319bb53ebc5dac69f7a3b4a0136f137cd86",
1283
+ "sha256": "4ccf3f2abb99a0a161c93a6deb941af18f777f82fdf5cf3fd7ba16aa9a193a2a",
1030
1284
  "schema": {
1031
1285
  "$defs": {
1032
1286
  "__schema0": {
@@ -1960,7 +2214,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1960
2214
  "type": "string"
1961
2215
  }
1962
2216
  },
1963
- "$id": "urn:agenai.agent-protocol.environment-snapshot:v10:output",
2217
+ "$id": "urn:agenai.agent-protocol.environment-snapshot:v11:output",
1964
2218
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1965
2219
  "additionalProperties": false,
1966
2220
  "properties": {
@@ -2136,7 +2390,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
2136
2390
  };
2137
2391
  const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2138
2392
  "contractId": "agenai.agent-protocol.account-quota-snapshot",
2139
- "protocolVersion": 10,
2393
+ "protocolVersion": 11,
2140
2394
  "direction": "output",
2141
2395
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2142
2396
  "parserInvariants": [
@@ -2147,7 +2401,7 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2147
2401
  "unique_model_ids",
2148
2402
  "unique_pool_window_ids"
2149
2403
  ],
2150
- "sha256": "346dbeb6414977c2f95fa15abb070390740e8e08816cde03707aa5d4f4f494bd",
2404
+ "sha256": "b50a79ca588431ee8d60688b2c7a72a847fe09485b4f9fa1003ca7c485646707",
2151
2405
  "schema": {
2152
2406
  "$defs": {
2153
2407
  "__schema0": {
@@ -2536,7 +2790,7 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2536
2790
  "type": "integer"
2537
2791
  }
2538
2792
  },
2539
- "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v10:output",
2793
+ "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v11:output",
2540
2794
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2541
2795
  "oneOf": [
2542
2796
  {
@@ -2708,11 +2962,11 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2708
2962
  };
2709
2963
  const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2710
2964
  "contractId": "agenai.agent-protocol.session-binding",
2711
- "protocolVersion": 10,
2965
+ "protocolVersion": 11,
2712
2966
  "direction": "output",
2713
2967
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2714
2968
  "parserInvariants": [],
2715
- "sha256": "4b9fb8dfa5ec5dd085d8dc3bb93d2edb420b49631d584b022bc9b50b0390c351",
2969
+ "sha256": "0470e57d843a450d941b2bfcce4bd823b862eb54db542fcb4bffd817d0088c8f",
2716
2970
  "schema": {
2717
2971
  "$defs": {
2718
2972
  "__schema0": {
@@ -2722,7 +2976,7 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2722
2976
  "type": "string"
2723
2977
  }
2724
2978
  },
2725
- "$id": "urn:agenai.agent-protocol.session-binding:v10:output",
2979
+ "$id": "urn:agenai.agent-protocol.session-binding:v11:output",
2726
2980
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2727
2981
  "additionalProperties": false,
2728
2982
  "properties": {
@@ -2742,14 +2996,14 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2742
2996
  };
2743
2997
  const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2744
2998
  "contractId": "agenai.agent-protocol.session-configuration",
2745
- "protocolVersion": 10,
2999
+ "protocolVersion": 11,
2746
3000
  "direction": "input",
2747
3001
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2748
3002
  "parserInvariants": [
2749
3003
  "configuration_entry_count",
2750
3004
  "serialized_bytes"
2751
3005
  ],
2752
- "sha256": "cc369c25ac5b3696e7d9ff0a5577ce1782c6758a611bc1af799a14516315ebe6",
3006
+ "sha256": "2cbe0cfc4e088a72166488759bb727c607e330da7d7d91f07005dfafe463aa33",
2753
3007
  "schema": {
2754
3008
  "$defs": {
2755
3009
  "__schema0": {
@@ -2862,7 +3116,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2862
3116
  "type": "object"
2863
3117
  }
2864
3118
  },
2865
- "$id": "urn:agenai.agent-protocol.session-configuration:v10:input",
3119
+ "$id": "urn:agenai.agent-protocol.session-configuration:v11:input",
2866
3120
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2867
3121
  "oneOf": [
2868
3122
  {
@@ -2919,7 +3173,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2919
3173
  };
2920
3174
  const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
2921
3175
  "contractId": "agenai.agent-protocol.session-open-input",
2922
- "protocolVersion": 10,
3176
+ "protocolVersion": 11,
2923
3177
  "direction": "input",
2924
3178
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2925
3179
  "parserInvariants": [
@@ -2927,7 +3181,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
2927
3181
  "distinct_branch_session_ids",
2928
3182
  "serialized_bytes"
2929
3183
  ],
2930
- "sha256": "f26f45a72e8470eeed8e27e8c10c3fca9d93de575e479aa44bc0049c4fcc15f1",
3184
+ "sha256": "5522a5a07b91450132add991e65242efe0cefb214a56b9e672f4369c7b41c83a",
2931
3185
  "schema": {
2932
3186
  "$defs": {
2933
3187
  "__schema0": {
@@ -3115,7 +3369,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
3115
3369
  "type": "string"
3116
3370
  }
3117
3371
  },
3118
- "$id": "urn:agenai.agent-protocol.session-open-input:v10:input",
3372
+ "$id": "urn:agenai.agent-protocol.session-open-input:v11:input",
3119
3373
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3120
3374
  "oneOf": [
3121
3375
  {
@@ -3229,7 +3483,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
3229
3483
  };
3230
3484
  const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3231
3485
  "contractId": "agenai.agent-protocol.turn-input-content",
3232
- "protocolVersion": 10,
3486
+ "protocolVersion": 11,
3233
3487
  "direction": "input",
3234
3488
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3235
3489
  "parserInvariants": [
@@ -3238,7 +3492,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3238
3492
  "content_reference_limits",
3239
3493
  "unique_content_references"
3240
3494
  ],
3241
- "sha256": "034108447f37f104ad737f103da419a4e246b20d62c9bb5f5d9f44bb625a7d8a",
3495
+ "sha256": "c9310173742c3a189186c1473609d5fd5eeafab9d85dfefb4c2990f267d2d181",
3242
3496
  "schema": {
3243
3497
  "$defs": {
3244
3498
  "__schema0": {
@@ -3494,7 +3748,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3494
3748
  "type": "integer"
3495
3749
  }
3496
3750
  },
3497
- "$id": "urn:agenai.agent-protocol.turn-input-content:v10:input",
3751
+ "$id": "urn:agenai.agent-protocol.turn-input-content:v11:input",
3498
3752
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3499
3753
  "additionalProperties": false,
3500
3754
  "properties": {
@@ -3513,7 +3767,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3513
3767
  };
3514
3768
  const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3515
3769
  "contractId": "agenai.agent-protocol.turn-run-input",
3516
- "protocolVersion": 10,
3770
+ "protocolVersion": 11,
3517
3771
  "direction": "input",
3518
3772
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3519
3773
  "parserInvariants": [
@@ -3522,7 +3776,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3522
3776
  "content_reference_limits",
3523
3777
  "unique_content_references"
3524
3778
  ],
3525
- "sha256": "9dc8e0eb5294aa188aaf9c34b451a8ab02c0efbc4d17af9bf913f9200993f8bb",
3779
+ "sha256": "38a384ecd2b02727282d109193f2e8f489989329d94311e7e09684686130dccd",
3526
3780
  "schema": {
3527
3781
  "$defs": {
3528
3782
  "__schema0": {
@@ -3765,7 +4019,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3765
4019
  "type": "string"
3766
4020
  }
3767
4021
  },
3768
- "$id": "urn:agenai.agent-protocol.turn-run-input:v10:input",
4022
+ "$id": "urn:agenai.agent-protocol.turn-run-input:v11:input",
3769
4023
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3770
4024
  "additionalProperties": false,
3771
4025
  "properties": {
@@ -3809,7 +4063,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3809
4063
  };
3810
4064
  const AGENT_REQUEST_JSON_SCHEMA = {
3811
4065
  "contractId": "agenai.agent-protocol.request",
3812
- "protocolVersion": 10,
4066
+ "protocolVersion": 11,
3813
4067
  "direction": "output",
3814
4068
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3815
4069
  "parserInvariants": [
@@ -3817,7 +4071,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
3817
4071
  "unique_field_ids",
3818
4072
  "unique_choice_values"
3819
4073
  ],
3820
- "sha256": "7122462a0547d5a7887e52a115969b0518da164fbedbf505891f243c96d8d917",
4074
+ "sha256": "4edb1519aeef90678e537f30cead0e5b6f2fed309e18848a5ec430c8551e320a",
3821
4075
  "schema": {
3822
4076
  "$defs": {
3823
4077
  "__schema0": {
@@ -3881,6 +4135,103 @@ const AGENT_REQUEST_JSON_SCHEMA = {
3881
4135
  "__schema3": {
3882
4136
  "additionalProperties": false,
3883
4137
  "properties": {
4138
+ "consequence": {
4139
+ "oneOf": [
4140
+ {
4141
+ "additionalProperties": false,
4142
+ "properties": {
4143
+ "kind": {
4144
+ "const": "scoped",
4145
+ "type": "string"
4146
+ },
4147
+ "persistence": {
4148
+ "enum": [
4149
+ "once",
4150
+ "session",
4151
+ "workspace"
4152
+ ],
4153
+ "type": "string"
4154
+ },
4155
+ "scope": {
4156
+ "additionalProperties": false,
4157
+ "properties": {
4158
+ "kind": {
4159
+ "enum": [
4160
+ "exact_action",
4161
+ "command_pattern",
4162
+ "domain",
4163
+ "tool",
4164
+ "server",
4165
+ "all_edits"
4166
+ ],
4167
+ "type": "string"
4168
+ }
4169
+ },
4170
+ "readOnly": true,
4171
+ "required": [
4172
+ "kind"
4173
+ ],
4174
+ "type": "object"
4175
+ }
4176
+ },
4177
+ "readOnly": true,
4178
+ "required": [
4179
+ "kind",
4180
+ "persistence",
4181
+ "scope"
4182
+ ],
4183
+ "type": "object"
4184
+ },
4185
+ {
4186
+ "additionalProperties": false,
4187
+ "properties": {
4188
+ "applicability": {
4189
+ "additionalProperties": false,
4190
+ "properties": {
4191
+ "kind": {
4192
+ "const": "unknown",
4193
+ "type": "string"
4194
+ }
4195
+ },
4196
+ "readOnly": true,
4197
+ "required": [
4198
+ "kind"
4199
+ ],
4200
+ "type": "object"
4201
+ },
4202
+ "duration": {
4203
+ "additionalProperties": false,
4204
+ "properties": {
4205
+ "kind": {
4206
+ "const": "unknown",
4207
+ "type": "string"
4208
+ }
4209
+ },
4210
+ "readOnly": true,
4211
+ "required": [
4212
+ "kind"
4213
+ ],
4214
+ "type": "object"
4215
+ },
4216
+ "explanation": {
4217
+ "$ref": "#/$defs/__schema2"
4218
+ },
4219
+ "kind": {
4220
+ "const": "provider_managed_remembrance",
4221
+ "type": "string"
4222
+ }
4223
+ },
4224
+ "readOnly": true,
4225
+ "required": [
4226
+ "kind",
4227
+ "duration",
4228
+ "applicability",
4229
+ "explanation"
4230
+ ],
4231
+ "type": "object"
4232
+ }
4233
+ ]
4234
+ },
3884
4235
  "decision": {
3885
4236
  "enum": [
3886
4237
  "approved",
@@ -3896,35 +4247,6 @@ const AGENT_REQUEST_JSON_SCHEMA = {
3896
4247
  },
3897
4248
  "optionId": {
3898
4249
  "$ref": "#/$defs/__schema0"
3899
- },
3900
- "persistence": {
3901
- "enum": [
3902
- "once",
3903
- "session",
3904
- "workspace"
3905
- ],
3906
- "type": "string"
3907
- },
3908
- "scope": {
3909
- "additionalProperties": false,
3910
- "properties": {
3911
- "kind": {
3912
- "enum": [
3913
- "exact_action",
3914
- "command_pattern",
3915
- "domain",
3916
- "tool",
3917
- "server",
3918
- "all_edits"
3919
- ],
3920
- "type": "string"
3921
- }
3922
- },
3923
- "readOnly": true,
3924
- "required": [
3925
- "kind"
3926
- ],
3927
- "type": "object"
3928
4250
  }
3929
4251
  },
3930
4252
  "readOnly": true,
@@ -3932,8 +4254,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
3932
4254
  "optionId",
3933
4255
  "label",
3934
4256
  "decision",
3935
- "persistence",
3936
- "scope"
4257
+ "consequence"
3937
4258
  ],
3938
4259
  "type": "object"
3939
4260
  },
@@ -4169,7 +4490,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
4169
4490
  "type": "string"
4170
4491
  }
4171
4492
  },
4172
- "$id": "urn:agenai.agent-protocol.request:v10:output",
4493
+ "$id": "urn:agenai.agent-protocol.request:v11:output",
4173
4494
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4174
4495
  "oneOf": [
4175
4496
  {
@@ -4312,14 +4633,14 @@ const AGENT_REQUEST_JSON_SCHEMA = {
4312
4633
  };
4313
4634
  const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4314
4635
  "contractId": "agenai.agent-protocol.request-resolution",
4315
- "protocolVersion": 10,
4636
+ "protocolVersion": 11,
4316
4637
  "direction": "input",
4317
4638
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4318
4639
  "parserInvariants": [
4319
4640
  "request_resolution_correlation",
4320
4641
  "unique_choice_selections"
4321
4642
  ],
4322
- "sha256": "f4e0c8e253d99c41f87b1a23b3155e4686fb0480d142e50e5c6c9aebd5501755",
4643
+ "sha256": "8b19e0157eaed5dbedc062533c1044d9a535734ad613119d1f4be35d1275d91e",
4323
4644
  "schema": {
4324
4645
  "$defs": {
4325
4646
  "__schema0": {
@@ -4469,7 +4790,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4469
4790
  ]
4470
4791
  }
4471
4792
  },
4472
- "$id": "urn:agenai.agent-protocol.request-resolution:v10:input",
4793
+ "$id": "urn:agenai.agent-protocol.request-resolution:v11:input",
4473
4794
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4474
4795
  "anyOf": [
4475
4796
  {
@@ -4586,7 +4907,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4586
4907
  };
4587
4908
  const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4588
4909
  "contractId": "agenai.agent-protocol.operation-catalog",
4589
- "protocolVersion": 10,
4910
+ "protocolVersion": 11,
4590
4911
  "direction": "output",
4591
4912
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4592
4913
  "parserInvariants": [
@@ -4595,7 +4916,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4595
4916
  "unique_operation_ids",
4596
4917
  "unique_operation_option_ids"
4597
4918
  ],
4598
- "sha256": "bdb5d907404f3371f525c4365b4a8664003fbbe001974444e2d3ef152ae7f355",
4919
+ "sha256": "0ef411f518d26426b916908c8020f248112c6b31373495071488d9df14a5d17a",
4599
4920
  "schema": {
4600
4921
  "$defs": {
4601
4922
  "__schema0": {
@@ -4969,7 +5290,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4969
5290
  "type": "array"
4970
5291
  }
4971
5292
  },
4972
- "$id": "urn:agenai.agent-protocol.operation-catalog:v10:output",
5293
+ "$id": "urn:agenai.agent-protocol.operation-catalog:v11:output",
4973
5294
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4974
5295
  "additionalProperties": false,
4975
5296
  "properties": {
@@ -4995,7 +5316,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4995
5316
  };
4996
5317
  const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
4997
5318
  "contractId": "agenai.agent-protocol.operation-invocation",
4998
- "protocolVersion": 10,
5319
+ "protocolVersion": 11,
4999
5320
  "direction": "input",
5000
5321
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5001
5322
  "parserInvariants": [
@@ -5003,7 +5324,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5003
5324
  "operation_revision_correlation",
5004
5325
  "unique_operation_values"
5005
5326
  ],
5006
- "sha256": "2f59ca2500d7d764a281bbdb024719b432d2be1eae2768f7d5677b5704a1a698",
5327
+ "sha256": "68ea472ff0323a608c6de64c059368b548a46c8874b1601005c0dc486cc4d00c",
5007
5328
  "schema": {
5008
5329
  "$defs": {
5009
5330
  "__schema0": {
@@ -5136,7 +5457,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5136
5457
  ]
5137
5458
  }
5138
5459
  },
5139
- "$id": "urn:agenai.agent-protocol.operation-invocation:v10:input",
5460
+ "$id": "urn:agenai.agent-protocol.operation-invocation:v11:input",
5140
5461
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5141
5462
  "additionalProperties": false,
5142
5463
  "properties": {
@@ -5172,7 +5493,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5172
5493
  };
5173
5494
  const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5174
5495
  "contractId": "agenai.agent-protocol.operation-result",
5175
- "protocolVersion": 10,
5496
+ "protocolVersion": 11,
5176
5497
  "direction": "output",
5177
5498
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5178
5499
  "parserInvariants": [
@@ -5184,7 +5505,7 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5184
5505
  "operation_result_kind_consistency",
5185
5506
  "unique_operation_result_references"
5186
5507
  ],
5187
- "sha256": "a963842c1120ec333735cb230eb573e5c4c2604a3f6aa39d5af7a28c3104c104",
5508
+ "sha256": "812a90ec49a85cd14f4bc1d5d006389af0d96083aed3e9b0aa83f42ce3826c52",
5188
5509
  "schema": {
5189
5510
  "$defs": {
5190
5511
  "__schema0": {
@@ -5407,7 +5728,7 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5407
5728
  "type": "object"
5408
5729
  }
5409
5730
  },
5410
- "$id": "urn:agenai.agent-protocol.operation-result:v10:output",
5731
+ "$id": "urn:agenai.agent-protocol.operation-result:v11:output",
5411
5732
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5412
5733
  "additionalProperties": false,
5413
5734
  "properties": {
@@ -5463,14 +5784,14 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5463
5784
  };
5464
5785
  const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5465
5786
  "contractId": "agenai.agent-protocol.managed-content-catalog",
5466
- "protocolVersion": 10,
5787
+ "protocolVersion": 11,
5467
5788
  "direction": "output",
5468
5789
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5469
5790
  "parserInvariants": [
5470
5791
  "canonical_managed_content_order",
5471
5792
  "unique_managed_content_ids"
5472
5793
  ],
5473
- "sha256": "0e2419667187af44e9315f63e9b1a27c3e88f2635e35cbfce27c7f2c9926c7cd",
5794
+ "sha256": "2389cfe395c0bc372827d0713d190cb469eb50fe1c57045f0d9fcdb547cc7b2b",
5474
5795
  "schema": {
5475
5796
  "$defs": {
5476
5797
  "__schema0": {
@@ -5640,7 +5961,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5640
5961
  "type": "object"
5641
5962
  }
5642
5963
  },
5643
- "$id": "urn:agenai.agent-protocol.managed-content-catalog:v10:output",
5964
+ "$id": "urn:agenai.agent-protocol.managed-content-catalog:v11:output",
5644
5965
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5645
5966
  "additionalProperties": false,
5646
5967
  "properties": {
@@ -5666,7 +5987,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5666
5987
  };
5667
5988
  const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5668
5989
  "contractId": "agenai.agent-protocol.configuration-catalog",
5669
- "protocolVersion": 10,
5990
+ "protocolVersion": 11,
5670
5991
  "direction": "output",
5671
5992
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5672
5993
  "parserInvariants": [
@@ -5675,7 +5996,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5675
5996
  "unique_configuration_field_keys",
5676
5997
  "unique_configuration_option_ids"
5677
5998
  ],
5678
- "sha256": "0fd4bbbfcdf9dae1b66d15f7cf8f627ab57dba5ba03cf2e7cb2353202c688373",
5999
+ "sha256": "845a7c25e6a6d997fd0701c4506ab460b58df4436df9ddc59c69b01725ed365f",
5679
6000
  "schema": {
5680
6001
  "$defs": {
5681
6002
  "__schema0": {
@@ -5962,7 +6283,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5962
6283
  "type": "object"
5963
6284
  }
5964
6285
  },
5965
- "$id": "urn:agenai.agent-protocol.configuration-catalog:v10:output",
6286
+ "$id": "urn:agenai.agent-protocol.configuration-catalog:v11:output",
5966
6287
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5967
6288
  "additionalProperties": false,
5968
6289
  "properties": {
@@ -5988,7 +6309,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5988
6309
  };
5989
6310
  const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
5990
6311
  "contractId": "agenai.agent-protocol.configuration-selection",
5991
- "protocolVersion": 10,
6312
+ "protocolVersion": 11,
5992
6313
  "direction": "input",
5993
6314
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5994
6315
  "parserInvariants": [
@@ -5996,7 +6317,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
5996
6317
  "configuration_field_correlation",
5997
6318
  "configuration_selection_bounds"
5998
6319
  ],
5999
- "sha256": "88f47450698f17be1c44e47b67a0dde11f100d394358dfca80b6496532dc7b89",
6320
+ "sha256": "0e95604edc0df3bbac51a95195eff1210f94aebffa0143a212ee15d5e94dc779",
6000
6321
  "schema": {
6001
6322
  "$defs": {
6002
6323
  "__schema0": {
@@ -6011,7 +6332,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
6011
6332
  "type": "integer"
6012
6333
  }
6013
6334
  },
6014
- "$id": "urn:agenai.agent-protocol.configuration-selection:v10:input",
6335
+ "$id": "urn:agenai.agent-protocol.configuration-selection:v11:input",
6015
6336
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6016
6337
  "additionalProperties": false,
6017
6338
  "properties": {
@@ -6117,7 +6438,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
6117
6438
  };
6118
6439
  const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6119
6440
  "contractId": "agenai.agent-protocol.integration-catalog",
6120
- "protocolVersion": 10,
6441
+ "protocolVersion": 11,
6121
6442
  "direction": "output",
6122
6443
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6123
6444
  "parserInvariants": [
@@ -6127,7 +6448,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6127
6448
  "unique_integration_tool_ids",
6128
6449
  "unique_integration_resource_ids"
6129
6450
  ],
6130
- "sha256": "de92cb95210f5439b136aebc607ac9c2a9c1785630a08b8ba8be800581b9274e",
6451
+ "sha256": "bd0b1c11ab10baf46c36a3010141b1aaa468b17ec49c58de63000c442d91fbba",
6131
6452
  "schema": {
6132
6453
  "$defs": {
6133
6454
  "__schema0": {
@@ -6428,7 +6749,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6428
6749
  ]
6429
6750
  }
6430
6751
  },
6431
- "$id": "urn:agenai.agent-protocol.integration-catalog:v10:output",
6752
+ "$id": "urn:agenai.agent-protocol.integration-catalog:v11:output",
6432
6753
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6433
6754
  "additionalProperties": false,
6434
6755
  "properties": {
@@ -6460,7 +6781,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6460
6781
  };
6461
6782
  const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6462
6783
  "contractId": "agenai.agent-protocol.collaboration-node",
6463
- "protocolVersion": 10,
6784
+ "protocolVersion": 11,
6464
6785
  "direction": "output",
6465
6786
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6466
6787
  "parserInvariants": [
@@ -6472,7 +6793,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6472
6793
  "collaboration_terminal_error_consistency",
6473
6794
  "collaboration_terminal_timestamp_consistency"
6474
6795
  ],
6475
- "sha256": "0a4821f34e33cb80cfc1bd74aefe670bcbffa1a2adba8fa76971de3720f9ec7a",
6796
+ "sha256": "82c8296f3a266d23bdafacde5a23b4590a31b8ad4c6b9a37c20f8f5799b018cb",
6476
6797
  "schema": {
6477
6798
  "$defs": {
6478
6799
  "__schema0": {
@@ -6719,7 +7040,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6719
7040
  "type": "string"
6720
7041
  }
6721
7042
  },
6722
- "$id": "urn:agenai.agent-protocol.collaboration-node:v10:output",
7043
+ "$id": "urn:agenai.agent-protocol.collaboration-node:v11:output",
6723
7044
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6724
7045
  "additionalProperties": false,
6725
7046
  "properties": {
@@ -6927,13 +7248,13 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6927
7248
  };
6928
7249
  const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
6929
7250
  "contractId": "agenai.agent-protocol.collaboration-spawn",
6930
- "protocolVersion": 10,
7251
+ "protocolVersion": 11,
6931
7252
  "direction": "input",
6932
7253
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6933
7254
  "parserInvariants": [
6934
7255
  "collaboration_parent_consistency"
6935
7256
  ],
6936
- "sha256": "404d06cf4325bb8857c38841c3bfb259c134c16d8d1037614552a12d5562fe78",
7257
+ "sha256": "9f9b78ea921ea76fc75b19d27820b3075bcfbc81c4a4f34d9c71594cecd2e8a4",
6937
7258
  "schema": {
6938
7259
  "$defs": {
6939
7260
  "__schema0": {
@@ -6972,7 +7293,7 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
6972
7293
  "type": "string"
6973
7294
  }
6974
7295
  },
6975
- "$id": "urn:agenai.agent-protocol.collaboration-spawn:v10:input",
7296
+ "$id": "urn:agenai.agent-protocol.collaboration-spawn:v11:input",
6976
7297
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6977
7298
  "additionalProperties": false,
6978
7299
  "properties": {
@@ -7008,13 +7329,13 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
7008
7329
  };
7009
7330
  const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
7010
7331
  "contractId": "agenai.agent-protocol.collaboration-control",
7011
- "protocolVersion": 10,
7332
+ "protocolVersion": 11,
7012
7333
  "direction": "input",
7013
7334
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7014
7335
  "parserInvariants": [
7015
7336
  "serialized_turn_input_bytes"
7016
7337
  ],
7017
- "sha256": "811dec239632073542da421834267e6fae0acc43512e758a1498ed5b0bfb2481",
7338
+ "sha256": "4cfcca640905c845ba993a4e61c558272fd1959a7de67d3137d499bf3a3e0ddd",
7018
7339
  "schema": {
7019
7340
  "$defs": {
7020
7341
  "__schema0": {
@@ -7270,7 +7591,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
7270
7591
  "type": "integer"
7271
7592
  }
7272
7593
  },
7273
- "$id": "urn:agenai.agent-protocol.collaboration-control:v10:input",
7594
+ "$id": "urn:agenai.agent-protocol.collaboration-control:v11:input",
7274
7595
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7275
7596
  "anyOf": [
7276
7597
  {
@@ -7380,7 +7701,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
7380
7701
  };
7381
7702
  const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7382
7703
  "contractId": "agenai.agent-protocol.generated-resource",
7383
- "protocolVersion": 10,
7704
+ "protocolVersion": 11,
7384
7705
  "direction": "output",
7385
7706
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7386
7707
  "parserInvariants": [
@@ -7392,7 +7713,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7392
7713
  "generated_resource_error_consistency",
7393
7714
  "generated_resource_media_consistency"
7394
7715
  ],
7395
- "sha256": "93cce86335368ffc8a5c68d64345640532e732418ca634c7379cd970d30a988f",
7716
+ "sha256": "263905ae8335d114ab7324fd5f48622da4fedfc714c6d2830962f61e4f07a040",
7396
7717
  "schema": {
7397
7718
  "$defs": {
7398
7719
  "__schema0": {
@@ -7620,7 +7941,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7620
7941
  "type": "object"
7621
7942
  }
7622
7943
  },
7623
- "$id": "urn:agenai.agent-protocol.generated-resource:v10:output",
7944
+ "$id": "urn:agenai.agent-protocol.generated-resource:v11:output",
7624
7945
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7625
7946
  "additionalProperties": false,
7626
7947
  "properties": {
@@ -7784,7 +8105,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7784
8105
  };
7785
8106
  const AGENT_CAPABILITIES_JSON_SCHEMA = {
7786
8107
  "contractId": "agenai.agent-protocol.capabilities",
7787
- "protocolVersion": 10,
8108
+ "protocolVersion": 11,
7788
8109
  "direction": "output",
7789
8110
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7790
8111
  "parserInvariants": [
@@ -7811,7 +8132,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
7811
8132
  "image_input_total_bytes_admits_max_image",
7812
8133
  "image_input_total_bytes_bounded_by_count"
7813
8134
  ],
7814
- "sha256": "fb2cdb76b6667d316ce5463b63312586f0fb4d255173f159ef9f53a8f0a655ff",
8135
+ "sha256": "3cb17fc5cbf8ea3704b5a28f763e2ab9f73c1a11c949d15069467e756f040f6f",
7815
8136
  "schema": {
7816
8137
  "$defs": {
7817
8138
  "__schema0": {
@@ -7975,13 +8296,38 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
7975
8296
  "type": "object"
7976
8297
  },
7977
8298
  "__schema10": {
7978
- "items": {
7979
- "$ref": "#/$defs/__schema11"
8299
+ "additionalProperties": false,
8300
+ "properties": {
8301
+ "kind": {
8302
+ "const": "supported",
8303
+ "type": "string"
8304
+ },
8305
+ "modes": {
8306
+ "items": {
8307
+ "$ref": "#/$defs/__schema11"
8308
+ },
8309
+ "maxItems": 3,
8310
+ "minItems": 1,
8311
+ "prefixItems": [
8312
+ {
8313
+ "$ref": "#/$defs/__schema11"
8314
+ }
8315
+ ],
8316
+ "readOnly": true,
8317
+ "type": "array"
8318
+ },
8319
+ "providerManagedRemembrance": {
8320
+ "const": false,
8321
+ "type": "boolean"
8322
+ }
7980
8323
  },
7981
- "maxItems": 3,
7982
- "minItems": 1,
7983
8324
  "readOnly": true,
7984
- "type": "array"
8325
+ "required": [
8326
+ "kind",
8327
+ "modes",
8328
+ "providerManagedRemembrance"
8329
+ ],
8330
+ "type": "object"
7985
8331
  },
7986
8332
  "__schema11": {
7987
8333
  "additionalProperties": false,
@@ -8024,6 +8370,34 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8024
8370
  "type": "string"
8025
8371
  },
8026
8372
  "__schema13": {
8373
+ "additionalProperties": false,
8374
+ "properties": {
8375
+ "kind": {
8376
+ "const": "supported",
8377
+ "type": "string"
8378
+ },
8379
+ "modes": {
8380
+ "items": {
8381
+ "$ref": "#/$defs/__schema11"
8382
+ },
8383
+ "maxItems": 3,
8384
+ "readOnly": true,
8385
+ "type": "array"
8386
+ },
8387
+ "providerManagedRemembrance": {
8388
+ "const": true,
8389
+ "type": "boolean"
8390
+ }
8391
+ },
8392
+ "readOnly": true,
8393
+ "required": [
8394
+ "kind",
8395
+ "modes",
8396
+ "providerManagedRemembrance"
8397
+ ],
8398
+ "type": "object"
8399
+ },
8400
+ "__schema14": {
8027
8401
  "enum": [
8028
8402
  "text",
8029
8403
  "single_select",
@@ -8033,14 +8407,14 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8033
8407
  ],
8034
8408
  "type": "string"
8035
8409
  },
8036
- "__schema14": {
8410
+ "__schema15": {
8037
8411
  "enum": [
8038
8412
  "session",
8039
8413
  "materialization"
8040
8414
  ],
8041
8415
  "type": "string"
8042
8416
  },
8043
- "__schema15": {
8417
+ "__schema16": {
8044
8418
  "enum": [
8045
8419
  "inputTokens",
8046
8420
  "outputTokens",
@@ -8052,7 +8426,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8052
8426
  ],
8053
8427
  "type": "string"
8054
8428
  },
8055
- "__schema16": {
8429
+ "__schema17": {
8056
8430
  "enum": [
8057
8431
  "automatic",
8058
8432
  "manual",
@@ -8062,7 +8436,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8062
8436
  ],
8063
8437
  "type": "string"
8064
8438
  },
8065
- "__schema17": {
8439
+ "__schema18": {
8066
8440
  "enum": [
8067
8441
  "plan",
8068
8442
  "diff",
@@ -8074,7 +8448,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8074
8448
  ],
8075
8449
  "type": "string"
8076
8450
  },
8077
- "__schema18": {
8451
+ "__schema19": {
8078
8452
  "enum": [
8079
8453
  "boolean",
8080
8454
  "single_select",
@@ -8083,7 +8457,11 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8083
8457
  ],
8084
8458
  "type": "string"
8085
8459
  },
8086
- "__schema19": {
8460
+ "__schema2": {
8461
+ "const": "supported",
8462
+ "type": "string"
8463
+ },
8464
+ "__schema20": {
8087
8465
  "enum": [
8088
8466
  "session_control",
8089
8467
  "managed_content_invoke",
@@ -8094,11 +8472,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8094
8472
  ],
8095
8473
  "type": "string"
8096
8474
  },
8097
- "__schema2": {
8098
- "const": "supported",
8099
- "type": "string"
8100
- },
8101
- "__schema20": {
8475
+ "__schema21": {
8102
8476
  "enum": [
8103
8477
  "text",
8104
8478
  "boolean",
@@ -8108,7 +8482,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8108
8482
  ],
8109
8483
  "type": "string"
8110
8484
  },
8111
- "__schema21": {
8485
+ "__schema22": {
8112
8486
  "enum": [
8113
8487
  "immediate",
8114
8488
  "request_continuation",
@@ -8116,7 +8490,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8116
8490
  ],
8117
8491
  "type": "string"
8118
8492
  },
8119
- "__schema22": {
8493
+ "__schema23": {
8120
8494
  "enum": [
8121
8495
  "skill",
8122
8496
  "rule",
@@ -8125,17 +8499,17 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8125
8499
  ],
8126
8500
  "type": "string"
8127
8501
  },
8128
- "__schema23": {
8502
+ "__schema24": {
8129
8503
  "enum": [
8130
8504
  "mcp",
8131
8505
  "connector"
8132
8506
  ],
8133
8507
  "type": "string"
8134
8508
  },
8135
- "__schema24": {
8136
- "$ref": "#/$defs/__schema25"
8137
- },
8138
8509
  "__schema25": {
8510
+ "$ref": "#/$defs/__schema26"
8511
+ },
8512
+ "__schema26": {
8139
8513
  "anyOf": [
8140
8514
  {
8141
8515
  "additionalProperties": false,
@@ -8156,7 +8530,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8156
8530
  "properties": {
8157
8531
  "domains": {
8158
8532
  "items": {
8159
- "$ref": "#/$defs/__schema26"
8533
+ "$ref": "#/$defs/__schema27"
8160
8534
  },
8161
8535
  "maxItems": 4,
8162
8536
  "minItems": 1,
@@ -8180,7 +8554,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8180
8554
  "properties": {
8181
8555
  "domains": {
8182
8556
  "items": {
8183
- "$ref": "#/$defs/__schema26"
8557
+ "$ref": "#/$defs/__schema27"
8184
8558
  },
8185
8559
  "maxItems": 4,
8186
8560
  "minItems": 1,
@@ -8201,7 +8575,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8201
8575
  }
8202
8576
  ]
8203
8577
  },
8204
- "__schema26": {
8578
+ "__schema27": {
8205
8579
  "enum": [
8206
8580
  "content",
8207
8581
  "commands",
@@ -8210,7 +8584,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8210
8584
  ],
8211
8585
  "type": "string"
8212
8586
  },
8213
- "__schema27": {
8587
+ "__schema28": {
8214
8588
  "enum": [
8215
8589
  "delegate",
8216
8590
  "reviewer",
@@ -8219,7 +8593,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8219
8593
  ],
8220
8594
  "type": "string"
8221
8595
  },
8222
- "__schema28": {
8596
+ "__schema29": {
8223
8597
  "enum": [
8224
8598
  "spawn",
8225
8599
  "steer",
@@ -8229,14 +8603,6 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8229
8603
  ],
8230
8604
  "type": "string"
8231
8605
  },
8232
- "__schema29": {
8233
- "enum": [
8234
- "image",
8235
- "document",
8236
- "archive"
8237
- ],
8238
- "type": "string"
8239
- },
8240
8606
  "__schema3": {
8241
8607
  "items": {
8242
8608
  "$ref": "#/$defs/__schema4"
@@ -8248,6 +8614,14 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8248
8614
  "uniqueItems": true
8249
8615
  },
8250
8616
  "__schema30": {
8617
+ "enum": [
8618
+ "image",
8619
+ "document",
8620
+ "archive"
8621
+ ],
8622
+ "type": "string"
8623
+ },
8624
+ "__schema31": {
8251
8625
  "enum": [
8252
8626
  "device_code",
8253
8627
  "browser",
@@ -8290,11 +8664,21 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8290
8664
  "type": "boolean"
8291
8665
  },
8292
8666
  "__schema9": {
8293
- "const": "supported",
8294
- "type": "string"
8667
+ "additionalProperties": false,
8668
+ "properties": {
8669
+ "kind": {
8670
+ "const": "unsupported",
8671
+ "type": "string"
8672
+ }
8673
+ },
8674
+ "readOnly": true,
8675
+ "required": [
8676
+ "kind"
8677
+ ],
8678
+ "type": "object"
8295
8679
  }
8296
8680
  },
8297
- "$id": "urn:agenai.agent-protocol.capabilities:v10:output",
8681
+ "$id": "urn:agenai.agent-protocol.capabilities:v11:output",
8298
8682
  "$schema": "https://json-schema.org/draft/2020-12/schema",
8299
8683
  "additionalProperties": false,
8300
8684
  "properties": {
@@ -8319,7 +8703,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8319
8703
  "properties": {
8320
8704
  "flows": {
8321
8705
  "items": {
8322
- "$ref": "#/$defs/__schema30"
8706
+ "$ref": "#/$defs/__schema31"
8323
8707
  },
8324
8708
  "maxItems": 3,
8325
8709
  "minItems": 1,
@@ -8362,7 +8746,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8362
8746
  "properties": {
8363
8747
  "controlActions": {
8364
8748
  "items": {
8365
- "$ref": "#/$defs/__schema28"
8749
+ "$ref": "#/$defs/__schema29"
8366
8750
  },
8367
8751
  "maxItems": 5,
8368
8752
  "minItems": 1,
@@ -8391,7 +8775,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8391
8775
  },
8392
8776
  "roles": {
8393
8777
  "items": {
8394
- "$ref": "#/$defs/__schema27"
8778
+ "$ref": "#/$defs/__schema28"
8395
8779
  },
8396
8780
  "maxItems": 4,
8397
8781
  "minItems": 1,
@@ -8434,7 +8818,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8434
8818
  "properties": {
8435
8819
  "fieldKinds": {
8436
8820
  "items": {
8437
- "$ref": "#/$defs/__schema18"
8821
+ "$ref": "#/$defs/__schema19"
8438
8822
  },
8439
8823
  "maxItems": 4,
8440
8824
  "minItems": 1,
@@ -8493,7 +8877,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8493
8877
  },
8494
8878
  "triggers": {
8495
8879
  "items": {
8496
- "$ref": "#/$defs/__schema16"
8880
+ "$ref": "#/$defs/__schema17"
8497
8881
  },
8498
8882
  "maxItems": 5,
8499
8883
  "minItems": 1,
@@ -8533,7 +8917,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8533
8917
  "properties": {
8534
8918
  "cumulativeFields": {
8535
8919
  "items": {
8536
- "$ref": "#/$defs/__schema15"
8920
+ "$ref": "#/$defs/__schema16"
8537
8921
  },
8538
8922
  "maxItems": 7,
8539
8923
  "readOnly": true,
@@ -8546,7 +8930,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8546
8930
  },
8547
8931
  "measurementScopes": {
8548
8932
  "items": {
8549
- "$ref": "#/$defs/__schema14"
8933
+ "$ref": "#/$defs/__schema15"
8550
8934
  },
8551
8935
  "maxItems": 2,
8552
8936
  "minItems": 1,
@@ -8577,10 +8961,10 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8577
8961
  "additionalProperties": false,
8578
8962
  "properties": {
8579
8963
  "instance": {
8580
- "$ref": "#/$defs/__schema24"
8964
+ "$ref": "#/$defs/__schema25"
8581
8965
  },
8582
8966
  "session": {
8583
- "$ref": "#/$defs/__schema24"
8967
+ "$ref": "#/$defs/__schema25"
8584
8968
  }
8585
8969
  },
8586
8970
  "readOnly": true,
@@ -8625,7 +9009,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8625
9009
  },
8626
9010
  "resourceKinds": {
8627
9011
  "items": {
8628
- "$ref": "#/$defs/__schema29"
9012
+ "$ref": "#/$defs/__schema30"
8629
9013
  },
8630
9014
  "maxItems": 3,
8631
9015
  "minItems": 1,
@@ -8669,7 +9053,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8669
9053
  "properties": {
8670
9054
  "integrationKinds": {
8671
9055
  "items": {
8672
- "$ref": "#/$defs/__schema23"
9056
+ "$ref": "#/$defs/__schema24"
8673
9057
  },
8674
9058
  "maxItems": 2,
8675
9059
  "minItems": 1,
@@ -8736,7 +9120,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8736
9120
  "properties": {
8737
9121
  "contentKinds": {
8738
9122
  "items": {
8739
- "$ref": "#/$defs/__schema22"
9123
+ "$ref": "#/$defs/__schema23"
8740
9124
  },
8741
9125
  "maxItems": 4,
8742
9126
  "minItems": 1,
@@ -8785,7 +9169,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8785
9169
  "properties": {
8786
9170
  "executionModes": {
8787
9171
  "items": {
8788
- "$ref": "#/$defs/__schema21"
9172
+ "$ref": "#/$defs/__schema22"
8789
9173
  },
8790
9174
  "maxItems": 3,
8791
9175
  "minItems": 1,
@@ -8795,7 +9179,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8795
9179
  },
8796
9180
  "fieldKinds": {
8797
9181
  "items": {
8798
- "$ref": "#/$defs/__schema20"
9182
+ "$ref": "#/$defs/__schema21"
8799
9183
  },
8800
9184
  "maxItems": 5,
8801
9185
  "readOnly": true,
@@ -8818,7 +9202,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8818
9202
  },
8819
9203
  "operationKinds": {
8820
9204
  "items": {
8821
- "$ref": "#/$defs/__schema19"
9205
+ "$ref": "#/$defs/__schema20"
8822
9206
  },
8823
9207
  "maxItems": 6,
8824
9208
  "minItems": 1,
@@ -8845,7 +9229,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8845
9229
  "properties": {
8846
9230
  "artifactKinds": {
8847
9231
  "items": {
8848
- "$ref": "#/$defs/__schema17"
9232
+ "$ref": "#/$defs/__schema18"
8849
9233
  },
8850
9234
  "maxItems": 7,
8851
9235
  "readOnly": true,
@@ -8877,7 +9261,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8877
9261
  "type": "object"
8878
9262
  },
8879
9263
  "protocolVersion": {
8880
- "const": 10,
9264
+ "const": 11,
8881
9265
  "type": "number"
8882
9266
  },
8883
9267
  "providerKey": {
@@ -8890,37 +9274,15 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8890
9274
  "additionalProperties": false,
8891
9275
  "properties": {
8892
9276
  "approval": {
8893
- "oneOf": [
9277
+ "anyOf": [
8894
9278
  {
8895
- "additionalProperties": false,
8896
- "properties": {
8897
- "kind": {
8898
- "const": "unsupported",
8899
- "type": "string"
8900
- }
8901
- },
8902
- "readOnly": true,
8903
- "required": [
8904
- "kind"
8905
- ],
8906
- "type": "object"
9279
+ "$ref": "#/$defs/__schema9"
8907
9280
  },
8908
9281
  {
8909
- "additionalProperties": false,
8910
- "properties": {
8911
- "kind": {
8912
- "$ref": "#/$defs/__schema9"
8913
- },
8914
- "modes": {
8915
- "$ref": "#/$defs/__schema10"
8916
- }
8917
- },
8918
- "readOnly": true,
8919
- "required": [
8920
- "kind",
8921
- "modes"
8922
- ],
8923
- "type": "object"
9282
+ "$ref": "#/$defs/__schema10"
9283
+ },
9284
+ {
9285
+ "$ref": "#/$defs/__schema13"
8924
9286
  }
8925
9287
  ]
8926
9288
  },
@@ -8945,7 +9307,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8945
9307
  "properties": {
8946
9308
  "fieldKinds": {
8947
9309
  "items": {
8948
- "$ref": "#/$defs/__schema13"
9310
+ "$ref": "#/$defs/__schema14"
8949
9311
  },
8950
9312
  "maxItems": 5,
8951
9313
  "minItems": 1,
@@ -9126,13 +9488,13 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
9126
9488
  };
9127
9489
  const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
9128
9490
  "contractId": "agenai.agent-protocol.artifact-descriptor",
9129
- "protocolVersion": 10,
9491
+ "protocolVersion": 11,
9130
9492
  "direction": "output",
9131
9493
  "dialect": "https://json-schema.org/draft/2020-12/schema",
9132
9494
  "parserInvariants": [],
9133
- "sha256": "9d294fbea7081fcce8863a6bde0b708f9c5099c4546c7343cddbaa91854530e7",
9495
+ "sha256": "304425590625d287c9e09b5333ae2cd91094777a66c1d8df9706deae961c2469",
9134
9496
  "schema": {
9135
- "$id": "urn:agenai.agent-protocol.artifact-descriptor:v10:output",
9497
+ "$id": "urn:agenai.agent-protocol.artifact-descriptor:v11:output",
9136
9498
  "$schema": "https://json-schema.org/draft/2020-12/schema",
9137
9499
  "additionalProperties": false,
9138
9500
  "properties": {
@@ -9206,7 +9568,7 @@ const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
9206
9568
  };
9207
9569
  const AGENT_EVENT_JSON_SCHEMA = {
9208
9570
  "contractId": "agenai.agent-protocol.event",
9209
- "protocolVersion": 10,
9571
+ "protocolVersion": 11,
9210
9572
  "direction": "output",
9211
9573
  "dialect": "https://json-schema.org/draft/2020-12/schema",
9212
9574
  "parserInvariants": [
@@ -9223,11 +9585,11 @@ const AGENT_EVENT_JSON_SCHEMA = {
9223
9585
  "serialized_bytes",
9224
9586
  "terminal_error_consistency"
9225
9587
  ],
9226
- "sha256": "930922c9f33360fdd8b25354dc9aa24ee2a4ba992eb6cace5ceff7610296905c",
9588
+ "sha256": "6e5b8323a1d9d97c183d5152abef0186c7b17db13191aaf4725fbaf86499cf58",
9227
9589
  "schema": {
9228
9590
  "$defs": {
9229
9591
  "__schema0": {
9230
- "const": 10,
9592
+ "const": 11,
9231
9593
  "type": "number"
9232
9594
  },
9233
9595
  "__schema1": {
@@ -10200,6 +10562,103 @@ const AGENT_EVENT_JSON_SCHEMA = {
10200
10562
  "__schema49": {
10201
10563
  "additionalProperties": false,
10202
10564
  "properties": {
10565
+ "consequence": {
10566
+ "oneOf": [
10567
+ {
10568
+ "additionalProperties": false,
10569
+ "properties": {
10570
+ "kind": {
10571
+ "const": "scoped",
10572
+ "type": "string"
10573
+ },
10574
+ "persistence": {
10575
+ "enum": [
10576
+ "once",
10577
+ "session",
10578
+ "workspace"
10579
+ ],
10580
+ "type": "string"
10581
+ },
10582
+ "scope": {
10583
+ "additionalProperties": false,
10584
+ "properties": {
10585
+ "kind": {
10586
+ "enum": [
10587
+ "exact_action",
10588
+ "command_pattern",
10589
+ "domain",
10590
+ "tool",
10591
+ "server",
10592
+ "all_edits"
10593
+ ],
10594
+ "type": "string"
10595
+ }
10596
+ },
10597
+ "readOnly": true,
10598
+ "required": [
10599
+ "kind"
10600
+ ],
10601
+ "type": "object"
10602
+ }
10603
+ },
10604
+ "readOnly": true,
10605
+ "required": [
10606
+ "kind",
10607
+ "persistence",
10608
+ "scope"
10609
+ ],
10610
+ "type": "object"
10611
+ },
10612
+ {
10613
+ "additionalProperties": false,
10614
+ "properties": {
10615
+ "applicability": {
10616
+ "additionalProperties": false,
10617
+ "properties": {
10618
+ "kind": {
10619
+ "const": "unknown",
10620
+ "type": "string"
10621
+ }
10622
+ },
10623
+ "readOnly": true,
10624
+ "required": [
10625
+ "kind"
10626
+ ],
10627
+ "type": "object"
10628
+ },
10629
+ "duration": {
10630
+ "additionalProperties": false,
10631
+ "properties": {
10632
+ "kind": {
10633
+ "const": "unknown",
10634
+ "type": "string"
10635
+ }
10636
+ },
10637
+ "readOnly": true,
10638
+ "required": [
10639
+ "kind"
10640
+ ],
10641
+ "type": "object"
10642
+ },
10643
+ "explanation": {
10644
+ "$ref": "#/$defs/__schema48"
10645
+ },
10646
+ "kind": {
10647
+ "const": "provider_managed_remembrance",
10648
+ "type": "string"
10649
+ }
10650
+ },
10651
+ "readOnly": true,
10652
+ "required": [
10653
+ "kind",
10654
+ "duration",
10655
+ "applicability",
10656
+ "explanation"
10657
+ ],
10658
+ "type": "object"
10659
+ }
10660
+ ]
10661
+ },
10203
10662
  "decision": {
10204
10663
  "enum": [
10205
10664
  "approved",
@@ -10215,35 +10674,6 @@ const AGENT_EVENT_JSON_SCHEMA = {
10215
10674
  },
10216
10675
  "optionId": {
10217
10676
  "$ref": "#/$defs/__schema1"
10218
- },
10219
- "persistence": {
10220
- "enum": [
10221
- "once",
10222
- "session",
10223
- "workspace"
10224
- ],
10225
- "type": "string"
10226
- },
10227
- "scope": {
10228
- "additionalProperties": false,
10229
- "properties": {
10230
- "kind": {
10231
- "enum": [
10232
- "exact_action",
10233
- "command_pattern",
10234
- "domain",
10235
- "tool",
10236
- "server",
10237
- "all_edits"
10238
- ],
10239
- "type": "string"
10240
- }
10241
- },
10242
- "readOnly": true,
10243
- "required": [
10244
- "kind"
10245
- ],
10246
- "type": "object"
10247
10677
  }
10248
10678
  },
10249
10679
  "readOnly": true,
@@ -10251,8 +10681,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10251
10681
  "optionId",
10252
10682
  "label",
10253
10683
  "decision",
10254
- "persistence",
10255
- "scope"
10684
+ "consequence"
10256
10685
  ],
10257
10686
  "type": "object"
10258
10687
  },
@@ -10805,7 +11234,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
10805
11234
  "type": "object"
10806
11235
  }
10807
11236
  },
10808
- "$id": "urn:agenai.agent-protocol.event:v10:output",
11237
+ "$id": "urn:agenai.agent-protocol.event:v11:output",
10809
11238
  "$schema": "https://json-schema.org/draft/2020-12/schema",
10810
11239
  "oneOf": [
10811
11240
  {
@@ -12554,6 +12983,8 @@ const AGENT_EVENT_JSON_SCHEMA = {
12554
12983
  }
12555
12984
  };
12556
12985
  const AGENT_PROTOCOL_JSON_SCHEMA_REGISTRY = [
12986
+ AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA,
12987
+ AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA,
12557
12988
  AGENT_ERROR_JSON_SCHEMA,
12558
12989
  AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA,
12559
12990
  AGENT_COMMAND_CATALOG_JSON_SCHEMA,
@@ -12609,6 +13040,8 @@ export {
12609
13040
  AGENT_REQUEST_RESOLUTION_JSON_SCHEMA,
12610
13041
  AGENT_SESSION_BINDING_JSON_SCHEMA,
12611
13042
  AGENT_SESSION_CONFIGURATION_JSON_SCHEMA,
13043
+ AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA,
13044
+ AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA,
12612
13045
  AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA,
12613
13046
  AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA,
12614
13047
  AGENT_TURN_RUN_INPUT_JSON_SCHEMA