@agen-ai/agent-protocol 0.4.1 → 0.4.2

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,7 @@
1
1
  const AGENT_PROTOCOL_JSON_SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
2
2
  const AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA = {
3
3
  "contractId": "agenai.agent-protocol.session-decision-request",
4
- "protocolVersion": 11,
4
+ "protocolVersion": 12,
5
5
  "direction": "output",
6
6
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7
7
  "parserInvariants": [
@@ -11,7 +11,7 @@ const AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA = {
11
11
  "serialized_utf8_bytes",
12
12
  "unique_choice_ids"
13
13
  ],
14
- "sha256": "21da909d993039b8fdc84ae995796a1ed34f4724a8460f88304d83ab6a967db3",
14
+ "sha256": "208536fee18286f60ec04d2568384ae720333b2477a01efddff09f53dc0591a9",
15
15
  "schema": {
16
16
  "$defs": {
17
17
  "__schema0": {
@@ -136,7 +136,7 @@ const AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA = {
136
136
  "type": "object"
137
137
  }
138
138
  },
139
- "$id": "urn:agenai.agent-protocol.session-decision-request:v11:output",
139
+ "$id": "urn:agenai.agent-protocol.session-decision-request:v12:output",
140
140
  "$schema": "https://json-schema.org/draft/2020-12/schema",
141
141
  "additionalProperties": false,
142
142
  "properties": {
@@ -211,12 +211,11 @@ const AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA = {
211
211
  },
212
212
  "readOnly": true,
213
213
  "required": [
214
- "kind",
215
214
  "requestId",
216
215
  "sessionId",
217
216
  "title",
217
+ "kind",
218
218
  "target",
219
- "expiresAt",
220
219
  "choices"
221
220
  ],
222
221
  "type": "object"
@@ -224,7 +223,7 @@ const AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA = {
224
223
  };
225
224
  const AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA = {
226
225
  "contractId": "agenai.agent-protocol.session-decision-response",
227
- "protocolVersion": 11,
226
+ "protocolVersion": 12,
228
227
  "direction": "input",
229
228
  "dialect": "https://json-schema.org/draft/2020-12/schema",
230
229
  "parserInvariants": [
@@ -233,9 +232,9 @@ const AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA = {
233
232
  "serialized_utf8_bytes",
234
233
  "offered_choice_membership"
235
234
  ],
236
- "sha256": "01b8bf6dd5185c42f2cdce480aa4162e32bb778de182fb180e5e4b36b44410b5",
235
+ "sha256": "57d46839eb8dabce2902b84efbe5f6deff2dd238cdbc8d57c9470e0aec78c9e4",
237
236
  "schema": {
238
- "$id": "urn:agenai.agent-protocol.session-decision-response:v11:input",
237
+ "$id": "urn:agenai.agent-protocol.session-decision-response:v12:input",
239
238
  "$schema": "https://json-schema.org/draft/2020-12/schema",
240
239
  "additionalProperties": false,
241
240
  "properties": {
@@ -244,18 +243,2126 @@ const AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA = {
244
243
  "minLength": 1,
245
244
  "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
246
245
  "type": "string"
246
+ },
247
+ "kind": {
248
+ "const": "decision",
249
+ "type": "string"
250
+ }
251
+ },
252
+ "readOnly": true,
253
+ "required": [
254
+ "kind",
255
+ "choiceId"
256
+ ],
257
+ "type": "object"
258
+ }
259
+ };
260
+ const AGENT_SESSION_FORM_REQUEST_JSON_SCHEMA = {
261
+ "contractId": "agenai.agent-protocol.session-form-request",
262
+ "protocolVersion": 12,
263
+ "direction": "output",
264
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
265
+ "parserInvariants": [
266
+ "bounded_acyclic_json_data",
267
+ "utf16_text_lengths",
268
+ "utf8_field_bytes",
269
+ "serialized_utf8_bytes",
270
+ "unique_choice_ids",
271
+ "unique_choice_actions",
272
+ "unique_field_ids",
273
+ "unique_choice_values",
274
+ "field_selection_bounds"
275
+ ],
276
+ "sha256": "5f856871df91bab904813664d3b1e1c9bd4a7c1e45b9437e3c950f4e6673aa54",
277
+ "schema": {
278
+ "$defs": {
279
+ "__schema0": {
280
+ "maxLength": 256,
281
+ "minLength": 1,
282
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
283
+ "type": "string"
284
+ },
285
+ "__schema1": {
286
+ "allOf": [
287
+ {
288
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
289
+ },
290
+ {
291
+ "pattern": "^[^\\u0000-\\u001F\\u007F-\\u009F]*$"
292
+ }
293
+ ],
294
+ "maxLength": 120,
295
+ "minLength": 1,
296
+ "type": "string"
297
+ },
298
+ "__schema10": {
299
+ "allOf": [
300
+ {
301
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
302
+ },
303
+ {
304
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
305
+ }
306
+ ],
307
+ "maxLength": 1e3,
308
+ "minLength": 1,
309
+ "type": "string"
310
+ },
311
+ "__schema11": {
312
+ "maxLength": 128,
313
+ "minLength": 1,
314
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
315
+ "type": "string"
316
+ },
317
+ "__schema2": {
318
+ "oneOf": [
319
+ {
320
+ "additionalProperties": false,
321
+ "properties": {
322
+ "description": {
323
+ "$ref": "#/$defs/__schema4"
324
+ },
325
+ "fieldId": {
326
+ "$ref": "#/$defs/__schema0"
327
+ },
328
+ "kind": {
329
+ "const": "text",
330
+ "type": "string"
331
+ },
332
+ "label": {
333
+ "$ref": "#/$defs/__schema3"
334
+ },
335
+ "maxLength": {
336
+ "exclusiveMinimum": 0,
337
+ "maximum": 4e3,
338
+ "type": "integer"
339
+ },
340
+ "multiline": {
341
+ "type": "boolean"
342
+ },
343
+ "required": {
344
+ "$ref": "#/$defs/__schema5"
345
+ },
346
+ "sensitivity": {
347
+ "$ref": "#/$defs/__schema6"
348
+ }
349
+ },
350
+ "readOnly": true,
351
+ "required": [
352
+ "fieldId",
353
+ "label",
354
+ "required",
355
+ "sensitivity",
356
+ "kind",
357
+ "multiline",
358
+ "maxLength"
359
+ ],
360
+ "type": "object"
361
+ },
362
+ {
363
+ "additionalProperties": false,
364
+ "properties": {
365
+ "allowOther": {
366
+ "type": "boolean"
367
+ },
368
+ "description": {
369
+ "$ref": "#/$defs/__schema4"
370
+ },
371
+ "fieldId": {
372
+ "$ref": "#/$defs/__schema0"
373
+ },
374
+ "kind": {
375
+ "const": "single_select",
376
+ "type": "string"
377
+ },
378
+ "label": {
379
+ "$ref": "#/$defs/__schema3"
380
+ },
381
+ "options": {
382
+ "$ref": "#/$defs/__schema7"
383
+ },
384
+ "required": {
385
+ "$ref": "#/$defs/__schema5"
386
+ },
387
+ "sensitivity": {
388
+ "$ref": "#/$defs/__schema6"
389
+ }
390
+ },
391
+ "readOnly": true,
392
+ "required": [
393
+ "fieldId",
394
+ "label",
395
+ "required",
396
+ "sensitivity",
397
+ "kind",
398
+ "options",
399
+ "allowOther"
400
+ ],
401
+ "type": "object"
402
+ },
403
+ {
404
+ "additionalProperties": false,
405
+ "properties": {
406
+ "allowOther": {
407
+ "type": "boolean"
408
+ },
409
+ "description": {
410
+ "$ref": "#/$defs/__schema4"
411
+ },
412
+ "fieldId": {
413
+ "$ref": "#/$defs/__schema0"
414
+ },
415
+ "kind": {
416
+ "const": "multi_select",
417
+ "type": "string"
418
+ },
419
+ "label": {
420
+ "$ref": "#/$defs/__schema3"
421
+ },
422
+ "maxSelections": {
423
+ "exclusiveMinimum": 0,
424
+ "maximum": 100,
425
+ "type": "integer"
426
+ },
427
+ "options": {
428
+ "$ref": "#/$defs/__schema7"
429
+ },
430
+ "required": {
431
+ "$ref": "#/$defs/__schema5"
432
+ },
433
+ "sensitivity": {
434
+ "$ref": "#/$defs/__schema6"
435
+ }
436
+ },
437
+ "readOnly": true,
438
+ "required": [
439
+ "fieldId",
440
+ "label",
441
+ "required",
442
+ "sensitivity",
443
+ "kind",
444
+ "options",
445
+ "allowOther",
446
+ "maxSelections"
447
+ ],
448
+ "type": "object"
449
+ },
450
+ {
451
+ "additionalProperties": false,
452
+ "properties": {
453
+ "description": {
454
+ "$ref": "#/$defs/__schema4"
455
+ },
456
+ "fieldId": {
457
+ "$ref": "#/$defs/__schema0"
458
+ },
459
+ "kind": {
460
+ "const": "boolean",
461
+ "type": "string"
462
+ },
463
+ "label": {
464
+ "$ref": "#/$defs/__schema3"
465
+ },
466
+ "required": {
467
+ "$ref": "#/$defs/__schema5"
468
+ },
469
+ "sensitivity": {
470
+ "$ref": "#/$defs/__schema6"
471
+ }
472
+ },
473
+ "readOnly": true,
474
+ "required": [
475
+ "fieldId",
476
+ "label",
477
+ "required",
478
+ "sensitivity",
479
+ "kind"
480
+ ],
481
+ "type": "object"
482
+ },
483
+ {
484
+ "additionalProperties": false,
485
+ "properties": {
486
+ "confirmLabel": {
487
+ "maxLength": 200,
488
+ "minLength": 1,
489
+ "type": "string"
490
+ },
491
+ "description": {
492
+ "$ref": "#/$defs/__schema4"
493
+ },
494
+ "fieldId": {
495
+ "$ref": "#/$defs/__schema0"
496
+ },
497
+ "kind": {
498
+ "const": "confirmation",
499
+ "type": "string"
500
+ },
501
+ "label": {
502
+ "$ref": "#/$defs/__schema3"
503
+ },
504
+ "required": {
505
+ "$ref": "#/$defs/__schema5"
506
+ },
507
+ "sensitivity": {
508
+ "$ref": "#/$defs/__schema6"
509
+ }
510
+ },
511
+ "readOnly": true,
512
+ "required": [
513
+ "fieldId",
514
+ "label",
515
+ "required",
516
+ "sensitivity",
517
+ "kind",
518
+ "confirmLabel"
519
+ ],
520
+ "type": "object"
521
+ }
522
+ ]
523
+ },
524
+ "__schema3": {
525
+ "maxLength": 200,
526
+ "minLength": 1,
527
+ "type": "string"
528
+ },
529
+ "__schema4": {
530
+ "maxLength": 2e3,
531
+ "type": "string"
532
+ },
533
+ "__schema5": {
534
+ "type": "boolean"
535
+ },
536
+ "__schema6": {
537
+ "enum": [
538
+ "ordinary",
539
+ "sensitive"
540
+ ],
541
+ "type": "string"
542
+ },
543
+ "__schema7": {
544
+ "items": {
545
+ "$ref": "#/$defs/__schema8"
546
+ },
547
+ "maxItems": 100,
548
+ "minItems": 1,
549
+ "readOnly": true,
550
+ "type": "array"
551
+ },
552
+ "__schema8": {
553
+ "additionalProperties": false,
554
+ "properties": {
555
+ "description": {
556
+ "maxLength": 2e3,
557
+ "type": "string"
558
+ },
559
+ "label": {
560
+ "maxLength": 200,
561
+ "minLength": 1,
562
+ "type": "string"
563
+ },
564
+ "value": {
565
+ "allOf": [
566
+ {
567
+ "$ref": "#/$defs/__schema0"
568
+ },
569
+ {
570
+ "maxLength": 160,
571
+ "type": "string"
572
+ }
573
+ ]
574
+ }
575
+ },
576
+ "readOnly": true,
577
+ "required": [
578
+ "value",
579
+ "label"
580
+ ],
581
+ "type": "object"
582
+ },
583
+ "__schema9": {
584
+ "oneOf": [
585
+ {
586
+ "additionalProperties": false,
587
+ "properties": {
588
+ "action": {
589
+ "const": "submit",
590
+ "type": "string"
591
+ },
592
+ "choiceId": {
593
+ "$ref": "#/$defs/__schema11"
594
+ },
595
+ "description": {
596
+ "$ref": "#/$defs/__schema10"
597
+ },
598
+ "label": {
599
+ "$ref": "#/$defs/__schema1"
600
+ }
601
+ },
602
+ "readOnly": true,
603
+ "required": [
604
+ "label",
605
+ "choiceId",
606
+ "action"
607
+ ],
608
+ "type": "object"
609
+ },
610
+ {
611
+ "additionalProperties": false,
612
+ "properties": {
613
+ "action": {
614
+ "const": "cancel",
615
+ "type": "string"
616
+ },
617
+ "choiceId": {
618
+ "$ref": "#/$defs/__schema11"
619
+ },
620
+ "description": {
621
+ "$ref": "#/$defs/__schema10"
622
+ },
623
+ "label": {
624
+ "$ref": "#/$defs/__schema1"
625
+ }
626
+ },
627
+ "readOnly": true,
628
+ "required": [
629
+ "label",
630
+ "choiceId",
631
+ "action"
632
+ ],
633
+ "type": "object"
634
+ }
635
+ ]
636
+ }
637
+ },
638
+ "$id": "urn:agenai.agent-protocol.session-form-request:v12:output",
639
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
640
+ "additionalProperties": false,
641
+ "properties": {
642
+ "choices": {
643
+ "items": {
644
+ "$ref": "#/$defs/__schema9"
645
+ },
646
+ "maxItems": 16,
647
+ "minItems": 1,
648
+ "readOnly": true,
649
+ "type": "array"
650
+ },
651
+ "description": {
652
+ "allOf": [
653
+ {
654
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
655
+ },
656
+ {
657
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
658
+ }
659
+ ],
660
+ "maxLength": 4e3,
661
+ "minLength": 1,
662
+ "type": "string"
663
+ },
664
+ "expiresAt": {
665
+ "format": "date-time",
666
+ "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)))$",
667
+ "type": "string"
668
+ },
669
+ "fields": {
670
+ "items": {
671
+ "$ref": "#/$defs/__schema2"
672
+ },
673
+ "maxItems": 16,
674
+ "minItems": 1,
675
+ "readOnly": true,
676
+ "type": "array"
677
+ },
678
+ "kind": {
679
+ "const": "form",
680
+ "type": "string"
681
+ },
682
+ "requestId": {
683
+ "$ref": "#/$defs/__schema0"
684
+ },
685
+ "sessionId": {
686
+ "$ref": "#/$defs/__schema0"
687
+ },
688
+ "title": {
689
+ "$ref": "#/$defs/__schema1"
690
+ }
691
+ },
692
+ "readOnly": true,
693
+ "required": [
694
+ "requestId",
695
+ "sessionId",
696
+ "title",
697
+ "kind",
698
+ "fields",
699
+ "choices"
700
+ ],
701
+ "type": "object"
702
+ }
703
+ };
704
+ const AGENT_SESSION_FORM_RESPONSE_JSON_SCHEMA = {
705
+ "contractId": "agenai.agent-protocol.session-form-response",
706
+ "protocolVersion": 12,
707
+ "direction": "input",
708
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
709
+ "parserInvariants": [
710
+ "bounded_acyclic_json_data",
711
+ "utf16_text_lengths",
712
+ "utf8_field_bytes",
713
+ "serialized_utf8_bytes",
714
+ "offered_choice_membership",
715
+ "offered_action_correlation",
716
+ "field_answer_correlation",
717
+ "unique_choice_selections",
718
+ "exact_plan_revision",
719
+ "request_kind_correlation"
720
+ ],
721
+ "sha256": "746b3e06b6fd1d2ffdd84549d90c67a40b90232aa9ea84a136dcac78ee23ae57",
722
+ "schema": {
723
+ "$defs": {
724
+ "__schema0": {
725
+ "maxLength": 128,
726
+ "minLength": 1,
727
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
728
+ "type": "string"
729
+ },
730
+ "__schema1": {
731
+ "oneOf": [
732
+ {
733
+ "additionalProperties": false,
734
+ "properties": {
735
+ "fieldId": {
736
+ "$ref": "#/$defs/__schema2"
737
+ },
738
+ "kind": {
739
+ "const": "text",
740
+ "type": "string"
741
+ },
742
+ "value": {
743
+ "$ref": "#/$defs/__schema3"
744
+ }
745
+ },
746
+ "readOnly": true,
747
+ "required": [
748
+ "fieldId",
749
+ "kind",
750
+ "value"
751
+ ],
752
+ "type": "object"
753
+ },
754
+ {
755
+ "additionalProperties": false,
756
+ "properties": {
757
+ "fieldId": {
758
+ "$ref": "#/$defs/__schema2"
759
+ },
760
+ "kind": {
761
+ "const": "single_select",
762
+ "type": "string"
763
+ },
764
+ "other": {
765
+ "$ref": "#/$defs/__schema3"
766
+ },
767
+ "value": {
768
+ "$ref": "#/$defs/__schema4"
769
+ }
770
+ },
771
+ "readOnly": true,
772
+ "required": [
773
+ "fieldId",
774
+ "kind"
775
+ ],
776
+ "type": "object"
777
+ },
778
+ {
779
+ "additionalProperties": false,
780
+ "properties": {
781
+ "fieldId": {
782
+ "$ref": "#/$defs/__schema2"
783
+ },
784
+ "kind": {
785
+ "const": "multi_select",
786
+ "type": "string"
787
+ },
788
+ "other": {
789
+ "$ref": "#/$defs/__schema3"
790
+ },
791
+ "values": {
792
+ "items": {
793
+ "$ref": "#/$defs/__schema4"
794
+ },
795
+ "maxItems": 100,
796
+ "readOnly": true,
797
+ "type": "array"
798
+ }
799
+ },
800
+ "readOnly": true,
801
+ "required": [
802
+ "fieldId",
803
+ "kind",
804
+ "values"
805
+ ],
806
+ "type": "object"
807
+ },
808
+ {
809
+ "additionalProperties": false,
810
+ "properties": {
811
+ "fieldId": {
812
+ "$ref": "#/$defs/__schema2"
813
+ },
814
+ "kind": {
815
+ "const": "boolean",
816
+ "type": "string"
817
+ },
818
+ "value": {
819
+ "type": "boolean"
820
+ }
821
+ },
822
+ "readOnly": true,
823
+ "required": [
824
+ "fieldId",
825
+ "kind",
826
+ "value"
827
+ ],
828
+ "type": "object"
829
+ },
830
+ {
831
+ "additionalProperties": false,
832
+ "properties": {
833
+ "confirmed": {
834
+ "type": "boolean"
835
+ },
836
+ "fieldId": {
837
+ "$ref": "#/$defs/__schema2"
838
+ },
839
+ "kind": {
840
+ "const": "confirmation",
841
+ "type": "string"
842
+ }
843
+ },
844
+ "readOnly": true,
845
+ "required": [
846
+ "fieldId",
847
+ "kind",
848
+ "confirmed"
849
+ ],
850
+ "type": "object"
851
+ }
852
+ ]
853
+ },
854
+ "__schema2": {
855
+ "maxLength": 256,
856
+ "minLength": 1,
857
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
858
+ "type": "string"
859
+ },
860
+ "__schema3": {
861
+ "maxLength": 4e3,
862
+ "pattern": "\\S",
863
+ "type": "string"
864
+ },
865
+ "__schema4": {
866
+ "allOf": [
867
+ {
868
+ "$ref": "#/$defs/__schema2"
869
+ },
870
+ {
871
+ "maxLength": 160,
872
+ "type": "string"
873
+ }
874
+ ]
875
+ }
876
+ },
877
+ "$id": "urn:agenai.agent-protocol.session-form-response:v12:input",
878
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
879
+ "oneOf": [
880
+ {
881
+ "additionalProperties": false,
882
+ "properties": {
883
+ "action": {
884
+ "const": "submit",
885
+ "type": "string"
886
+ },
887
+ "answers": {
888
+ "items": {
889
+ "$ref": "#/$defs/__schema1"
890
+ },
891
+ "maxItems": 16,
892
+ "readOnly": true,
893
+ "type": "array"
894
+ },
895
+ "choiceId": {
896
+ "$ref": "#/$defs/__schema0"
897
+ },
898
+ "kind": {
899
+ "const": "form",
900
+ "type": "string"
901
+ }
902
+ },
903
+ "readOnly": true,
904
+ "required": [
905
+ "kind",
906
+ "action",
907
+ "choiceId",
908
+ "answers"
909
+ ],
910
+ "type": "object"
911
+ },
912
+ {
913
+ "additionalProperties": false,
914
+ "properties": {
915
+ "action": {
916
+ "const": "cancel",
917
+ "type": "string"
918
+ },
919
+ "choiceId": {
920
+ "$ref": "#/$defs/__schema0"
921
+ },
922
+ "kind": {
923
+ "const": "form",
924
+ "type": "string"
925
+ }
926
+ },
927
+ "readOnly": true,
928
+ "required": [
929
+ "kind",
930
+ "action",
931
+ "choiceId"
932
+ ],
933
+ "type": "object"
934
+ }
935
+ ]
936
+ }
937
+ };
938
+ const AGENT_SESSION_PLAN_REVIEW_REQUEST_JSON_SCHEMA = {
939
+ "contractId": "agenai.agent-protocol.session-plan-review-request",
940
+ "protocolVersion": 12,
941
+ "direction": "output",
942
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
943
+ "parserInvariants": [
944
+ "bounded_acyclic_json_data",
945
+ "utf16_text_lengths",
946
+ "utf8_field_bytes",
947
+ "serialized_utf8_bytes",
948
+ "unique_choice_ids",
949
+ "unique_choice_actions",
950
+ "plan_text_utf8_bytes"
951
+ ],
952
+ "sha256": "1b5bcabb1dfba67599f55966988a09b3dc86d2009209a554fe5750ff794e003d",
953
+ "schema": {
954
+ "$defs": {
955
+ "__schema0": {
956
+ "maxLength": 256,
957
+ "minLength": 1,
958
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
959
+ "type": "string"
960
+ },
961
+ "__schema1": {
962
+ "allOf": [
963
+ {
964
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
965
+ },
966
+ {
967
+ "pattern": "^[^\\u0000-\\u001F\\u007F-\\u009F]*$"
968
+ }
969
+ ],
970
+ "maxLength": 120,
971
+ "minLength": 1,
972
+ "type": "string"
973
+ },
974
+ "__schema2": {
975
+ "additionalProperties": false,
976
+ "properties": {
977
+ "action": {
978
+ "enum": [
979
+ "approve",
980
+ "revise",
981
+ "abandon"
982
+ ],
983
+ "type": "string"
984
+ },
985
+ "choiceId": {
986
+ "maxLength": 128,
987
+ "minLength": 1,
988
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
989
+ "type": "string"
990
+ },
991
+ "description": {
992
+ "allOf": [
993
+ {
994
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
995
+ },
996
+ {
997
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
998
+ }
999
+ ],
1000
+ "maxLength": 1e3,
1001
+ "minLength": 1,
1002
+ "type": "string"
1003
+ },
1004
+ "label": {
1005
+ "$ref": "#/$defs/__schema1"
1006
+ }
1007
+ },
1008
+ "readOnly": true,
1009
+ "required": [
1010
+ "label",
1011
+ "choiceId",
1012
+ "action"
1013
+ ],
1014
+ "type": "object"
1015
+ }
1016
+ },
1017
+ "$id": "urn:agenai.agent-protocol.session-plan-review-request:v12:output",
1018
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1019
+ "additionalProperties": false,
1020
+ "properties": {
1021
+ "choices": {
1022
+ "items": {
1023
+ "$ref": "#/$defs/__schema2"
1024
+ },
1025
+ "maxItems": 16,
1026
+ "minItems": 1,
1027
+ "readOnly": true,
1028
+ "type": "array"
1029
+ },
1030
+ "description": {
1031
+ "allOf": [
1032
+ {
1033
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
1034
+ },
1035
+ {
1036
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
1037
+ }
1038
+ ],
1039
+ "maxLength": 4e3,
1040
+ "minLength": 1,
1041
+ "type": "string"
1042
+ },
1043
+ "expiresAt": {
1044
+ "format": "date-time",
1045
+ "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)))$",
1046
+ "type": "string"
1047
+ },
1048
+ "kind": {
1049
+ "const": "plan_review",
1050
+ "type": "string"
1051
+ },
1052
+ "plan": {
1053
+ "additionalProperties": false,
1054
+ "properties": {
1055
+ "content": {
1056
+ "additionalProperties": false,
1057
+ "properties": {
1058
+ "format": {
1059
+ "enum": [
1060
+ "plain_text",
1061
+ "markdown"
1062
+ ],
1063
+ "type": "string"
1064
+ },
1065
+ "kind": {
1066
+ "const": "text",
1067
+ "type": "string"
1068
+ },
1069
+ "text": {
1070
+ "maxLength": 49152,
1071
+ "minLength": 1,
1072
+ "type": "string"
1073
+ }
1074
+ },
1075
+ "readOnly": true,
1076
+ "required": [
1077
+ "kind",
1078
+ "format",
1079
+ "text"
1080
+ ],
1081
+ "type": "object"
1082
+ },
1083
+ "planId": {
1084
+ "maxLength": 128,
1085
+ "minLength": 1,
1086
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1087
+ "type": "string"
1088
+ },
1089
+ "revision": {
1090
+ "maxLength": 128,
1091
+ "minLength": 1,
1092
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1093
+ "type": "string"
1094
+ },
1095
+ "title": {
1096
+ "$ref": "#/$defs/__schema1"
1097
+ }
1098
+ },
1099
+ "readOnly": true,
1100
+ "required": [
1101
+ "planId",
1102
+ "revision",
1103
+ "title",
1104
+ "content"
1105
+ ],
1106
+ "type": "object"
1107
+ },
1108
+ "requestId": {
1109
+ "$ref": "#/$defs/__schema0"
1110
+ },
1111
+ "sessionId": {
1112
+ "$ref": "#/$defs/__schema0"
1113
+ },
1114
+ "title": {
1115
+ "$ref": "#/$defs/__schema1"
1116
+ }
1117
+ },
1118
+ "readOnly": true,
1119
+ "required": [
1120
+ "requestId",
1121
+ "sessionId",
1122
+ "title",
1123
+ "kind",
1124
+ "plan",
1125
+ "choices"
1126
+ ],
1127
+ "type": "object"
1128
+ }
1129
+ };
1130
+ const AGENT_SESSION_PLAN_REVIEW_RESPONSE_JSON_SCHEMA = {
1131
+ "contractId": "agenai.agent-protocol.session-plan-review-response",
1132
+ "protocolVersion": 12,
1133
+ "direction": "input",
1134
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
1135
+ "parserInvariants": [
1136
+ "bounded_acyclic_json_data",
1137
+ "utf16_text_lengths",
1138
+ "utf8_field_bytes",
1139
+ "serialized_utf8_bytes",
1140
+ "offered_choice_membership",
1141
+ "offered_action_correlation",
1142
+ "field_answer_correlation",
1143
+ "unique_choice_selections",
1144
+ "exact_plan_revision",
1145
+ "request_kind_correlation"
1146
+ ],
1147
+ "sha256": "17b01edeac05b01c57d87ca627a8b591b6f8f05d5a7b488bb8764b9fd5ce41ce",
1148
+ "schema": {
1149
+ "$defs": {
1150
+ "__schema0": {
1151
+ "const": "plan_review",
1152
+ "type": "string"
1153
+ },
1154
+ "__schema1": {
1155
+ "maxLength": 128,
1156
+ "minLength": 1,
1157
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1158
+ "type": "string"
1159
+ },
1160
+ "__schema2": {
1161
+ "maxLength": 128,
1162
+ "minLength": 1,
1163
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1164
+ "type": "string"
1165
+ },
1166
+ "__schema3": {
1167
+ "maxLength": 128,
1168
+ "minLength": 1,
1169
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1170
+ "type": "string"
1171
+ }
1172
+ },
1173
+ "$id": "urn:agenai.agent-protocol.session-plan-review-response:v12:input",
1174
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1175
+ "oneOf": [
1176
+ {
1177
+ "additionalProperties": false,
1178
+ "properties": {
1179
+ "action": {
1180
+ "enum": [
1181
+ "approve",
1182
+ "abandon"
1183
+ ],
1184
+ "type": "string"
1185
+ },
1186
+ "choiceId": {
1187
+ "$ref": "#/$defs/__schema1"
1188
+ },
1189
+ "kind": {
1190
+ "$ref": "#/$defs/__schema0"
1191
+ },
1192
+ "planId": {
1193
+ "$ref": "#/$defs/__schema2"
1194
+ },
1195
+ "revision": {
1196
+ "$ref": "#/$defs/__schema3"
1197
+ }
1198
+ },
1199
+ "readOnly": true,
1200
+ "required": [
1201
+ "kind",
1202
+ "choiceId",
1203
+ "planId",
1204
+ "revision",
1205
+ "action"
1206
+ ],
1207
+ "type": "object"
1208
+ },
1209
+ {
1210
+ "additionalProperties": false,
1211
+ "properties": {
1212
+ "action": {
1213
+ "const": "revise",
1214
+ "type": "string"
1215
+ },
1216
+ "choiceId": {
1217
+ "$ref": "#/$defs/__schema1"
1218
+ },
1219
+ "feedback": {
1220
+ "maxLength": 4e3,
1221
+ "minLength": 1,
1222
+ "pattern": "\\S",
1223
+ "type": "string"
1224
+ },
1225
+ "kind": {
1226
+ "$ref": "#/$defs/__schema0"
1227
+ },
1228
+ "planId": {
1229
+ "$ref": "#/$defs/__schema2"
1230
+ },
1231
+ "revision": {
1232
+ "$ref": "#/$defs/__schema3"
1233
+ }
1234
+ },
1235
+ "readOnly": true,
1236
+ "required": [
1237
+ "kind",
1238
+ "choiceId",
1239
+ "planId",
1240
+ "revision",
1241
+ "action",
1242
+ "feedback"
1243
+ ],
1244
+ "type": "object"
1245
+ }
1246
+ ]
1247
+ }
1248
+ };
1249
+ const AGENT_SESSION_REQUEST_JSON_SCHEMA = {
1250
+ "contractId": "agenai.agent-protocol.session-request",
1251
+ "protocolVersion": 12,
1252
+ "direction": "output",
1253
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
1254
+ "parserInvariants": [
1255
+ "bounded_acyclic_json_data",
1256
+ "utf16_text_lengths",
1257
+ "utf8_field_bytes",
1258
+ "serialized_utf8_bytes",
1259
+ "unique_choice_ids",
1260
+ "unique_choice_actions",
1261
+ "unique_field_ids",
1262
+ "unique_choice_values",
1263
+ "field_selection_bounds",
1264
+ "plan_text_utf8_bytes"
1265
+ ],
1266
+ "sha256": "518f743e2c4c1fecf7c589bc0689df5a0c4cc6ce53e821171f1c57e7a94edb44",
1267
+ "schema": {
1268
+ "$defs": {
1269
+ "__schema0": {
1270
+ "maxLength": 256,
1271
+ "minLength": 1,
1272
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1273
+ "type": "string"
1274
+ },
1275
+ "__schema1": {
1276
+ "allOf": [
1277
+ {
1278
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
1279
+ },
1280
+ {
1281
+ "pattern": "^[^\\u0000-\\u001F\\u007F-\\u009F]*$"
1282
+ }
1283
+ ],
1284
+ "maxLength": 120,
1285
+ "minLength": 1,
1286
+ "type": "string"
1287
+ },
1288
+ "__schema10": {
1289
+ "items": {
1290
+ "$ref": "#/$defs/__schema11"
1291
+ },
1292
+ "maxItems": 100,
1293
+ "minItems": 1,
1294
+ "readOnly": true,
1295
+ "type": "array"
1296
+ },
1297
+ "__schema11": {
1298
+ "additionalProperties": false,
1299
+ "properties": {
1300
+ "description": {
1301
+ "maxLength": 2e3,
1302
+ "type": "string"
1303
+ },
1304
+ "label": {
1305
+ "maxLength": 200,
1306
+ "minLength": 1,
1307
+ "type": "string"
1308
+ },
1309
+ "value": {
1310
+ "allOf": [
1311
+ {
1312
+ "$ref": "#/$defs/__schema0"
1313
+ },
1314
+ {
1315
+ "maxLength": 160,
1316
+ "type": "string"
1317
+ }
1318
+ ]
1319
+ }
1320
+ },
1321
+ "readOnly": true,
1322
+ "required": [
1323
+ "value",
1324
+ "label"
1325
+ ],
1326
+ "type": "object"
1327
+ },
1328
+ "__schema12": {
1329
+ "oneOf": [
1330
+ {
1331
+ "additionalProperties": false,
1332
+ "properties": {
1333
+ "action": {
1334
+ "const": "submit",
1335
+ "type": "string"
1336
+ },
1337
+ "choiceId": {
1338
+ "$ref": "#/$defs/__schema14"
1339
+ },
1340
+ "description": {
1341
+ "$ref": "#/$defs/__schema13"
1342
+ },
1343
+ "label": {
1344
+ "$ref": "#/$defs/__schema1"
1345
+ }
1346
+ },
1347
+ "readOnly": true,
1348
+ "required": [
1349
+ "label",
1350
+ "choiceId",
1351
+ "action"
1352
+ ],
1353
+ "type": "object"
1354
+ },
1355
+ {
1356
+ "additionalProperties": false,
1357
+ "properties": {
1358
+ "action": {
1359
+ "const": "cancel",
1360
+ "type": "string"
1361
+ },
1362
+ "choiceId": {
1363
+ "$ref": "#/$defs/__schema14"
1364
+ },
1365
+ "description": {
1366
+ "$ref": "#/$defs/__schema13"
1367
+ },
1368
+ "label": {
1369
+ "$ref": "#/$defs/__schema1"
1370
+ }
1371
+ },
1372
+ "readOnly": true,
1373
+ "required": [
1374
+ "label",
1375
+ "choiceId",
1376
+ "action"
1377
+ ],
1378
+ "type": "object"
1379
+ }
1380
+ ]
1381
+ },
1382
+ "__schema13": {
1383
+ "allOf": [
1384
+ {
1385
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
1386
+ },
1387
+ {
1388
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
1389
+ }
1390
+ ],
1391
+ "maxLength": 1e3,
1392
+ "minLength": 1,
1393
+ "type": "string"
1394
+ },
1395
+ "__schema14": {
1396
+ "maxLength": 128,
1397
+ "minLength": 1,
1398
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1399
+ "type": "string"
1400
+ },
1401
+ "__schema15": {
1402
+ "additionalProperties": false,
1403
+ "properties": {
1404
+ "action": {
1405
+ "enum": [
1406
+ "approve",
1407
+ "revise",
1408
+ "abandon"
1409
+ ],
1410
+ "type": "string"
1411
+ },
1412
+ "choiceId": {
1413
+ "maxLength": 128,
1414
+ "minLength": 1,
1415
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1416
+ "type": "string"
1417
+ },
1418
+ "description": {
1419
+ "$ref": "#/$defs/__schema13"
1420
+ },
1421
+ "label": {
1422
+ "$ref": "#/$defs/__schema1"
1423
+ }
1424
+ },
1425
+ "readOnly": true,
1426
+ "required": [
1427
+ "label",
1428
+ "choiceId",
1429
+ "action"
1430
+ ],
1431
+ "type": "object"
1432
+ },
1433
+ "__schema2": {
1434
+ "allOf": [
1435
+ {
1436
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
1437
+ },
1438
+ {
1439
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
1440
+ }
1441
+ ],
1442
+ "maxLength": 4e3,
1443
+ "minLength": 1,
1444
+ "type": "string"
1445
+ },
1446
+ "__schema3": {
1447
+ "format": "date-time",
1448
+ "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)))$",
1449
+ "type": "string"
1450
+ },
1451
+ "__schema4": {
1452
+ "additionalProperties": false,
1453
+ "properties": {
1454
+ "choiceId": {
1455
+ "maxLength": 128,
1456
+ "minLength": 1,
1457
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1458
+ "type": "string"
1459
+ },
1460
+ "consequence": {
1461
+ "oneOf": [
1462
+ {
1463
+ "additionalProperties": false,
1464
+ "properties": {
1465
+ "kind": {
1466
+ "const": "grant",
1467
+ "type": "string"
1468
+ },
1469
+ "persistence": {
1470
+ "additionalProperties": false,
1471
+ "properties": {
1472
+ "duration": {
1473
+ "const": "persistent",
1474
+ "type": "string"
1475
+ },
1476
+ "kind": {
1477
+ "const": "provider_managed",
1478
+ "type": "string"
1479
+ },
1480
+ "mayAffectOtherSessions": {
1481
+ "const": true,
1482
+ "type": "boolean"
1483
+ }
1484
+ },
1485
+ "readOnly": true,
1486
+ "required": [
1487
+ "kind",
1488
+ "duration",
1489
+ "mayAffectOtherSessions"
1490
+ ],
1491
+ "type": "object"
1492
+ },
1493
+ "scope": {
1494
+ "const": "workspace",
1495
+ "type": "string"
1496
+ }
1497
+ },
1498
+ "readOnly": true,
1499
+ "required": [
1500
+ "kind",
1501
+ "scope",
1502
+ "persistence"
1503
+ ],
1504
+ "type": "object"
1505
+ },
1506
+ {
1507
+ "additionalProperties": false,
1508
+ "properties": {
1509
+ "configuration": {
1510
+ "const": "remains_gated",
1511
+ "type": "string"
1512
+ },
1513
+ "kind": {
1514
+ "const": "decline",
1515
+ "type": "string"
1516
+ }
1517
+ },
1518
+ "readOnly": true,
1519
+ "required": [
1520
+ "kind",
1521
+ "configuration"
1522
+ ],
1523
+ "type": "object"
1524
+ }
1525
+ ]
1526
+ },
1527
+ "description": {
1528
+ "allOf": [
1529
+ {
1530
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
1531
+ },
1532
+ {
1533
+ "pattern": "^[^\\u0000-\\u0009\\u000B-\\u001F\\u007F-\\u009F]*$"
1534
+ }
1535
+ ],
1536
+ "maxLength": 1e3,
1537
+ "minLength": 1,
1538
+ "type": "string"
1539
+ },
1540
+ "label": {
1541
+ "$ref": "#/$defs/__schema1"
1542
+ }
1543
+ },
1544
+ "readOnly": true,
1545
+ "required": [
1546
+ "choiceId",
1547
+ "label",
1548
+ "description",
1549
+ "consequence"
1550
+ ],
1551
+ "type": "object"
1552
+ },
1553
+ "__schema5": {
1554
+ "oneOf": [
1555
+ {
1556
+ "additionalProperties": false,
1557
+ "properties": {
1558
+ "description": {
1559
+ "$ref": "#/$defs/__schema7"
1560
+ },
1561
+ "fieldId": {
1562
+ "$ref": "#/$defs/__schema0"
1563
+ },
1564
+ "kind": {
1565
+ "const": "text",
1566
+ "type": "string"
1567
+ },
1568
+ "label": {
1569
+ "$ref": "#/$defs/__schema6"
1570
+ },
1571
+ "maxLength": {
1572
+ "exclusiveMinimum": 0,
1573
+ "maximum": 4e3,
1574
+ "type": "integer"
1575
+ },
1576
+ "multiline": {
1577
+ "type": "boolean"
1578
+ },
1579
+ "required": {
1580
+ "$ref": "#/$defs/__schema8"
1581
+ },
1582
+ "sensitivity": {
1583
+ "$ref": "#/$defs/__schema9"
1584
+ }
1585
+ },
1586
+ "readOnly": true,
1587
+ "required": [
1588
+ "fieldId",
1589
+ "label",
1590
+ "required",
1591
+ "sensitivity",
1592
+ "kind",
1593
+ "multiline",
1594
+ "maxLength"
1595
+ ],
1596
+ "type": "object"
1597
+ },
1598
+ {
1599
+ "additionalProperties": false,
1600
+ "properties": {
1601
+ "allowOther": {
1602
+ "type": "boolean"
1603
+ },
1604
+ "description": {
1605
+ "$ref": "#/$defs/__schema7"
1606
+ },
1607
+ "fieldId": {
1608
+ "$ref": "#/$defs/__schema0"
1609
+ },
1610
+ "kind": {
1611
+ "const": "single_select",
1612
+ "type": "string"
1613
+ },
1614
+ "label": {
1615
+ "$ref": "#/$defs/__schema6"
1616
+ },
1617
+ "options": {
1618
+ "$ref": "#/$defs/__schema10"
1619
+ },
1620
+ "required": {
1621
+ "$ref": "#/$defs/__schema8"
1622
+ },
1623
+ "sensitivity": {
1624
+ "$ref": "#/$defs/__schema9"
1625
+ }
1626
+ },
1627
+ "readOnly": true,
1628
+ "required": [
1629
+ "fieldId",
1630
+ "label",
1631
+ "required",
1632
+ "sensitivity",
1633
+ "kind",
1634
+ "options",
1635
+ "allowOther"
1636
+ ],
1637
+ "type": "object"
1638
+ },
1639
+ {
1640
+ "additionalProperties": false,
1641
+ "properties": {
1642
+ "allowOther": {
1643
+ "type": "boolean"
1644
+ },
1645
+ "description": {
1646
+ "$ref": "#/$defs/__schema7"
1647
+ },
1648
+ "fieldId": {
1649
+ "$ref": "#/$defs/__schema0"
1650
+ },
1651
+ "kind": {
1652
+ "const": "multi_select",
1653
+ "type": "string"
1654
+ },
1655
+ "label": {
1656
+ "$ref": "#/$defs/__schema6"
1657
+ },
1658
+ "maxSelections": {
1659
+ "exclusiveMinimum": 0,
1660
+ "maximum": 100,
1661
+ "type": "integer"
1662
+ },
1663
+ "options": {
1664
+ "$ref": "#/$defs/__schema10"
1665
+ },
1666
+ "required": {
1667
+ "$ref": "#/$defs/__schema8"
1668
+ },
1669
+ "sensitivity": {
1670
+ "$ref": "#/$defs/__schema9"
1671
+ }
1672
+ },
1673
+ "readOnly": true,
1674
+ "required": [
1675
+ "fieldId",
1676
+ "label",
1677
+ "required",
1678
+ "sensitivity",
1679
+ "kind",
1680
+ "options",
1681
+ "allowOther",
1682
+ "maxSelections"
1683
+ ],
1684
+ "type": "object"
1685
+ },
1686
+ {
1687
+ "additionalProperties": false,
1688
+ "properties": {
1689
+ "description": {
1690
+ "$ref": "#/$defs/__schema7"
1691
+ },
1692
+ "fieldId": {
1693
+ "$ref": "#/$defs/__schema0"
1694
+ },
1695
+ "kind": {
1696
+ "const": "boolean",
1697
+ "type": "string"
1698
+ },
1699
+ "label": {
1700
+ "$ref": "#/$defs/__schema6"
1701
+ },
1702
+ "required": {
1703
+ "$ref": "#/$defs/__schema8"
1704
+ },
1705
+ "sensitivity": {
1706
+ "$ref": "#/$defs/__schema9"
1707
+ }
1708
+ },
1709
+ "readOnly": true,
1710
+ "required": [
1711
+ "fieldId",
1712
+ "label",
1713
+ "required",
1714
+ "sensitivity",
1715
+ "kind"
1716
+ ],
1717
+ "type": "object"
1718
+ },
1719
+ {
1720
+ "additionalProperties": false,
1721
+ "properties": {
1722
+ "confirmLabel": {
1723
+ "maxLength": 200,
1724
+ "minLength": 1,
1725
+ "type": "string"
1726
+ },
1727
+ "description": {
1728
+ "$ref": "#/$defs/__schema7"
1729
+ },
1730
+ "fieldId": {
1731
+ "$ref": "#/$defs/__schema0"
1732
+ },
1733
+ "kind": {
1734
+ "const": "confirmation",
1735
+ "type": "string"
1736
+ },
1737
+ "label": {
1738
+ "$ref": "#/$defs/__schema6"
1739
+ },
1740
+ "required": {
1741
+ "$ref": "#/$defs/__schema8"
1742
+ },
1743
+ "sensitivity": {
1744
+ "$ref": "#/$defs/__schema9"
1745
+ }
1746
+ },
1747
+ "readOnly": true,
1748
+ "required": [
1749
+ "fieldId",
1750
+ "label",
1751
+ "required",
1752
+ "sensitivity",
1753
+ "kind",
1754
+ "confirmLabel"
1755
+ ],
1756
+ "type": "object"
1757
+ }
1758
+ ]
1759
+ },
1760
+ "__schema6": {
1761
+ "maxLength": 200,
1762
+ "minLength": 1,
1763
+ "type": "string"
1764
+ },
1765
+ "__schema7": {
1766
+ "maxLength": 2e3,
1767
+ "type": "string"
1768
+ },
1769
+ "__schema8": {
1770
+ "type": "boolean"
1771
+ },
1772
+ "__schema9": {
1773
+ "enum": [
1774
+ "ordinary",
1775
+ "sensitive"
1776
+ ],
1777
+ "type": "string"
1778
+ }
1779
+ },
1780
+ "$id": "urn:agenai.agent-protocol.session-request:v12:output",
1781
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1782
+ "oneOf": [
1783
+ {
1784
+ "additionalProperties": false,
1785
+ "properties": {
1786
+ "choices": {
1787
+ "items": {
1788
+ "$ref": "#/$defs/__schema4"
1789
+ },
1790
+ "maxItems": 16,
1791
+ "minItems": 1,
1792
+ "readOnly": true,
1793
+ "type": "array"
1794
+ },
1795
+ "description": {
1796
+ "$ref": "#/$defs/__schema2"
1797
+ },
1798
+ "expiresAt": {
1799
+ "$ref": "#/$defs/__schema3"
1800
+ },
1801
+ "kind": {
1802
+ "const": "decision",
1803
+ "type": "string"
1804
+ },
1805
+ "requestId": {
1806
+ "$ref": "#/$defs/__schema0"
1807
+ },
1808
+ "sessionId": {
1809
+ "$ref": "#/$defs/__schema0"
1810
+ },
1811
+ "target": {
1812
+ "additionalProperties": false,
1813
+ "properties": {
1814
+ "kind": {
1815
+ "const": "workspace",
1816
+ "type": "string"
1817
+ },
1818
+ "path": {
1819
+ "allOf": [
1820
+ {
1821
+ "pattern": "^(?:\\S|\\S[\\s\\S]*\\S)$"
1822
+ },
1823
+ {
1824
+ "pattern": "^[^\\p{Cc}\\p{Cf}]*$"
1825
+ }
1826
+ ],
1827
+ "maxLength": 4096,
1828
+ "minLength": 1,
1829
+ "type": "string"
1830
+ }
1831
+ },
1832
+ "readOnly": true,
1833
+ "required": [
1834
+ "kind",
1835
+ "path"
1836
+ ],
1837
+ "type": "object"
1838
+ },
1839
+ "title": {
1840
+ "$ref": "#/$defs/__schema1"
1841
+ }
1842
+ },
1843
+ "readOnly": true,
1844
+ "required": [
1845
+ "requestId",
1846
+ "sessionId",
1847
+ "title",
1848
+ "kind",
1849
+ "target",
1850
+ "choices"
1851
+ ],
1852
+ "type": "object"
1853
+ },
1854
+ {
1855
+ "additionalProperties": false,
1856
+ "properties": {
1857
+ "choices": {
1858
+ "items": {
1859
+ "$ref": "#/$defs/__schema12"
1860
+ },
1861
+ "maxItems": 16,
1862
+ "minItems": 1,
1863
+ "readOnly": true,
1864
+ "type": "array"
1865
+ },
1866
+ "description": {
1867
+ "$ref": "#/$defs/__schema2"
1868
+ },
1869
+ "expiresAt": {
1870
+ "$ref": "#/$defs/__schema3"
1871
+ },
1872
+ "fields": {
1873
+ "items": {
1874
+ "$ref": "#/$defs/__schema5"
1875
+ },
1876
+ "maxItems": 16,
1877
+ "minItems": 1,
1878
+ "readOnly": true,
1879
+ "type": "array"
1880
+ },
1881
+ "kind": {
1882
+ "const": "form",
1883
+ "type": "string"
1884
+ },
1885
+ "requestId": {
1886
+ "$ref": "#/$defs/__schema0"
1887
+ },
1888
+ "sessionId": {
1889
+ "$ref": "#/$defs/__schema0"
1890
+ },
1891
+ "title": {
1892
+ "$ref": "#/$defs/__schema1"
1893
+ }
1894
+ },
1895
+ "readOnly": true,
1896
+ "required": [
1897
+ "requestId",
1898
+ "sessionId",
1899
+ "title",
1900
+ "kind",
1901
+ "fields",
1902
+ "choices"
1903
+ ],
1904
+ "type": "object"
1905
+ },
1906
+ {
1907
+ "additionalProperties": false,
1908
+ "properties": {
1909
+ "choices": {
1910
+ "items": {
1911
+ "$ref": "#/$defs/__schema15"
1912
+ },
1913
+ "maxItems": 16,
1914
+ "minItems": 1,
1915
+ "readOnly": true,
1916
+ "type": "array"
1917
+ },
1918
+ "description": {
1919
+ "$ref": "#/$defs/__schema2"
1920
+ },
1921
+ "expiresAt": {
1922
+ "$ref": "#/$defs/__schema3"
1923
+ },
1924
+ "kind": {
1925
+ "const": "plan_review",
1926
+ "type": "string"
1927
+ },
1928
+ "plan": {
1929
+ "additionalProperties": false,
1930
+ "properties": {
1931
+ "content": {
1932
+ "additionalProperties": false,
1933
+ "properties": {
1934
+ "format": {
1935
+ "enum": [
1936
+ "plain_text",
1937
+ "markdown"
1938
+ ],
1939
+ "type": "string"
1940
+ },
1941
+ "kind": {
1942
+ "const": "text",
1943
+ "type": "string"
1944
+ },
1945
+ "text": {
1946
+ "maxLength": 49152,
1947
+ "minLength": 1,
1948
+ "type": "string"
1949
+ }
1950
+ },
1951
+ "readOnly": true,
1952
+ "required": [
1953
+ "kind",
1954
+ "format",
1955
+ "text"
1956
+ ],
1957
+ "type": "object"
1958
+ },
1959
+ "planId": {
1960
+ "maxLength": 128,
1961
+ "minLength": 1,
1962
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1963
+ "type": "string"
1964
+ },
1965
+ "revision": {
1966
+ "maxLength": 128,
1967
+ "minLength": 1,
1968
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
1969
+ "type": "string"
1970
+ },
1971
+ "title": {
1972
+ "$ref": "#/$defs/__schema1"
1973
+ }
1974
+ },
1975
+ "readOnly": true,
1976
+ "required": [
1977
+ "planId",
1978
+ "revision",
1979
+ "title",
1980
+ "content"
1981
+ ],
1982
+ "type": "object"
1983
+ },
1984
+ "requestId": {
1985
+ "$ref": "#/$defs/__schema0"
1986
+ },
1987
+ "sessionId": {
1988
+ "$ref": "#/$defs/__schema0"
1989
+ },
1990
+ "title": {
1991
+ "$ref": "#/$defs/__schema1"
1992
+ }
1993
+ },
1994
+ "readOnly": true,
1995
+ "required": [
1996
+ "requestId",
1997
+ "sessionId",
1998
+ "title",
1999
+ "kind",
2000
+ "plan",
2001
+ "choices"
2002
+ ],
2003
+ "type": "object"
2004
+ }
2005
+ ]
2006
+ }
2007
+ };
2008
+ const AGENT_SESSION_RESPONSE_JSON_SCHEMA = {
2009
+ "contractId": "agenai.agent-protocol.session-response",
2010
+ "protocolVersion": 12,
2011
+ "direction": "input",
2012
+ "dialect": "https://json-schema.org/draft/2020-12/schema",
2013
+ "parserInvariants": [
2014
+ "bounded_acyclic_json_data",
2015
+ "utf16_text_lengths",
2016
+ "utf8_field_bytes",
2017
+ "serialized_utf8_bytes",
2018
+ "offered_choice_membership",
2019
+ "offered_action_correlation",
2020
+ "field_answer_correlation",
2021
+ "unique_choice_selections",
2022
+ "exact_plan_revision",
2023
+ "request_kind_correlation"
2024
+ ],
2025
+ "sha256": "59568a450789083c577a95c4146caf76e83b1bb3f1fb605776b826079b27426f",
2026
+ "schema": {
2027
+ "$defs": {
2028
+ "__schema0": {
2029
+ "maxLength": 128,
2030
+ "minLength": 1,
2031
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
2032
+ "type": "string"
2033
+ },
2034
+ "__schema1": {
2035
+ "oneOf": [
2036
+ {
2037
+ "additionalProperties": false,
2038
+ "properties": {
2039
+ "fieldId": {
2040
+ "$ref": "#/$defs/__schema2"
2041
+ },
2042
+ "kind": {
2043
+ "const": "text",
2044
+ "type": "string"
2045
+ },
2046
+ "value": {
2047
+ "$ref": "#/$defs/__schema3"
2048
+ }
2049
+ },
2050
+ "readOnly": true,
2051
+ "required": [
2052
+ "fieldId",
2053
+ "kind",
2054
+ "value"
2055
+ ],
2056
+ "type": "object"
2057
+ },
2058
+ {
2059
+ "additionalProperties": false,
2060
+ "properties": {
2061
+ "fieldId": {
2062
+ "$ref": "#/$defs/__schema2"
2063
+ },
2064
+ "kind": {
2065
+ "const": "single_select",
2066
+ "type": "string"
2067
+ },
2068
+ "other": {
2069
+ "$ref": "#/$defs/__schema3"
2070
+ },
2071
+ "value": {
2072
+ "$ref": "#/$defs/__schema4"
2073
+ }
2074
+ },
2075
+ "readOnly": true,
2076
+ "required": [
2077
+ "fieldId",
2078
+ "kind"
2079
+ ],
2080
+ "type": "object"
2081
+ },
2082
+ {
2083
+ "additionalProperties": false,
2084
+ "properties": {
2085
+ "fieldId": {
2086
+ "$ref": "#/$defs/__schema2"
2087
+ },
2088
+ "kind": {
2089
+ "const": "multi_select",
2090
+ "type": "string"
2091
+ },
2092
+ "other": {
2093
+ "$ref": "#/$defs/__schema3"
2094
+ },
2095
+ "values": {
2096
+ "items": {
2097
+ "$ref": "#/$defs/__schema4"
2098
+ },
2099
+ "maxItems": 100,
2100
+ "readOnly": true,
2101
+ "type": "array"
2102
+ }
2103
+ },
2104
+ "readOnly": true,
2105
+ "required": [
2106
+ "fieldId",
2107
+ "kind",
2108
+ "values"
2109
+ ],
2110
+ "type": "object"
2111
+ },
2112
+ {
2113
+ "additionalProperties": false,
2114
+ "properties": {
2115
+ "fieldId": {
2116
+ "$ref": "#/$defs/__schema2"
2117
+ },
2118
+ "kind": {
2119
+ "const": "boolean",
2120
+ "type": "string"
2121
+ },
2122
+ "value": {
2123
+ "type": "boolean"
2124
+ }
2125
+ },
2126
+ "readOnly": true,
2127
+ "required": [
2128
+ "fieldId",
2129
+ "kind",
2130
+ "value"
2131
+ ],
2132
+ "type": "object"
2133
+ },
2134
+ {
2135
+ "additionalProperties": false,
2136
+ "properties": {
2137
+ "confirmed": {
2138
+ "type": "boolean"
2139
+ },
2140
+ "fieldId": {
2141
+ "$ref": "#/$defs/__schema2"
2142
+ },
2143
+ "kind": {
2144
+ "const": "confirmation",
2145
+ "type": "string"
2146
+ }
2147
+ },
2148
+ "readOnly": true,
2149
+ "required": [
2150
+ "fieldId",
2151
+ "kind",
2152
+ "confirmed"
2153
+ ],
2154
+ "type": "object"
2155
+ }
2156
+ ]
2157
+ },
2158
+ "__schema2": {
2159
+ "maxLength": 256,
2160
+ "minLength": 1,
2161
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
2162
+ "type": "string"
2163
+ },
2164
+ "__schema3": {
2165
+ "maxLength": 4e3,
2166
+ "pattern": "\\S",
2167
+ "type": "string"
2168
+ },
2169
+ "__schema4": {
2170
+ "allOf": [
2171
+ {
2172
+ "$ref": "#/$defs/__schema2"
2173
+ },
2174
+ {
2175
+ "maxLength": 160,
2176
+ "type": "string"
2177
+ }
2178
+ ]
2179
+ },
2180
+ "__schema5": {
2181
+ "const": "plan_review",
2182
+ "type": "string"
2183
+ },
2184
+ "__schema6": {
2185
+ "maxLength": 128,
2186
+ "minLength": 1,
2187
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
2188
+ "type": "string"
2189
+ },
2190
+ "__schema7": {
2191
+ "maxLength": 128,
2192
+ "minLength": 1,
2193
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
2194
+ "type": "string"
2195
+ },
2196
+ "__schema8": {
2197
+ "maxLength": 128,
2198
+ "minLength": 1,
2199
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
2200
+ "type": "string"
247
2201
  }
248
2202
  },
249
- "readOnly": true,
250
- "required": [
251
- "choiceId"
252
- ],
253
- "type": "object"
2203
+ "$id": "urn:agenai.agent-protocol.session-response:v12:input",
2204
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2205
+ "anyOf": [
2206
+ {
2207
+ "additionalProperties": false,
2208
+ "properties": {
2209
+ "choiceId": {
2210
+ "maxLength": 128,
2211
+ "minLength": 1,
2212
+ "pattern": "^(?![\\s\\S]*[\\u0000-\\u001F\\u007F-\\u009F])\\S(?:[\\s\\S]*\\S)?$",
2213
+ "type": "string"
2214
+ },
2215
+ "kind": {
2216
+ "const": "decision",
2217
+ "type": "string"
2218
+ }
2219
+ },
2220
+ "readOnly": true,
2221
+ "required": [
2222
+ "kind",
2223
+ "choiceId"
2224
+ ],
2225
+ "type": "object"
2226
+ },
2227
+ {
2228
+ "oneOf": [
2229
+ {
2230
+ "additionalProperties": false,
2231
+ "properties": {
2232
+ "action": {
2233
+ "const": "submit",
2234
+ "type": "string"
2235
+ },
2236
+ "answers": {
2237
+ "items": {
2238
+ "$ref": "#/$defs/__schema1"
2239
+ },
2240
+ "maxItems": 16,
2241
+ "readOnly": true,
2242
+ "type": "array"
2243
+ },
2244
+ "choiceId": {
2245
+ "$ref": "#/$defs/__schema0"
2246
+ },
2247
+ "kind": {
2248
+ "const": "form",
2249
+ "type": "string"
2250
+ }
2251
+ },
2252
+ "readOnly": true,
2253
+ "required": [
2254
+ "kind",
2255
+ "action",
2256
+ "choiceId",
2257
+ "answers"
2258
+ ],
2259
+ "type": "object"
2260
+ },
2261
+ {
2262
+ "additionalProperties": false,
2263
+ "properties": {
2264
+ "action": {
2265
+ "const": "cancel",
2266
+ "type": "string"
2267
+ },
2268
+ "choiceId": {
2269
+ "$ref": "#/$defs/__schema0"
2270
+ },
2271
+ "kind": {
2272
+ "const": "form",
2273
+ "type": "string"
2274
+ }
2275
+ },
2276
+ "readOnly": true,
2277
+ "required": [
2278
+ "kind",
2279
+ "action",
2280
+ "choiceId"
2281
+ ],
2282
+ "type": "object"
2283
+ }
2284
+ ]
2285
+ },
2286
+ {
2287
+ "oneOf": [
2288
+ {
2289
+ "additionalProperties": false,
2290
+ "properties": {
2291
+ "action": {
2292
+ "enum": [
2293
+ "approve",
2294
+ "abandon"
2295
+ ],
2296
+ "type": "string"
2297
+ },
2298
+ "choiceId": {
2299
+ "$ref": "#/$defs/__schema6"
2300
+ },
2301
+ "kind": {
2302
+ "$ref": "#/$defs/__schema5"
2303
+ },
2304
+ "planId": {
2305
+ "$ref": "#/$defs/__schema7"
2306
+ },
2307
+ "revision": {
2308
+ "$ref": "#/$defs/__schema8"
2309
+ }
2310
+ },
2311
+ "readOnly": true,
2312
+ "required": [
2313
+ "kind",
2314
+ "choiceId",
2315
+ "planId",
2316
+ "revision",
2317
+ "action"
2318
+ ],
2319
+ "type": "object"
2320
+ },
2321
+ {
2322
+ "additionalProperties": false,
2323
+ "properties": {
2324
+ "action": {
2325
+ "const": "revise",
2326
+ "type": "string"
2327
+ },
2328
+ "choiceId": {
2329
+ "$ref": "#/$defs/__schema6"
2330
+ },
2331
+ "feedback": {
2332
+ "maxLength": 4e3,
2333
+ "minLength": 1,
2334
+ "pattern": "\\S",
2335
+ "type": "string"
2336
+ },
2337
+ "kind": {
2338
+ "$ref": "#/$defs/__schema5"
2339
+ },
2340
+ "planId": {
2341
+ "$ref": "#/$defs/__schema7"
2342
+ },
2343
+ "revision": {
2344
+ "$ref": "#/$defs/__schema8"
2345
+ }
2346
+ },
2347
+ "readOnly": true,
2348
+ "required": [
2349
+ "kind",
2350
+ "choiceId",
2351
+ "planId",
2352
+ "revision",
2353
+ "action",
2354
+ "feedback"
2355
+ ],
2356
+ "type": "object"
2357
+ }
2358
+ ]
2359
+ }
2360
+ ]
254
2361
  }
255
2362
  };
256
2363
  const AGENT_ERROR_JSON_SCHEMA = {
257
2364
  "contractId": "agenai.agent-protocol.error",
258
- "protocolVersion": 11,
2365
+ "protocolVersion": 12,
259
2366
  "direction": "output",
260
2367
  "dialect": "https://json-schema.org/draft/2020-12/schema",
261
2368
  "parserInvariants": [
@@ -263,7 +2370,7 @@ const AGENT_ERROR_JSON_SCHEMA = {
263
2370
  "quota_reset_observation_ordering",
264
2371
  "serialized_failure_bytes"
265
2372
  ],
266
- "sha256": "ae06691d4cea4ed6e3dd30b77f1fb8fb7261b3b5b129160510ed1e7f2376bd30",
2373
+ "sha256": "f517a080716086e87dbad0e1132cb304c9387901dbe1f007a41763e297bd63ce",
267
2374
  "schema": {
268
2375
  "$defs": {
269
2376
  "__schema0": {
@@ -486,7 +2593,7 @@ const AGENT_ERROR_JSON_SCHEMA = {
486
2593
  "type": "string"
487
2594
  }
488
2595
  },
489
- "$id": "urn:agenai.agent-protocol.error:v11:output",
2596
+ "$id": "urn:agenai.agent-protocol.error:v12:output",
490
2597
  "$ref": "#/$defs/__schema0",
491
2598
  "$schema": "https://json-schema.org/draft/2020-12/schema",
492
2599
  "readOnly": true
@@ -494,7 +2601,7 @@ const AGENT_ERROR_JSON_SCHEMA = {
494
2601
  };
495
2602
  const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
496
2603
  "contractId": "agenai.agent-protocol.effective-content-catalog",
497
- "protocolVersion": 11,
2604
+ "protocolVersion": 12,
498
2605
  "direction": "output",
499
2606
  "dialect": "https://json-schema.org/draft/2020-12/schema",
500
2607
  "parserInvariants": [
@@ -505,7 +2612,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
505
2612
  "aggregate_collection_limits",
506
2613
  "effective_content_semantics"
507
2614
  ],
508
- "sha256": "c7891798f3ae28a0d8539bf69fa8230439245c285eda43c25d3db0ae7ee7d05f",
2615
+ "sha256": "0847560cf807027093ea8d67b66e760cf2255c8d420faccb3b3b2c2e5a57fb63",
509
2616
  "schema": {
510
2617
  "$defs": {
511
2618
  "__schema0": {
@@ -703,7 +2810,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
703
2810
  "type": "integer"
704
2811
  }
705
2812
  },
706
- "$id": "urn:agenai.agent-protocol.effective-content-catalog:v11:output",
2813
+ "$id": "urn:agenai.agent-protocol.effective-content-catalog:v12:output",
707
2814
  "$schema": "https://json-schema.org/draft/2020-12/schema",
708
2815
  "additionalProperties": false,
709
2816
  "properties": {
@@ -735,7 +2842,7 @@ const AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA = {
735
2842
  };
736
2843
  const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
737
2844
  "contractId": "agenai.agent-protocol.command-catalog",
738
- "protocolVersion": 11,
2845
+ "protocolVersion": 12,
739
2846
  "direction": "output",
740
2847
  "dialect": "https://json-schema.org/draft/2020-12/schema",
741
2848
  "parserInvariants": [
@@ -745,7 +2852,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
745
2852
  "serialized_utf8_bytes",
746
2853
  "aggregate_collection_limits"
747
2854
  ],
748
- "sha256": "8da01088ff582dad538061782b756f82ca53cf30ddf78bb8544dd8ad052e3b41",
2855
+ "sha256": "f3bbb3955f0dd5edf8f9d378a5710d4738f56eb640cecf3106282fe4515332cf",
749
2856
  "schema": {
750
2857
  "$defs": {
751
2858
  "__schema0": {
@@ -883,7 +2990,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
883
2990
  "type": "string"
884
2991
  }
885
2992
  },
886
- "$id": "urn:agenai.agent-protocol.command-catalog:v11:output",
2993
+ "$id": "urn:agenai.agent-protocol.command-catalog:v12:output",
887
2994
  "$schema": "https://json-schema.org/draft/2020-12/schema",
888
2995
  "additionalProperties": false,
889
2996
  "properties": {
@@ -915,7 +3022,7 @@ const AGENT_COMMAND_CATALOG_JSON_SCHEMA = {
915
3022
  };
916
3023
  const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
917
3024
  "contractId": "agenai.agent-protocol.extension-catalog",
918
- "protocolVersion": 11,
3025
+ "protocolVersion": 12,
919
3026
  "direction": "output",
920
3027
  "dialect": "https://json-schema.org/draft/2020-12/schema",
921
3028
  "parserInvariants": [
@@ -925,7 +3032,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
925
3032
  "serialized_utf8_bytes",
926
3033
  "aggregate_collection_limits"
927
3034
  ],
928
- "sha256": "c8cf27886e00b7172ba7c99def2129c9e7c2781b7a4175baf5c1db812561098e",
3035
+ "sha256": "ffe2607b4631a348936d85280a967b191a9acf3fbef60438aadde0ce1e54f18a",
929
3036
  "schema": {
930
3037
  "$defs": {
931
3038
  "__schema0": {
@@ -1237,7 +3344,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
1237
3344
  "type": "string"
1238
3345
  }
1239
3346
  },
1240
- "$id": "urn:agenai.agent-protocol.extension-catalog:v11:output",
3347
+ "$id": "urn:agenai.agent-protocol.extension-catalog:v12:output",
1241
3348
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1242
3349
  "additionalProperties": false,
1243
3350
  "properties": {
@@ -1269,7 +3376,7 @@ const AGENT_EXTENSION_CATALOG_JSON_SCHEMA = {
1269
3376
  };
1270
3377
  const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1271
3378
  "contractId": "agenai.agent-protocol.environment-snapshot",
1272
- "protocolVersion": 11,
3379
+ "protocolVersion": 12,
1273
3380
  "direction": "output",
1274
3381
  "dialect": "https://json-schema.org/draft/2020-12/schema",
1275
3382
  "parserInvariants": [
@@ -1280,7 +3387,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
1280
3387
  "aggregate_collection_limits",
1281
3388
  "effective_content_semantics"
1282
3389
  ],
1283
- "sha256": "4ccf3f2abb99a0a161c93a6deb941af18f777f82fdf5cf3fd7ba16aa9a193a2a",
3390
+ "sha256": "a83a11ebb0a3a3cc8a11ee2c49255dac1c0f3847c6a471716a7d5dbef99ff053",
1284
3391
  "schema": {
1285
3392
  "$defs": {
1286
3393
  "__schema0": {
@@ -2214,7 +4321,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
2214
4321
  "type": "string"
2215
4322
  }
2216
4323
  },
2217
- "$id": "urn:agenai.agent-protocol.environment-snapshot:v11:output",
4324
+ "$id": "urn:agenai.agent-protocol.environment-snapshot:v12:output",
2218
4325
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2219
4326
  "additionalProperties": false,
2220
4327
  "properties": {
@@ -2390,7 +4497,7 @@ const AGENT_ENVIRONMENT_SNAPSHOT_JSON_SCHEMA = {
2390
4497
  };
2391
4498
  const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2392
4499
  "contractId": "agenai.agent-protocol.account-quota-snapshot",
2393
- "protocolVersion": 11,
4500
+ "protocolVersion": 12,
2394
4501
  "direction": "output",
2395
4502
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2396
4503
  "parserInvariants": [
@@ -2401,7 +4508,7 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2401
4508
  "unique_model_ids",
2402
4509
  "unique_pool_window_ids"
2403
4510
  ],
2404
- "sha256": "b50a79ca588431ee8d60688b2c7a72a847fe09485b4f9fa1003ca7c485646707",
4511
+ "sha256": "bb3af011c21fc916a1b602222a106d25d324beadc88e9897730b71427177007b",
2405
4512
  "schema": {
2406
4513
  "$defs": {
2407
4514
  "__schema0": {
@@ -2790,7 +4897,7 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2790
4897
  "type": "integer"
2791
4898
  }
2792
4899
  },
2793
- "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v11:output",
4900
+ "$id": "urn:agenai.agent-protocol.account-quota-snapshot:v12:output",
2794
4901
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2795
4902
  "oneOf": [
2796
4903
  {
@@ -2962,11 +5069,11 @@ const AGENT_ACCOUNT_QUOTA_SNAPSHOT_JSON_SCHEMA = {
2962
5069
  };
2963
5070
  const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2964
5071
  "contractId": "agenai.agent-protocol.session-binding",
2965
- "protocolVersion": 11,
5072
+ "protocolVersion": 12,
2966
5073
  "direction": "output",
2967
5074
  "dialect": "https://json-schema.org/draft/2020-12/schema",
2968
5075
  "parserInvariants": [],
2969
- "sha256": "0470e57d843a450d941b2bfcce4bd823b862eb54db542fcb4bffd817d0088c8f",
5076
+ "sha256": "a0e0c8deb1d16282b269c3fe224f70fa207365e467e63f76ce0b755a9330643e",
2970
5077
  "schema": {
2971
5078
  "$defs": {
2972
5079
  "__schema0": {
@@ -2976,7 +5083,7 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2976
5083
  "type": "string"
2977
5084
  }
2978
5085
  },
2979
- "$id": "urn:agenai.agent-protocol.session-binding:v11:output",
5086
+ "$id": "urn:agenai.agent-protocol.session-binding:v12:output",
2980
5087
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2981
5088
  "additionalProperties": false,
2982
5089
  "properties": {
@@ -2996,14 +5103,14 @@ const AGENT_SESSION_BINDING_JSON_SCHEMA = {
2996
5103
  };
2997
5104
  const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
2998
5105
  "contractId": "agenai.agent-protocol.session-configuration",
2999
- "protocolVersion": 11,
5106
+ "protocolVersion": 12,
3000
5107
  "direction": "input",
3001
5108
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3002
5109
  "parserInvariants": [
3003
5110
  "configuration_entry_count",
3004
5111
  "serialized_bytes"
3005
5112
  ],
3006
- "sha256": "2cbe0cfc4e088a72166488759bb727c607e330da7d7d91f07005dfafe463aa33",
5113
+ "sha256": "ef181c620f5d22d1d26930a5a34c1fefb69b5c35ff5673731457740b57f5f1d6",
3007
5114
  "schema": {
3008
5115
  "$defs": {
3009
5116
  "__schema0": {
@@ -3116,7 +5223,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
3116
5223
  "type": "object"
3117
5224
  }
3118
5225
  },
3119
- "$id": "urn:agenai.agent-protocol.session-configuration:v11:input",
5226
+ "$id": "urn:agenai.agent-protocol.session-configuration:v12:input",
3120
5227
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3121
5228
  "oneOf": [
3122
5229
  {
@@ -3173,7 +5280,7 @@ const AGENT_SESSION_CONFIGURATION_JSON_SCHEMA = {
3173
5280
  };
3174
5281
  const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
3175
5282
  "contractId": "agenai.agent-protocol.session-open-input",
3176
- "protocolVersion": 11,
5283
+ "protocolVersion": 12,
3177
5284
  "direction": "input",
3178
5285
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3179
5286
  "parserInvariants": [
@@ -3181,7 +5288,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
3181
5288
  "distinct_branch_session_ids",
3182
5289
  "serialized_bytes"
3183
5290
  ],
3184
- "sha256": "5522a5a07b91450132add991e65242efe0cefb214a56b9e672f4369c7b41c83a",
5291
+ "sha256": "d4b2a773a6218053b5af388f4c0137d692db71f68a9ba87bb7c1a026bb75ae71",
3185
5292
  "schema": {
3186
5293
  "$defs": {
3187
5294
  "__schema0": {
@@ -3369,7 +5476,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
3369
5476
  "type": "string"
3370
5477
  }
3371
5478
  },
3372
- "$id": "urn:agenai.agent-protocol.session-open-input:v11:input",
5479
+ "$id": "urn:agenai.agent-protocol.session-open-input:v12:input",
3373
5480
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3374
5481
  "oneOf": [
3375
5482
  {
@@ -3483,7 +5590,7 @@ const AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA = {
3483
5590
  };
3484
5591
  const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3485
5592
  "contractId": "agenai.agent-protocol.turn-input-content",
3486
- "protocolVersion": 11,
5593
+ "protocolVersion": 12,
3487
5594
  "direction": "input",
3488
5595
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3489
5596
  "parserInvariants": [
@@ -3492,7 +5599,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3492
5599
  "content_reference_limits",
3493
5600
  "unique_content_references"
3494
5601
  ],
3495
- "sha256": "c9310173742c3a189186c1473609d5fd5eeafab9d85dfefb4c2990f267d2d181",
5602
+ "sha256": "eee63c4fdb10e0c34f270cf7bad87d5affe3c818907ea028e4e515d286a7d7a9",
3496
5603
  "schema": {
3497
5604
  "$defs": {
3498
5605
  "__schema0": {
@@ -3748,7 +5855,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3748
5855
  "type": "integer"
3749
5856
  }
3750
5857
  },
3751
- "$id": "urn:agenai.agent-protocol.turn-input-content:v11:input",
5858
+ "$id": "urn:agenai.agent-protocol.turn-input-content:v12:input",
3752
5859
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3753
5860
  "additionalProperties": false,
3754
5861
  "properties": {
@@ -3767,7 +5874,7 @@ const AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA = {
3767
5874
  };
3768
5875
  const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3769
5876
  "contractId": "agenai.agent-protocol.turn-run-input",
3770
- "protocolVersion": 11,
5877
+ "protocolVersion": 12,
3771
5878
  "direction": "input",
3772
5879
  "dialect": "https://json-schema.org/draft/2020-12/schema",
3773
5880
  "parserInvariants": [
@@ -3776,7 +5883,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
3776
5883
  "content_reference_limits",
3777
5884
  "unique_content_references"
3778
5885
  ],
3779
- "sha256": "38a384ecd2b02727282d109193f2e8f489989329d94311e7e09684686130dccd",
5886
+ "sha256": "8c1d5d0ee4da9915de04ae6abf9d6052e0d7c6995bb27cdf30cb1d231d66fbc3",
3780
5887
  "schema": {
3781
5888
  "$defs": {
3782
5889
  "__schema0": {
@@ -4019,7 +6126,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
4019
6126
  "type": "string"
4020
6127
  }
4021
6128
  },
4022
- "$id": "urn:agenai.agent-protocol.turn-run-input:v11:input",
6129
+ "$id": "urn:agenai.agent-protocol.turn-run-input:v12:input",
4023
6130
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4024
6131
  "additionalProperties": false,
4025
6132
  "properties": {
@@ -4063,7 +6170,7 @@ const AGENT_TURN_RUN_INPUT_JSON_SCHEMA = {
4063
6170
  };
4064
6171
  const AGENT_REQUEST_JSON_SCHEMA = {
4065
6172
  "contractId": "agenai.agent-protocol.request",
4066
- "protocolVersion": 11,
6173
+ "protocolVersion": 12,
4067
6174
  "direction": "output",
4068
6175
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4069
6176
  "parserInvariants": [
@@ -4071,7 +6178,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
4071
6178
  "unique_field_ids",
4072
6179
  "unique_choice_values"
4073
6180
  ],
4074
- "sha256": "4edb1519aeef90678e537f30cead0e5b6f2fed309e18848a5ec430c8551e320a",
6181
+ "sha256": "820f8ec4aedf1ec3c39ef2778ad22101214d5e5bde389fa61720700f6aa82a4a",
4075
6182
  "schema": {
4076
6183
  "$defs": {
4077
6184
  "__schema0": {
@@ -4490,7 +6597,7 @@ const AGENT_REQUEST_JSON_SCHEMA = {
4490
6597
  "type": "string"
4491
6598
  }
4492
6599
  },
4493
- "$id": "urn:agenai.agent-protocol.request:v11:output",
6600
+ "$id": "urn:agenai.agent-protocol.request:v12:output",
4494
6601
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4495
6602
  "oneOf": [
4496
6603
  {
@@ -4633,14 +6740,14 @@ const AGENT_REQUEST_JSON_SCHEMA = {
4633
6740
  };
4634
6741
  const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4635
6742
  "contractId": "agenai.agent-protocol.request-resolution",
4636
- "protocolVersion": 11,
6743
+ "protocolVersion": 12,
4637
6744
  "direction": "input",
4638
6745
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4639
6746
  "parserInvariants": [
4640
6747
  "request_resolution_correlation",
4641
6748
  "unique_choice_selections"
4642
6749
  ],
4643
- "sha256": "8b19e0157eaed5dbedc062533c1044d9a535734ad613119d1f4be35d1275d91e",
6750
+ "sha256": "a1c40382d2f5e529af21b7ef640dc85a9ea6a1327a26f2af87eaa75e102ef4a1",
4644
6751
  "schema": {
4645
6752
  "$defs": {
4646
6753
  "__schema0": {
@@ -4790,7 +6897,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4790
6897
  ]
4791
6898
  }
4792
6899
  },
4793
- "$id": "urn:agenai.agent-protocol.request-resolution:v11:input",
6900
+ "$id": "urn:agenai.agent-protocol.request-resolution:v12:input",
4794
6901
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4795
6902
  "anyOf": [
4796
6903
  {
@@ -4907,7 +7014,7 @@ const AGENT_REQUEST_RESOLUTION_JSON_SCHEMA = {
4907
7014
  };
4908
7015
  const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4909
7016
  "contractId": "agenai.agent-protocol.operation-catalog",
4910
- "protocolVersion": 11,
7017
+ "protocolVersion": 12,
4911
7018
  "direction": "output",
4912
7019
  "dialect": "https://json-schema.org/draft/2020-12/schema",
4913
7020
  "parserInvariants": [
@@ -4916,7 +7023,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
4916
7023
  "unique_operation_ids",
4917
7024
  "unique_operation_option_ids"
4918
7025
  ],
4919
- "sha256": "0ef411f518d26426b916908c8020f248112c6b31373495071488d9df14a5d17a",
7026
+ "sha256": "364f9f403147f0d5837cc089d7a162dc9714244aaa2c775b5ac7714bd49ca989",
4920
7027
  "schema": {
4921
7028
  "$defs": {
4922
7029
  "__schema0": {
@@ -5290,7 +7397,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
5290
7397
  "type": "array"
5291
7398
  }
5292
7399
  },
5293
- "$id": "urn:agenai.agent-protocol.operation-catalog:v11:output",
7400
+ "$id": "urn:agenai.agent-protocol.operation-catalog:v12:output",
5294
7401
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5295
7402
  "additionalProperties": false,
5296
7403
  "properties": {
@@ -5316,7 +7423,7 @@ const AGENT_OPERATION_CATALOG_JSON_SCHEMA = {
5316
7423
  };
5317
7424
  const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5318
7425
  "contractId": "agenai.agent-protocol.operation-invocation",
5319
- "protocolVersion": 11,
7426
+ "protocolVersion": 12,
5320
7427
  "direction": "input",
5321
7428
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5322
7429
  "parserInvariants": [
@@ -5324,7 +7431,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5324
7431
  "operation_revision_correlation",
5325
7432
  "unique_operation_values"
5326
7433
  ],
5327
- "sha256": "68ea472ff0323a608c6de64c059368b548a46c8874b1601005c0dc486cc4d00c",
7434
+ "sha256": "1e2184bae7fa83e93594a33c2e5c12196c1b6b8120d3893c81cd0a8e4f486449",
5328
7435
  "schema": {
5329
7436
  "$defs": {
5330
7437
  "__schema0": {
@@ -5457,7 +7564,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5457
7564
  ]
5458
7565
  }
5459
7566
  },
5460
- "$id": "urn:agenai.agent-protocol.operation-invocation:v11:input",
7567
+ "$id": "urn:agenai.agent-protocol.operation-invocation:v12:input",
5461
7568
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5462
7569
  "additionalProperties": false,
5463
7570
  "properties": {
@@ -5493,7 +7600,7 @@ const AGENT_OPERATION_INVOCATION_JSON_SCHEMA = {
5493
7600
  };
5494
7601
  const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5495
7602
  "contractId": "agenai.agent-protocol.operation-result",
5496
- "protocolVersion": 11,
7603
+ "protocolVersion": 12,
5497
7604
  "direction": "output",
5498
7605
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5499
7606
  "parserInvariants": [
@@ -5505,7 +7612,7 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5505
7612
  "operation_result_kind_consistency",
5506
7613
  "unique_operation_result_references"
5507
7614
  ],
5508
- "sha256": "812a90ec49a85cd14f4bc1d5d006389af0d96083aed3e9b0aa83f42ce3826c52",
7615
+ "sha256": "35035d2a1dd4370eed5714cbfd6aaa5c5d6f576137f5844d5236bdeec738eb80",
5509
7616
  "schema": {
5510
7617
  "$defs": {
5511
7618
  "__schema0": {
@@ -5728,7 +7835,7 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5728
7835
  "type": "object"
5729
7836
  }
5730
7837
  },
5731
- "$id": "urn:agenai.agent-protocol.operation-result:v11:output",
7838
+ "$id": "urn:agenai.agent-protocol.operation-result:v12:output",
5732
7839
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5733
7840
  "additionalProperties": false,
5734
7841
  "properties": {
@@ -5784,14 +7891,14 @@ const AGENT_OPERATION_RESULT_JSON_SCHEMA = {
5784
7891
  };
5785
7892
  const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5786
7893
  "contractId": "agenai.agent-protocol.managed-content-catalog",
5787
- "protocolVersion": 11,
7894
+ "protocolVersion": 12,
5788
7895
  "direction": "output",
5789
7896
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5790
7897
  "parserInvariants": [
5791
7898
  "canonical_managed_content_order",
5792
7899
  "unique_managed_content_ids"
5793
7900
  ],
5794
- "sha256": "2389cfe395c0bc372827d0713d190cb469eb50fe1c57045f0d9fcdb547cc7b2b",
7901
+ "sha256": "a90e6e07cc09913e091a726c97f278bada81532a902fa5a8a2f0457bb306d491",
5795
7902
  "schema": {
5796
7903
  "$defs": {
5797
7904
  "__schema0": {
@@ -5961,7 +8068,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5961
8068
  "type": "object"
5962
8069
  }
5963
8070
  },
5964
- "$id": "urn:agenai.agent-protocol.managed-content-catalog:v11:output",
8071
+ "$id": "urn:agenai.agent-protocol.managed-content-catalog:v12:output",
5965
8072
  "$schema": "https://json-schema.org/draft/2020-12/schema",
5966
8073
  "additionalProperties": false,
5967
8074
  "properties": {
@@ -5987,7 +8094,7 @@ const AGENT_MANAGED_CONTENT_CATALOG_JSON_SCHEMA = {
5987
8094
  };
5988
8095
  const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5989
8096
  "contractId": "agenai.agent-protocol.configuration-catalog",
5990
- "protocolVersion": 11,
8097
+ "protocolVersion": 12,
5991
8098
  "direction": "output",
5992
8099
  "dialect": "https://json-schema.org/draft/2020-12/schema",
5993
8100
  "parserInvariants": [
@@ -5996,7 +8103,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
5996
8103
  "unique_configuration_field_keys",
5997
8104
  "unique_configuration_option_ids"
5998
8105
  ],
5999
- "sha256": "845a7c25e6a6d997fd0701c4506ab460b58df4436df9ddc59c69b01725ed365f",
8106
+ "sha256": "617faf5f3628f4549c012e28c0cfc6caf8d2379ccec36854c5bab394f508434a",
6000
8107
  "schema": {
6001
8108
  "$defs": {
6002
8109
  "__schema0": {
@@ -6283,7 +8390,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
6283
8390
  "type": "object"
6284
8391
  }
6285
8392
  },
6286
- "$id": "urn:agenai.agent-protocol.configuration-catalog:v11:output",
8393
+ "$id": "urn:agenai.agent-protocol.configuration-catalog:v12:output",
6287
8394
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6288
8395
  "additionalProperties": false,
6289
8396
  "properties": {
@@ -6309,7 +8416,7 @@ const AGENT_CONFIGURATION_CATALOG_JSON_SCHEMA = {
6309
8416
  };
6310
8417
  const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
6311
8418
  "contractId": "agenai.agent-protocol.configuration-selection",
6312
- "protocolVersion": 11,
8419
+ "protocolVersion": 12,
6313
8420
  "direction": "input",
6314
8421
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6315
8422
  "parserInvariants": [
@@ -6317,7 +8424,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
6317
8424
  "configuration_field_correlation",
6318
8425
  "configuration_selection_bounds"
6319
8426
  ],
6320
- "sha256": "0e95604edc0df3bbac51a95195eff1210f94aebffa0143a212ee15d5e94dc779",
8427
+ "sha256": "3683fa6afa098c0684cbc915f94693f28e967ddce032fe2eb217e24037845dd9",
6321
8428
  "schema": {
6322
8429
  "$defs": {
6323
8430
  "__schema0": {
@@ -6332,7 +8439,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
6332
8439
  "type": "integer"
6333
8440
  }
6334
8441
  },
6335
- "$id": "urn:agenai.agent-protocol.configuration-selection:v11:input",
8442
+ "$id": "urn:agenai.agent-protocol.configuration-selection:v12:input",
6336
8443
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6337
8444
  "additionalProperties": false,
6338
8445
  "properties": {
@@ -6438,7 +8545,7 @@ const AGENT_CONFIGURATION_SELECTION_JSON_SCHEMA = {
6438
8545
  };
6439
8546
  const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6440
8547
  "contractId": "agenai.agent-protocol.integration-catalog",
6441
- "protocolVersion": 11,
8548
+ "protocolVersion": 12,
6442
8549
  "direction": "output",
6443
8550
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6444
8551
  "parserInvariants": [
@@ -6448,7 +8555,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6448
8555
  "unique_integration_tool_ids",
6449
8556
  "unique_integration_resource_ids"
6450
8557
  ],
6451
- "sha256": "bd0b1c11ab10baf46c36a3010141b1aaa468b17ec49c58de63000c442d91fbba",
8558
+ "sha256": "3bb0cf6afbcfd7ec0309b51c04a3cf0649ddcfdb049e13965cd8c55564c98a7e",
6452
8559
  "schema": {
6453
8560
  "$defs": {
6454
8561
  "__schema0": {
@@ -6749,7 +8856,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6749
8856
  ]
6750
8857
  }
6751
8858
  },
6752
- "$id": "urn:agenai.agent-protocol.integration-catalog:v11:output",
8859
+ "$id": "urn:agenai.agent-protocol.integration-catalog:v12:output",
6753
8860
  "$schema": "https://json-schema.org/draft/2020-12/schema",
6754
8861
  "additionalProperties": false,
6755
8862
  "properties": {
@@ -6781,7 +8888,7 @@ const AGENT_INTEGRATION_CATALOG_JSON_SCHEMA = {
6781
8888
  };
6782
8889
  const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6783
8890
  "contractId": "agenai.agent-protocol.collaboration-node",
6784
- "protocolVersion": 11,
8891
+ "protocolVersion": 12,
6785
8892
  "direction": "output",
6786
8893
  "dialect": "https://json-schema.org/draft/2020-12/schema",
6787
8894
  "parserInvariants": [
@@ -6793,7 +8900,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
6793
8900
  "collaboration_terminal_error_consistency",
6794
8901
  "collaboration_terminal_timestamp_consistency"
6795
8902
  ],
6796
- "sha256": "82c8296f3a266d23bdafacde5a23b4590a31b8ad4c6b9a37c20f8f5799b018cb",
8903
+ "sha256": "17875794b6dde316675f5c6eef4da86f059bc8feddc644d7f13262ff9a02a3f6",
6797
8904
  "schema": {
6798
8905
  "$defs": {
6799
8906
  "__schema0": {
@@ -7040,7 +9147,7 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
7040
9147
  "type": "string"
7041
9148
  }
7042
9149
  },
7043
- "$id": "urn:agenai.agent-protocol.collaboration-node:v11:output",
9150
+ "$id": "urn:agenai.agent-protocol.collaboration-node:v12:output",
7044
9151
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7045
9152
  "additionalProperties": false,
7046
9153
  "properties": {
@@ -7248,13 +9355,13 @@ const AGENT_COLLABORATION_NODE_JSON_SCHEMA = {
7248
9355
  };
7249
9356
  const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
7250
9357
  "contractId": "agenai.agent-protocol.collaboration-spawn",
7251
- "protocolVersion": 11,
9358
+ "protocolVersion": 12,
7252
9359
  "direction": "input",
7253
9360
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7254
9361
  "parserInvariants": [
7255
9362
  "collaboration_parent_consistency"
7256
9363
  ],
7257
- "sha256": "9f9b78ea921ea76fc75b19d27820b3075bcfbc81c4a4f34d9c71594cecd2e8a4",
9364
+ "sha256": "a76da255998a3466b61631e2be41785b31fd942affb9aa7c18b452c899139077",
7258
9365
  "schema": {
7259
9366
  "$defs": {
7260
9367
  "__schema0": {
@@ -7293,7 +9400,7 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
7293
9400
  "type": "string"
7294
9401
  }
7295
9402
  },
7296
- "$id": "urn:agenai.agent-protocol.collaboration-spawn:v11:input",
9403
+ "$id": "urn:agenai.agent-protocol.collaboration-spawn:v12:input",
7297
9404
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7298
9405
  "additionalProperties": false,
7299
9406
  "properties": {
@@ -7329,13 +9436,13 @@ const AGENT_COLLABORATION_SPAWN_JSON_SCHEMA = {
7329
9436
  };
7330
9437
  const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
7331
9438
  "contractId": "agenai.agent-protocol.collaboration-control",
7332
- "protocolVersion": 11,
9439
+ "protocolVersion": 12,
7333
9440
  "direction": "input",
7334
9441
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7335
9442
  "parserInvariants": [
7336
9443
  "serialized_turn_input_bytes"
7337
9444
  ],
7338
- "sha256": "4cfcca640905c845ba993a4e61c558272fd1959a7de67d3137d499bf3a3e0ddd",
9445
+ "sha256": "608159dd502bfb4f38e3320c9cd58d2535cae03669b682aa618c31f9ec7950df",
7339
9446
  "schema": {
7340
9447
  "$defs": {
7341
9448
  "__schema0": {
@@ -7591,7 +9698,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
7591
9698
  "type": "integer"
7592
9699
  }
7593
9700
  },
7594
- "$id": "urn:agenai.agent-protocol.collaboration-control:v11:input",
9701
+ "$id": "urn:agenai.agent-protocol.collaboration-control:v12:input",
7595
9702
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7596
9703
  "anyOf": [
7597
9704
  {
@@ -7701,7 +9808,7 @@ const AGENT_COLLABORATION_CONTROL_JSON_SCHEMA = {
7701
9808
  };
7702
9809
  const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7703
9810
  "contractId": "agenai.agent-protocol.generated-resource",
7704
- "protocolVersion": 11,
9811
+ "protocolVersion": 12,
7705
9812
  "direction": "output",
7706
9813
  "dialect": "https://json-schema.org/draft/2020-12/schema",
7707
9814
  "parserInvariants": [
@@ -7713,7 +9820,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7713
9820
  "generated_resource_error_consistency",
7714
9821
  "generated_resource_media_consistency"
7715
9822
  ],
7716
- "sha256": "263905ae8335d114ab7324fd5f48622da4fedfc714c6d2830962f61e4f07a040",
9823
+ "sha256": "b999b8acda5f2707cd0a3b4fd8c6920439665ea231af61bf4e550266be2c8f7f",
7717
9824
  "schema": {
7718
9825
  "$defs": {
7719
9826
  "__schema0": {
@@ -7941,7 +10048,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
7941
10048
  "type": "object"
7942
10049
  }
7943
10050
  },
7944
- "$id": "urn:agenai.agent-protocol.generated-resource:v11:output",
10051
+ "$id": "urn:agenai.agent-protocol.generated-resource:v12:output",
7945
10052
  "$schema": "https://json-schema.org/draft/2020-12/schema",
7946
10053
  "additionalProperties": false,
7947
10054
  "properties": {
@@ -8105,7 +10212,7 @@ const AGENT_GENERATED_RESOURCE_JSON_SCHEMA = {
8105
10212
  };
8106
10213
  const AGENT_CAPABILITIES_JSON_SCHEMA = {
8107
10214
  "contractId": "agenai.agent-protocol.capabilities",
8108
- "protocolVersion": 11,
10215
+ "protocolVersion": 12,
8109
10216
  "direction": "output",
8110
10217
  "dialect": "https://json-schema.org/draft/2020-12/schema",
8111
10218
  "parserInvariants": [
@@ -8132,7 +10239,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8132
10239
  "image_input_total_bytes_admits_max_image",
8133
10240
  "image_input_total_bytes_bounded_by_count"
8134
10241
  ],
8135
- "sha256": "3cb17fc5cbf8ea3704b5a28f763e2ab9f73c1a11c949d15069467e756f040f6f",
10242
+ "sha256": "5c965490ad70ed44a1496220e571cfdd5c1ecae8acd25ed341c48d214bd20a9a",
8136
10243
  "schema": {
8137
10244
  "$defs": {
8138
10245
  "__schema0": {
@@ -8678,7 +10785,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
8678
10785
  "type": "object"
8679
10786
  }
8680
10787
  },
8681
- "$id": "urn:agenai.agent-protocol.capabilities:v11:output",
10788
+ "$id": "urn:agenai.agent-protocol.capabilities:v12:output",
8682
10789
  "$schema": "https://json-schema.org/draft/2020-12/schema",
8683
10790
  "additionalProperties": false,
8684
10791
  "properties": {
@@ -9261,7 +11368,7 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
9261
11368
  "type": "object"
9262
11369
  },
9263
11370
  "protocolVersion": {
9264
- "const": 11,
11371
+ "const": 12,
9265
11372
  "type": "number"
9266
11373
  },
9267
11374
  "providerKey": {
@@ -9488,13 +11595,13 @@ const AGENT_CAPABILITIES_JSON_SCHEMA = {
9488
11595
  };
9489
11596
  const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
9490
11597
  "contractId": "agenai.agent-protocol.artifact-descriptor",
9491
- "protocolVersion": 11,
11598
+ "protocolVersion": 12,
9492
11599
  "direction": "output",
9493
11600
  "dialect": "https://json-schema.org/draft/2020-12/schema",
9494
11601
  "parserInvariants": [],
9495
- "sha256": "304425590625d287c9e09b5333ae2cd91094777a66c1d8df9706deae961c2469",
11602
+ "sha256": "7f7c1f3b7de35900f4c2f3071a5934f24ffbe244fd557082746d7b733766b5d3",
9496
11603
  "schema": {
9497
- "$id": "urn:agenai.agent-protocol.artifact-descriptor:v11:output",
11604
+ "$id": "urn:agenai.agent-protocol.artifact-descriptor:v12:output",
9498
11605
  "$schema": "https://json-schema.org/draft/2020-12/schema",
9499
11606
  "additionalProperties": false,
9500
11607
  "properties": {
@@ -9568,7 +11675,7 @@ const AGENT_ARTIFACT_DESCRIPTOR_JSON_SCHEMA = {
9568
11675
  };
9569
11676
  const AGENT_EVENT_JSON_SCHEMA = {
9570
11677
  "contractId": "agenai.agent-protocol.event",
9571
- "protocolVersion": 11,
11678
+ "protocolVersion": 12,
9572
11679
  "direction": "output",
9573
11680
  "dialect": "https://json-schema.org/draft/2020-12/schema",
9574
11681
  "parserInvariants": [
@@ -9585,11 +11692,11 @@ const AGENT_EVENT_JSON_SCHEMA = {
9585
11692
  "serialized_bytes",
9586
11693
  "terminal_error_consistency"
9587
11694
  ],
9588
- "sha256": "6e5b8323a1d9d97c183d5152abef0186c7b17db13191aaf4725fbaf86499cf58",
11695
+ "sha256": "14e4d6b989578430e3ef9bd14a4bc23fdc393969c3107d572addd7a50fca0ea5",
9589
11696
  "schema": {
9590
11697
  "$defs": {
9591
11698
  "__schema0": {
9592
- "const": 11,
11699
+ "const": 12,
9593
11700
  "type": "number"
9594
11701
  },
9595
11702
  "__schema1": {
@@ -11234,7 +13341,7 @@ const AGENT_EVENT_JSON_SCHEMA = {
11234
13341
  "type": "object"
11235
13342
  }
11236
13343
  },
11237
- "$id": "urn:agenai.agent-protocol.event:v11:output",
13344
+ "$id": "urn:agenai.agent-protocol.event:v12:output",
11238
13345
  "$schema": "https://json-schema.org/draft/2020-12/schema",
11239
13346
  "oneOf": [
11240
13347
  {
@@ -11945,6 +14052,62 @@ const AGENT_EVENT_JSON_SCHEMA = {
11945
14052
  ],
11946
14053
  "type": "object"
11947
14054
  },
14055
+ {
14056
+ "additionalProperties": false,
14057
+ "properties": {
14058
+ "occurredAt": {
14059
+ "$ref": "#/$defs/__schema4"
14060
+ },
14061
+ "payload": {
14062
+ "additionalProperties": false,
14063
+ "properties": {
14064
+ "reason": {
14065
+ "enum": [
14066
+ "withdrawn",
14067
+ "expired",
14068
+ "unknown"
14069
+ ],
14070
+ "type": "string"
14071
+ },
14072
+ "requestId": {
14073
+ "$ref": "#/$defs/__schema1"
14074
+ }
14075
+ },
14076
+ "readOnly": true,
14077
+ "required": [
14078
+ "requestId",
14079
+ "reason"
14080
+ ],
14081
+ "type": "object"
14082
+ },
14083
+ "protocolVersion": {
14084
+ "$ref": "#/$defs/__schema0"
14085
+ },
14086
+ "providerRefs": {
14087
+ "$ref": "#/$defs/__schema2"
14088
+ },
14089
+ "sessionId": {
14090
+ "$ref": "#/$defs/__schema1"
14091
+ },
14092
+ "turnId": {
14093
+ "$ref": "#/$defs/__schema1"
14094
+ },
14095
+ "type": {
14096
+ "const": "request.unavailable",
14097
+ "type": "string"
14098
+ }
14099
+ },
14100
+ "readOnly": true,
14101
+ "required": [
14102
+ "protocolVersion",
14103
+ "sessionId",
14104
+ "occurredAt",
14105
+ "type",
14106
+ "turnId",
14107
+ "payload"
14108
+ ],
14109
+ "type": "object"
14110
+ },
11948
14111
  {
11949
14112
  "additionalProperties": false,
11950
14113
  "properties": {
@@ -12985,6 +15148,12 @@ const AGENT_EVENT_JSON_SCHEMA = {
12985
15148
  const AGENT_PROTOCOL_JSON_SCHEMA_REGISTRY = [
12986
15149
  AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA,
12987
15150
  AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA,
15151
+ AGENT_SESSION_FORM_REQUEST_JSON_SCHEMA,
15152
+ AGENT_SESSION_FORM_RESPONSE_JSON_SCHEMA,
15153
+ AGENT_SESSION_PLAN_REVIEW_REQUEST_JSON_SCHEMA,
15154
+ AGENT_SESSION_PLAN_REVIEW_RESPONSE_JSON_SCHEMA,
15155
+ AGENT_SESSION_REQUEST_JSON_SCHEMA,
15156
+ AGENT_SESSION_RESPONSE_JSON_SCHEMA,
12988
15157
  AGENT_ERROR_JSON_SCHEMA,
12989
15158
  AGENT_EFFECTIVE_CONTENT_CATALOG_JSON_SCHEMA,
12990
15159
  AGENT_COMMAND_CATALOG_JSON_SCHEMA,
@@ -13042,7 +15211,13 @@ export {
13042
15211
  AGENT_SESSION_CONFIGURATION_JSON_SCHEMA,
13043
15212
  AGENT_SESSION_DECISION_REQUEST_JSON_SCHEMA,
13044
15213
  AGENT_SESSION_DECISION_RESPONSE_JSON_SCHEMA,
15214
+ AGENT_SESSION_FORM_REQUEST_JSON_SCHEMA,
15215
+ AGENT_SESSION_FORM_RESPONSE_JSON_SCHEMA,
13045
15216
  AGENT_SESSION_OPEN_INPUT_JSON_SCHEMA,
15217
+ AGENT_SESSION_PLAN_REVIEW_REQUEST_JSON_SCHEMA,
15218
+ AGENT_SESSION_PLAN_REVIEW_RESPONSE_JSON_SCHEMA,
15219
+ AGENT_SESSION_REQUEST_JSON_SCHEMA,
15220
+ AGENT_SESSION_RESPONSE_JSON_SCHEMA,
13046
15221
  AGENT_TURN_INPUT_CONTENT_JSON_SCHEMA,
13047
15222
  AGENT_TURN_RUN_INPUT_JSON_SCHEMA
13048
15223
  };