@nylorun/core 0.22.0-beta → 0.23.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/README.md +1 -1
  3. package/dist/compatibility.d.ts +32 -16
  4. package/dist/compatibility.js +33 -17
  5. package/dist/contracts.d.ts +531 -88
  6. package/dist/contracts.js +297 -199
  7. package/dist/define.d.ts +8 -12
  8. package/dist/define.js +7 -11
  9. package/dist/definition/assemble.d.ts +1 -3
  10. package/dist/definition/assemble.js +4 -8
  11. package/dist/definition/bound.d.ts +1 -1
  12. package/dist/definition/delegate.d.ts +5 -0
  13. package/dist/definition/delegate.js +6 -1
  14. package/dist/definition/from.d.ts +4 -2
  15. package/dist/definition/from.js +11 -29
  16. package/dist/definition/http-tool.d.ts +5 -3
  17. package/dist/definition/http-tool.js +8 -5
  18. package/dist/definition/manifest.d.ts +7 -6
  19. package/dist/definition/manifest.js +7 -6
  20. package/dist/definition/mcp.d.ts +1 -1
  21. package/dist/definition/media-reference.d.ts +2 -11
  22. package/dist/definition/media-reference.js +0 -12
  23. package/dist/definition/model-failure.js +1 -0
  24. package/dist/definition/removed.js +1 -0
  25. package/dist/definition/trace.d.ts +0 -7
  26. package/dist/definition/trace.js +0 -34
  27. package/dist/definition/variant.d.ts +1 -1
  28. package/dist/definition/variant.js +1 -3
  29. package/dist/harness-api/artifacts.d.ts +84 -0
  30. package/dist/harness-api/artifacts.js +128 -0
  31. package/dist/harness-api/gates.d.ts +0 -4
  32. package/dist/harness-api/gates.js +0 -4
  33. package/dist/harness-api/harness-api.schema.json +2422 -924
  34. package/dist/harness-api/index.d.ts +9 -6
  35. package/dist/harness-api/index.js +9 -6
  36. package/dist/harness-api/json-schema.js +5 -2
  37. package/dist/harness-api/mcp.d.ts +77 -30
  38. package/dist/harness-api/mcp.js +42 -25
  39. package/dist/harness-api/messages.d.ts +45 -17
  40. package/dist/harness-api/messages.js +20 -5
  41. package/dist/harness-api/schema.d.ts +538 -198
  42. package/dist/harness-api/schema.js +298 -59
  43. package/dist/harness-api/transcript.d.ts +8 -10
  44. package/dist/harness-api/transcript.js +27 -11
  45. package/dist/harness-api/transport.d.ts +7 -1
  46. package/dist/harness-api/transport.js +10 -7
  47. package/dist/schemas/agent-manifest.schema.json +5 -146
  48. package/dist/schemas/environment-manifest.schema.json +56 -16
  49. package/dist/types/manifest.d.ts +3 -13
  50. package/dist/types/model.d.ts +10 -5
  51. package/dist/utils/definition-files.d.ts +20 -6
  52. package/dist/utils/definition-files.js +31 -17
  53. package/dist/utils/file-systems.d.ts +20 -0
  54. package/dist/utils/file-systems.js +20 -0
  55. package/dist/utils/harness-id.d.ts +4 -1
  56. package/dist/utils/harness-id.js +4 -1
  57. package/dist/utils/media-types.d.ts +30 -0
  58. package/dist/utils/media-types.js +128 -0
  59. package/dist/utils/runtime-limits.d.ts +229 -0
  60. package/dist/utils/runtime-limits.js +482 -0
  61. package/dist/utils/runtime-tools.d.ts +8 -16
  62. package/dist/utils/runtime-tools.js +8 -27
  63. package/dist/utils/sandbox.d.ts +4 -1
  64. package/dist/utils/sandbox.js +4 -1
  65. package/package.json +1 -1
  66. package/dist/definition/deferred-tools.d.ts +0 -27
  67. package/dist/definition/deferred-tools.js +0 -82
  68. package/dist/definition/runtime-manifest.d.ts +0 -30
  69. package/dist/definition/runtime-manifest.js +0 -132
  70. package/dist/definition/sandbox-tools.d.ts +0 -5
  71. package/dist/definition/sandbox-tools.js +0 -109
  72. package/dist/definition/skill-tools.d.ts +0 -23
  73. package/dist/definition/skill-tools.js +0 -76
@@ -1,8 +1,59 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://docs.nylorun.com/schemas/harness-api/v3.json",
4
- "title": "Nylorun Harness API 3",
3
+ "$id": "https://docs.nylorun.com/schemas/harness-api/v4.json",
4
+ "title": "Nylorun Harness API 4",
5
5
  "$defs": {
6
+ "ArtifactMeta": {
7
+ "type": "object",
8
+ "properties": {
9
+ "artifactId": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "maxLength": 512
13
+ },
14
+ "kind": {
15
+ "type": "string",
16
+ "enum": [
17
+ "file",
18
+ "folder"
19
+ ]
20
+ },
21
+ "name": {
22
+ "type": "string"
23
+ },
24
+ "version": {
25
+ "type": "integer",
26
+ "minimum": 1,
27
+ "maximum": 9007199254740991
28
+ },
29
+ "contentType": {
30
+ "type": "string"
31
+ },
32
+ "size": {
33
+ "type": "integer",
34
+ "minimum": 0,
35
+ "maximum": 9007199254740991
36
+ },
37
+ "sha256": {
38
+ "type": "string",
39
+ "pattern": "^[0-9a-f]{64}$"
40
+ },
41
+ "tenantWide": {
42
+ "type": "boolean"
43
+ }
44
+ },
45
+ "required": [
46
+ "artifactId",
47
+ "kind",
48
+ "name",
49
+ "version",
50
+ "contentType",
51
+ "size",
52
+ "sha256",
53
+ "tenantWide"
54
+ ],
55
+ "additionalProperties": false
56
+ },
6
57
  "EffectIntent": {
7
58
  "type": "object",
8
59
  "properties": {
@@ -60,6 +111,85 @@
60
111
  "toolName": {
61
112
  "type": "string"
62
113
  },
114
+ "target": {
115
+ "oneOf": [
116
+ {
117
+ "type": "object",
118
+ "properties": {
119
+ "kind": {
120
+ "type": "string",
121
+ "const": "mcp"
122
+ },
123
+ "server": {
124
+ "type": "string",
125
+ "minLength": 1
126
+ },
127
+ "tool": {
128
+ "type": "string",
129
+ "minLength": 1
130
+ }
131
+ },
132
+ "required": [
133
+ "kind",
134
+ "server",
135
+ "tool"
136
+ ],
137
+ "additionalProperties": false
138
+ },
139
+ {
140
+ "type": "object",
141
+ "properties": {
142
+ "kind": {
143
+ "type": "string",
144
+ "const": "http"
145
+ },
146
+ "tool": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ }
150
+ },
151
+ "required": [
152
+ "kind",
153
+ "tool"
154
+ ],
155
+ "additionalProperties": false
156
+ },
157
+ {
158
+ "type": "object",
159
+ "properties": {
160
+ "kind": {
161
+ "type": "string",
162
+ "const": "sandbox"
163
+ }
164
+ },
165
+ "required": [
166
+ "kind"
167
+ ],
168
+ "additionalProperties": false
169
+ },
170
+ {
171
+ "type": "object",
172
+ "properties": {
173
+ "kind": {
174
+ "type": "string",
175
+ "const": "harness"
176
+ }
177
+ },
178
+ "required": [
179
+ "kind"
180
+ ],
181
+ "additionalProperties": false
182
+ }
183
+ ]
184
+ },
185
+ "skill": {
186
+ "type": "string",
187
+ "minLength": 1
188
+ },
189
+ "purpose": {
190
+ "type": "string",
191
+ "const": "summary"
192
+ },
63
193
  "path": {
64
194
  "type": "string"
65
195
  },
@@ -171,7 +301,9 @@
171
301
  "effect_drift",
172
302
  "invalid",
173
303
  "unavailable",
174
- "internal"
304
+ "internal",
305
+ "not_found",
306
+ "limit_exceeded"
175
307
  ]
176
308
  },
177
309
  "message": {
@@ -351,28 +483,159 @@
351
483
  }
352
484
  ]
353
485
  },
354
- "NativeTool": {
486
+ "ModelDescriptor": {
355
487
  "type": "object",
356
488
  "properties": {
357
- "name": {
489
+ "provider": {
358
490
  "type": "string",
359
- "pattern": "^[A-Za-z_][A-Za-z0-9_-]{0,63}$"
491
+ "minLength": 1
360
492
  },
361
- "description": {
493
+ "id": {
362
494
  "type": "string",
363
- "maxLength": 4096
495
+ "minLength": 1
364
496
  },
365
- "inputSchema": {
497
+ "inputs": {
498
+ "minItems": 1,
499
+ "type": "array",
500
+ "items": {
501
+ "type": "string",
502
+ "enum": [
503
+ "text",
504
+ "image",
505
+ "pdf",
506
+ "office",
507
+ "audio",
508
+ "video"
509
+ ]
510
+ }
511
+ },
512
+ "contextWindow": {
513
+ "type": "integer",
514
+ "exclusiveMinimum": 0,
515
+ "maximum": 9007199254740991
516
+ },
517
+ "maxOutputTokens": {
518
+ "type": "integer",
519
+ "exclusiveMinimum": 0,
520
+ "maximum": 9007199254740991
521
+ },
522
+ "reasoning": {
523
+ "type": "boolean"
524
+ }
525
+ },
526
+ "required": [
527
+ "provider",
528
+ "id",
529
+ "inputs",
530
+ "contextWindow",
531
+ "maxOutputTokens"
532
+ ],
533
+ "additionalProperties": false
534
+ },
535
+ "EffectTarget": {
536
+ "oneOf": [
537
+ {
366
538
  "type": "object",
367
- "propertyNames": {
368
- "type": "string"
539
+ "properties": {
540
+ "kind": {
541
+ "type": "string",
542
+ "const": "mcp"
543
+ },
544
+ "server": {
545
+ "type": "string",
546
+ "minLength": 1
547
+ },
548
+ "tool": {
549
+ "type": "string",
550
+ "minLength": 1
551
+ }
369
552
  },
370
- "additionalProperties": {}
553
+ "required": [
554
+ "kind",
555
+ "server",
556
+ "tool"
557
+ ],
558
+ "additionalProperties": false
559
+ },
560
+ {
561
+ "type": "object",
562
+ "properties": {
563
+ "kind": {
564
+ "type": "string",
565
+ "const": "http"
566
+ },
567
+ "tool": {
568
+ "type": "string",
569
+ "minLength": 1
570
+ }
571
+ },
572
+ "required": [
573
+ "kind",
574
+ "tool"
575
+ ],
576
+ "additionalProperties": false
577
+ },
578
+ {
579
+ "type": "object",
580
+ "properties": {
581
+ "kind": {
582
+ "type": "string",
583
+ "const": "sandbox"
584
+ }
585
+ },
586
+ "required": [
587
+ "kind"
588
+ ],
589
+ "additionalProperties": false
590
+ },
591
+ {
592
+ "type": "object",
593
+ "properties": {
594
+ "kind": {
595
+ "type": "string",
596
+ "const": "harness"
597
+ }
598
+ },
599
+ "required": [
600
+ "kind"
601
+ ],
602
+ "additionalProperties": false
603
+ }
604
+ ]
605
+ },
606
+ "TurnEnvironment": {
607
+ "type": "object",
608
+ "properties": {
609
+ "id": {
610
+ "type": "string",
611
+ "minLength": 1,
612
+ "maxLength": 512
613
+ },
614
+ "kind": {
615
+ "type": "string",
616
+ "enum": [
617
+ "virtual",
618
+ "pod",
619
+ "none"
620
+ ]
621
+ },
622
+ "sandbox": {
623
+ "type": "object",
624
+ "properties": {
625
+ "workspace": {
626
+ "type": "string",
627
+ "pattern": "^\\/"
628
+ }
629
+ },
630
+ "required": [
631
+ "workspace"
632
+ ],
633
+ "additionalProperties": false
371
634
  }
372
635
  },
373
636
  "required": [
374
- "name",
375
- "inputSchema"
637
+ "id",
638
+ "kind"
376
639
  ],
377
640
  "additionalProperties": false
378
641
  },
@@ -508,116 +771,18 @@
508
771
  },
509
772
  "additionalProperties": {}
510
773
  },
511
- "mcpSnapshot": {
774
+ "sandbox": {
512
775
  "type": "object",
513
776
  "properties": {
514
- "snapshotSchemaVersion": {
515
- "type": "number",
516
- "const": 1
777
+ "ownerId": {
778
+ "type": "string",
779
+ "minLength": 1,
780
+ "maxLength": 512
517
781
  },
518
- "manifestHash": {
519
- "type": "string"
520
- },
521
- "mcpTools": {
522
- "readOnly": true,
523
- "type": "array",
524
- "items": {
525
- "type": "object",
526
- "properties": {
527
- "agentId": {
528
- "type": "string"
529
- },
530
- "serverName": {
531
- "type": "string"
532
- },
533
- "serverToolName": {
534
- "type": "string"
535
- },
536
- "name": {
537
- "type": "string"
538
- },
539
- "description": {
540
- "type": "string"
541
- },
542
- "inputSchema": {
543
- "type": "object",
544
- "propertyNames": {
545
- "type": "string"
546
- },
547
- "additionalProperties": {}
548
- },
549
- "outputSchema": {
550
- "type": "object",
551
- "propertyNames": {
552
- "type": "string"
553
- },
554
- "additionalProperties": {}
555
- },
556
- "annotations": {
557
- "type": "object",
558
- "properties": {
559
- "readOnlyHint": {
560
- "type": "boolean"
561
- },
562
- "idempotentHint": {
563
- "type": "boolean"
564
- }
565
- }
566
- },
567
- "deferred": {
568
- "type": "boolean",
569
- "const": true
570
- }
571
- },
572
- "required": [
573
- "serverName",
574
- "serverToolName",
575
- "name",
576
- "inputSchema"
577
- ]
578
- }
579
- },
580
- "servers": {
581
- "readOnly": true,
582
- "type": "array",
583
- "items": {
584
- "type": "object",
585
- "properties": {
586
- "agentId": {
587
- "type": "string"
588
- },
589
- "serverName": {
590
- "type": "string"
591
- },
592
- "instructions": {
593
- "type": "string"
594
- }
595
- },
596
- "required": [
597
- "serverName",
598
- "instructions"
599
- ]
600
- }
601
- }
602
- },
603
- "required": [
604
- "snapshotSchemaVersion",
605
- "manifestHash",
606
- "mcpTools"
607
- ]
608
- },
609
- "sandbox": {
610
- "type": "object",
611
- "properties": {
612
- "ownerId": {
613
- "type": "string",
614
- "minLength": 1,
615
- "maxLength": 512
616
- },
617
- "environmentId": {
618
- "type": "string",
619
- "minLength": 1,
620
- "maxLength": 512
782
+ "environmentId": {
783
+ "type": "string",
784
+ "minLength": 1,
785
+ "maxLength": 512
621
786
  },
622
787
  "spec": {},
623
788
  "environment": {
@@ -659,29 +824,102 @@
659
824
  "additionalProperties": false
660
825
  },
661
826
  "TranscriptUpdate": {
662
- "type": "object",
663
- "properties": {
664
- "keep": {
665
- "type": "integer",
666
- "minimum": 0,
667
- "maximum": 9007199254740991
668
- },
669
- "entries": {
670
- "type": "array",
671
- "items": {}
827
+ "anyOf": [
828
+ {
829
+ "type": "object",
830
+ "properties": {
831
+ "keep": {
832
+ "type": "integer",
833
+ "minimum": 0,
834
+ "maximum": 9007199254740991
835
+ },
836
+ "entries": {
837
+ "type": "array",
838
+ "items": {}
839
+ },
840
+ "length": {
841
+ "type": "integer",
842
+ "minimum": 0,
843
+ "maximum": 9007199254740991
844
+ }
845
+ },
846
+ "required": [
847
+ "keep",
848
+ "entries",
849
+ "length"
850
+ ],
851
+ "additionalProperties": false
672
852
  },
673
- "length": {
674
- "type": "integer",
675
- "minimum": 0,
676
- "maximum": 9007199254740991
853
+ {
854
+ "type": "object",
855
+ "properties": {
856
+ "kind": {
857
+ "type": "string",
858
+ "const": "compaction"
859
+ },
860
+ "keep": {
861
+ "type": "integer",
862
+ "minimum": 0,
863
+ "maximum": 9007199254740991
864
+ },
865
+ "entries": {
866
+ "type": "array",
867
+ "items": {}
868
+ },
869
+ "length": {
870
+ "type": "integer",
871
+ "minimum": 0,
872
+ "maximum": 9007199254740991
873
+ },
874
+ "compaction": {
875
+ "type": "object",
876
+ "properties": {
877
+ "trigger": {
878
+ "type": "string",
879
+ "enum": [
880
+ "threshold",
881
+ "overflow"
882
+ ]
883
+ },
884
+ "tokensBefore": {
885
+ "type": "integer",
886
+ "minimum": 0,
887
+ "maximum": 9007199254740991
888
+ },
889
+ "tokensAfter": {
890
+ "type": "integer",
891
+ "minimum": 0,
892
+ "maximum": 9007199254740991
893
+ },
894
+ "summaryEffectIds": {
895
+ "minItems": 1,
896
+ "type": "array",
897
+ "items": {
898
+ "type": "string",
899
+ "minLength": 1,
900
+ "maxLength": 512
901
+ }
902
+ }
903
+ },
904
+ "required": [
905
+ "trigger",
906
+ "tokensBefore",
907
+ "tokensAfter",
908
+ "summaryEffectIds"
909
+ ],
910
+ "additionalProperties": false
911
+ }
912
+ },
913
+ "required": [
914
+ "kind",
915
+ "keep",
916
+ "entries",
917
+ "length",
918
+ "compaction"
919
+ ],
920
+ "additionalProperties": false
677
921
  }
678
- },
679
- "required": [
680
- "keep",
681
- "entries",
682
- "length"
683
- ],
684
- "additionalProperties": false
922
+ ]
685
923
  },
686
924
  "TurnOutput": {
687
925
  "type": "object",
@@ -725,29 +963,102 @@
725
963
  "readOnly": true,
726
964
  "type": "array",
727
965
  "items": {
728
- "type": "object",
729
- "properties": {
730
- "keep": {
731
- "type": "integer",
732
- "minimum": 0,
733
- "maximum": 9007199254740991
734
- },
735
- "entries": {
736
- "type": "array",
737
- "items": {}
966
+ "anyOf": [
967
+ {
968
+ "type": "object",
969
+ "properties": {
970
+ "keep": {
971
+ "type": "integer",
972
+ "minimum": 0,
973
+ "maximum": 9007199254740991
974
+ },
975
+ "entries": {
976
+ "type": "array",
977
+ "items": {}
978
+ },
979
+ "length": {
980
+ "type": "integer",
981
+ "minimum": 0,
982
+ "maximum": 9007199254740991
983
+ }
984
+ },
985
+ "required": [
986
+ "keep",
987
+ "entries",
988
+ "length"
989
+ ],
990
+ "additionalProperties": false
738
991
  },
739
- "length": {
740
- "type": "integer",
741
- "minimum": 0,
742
- "maximum": 9007199254740991
992
+ {
993
+ "type": "object",
994
+ "properties": {
995
+ "kind": {
996
+ "type": "string",
997
+ "const": "compaction"
998
+ },
999
+ "keep": {
1000
+ "type": "integer",
1001
+ "minimum": 0,
1002
+ "maximum": 9007199254740991
1003
+ },
1004
+ "entries": {
1005
+ "type": "array",
1006
+ "items": {}
1007
+ },
1008
+ "length": {
1009
+ "type": "integer",
1010
+ "minimum": 0,
1011
+ "maximum": 9007199254740991
1012
+ },
1013
+ "compaction": {
1014
+ "type": "object",
1015
+ "properties": {
1016
+ "trigger": {
1017
+ "type": "string",
1018
+ "enum": [
1019
+ "threshold",
1020
+ "overflow"
1021
+ ]
1022
+ },
1023
+ "tokensBefore": {
1024
+ "type": "integer",
1025
+ "minimum": 0,
1026
+ "maximum": 9007199254740991
1027
+ },
1028
+ "tokensAfter": {
1029
+ "type": "integer",
1030
+ "minimum": 0,
1031
+ "maximum": 9007199254740991
1032
+ },
1033
+ "summaryEffectIds": {
1034
+ "minItems": 1,
1035
+ "type": "array",
1036
+ "items": {
1037
+ "type": "string",
1038
+ "minLength": 1,
1039
+ "maxLength": 512
1040
+ }
1041
+ }
1042
+ },
1043
+ "required": [
1044
+ "trigger",
1045
+ "tokensBefore",
1046
+ "tokensAfter",
1047
+ "summaryEffectIds"
1048
+ ],
1049
+ "additionalProperties": false
1050
+ }
1051
+ },
1052
+ "required": [
1053
+ "kind",
1054
+ "keep",
1055
+ "entries",
1056
+ "length",
1057
+ "compaction"
1058
+ ],
1059
+ "additionalProperties": false
743
1060
  }
744
- },
745
- "required": [
746
- "keep",
747
- "entries",
748
- "length"
749
- ],
750
- "additionalProperties": false
1061
+ ]
751
1062
  }
752
1063
  },
753
1064
  "thrown": {
@@ -802,10 +1113,84 @@
802
1113
  },
803
1114
  "additionalProperties": {}
804
1115
  },
805
- "sessionTools": {
806
- "readOnly": true,
807
- "type": "array",
808
- "items": {}
1116
+ "mcp": {
1117
+ "type": "object",
1118
+ "properties": {
1119
+ "servers": {
1120
+ "readOnly": true,
1121
+ "type": "array",
1122
+ "items": {
1123
+ "type": "object",
1124
+ "properties": {
1125
+ "agentId": {
1126
+ "type": "string"
1127
+ },
1128
+ "name": {
1129
+ "type": "string",
1130
+ "minLength": 1
1131
+ },
1132
+ "instructions": {
1133
+ "type": "string"
1134
+ },
1135
+ "tools": {
1136
+ "readOnly": true,
1137
+ "type": "array",
1138
+ "items": {
1139
+ "type": "object",
1140
+ "properties": {
1141
+ "name": {
1142
+ "type": "string",
1143
+ "minLength": 1
1144
+ },
1145
+ "description": {
1146
+ "type": "string"
1147
+ },
1148
+ "inputSchema": {
1149
+ "type": "object",
1150
+ "propertyNames": {
1151
+ "type": "string"
1152
+ },
1153
+ "additionalProperties": {}
1154
+ },
1155
+ "outputSchema": {
1156
+ "type": "object",
1157
+ "propertyNames": {
1158
+ "type": "string"
1159
+ },
1160
+ "additionalProperties": {}
1161
+ },
1162
+ "annotations": {
1163
+ "type": "object",
1164
+ "propertyNames": {
1165
+ "type": "string"
1166
+ },
1167
+ "additionalProperties": {}
1168
+ },
1169
+ "enabled": {
1170
+ "type": "boolean"
1171
+ },
1172
+ "deferred": {
1173
+ "type": "boolean"
1174
+ }
1175
+ },
1176
+ "required": [
1177
+ "name",
1178
+ "inputSchema",
1179
+ "enabled"
1180
+ ]
1181
+ }
1182
+ }
1183
+ },
1184
+ "required": [
1185
+ "name",
1186
+ "tools"
1187
+ ]
1188
+ }
1189
+ }
1190
+ },
1191
+ "required": [
1192
+ "servers"
1193
+ ]
809
1194
  },
810
1195
  "outcomes": {
811
1196
  "readOnly": true,
@@ -896,116 +1281,18 @@
896
1281
  },
897
1282
  "additionalProperties": {}
898
1283
  },
899
- "mcpSnapshot": {
1284
+ "sandbox": {
900
1285
  "type": "object",
901
1286
  "properties": {
902
- "snapshotSchemaVersion": {
903
- "type": "number",
904
- "const": 1
1287
+ "ownerId": {
1288
+ "type": "string",
1289
+ "minLength": 1,
1290
+ "maxLength": 512
905
1291
  },
906
- "manifestHash": {
907
- "type": "string"
908
- },
909
- "mcpTools": {
910
- "readOnly": true,
911
- "type": "array",
912
- "items": {
913
- "type": "object",
914
- "properties": {
915
- "agentId": {
916
- "type": "string"
917
- },
918
- "serverName": {
919
- "type": "string"
920
- },
921
- "serverToolName": {
922
- "type": "string"
923
- },
924
- "name": {
925
- "type": "string"
926
- },
927
- "description": {
928
- "type": "string"
929
- },
930
- "inputSchema": {
931
- "type": "object",
932
- "propertyNames": {
933
- "type": "string"
934
- },
935
- "additionalProperties": {}
936
- },
937
- "outputSchema": {
938
- "type": "object",
939
- "propertyNames": {
940
- "type": "string"
941
- },
942
- "additionalProperties": {}
943
- },
944
- "annotations": {
945
- "type": "object",
946
- "properties": {
947
- "readOnlyHint": {
948
- "type": "boolean"
949
- },
950
- "idempotentHint": {
951
- "type": "boolean"
952
- }
953
- }
954
- },
955
- "deferred": {
956
- "type": "boolean",
957
- "const": true
958
- }
959
- },
960
- "required": [
961
- "serverName",
962
- "serverToolName",
963
- "name",
964
- "inputSchema"
965
- ]
966
- }
967
- },
968
- "servers": {
969
- "readOnly": true,
970
- "type": "array",
971
- "items": {
972
- "type": "object",
973
- "properties": {
974
- "agentId": {
975
- "type": "string"
976
- },
977
- "serverName": {
978
- "type": "string"
979
- },
980
- "instructions": {
981
- "type": "string"
982
- }
983
- },
984
- "required": [
985
- "serverName",
986
- "instructions"
987
- ]
988
- }
989
- }
990
- },
991
- "required": [
992
- "snapshotSchemaVersion",
993
- "manifestHash",
994
- "mcpTools"
995
- ]
996
- },
997
- "sandbox": {
998
- "type": "object",
999
- "properties": {
1000
- "ownerId": {
1001
- "type": "string",
1002
- "minLength": 1,
1003
- "maxLength": 512
1004
- },
1005
- "environmentId": {
1006
- "type": "string",
1007
- "minLength": 1,
1008
- "maxLength": 512
1292
+ "environmentId": {
1293
+ "type": "string",
1294
+ "minLength": 1,
1295
+ "maxLength": 512
1009
1296
  },
1010
1297
  "spec": {},
1011
1298
  "environment": {
@@ -1045,6 +1332,140 @@
1045
1332
  "traceparent"
1046
1333
  ],
1047
1334
  "additionalProperties": false
1335
+ },
1336
+ "limits": {
1337
+ "type": "object",
1338
+ "properties": {
1339
+ "recordEntryBytes": {
1340
+ "type": "integer",
1341
+ "exclusiveMinimum": 0,
1342
+ "maximum": 9007199254740991
1343
+ },
1344
+ "modelCallBytes": {
1345
+ "type": "integer",
1346
+ "exclusiveMinimum": 0,
1347
+ "maximum": 9007199254740991
1348
+ },
1349
+ "modelFileBytes": {
1350
+ "type": "integer",
1351
+ "exclusiveMinimum": 0,
1352
+ "maximum": 9007199254740991
1353
+ },
1354
+ "toolAnswerBytes": {
1355
+ "type": "integer",
1356
+ "exclusiveMinimum": 0,
1357
+ "maximum": 9007199254740991
1358
+ },
1359
+ "harnessStateBytes": {
1360
+ "type": "integer",
1361
+ "exclusiveMinimum": 0,
1362
+ "maximum": 9007199254740991
1363
+ },
1364
+ "chunkBytes": {
1365
+ "type": "integer",
1366
+ "exclusiveMinimum": 0,
1367
+ "maximum": 9007199254740991
1368
+ },
1369
+ "folderEntries": {
1370
+ "type": "integer",
1371
+ "exclusiveMinimum": 0,
1372
+ "maximum": 9007199254740991
1373
+ }
1374
+ },
1375
+ "required": [
1376
+ "recordEntryBytes",
1377
+ "modelCallBytes",
1378
+ "modelFileBytes",
1379
+ "toolAnswerBytes",
1380
+ "harnessStateBytes",
1381
+ "chunkBytes",
1382
+ "folderEntries"
1383
+ ]
1384
+ },
1385
+ "model": {
1386
+ "type": "object",
1387
+ "properties": {
1388
+ "provider": {
1389
+ "type": "string",
1390
+ "minLength": 1
1391
+ },
1392
+ "id": {
1393
+ "type": "string",
1394
+ "minLength": 1
1395
+ },
1396
+ "inputs": {
1397
+ "minItems": 1,
1398
+ "type": "array",
1399
+ "items": {
1400
+ "type": "string",
1401
+ "enum": [
1402
+ "text",
1403
+ "image",
1404
+ "pdf",
1405
+ "office",
1406
+ "audio",
1407
+ "video"
1408
+ ]
1409
+ }
1410
+ },
1411
+ "contextWindow": {
1412
+ "type": "integer",
1413
+ "exclusiveMinimum": 0,
1414
+ "maximum": 9007199254740991
1415
+ },
1416
+ "maxOutputTokens": {
1417
+ "type": "integer",
1418
+ "exclusiveMinimum": 0,
1419
+ "maximum": 9007199254740991
1420
+ },
1421
+ "reasoning": {
1422
+ "type": "boolean"
1423
+ }
1424
+ },
1425
+ "required": [
1426
+ "provider",
1427
+ "id",
1428
+ "inputs",
1429
+ "contextWindow",
1430
+ "maxOutputTokens"
1431
+ ],
1432
+ "additionalProperties": false
1433
+ },
1434
+ "environment": {
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "id": {
1438
+ "type": "string",
1439
+ "minLength": 1,
1440
+ "maxLength": 512
1441
+ },
1442
+ "kind": {
1443
+ "type": "string",
1444
+ "enum": [
1445
+ "virtual",
1446
+ "pod",
1447
+ "none"
1448
+ ]
1449
+ },
1450
+ "sandbox": {
1451
+ "type": "object",
1452
+ "properties": {
1453
+ "workspace": {
1454
+ "type": "string",
1455
+ "pattern": "^\\/"
1456
+ }
1457
+ },
1458
+ "required": [
1459
+ "workspace"
1460
+ ],
1461
+ "additionalProperties": false
1462
+ }
1463
+ },
1464
+ "required": [
1465
+ "id",
1466
+ "kind"
1467
+ ],
1468
+ "additionalProperties": false
1048
1469
  }
1049
1470
  },
1050
1471
  "required": [
@@ -1055,7 +1476,8 @@
1055
1476
  "outcomes",
1056
1477
  "transcript",
1057
1478
  "options",
1058
- "routing"
1479
+ "routing",
1480
+ "limits"
1059
1481
  ],
1060
1482
  "additionalProperties": false
1061
1483
  },
@@ -1326,51 +1748,107 @@
1326
1748
  "arguments"
1327
1749
  ]
1328
1750
  },
1329
- "McpServerNote": {
1751
+ "McpFacts": {
1330
1752
  "type": "object",
1331
1753
  "properties": {
1332
- "agentId": {
1333
- "type": "string"
1334
- },
1335
- "serverName": {
1336
- "type": "string"
1337
- },
1338
- "instructions": {
1339
- "type": "string"
1754
+ "servers": {
1755
+ "readOnly": true,
1756
+ "type": "array",
1757
+ "items": {
1758
+ "type": "object",
1759
+ "properties": {
1760
+ "agentId": {
1761
+ "type": "string"
1762
+ },
1763
+ "name": {
1764
+ "type": "string",
1765
+ "minLength": 1
1766
+ },
1767
+ "instructions": {
1768
+ "type": "string"
1769
+ },
1770
+ "tools": {
1771
+ "readOnly": true,
1772
+ "type": "array",
1773
+ "items": {
1774
+ "type": "object",
1775
+ "properties": {
1776
+ "name": {
1777
+ "type": "string",
1778
+ "minLength": 1
1779
+ },
1780
+ "description": {
1781
+ "type": "string"
1782
+ },
1783
+ "inputSchema": {
1784
+ "type": "object",
1785
+ "propertyNames": {
1786
+ "type": "string"
1787
+ },
1788
+ "additionalProperties": {}
1789
+ },
1790
+ "outputSchema": {
1791
+ "type": "object",
1792
+ "propertyNames": {
1793
+ "type": "string"
1794
+ },
1795
+ "additionalProperties": {}
1796
+ },
1797
+ "annotations": {
1798
+ "type": "object",
1799
+ "propertyNames": {
1800
+ "type": "string"
1801
+ },
1802
+ "additionalProperties": {}
1803
+ },
1804
+ "enabled": {
1805
+ "type": "boolean"
1806
+ },
1807
+ "deferred": {
1808
+ "type": "boolean"
1809
+ }
1810
+ },
1811
+ "required": [
1812
+ "name",
1813
+ "inputSchema",
1814
+ "enabled"
1815
+ ]
1816
+ }
1817
+ }
1818
+ },
1819
+ "required": [
1820
+ "name",
1821
+ "tools"
1822
+ ]
1823
+ }
1340
1824
  }
1341
1825
  },
1342
1826
  "required": [
1343
- "serverName",
1344
- "instructions"
1827
+ "servers"
1345
1828
  ]
1346
1829
  },
1347
- "McpSnapshot": {
1830
+ "McpServerFact": {
1348
1831
  "type": "object",
1349
1832
  "properties": {
1350
- "snapshotSchemaVersion": {
1351
- "type": "number",
1352
- "const": 1
1833
+ "agentId": {
1834
+ "type": "string"
1353
1835
  },
1354
- "manifestHash": {
1836
+ "name": {
1837
+ "type": "string",
1838
+ "minLength": 1
1839
+ },
1840
+ "instructions": {
1355
1841
  "type": "string"
1356
1842
  },
1357
- "mcpTools": {
1843
+ "tools": {
1358
1844
  "readOnly": true,
1359
1845
  "type": "array",
1360
1846
  "items": {
1361
1847
  "type": "object",
1362
1848
  "properties": {
1363
- "agentId": {
1364
- "type": "string"
1365
- },
1366
- "serverName": {
1367
- "type": "string"
1368
- },
1369
- "serverToolName": {
1370
- "type": "string"
1371
- },
1372
1849
  "name": {
1373
- "type": "string"
1850
+ "type": "string",
1851
+ "minLength": 1
1374
1852
  },
1375
1853
  "description": {
1376
1854
  "type": "string"
@@ -1391,47 +1869,162 @@
1391
1869
  },
1392
1870
  "annotations": {
1393
1871
  "type": "object",
1394
- "properties": {
1395
- "readOnlyHint": {
1396
- "type": "boolean"
1397
- },
1398
- "idempotentHint": {
1399
- "type": "boolean"
1400
- }
1401
- }
1872
+ "propertyNames": {
1873
+ "type": "string"
1874
+ },
1875
+ "additionalProperties": {}
1876
+ },
1877
+ "enabled": {
1878
+ "type": "boolean"
1402
1879
  },
1403
1880
  "deferred": {
1404
- "type": "boolean",
1405
- "const": true
1881
+ "type": "boolean"
1406
1882
  }
1407
1883
  },
1408
1884
  "required": [
1409
- "serverName",
1410
- "serverToolName",
1411
1885
  "name",
1412
- "inputSchema"
1886
+ "inputSchema",
1887
+ "enabled"
1413
1888
  ]
1414
1889
  }
1890
+ }
1891
+ },
1892
+ "required": [
1893
+ "name",
1894
+ "tools"
1895
+ ]
1896
+ },
1897
+ "McpServerRecord": {
1898
+ "type": "object",
1899
+ "properties": {
1900
+ "agentId": {
1901
+ "type": "string"
1415
1902
  },
1416
- "servers": {
1417
- "readOnly": true,
1418
- "type": "array",
1419
- "items": {
1420
- "type": "object",
1903
+ "name": {
1904
+ "type": "string",
1905
+ "minLength": 1
1906
+ },
1907
+ "instructions": {
1908
+ "type": "string"
1909
+ },
1910
+ "tools": {
1911
+ "readOnly": true,
1912
+ "type": "array",
1913
+ "items": {
1914
+ "type": "object",
1421
1915
  "properties": {
1422
- "agentId": {
1916
+ "name": {
1917
+ "type": "string",
1918
+ "minLength": 1
1919
+ },
1920
+ "description": {
1423
1921
  "type": "string"
1424
1922
  },
1425
- "serverName": {
1923
+ "inputSchema": {
1924
+ "type": "object",
1925
+ "propertyNames": {
1926
+ "type": "string"
1927
+ },
1928
+ "additionalProperties": {}
1929
+ },
1930
+ "outputSchema": {
1931
+ "type": "object",
1932
+ "propertyNames": {
1933
+ "type": "string"
1934
+ },
1935
+ "additionalProperties": {}
1936
+ },
1937
+ "annotations": {
1938
+ "type": "object",
1939
+ "propertyNames": {
1940
+ "type": "string"
1941
+ },
1942
+ "additionalProperties": {}
1943
+ }
1944
+ },
1945
+ "required": [
1946
+ "name",
1947
+ "inputSchema"
1948
+ ]
1949
+ }
1950
+ }
1951
+ },
1952
+ "required": [
1953
+ "name",
1954
+ "tools"
1955
+ ]
1956
+ },
1957
+ "McpSnapshot": {
1958
+ "type": "object",
1959
+ "properties": {
1960
+ "snapshotSchemaVersion": {
1961
+ "type": "number",
1962
+ "const": 2
1963
+ },
1964
+ "manifestHash": {
1965
+ "type": "string"
1966
+ },
1967
+ "servers": {
1968
+ "readOnly": true,
1969
+ "type": "array",
1970
+ "items": {
1971
+ "type": "object",
1972
+ "properties": {
1973
+ "agentId": {
1426
1974
  "type": "string"
1427
1975
  },
1976
+ "name": {
1977
+ "type": "string",
1978
+ "minLength": 1
1979
+ },
1428
1980
  "instructions": {
1429
1981
  "type": "string"
1982
+ },
1983
+ "tools": {
1984
+ "readOnly": true,
1985
+ "type": "array",
1986
+ "items": {
1987
+ "type": "object",
1988
+ "properties": {
1989
+ "name": {
1990
+ "type": "string",
1991
+ "minLength": 1
1992
+ },
1993
+ "description": {
1994
+ "type": "string"
1995
+ },
1996
+ "inputSchema": {
1997
+ "type": "object",
1998
+ "propertyNames": {
1999
+ "type": "string"
2000
+ },
2001
+ "additionalProperties": {}
2002
+ },
2003
+ "outputSchema": {
2004
+ "type": "object",
2005
+ "propertyNames": {
2006
+ "type": "string"
2007
+ },
2008
+ "additionalProperties": {}
2009
+ },
2010
+ "annotations": {
2011
+ "type": "object",
2012
+ "propertyNames": {
2013
+ "type": "string"
2014
+ },
2015
+ "additionalProperties": {}
2016
+ }
2017
+ },
2018
+ "required": [
2019
+ "name",
2020
+ "inputSchema"
2021
+ ]
2022
+ }
1430
2023
  }
1431
2024
  },
1432
2025
  "required": [
1433
- "serverName",
1434
- "instructions"
2026
+ "name",
2027
+ "tools"
1435
2028
  ]
1436
2029
  }
1437
2030
  }
@@ -1439,23 +2032,59 @@
1439
2032
  "required": [
1440
2033
  "snapshotSchemaVersion",
1441
2034
  "manifestHash",
1442
- "mcpTools"
2035
+ "servers"
1443
2036
  ]
1444
2037
  },
1445
- "McpToolRecord": {
2038
+ "McpToolFact": {
1446
2039
  "type": "object",
1447
2040
  "properties": {
1448
- "agentId": {
1449
- "type": "string"
2041
+ "name": {
2042
+ "type": "string",
2043
+ "minLength": 1
1450
2044
  },
1451
- "serverName": {
2045
+ "description": {
1452
2046
  "type": "string"
1453
2047
  },
1454
- "serverToolName": {
1455
- "type": "string"
2048
+ "inputSchema": {
2049
+ "type": "object",
2050
+ "propertyNames": {
2051
+ "type": "string"
2052
+ },
2053
+ "additionalProperties": {}
2054
+ },
2055
+ "outputSchema": {
2056
+ "type": "object",
2057
+ "propertyNames": {
2058
+ "type": "string"
2059
+ },
2060
+ "additionalProperties": {}
2061
+ },
2062
+ "annotations": {
2063
+ "type": "object",
2064
+ "propertyNames": {
2065
+ "type": "string"
2066
+ },
2067
+ "additionalProperties": {}
1456
2068
  },
2069
+ "enabled": {
2070
+ "type": "boolean"
2071
+ },
2072
+ "deferred": {
2073
+ "type": "boolean"
2074
+ }
2075
+ },
2076
+ "required": [
2077
+ "name",
2078
+ "inputSchema",
2079
+ "enabled"
2080
+ ]
2081
+ },
2082
+ "McpToolRecord": {
2083
+ "type": "object",
2084
+ "properties": {
1457
2085
  "name": {
1458
- "type": "string"
2086
+ "type": "string",
2087
+ "minLength": 1
1459
2088
  },
1460
2089
  "description": {
1461
2090
  "type": "string"
@@ -1476,23 +2105,13 @@
1476
2105
  },
1477
2106
  "annotations": {
1478
2107
  "type": "object",
1479
- "properties": {
1480
- "readOnlyHint": {
1481
- "type": "boolean"
1482
- },
1483
- "idempotentHint": {
1484
- "type": "boolean"
1485
- }
1486
- }
1487
- },
1488
- "deferred": {
1489
- "type": "boolean",
1490
- "const": true
2108
+ "propertyNames": {
2109
+ "type": "string"
2110
+ },
2111
+ "additionalProperties": {}
1491
2112
  }
1492
2113
  },
1493
2114
  "required": [
1494
- "serverName",
1495
- "serverToolName",
1496
2115
  "name",
1497
2116
  "inputSchema"
1498
2117
  ]
@@ -2497,36 +3116,7 @@
2497
3116
  "features": {
2498
3117
  "type": "object",
2499
3118
  "properties": {
2500
- "workspace": {},
2501
- "tools": {
2502
- "maxItems": 64,
2503
- "type": "array",
2504
- "items": {
2505
- "type": "object",
2506
- "properties": {
2507
- "name": {
2508
- "type": "string",
2509
- "pattern": "^[A-Za-z_][A-Za-z0-9_-]{0,63}$"
2510
- },
2511
- "description": {
2512
- "type": "string",
2513
- "maxLength": 4096
2514
- },
2515
- "inputSchema": {
2516
- "type": "object",
2517
- "propertyNames": {
2518
- "type": "string"
2519
- },
2520
- "additionalProperties": {}
2521
- }
2522
- },
2523
- "required": [
2524
- "name",
2525
- "inputSchema"
2526
- ],
2527
- "additionalProperties": false
2528
- }
2529
- }
3119
+ "workspace": {}
2530
3120
  },
2531
3121
  "additionalProperties": false
2532
3122
  }
@@ -2544,7 +3134,7 @@
2544
3134
  "properties": {
2545
3135
  "api": {
2546
3136
  "type": "number",
2547
- "const": 3
3137
+ "const": 4
2548
3138
  },
2549
3139
  "tenantId": {
2550
3140
  "type": "string",
@@ -2663,10 +3253,84 @@
2663
3253
  },
2664
3254
  "additionalProperties": {}
2665
3255
  },
2666
- "sessionTools": {
2667
- "readOnly": true,
2668
- "type": "array",
2669
- "items": {}
3256
+ "mcp": {
3257
+ "type": "object",
3258
+ "properties": {
3259
+ "servers": {
3260
+ "readOnly": true,
3261
+ "type": "array",
3262
+ "items": {
3263
+ "type": "object",
3264
+ "properties": {
3265
+ "agentId": {
3266
+ "type": "string"
3267
+ },
3268
+ "name": {
3269
+ "type": "string",
3270
+ "minLength": 1
3271
+ },
3272
+ "instructions": {
3273
+ "type": "string"
3274
+ },
3275
+ "tools": {
3276
+ "readOnly": true,
3277
+ "type": "array",
3278
+ "items": {
3279
+ "type": "object",
3280
+ "properties": {
3281
+ "name": {
3282
+ "type": "string",
3283
+ "minLength": 1
3284
+ },
3285
+ "description": {
3286
+ "type": "string"
3287
+ },
3288
+ "inputSchema": {
3289
+ "type": "object",
3290
+ "propertyNames": {
3291
+ "type": "string"
3292
+ },
3293
+ "additionalProperties": {}
3294
+ },
3295
+ "outputSchema": {
3296
+ "type": "object",
3297
+ "propertyNames": {
3298
+ "type": "string"
3299
+ },
3300
+ "additionalProperties": {}
3301
+ },
3302
+ "annotations": {
3303
+ "type": "object",
3304
+ "propertyNames": {
3305
+ "type": "string"
3306
+ },
3307
+ "additionalProperties": {}
3308
+ },
3309
+ "enabled": {
3310
+ "type": "boolean"
3311
+ },
3312
+ "deferred": {
3313
+ "type": "boolean"
3314
+ }
3315
+ },
3316
+ "required": [
3317
+ "name",
3318
+ "inputSchema",
3319
+ "enabled"
3320
+ ]
3321
+ }
3322
+ }
3323
+ },
3324
+ "required": [
3325
+ "name",
3326
+ "tools"
3327
+ ]
3328
+ }
3329
+ }
3330
+ },
3331
+ "required": [
3332
+ "servers"
3333
+ ]
2670
3334
  },
2671
3335
  "outcomes": {
2672
3336
  "readOnly": true,
@@ -2757,116 +3421,18 @@
2757
3421
  },
2758
3422
  "additionalProperties": {}
2759
3423
  },
2760
- "mcpSnapshot": {
3424
+ "sandbox": {
2761
3425
  "type": "object",
2762
3426
  "properties": {
2763
- "snapshotSchemaVersion": {
2764
- "type": "number",
2765
- "const": 1
3427
+ "ownerId": {
3428
+ "type": "string",
3429
+ "minLength": 1,
3430
+ "maxLength": 512
2766
3431
  },
2767
- "manifestHash": {
2768
- "type": "string"
2769
- },
2770
- "mcpTools": {
2771
- "readOnly": true,
2772
- "type": "array",
2773
- "items": {
2774
- "type": "object",
2775
- "properties": {
2776
- "agentId": {
2777
- "type": "string"
2778
- },
2779
- "serverName": {
2780
- "type": "string"
2781
- },
2782
- "serverToolName": {
2783
- "type": "string"
2784
- },
2785
- "name": {
2786
- "type": "string"
2787
- },
2788
- "description": {
2789
- "type": "string"
2790
- },
2791
- "inputSchema": {
2792
- "type": "object",
2793
- "propertyNames": {
2794
- "type": "string"
2795
- },
2796
- "additionalProperties": {}
2797
- },
2798
- "outputSchema": {
2799
- "type": "object",
2800
- "propertyNames": {
2801
- "type": "string"
2802
- },
2803
- "additionalProperties": {}
2804
- },
2805
- "annotations": {
2806
- "type": "object",
2807
- "properties": {
2808
- "readOnlyHint": {
2809
- "type": "boolean"
2810
- },
2811
- "idempotentHint": {
2812
- "type": "boolean"
2813
- }
2814
- }
2815
- },
2816
- "deferred": {
2817
- "type": "boolean",
2818
- "const": true
2819
- }
2820
- },
2821
- "required": [
2822
- "serverName",
2823
- "serverToolName",
2824
- "name",
2825
- "inputSchema"
2826
- ]
2827
- }
2828
- },
2829
- "servers": {
2830
- "readOnly": true,
2831
- "type": "array",
2832
- "items": {
2833
- "type": "object",
2834
- "properties": {
2835
- "agentId": {
2836
- "type": "string"
2837
- },
2838
- "serverName": {
2839
- "type": "string"
2840
- },
2841
- "instructions": {
2842
- "type": "string"
2843
- }
2844
- },
2845
- "required": [
2846
- "serverName",
2847
- "instructions"
2848
- ]
2849
- }
2850
- }
2851
- },
2852
- "required": [
2853
- "snapshotSchemaVersion",
2854
- "manifestHash",
2855
- "mcpTools"
2856
- ]
2857
- },
2858
- "sandbox": {
2859
- "type": "object",
2860
- "properties": {
2861
- "ownerId": {
2862
- "type": "string",
2863
- "minLength": 1,
2864
- "maxLength": 512
2865
- },
2866
- "environmentId": {
2867
- "type": "string",
2868
- "minLength": 1,
2869
- "maxLength": 512
3432
+ "environmentId": {
3433
+ "type": "string",
3434
+ "minLength": 1,
3435
+ "maxLength": 512
2870
3436
  },
2871
3437
  "spec": {},
2872
3438
  "environment": {
@@ -2906,6 +3472,140 @@
2906
3472
  "traceparent"
2907
3473
  ],
2908
3474
  "additionalProperties": false
3475
+ },
3476
+ "limits": {
3477
+ "type": "object",
3478
+ "properties": {
3479
+ "recordEntryBytes": {
3480
+ "type": "integer",
3481
+ "exclusiveMinimum": 0,
3482
+ "maximum": 9007199254740991
3483
+ },
3484
+ "modelCallBytes": {
3485
+ "type": "integer",
3486
+ "exclusiveMinimum": 0,
3487
+ "maximum": 9007199254740991
3488
+ },
3489
+ "modelFileBytes": {
3490
+ "type": "integer",
3491
+ "exclusiveMinimum": 0,
3492
+ "maximum": 9007199254740991
3493
+ },
3494
+ "toolAnswerBytes": {
3495
+ "type": "integer",
3496
+ "exclusiveMinimum": 0,
3497
+ "maximum": 9007199254740991
3498
+ },
3499
+ "harnessStateBytes": {
3500
+ "type": "integer",
3501
+ "exclusiveMinimum": 0,
3502
+ "maximum": 9007199254740991
3503
+ },
3504
+ "chunkBytes": {
3505
+ "type": "integer",
3506
+ "exclusiveMinimum": 0,
3507
+ "maximum": 9007199254740991
3508
+ },
3509
+ "folderEntries": {
3510
+ "type": "integer",
3511
+ "exclusiveMinimum": 0,
3512
+ "maximum": 9007199254740991
3513
+ }
3514
+ },
3515
+ "required": [
3516
+ "recordEntryBytes",
3517
+ "modelCallBytes",
3518
+ "modelFileBytes",
3519
+ "toolAnswerBytes",
3520
+ "harnessStateBytes",
3521
+ "chunkBytes",
3522
+ "folderEntries"
3523
+ ]
3524
+ },
3525
+ "model": {
3526
+ "type": "object",
3527
+ "properties": {
3528
+ "provider": {
3529
+ "type": "string",
3530
+ "minLength": 1
3531
+ },
3532
+ "id": {
3533
+ "type": "string",
3534
+ "minLength": 1
3535
+ },
3536
+ "inputs": {
3537
+ "minItems": 1,
3538
+ "type": "array",
3539
+ "items": {
3540
+ "type": "string",
3541
+ "enum": [
3542
+ "text",
3543
+ "image",
3544
+ "pdf",
3545
+ "office",
3546
+ "audio",
3547
+ "video"
3548
+ ]
3549
+ }
3550
+ },
3551
+ "contextWindow": {
3552
+ "type": "integer",
3553
+ "exclusiveMinimum": 0,
3554
+ "maximum": 9007199254740991
3555
+ },
3556
+ "maxOutputTokens": {
3557
+ "type": "integer",
3558
+ "exclusiveMinimum": 0,
3559
+ "maximum": 9007199254740991
3560
+ },
3561
+ "reasoning": {
3562
+ "type": "boolean"
3563
+ }
3564
+ },
3565
+ "required": [
3566
+ "provider",
3567
+ "id",
3568
+ "inputs",
3569
+ "contextWindow",
3570
+ "maxOutputTokens"
3571
+ ],
3572
+ "additionalProperties": false
3573
+ },
3574
+ "environment": {
3575
+ "type": "object",
3576
+ "properties": {
3577
+ "id": {
3578
+ "type": "string",
3579
+ "minLength": 1,
3580
+ "maxLength": 512
3581
+ },
3582
+ "kind": {
3583
+ "type": "string",
3584
+ "enum": [
3585
+ "virtual",
3586
+ "pod",
3587
+ "none"
3588
+ ]
3589
+ },
3590
+ "sandbox": {
3591
+ "type": "object",
3592
+ "properties": {
3593
+ "workspace": {
3594
+ "type": "string",
3595
+ "pattern": "^\\/"
3596
+ }
3597
+ },
3598
+ "required": [
3599
+ "workspace"
3600
+ ],
3601
+ "additionalProperties": false
3602
+ }
3603
+ },
3604
+ "required": [
3605
+ "id",
3606
+ "kind"
3607
+ ],
3608
+ "additionalProperties": false
2909
3609
  }
2910
3610
  },
2911
3611
  "required": [
@@ -2916,7 +3616,8 @@
2916
3616
  "outcomes",
2917
3617
  "transcript",
2918
3618
  "options",
2919
- "routing"
3619
+ "routing",
3620
+ "limits"
2920
3621
  ],
2921
3622
  "additionalProperties": false
2922
3623
  }
@@ -3070,6 +3771,85 @@
3070
3771
  "toolName": {
3071
3772
  "type": "string"
3072
3773
  },
3774
+ "target": {
3775
+ "oneOf": [
3776
+ {
3777
+ "type": "object",
3778
+ "properties": {
3779
+ "kind": {
3780
+ "type": "string",
3781
+ "const": "mcp"
3782
+ },
3783
+ "server": {
3784
+ "type": "string",
3785
+ "minLength": 1
3786
+ },
3787
+ "tool": {
3788
+ "type": "string",
3789
+ "minLength": 1
3790
+ }
3791
+ },
3792
+ "required": [
3793
+ "kind",
3794
+ "server",
3795
+ "tool"
3796
+ ],
3797
+ "additionalProperties": false
3798
+ },
3799
+ {
3800
+ "type": "object",
3801
+ "properties": {
3802
+ "kind": {
3803
+ "type": "string",
3804
+ "const": "http"
3805
+ },
3806
+ "tool": {
3807
+ "type": "string",
3808
+ "minLength": 1
3809
+ }
3810
+ },
3811
+ "required": [
3812
+ "kind",
3813
+ "tool"
3814
+ ],
3815
+ "additionalProperties": false
3816
+ },
3817
+ {
3818
+ "type": "object",
3819
+ "properties": {
3820
+ "kind": {
3821
+ "type": "string",
3822
+ "const": "sandbox"
3823
+ }
3824
+ },
3825
+ "required": [
3826
+ "kind"
3827
+ ],
3828
+ "additionalProperties": false
3829
+ },
3830
+ {
3831
+ "type": "object",
3832
+ "properties": {
3833
+ "kind": {
3834
+ "type": "string",
3835
+ "const": "harness"
3836
+ }
3837
+ },
3838
+ "required": [
3839
+ "kind"
3840
+ ],
3841
+ "additionalProperties": false
3842
+ }
3843
+ ]
3844
+ },
3845
+ "skill": {
3846
+ "type": "string",
3847
+ "minLength": 1
3848
+ },
3849
+ "purpose": {
3850
+ "type": "string",
3851
+ "const": "summary"
3852
+ },
3073
3853
  "path": {
3074
3854
  "type": "string"
3075
3855
  },
@@ -3343,7 +4123,9 @@
3343
4123
  "type": "string",
3344
4124
  "enum": [
3345
4125
  "environment.state",
3346
- "environment.exec"
4126
+ "environment.exec",
4127
+ "artifact.export.skipped",
4128
+ "artifact.export.failed"
3347
4129
  ]
3348
4130
  },
3349
4131
  "payload": {},
@@ -3424,12 +4206,12 @@
3424
4206
  "properties": {
3425
4207
  "snapshotSchemaVersion": {
3426
4208
  "type": "number",
3427
- "const": 1
4209
+ "const": 2
3428
4210
  },
3429
4211
  "manifestHash": {
3430
4212
  "type": "string"
3431
4213
  },
3432
- "mcpTools": {
4214
+ "servers": {
3433
4215
  "readOnly": true,
3434
4216
  "type": "array",
3435
4217
  "items": {
@@ -3438,237 +4220,714 @@
3438
4220
  "agentId": {
3439
4221
  "type": "string"
3440
4222
  },
3441
- "serverName": {
3442
- "type": "string"
3443
- },
3444
- "serverToolName": {
3445
- "type": "string"
3446
- },
3447
4223
  "name": {
3448
- "type": "string"
4224
+ "type": "string",
4225
+ "minLength": 1
3449
4226
  },
3450
- "description": {
4227
+ "instructions": {
3451
4228
  "type": "string"
3452
4229
  },
3453
- "inputSchema": {
3454
- "type": "object",
3455
- "propertyNames": {
3456
- "type": "string"
3457
- },
3458
- "additionalProperties": {}
3459
- },
3460
- "outputSchema": {
3461
- "type": "object",
3462
- "propertyNames": {
3463
- "type": "string"
3464
- },
3465
- "additionalProperties": {}
3466
- },
3467
- "annotations": {
3468
- "type": "object",
3469
- "properties": {
3470
- "readOnlyHint": {
3471
- "type": "boolean"
4230
+ "tools": {
4231
+ "readOnly": true,
4232
+ "type": "array",
4233
+ "items": {
4234
+ "type": "object",
4235
+ "properties": {
4236
+ "name": {
4237
+ "type": "string",
4238
+ "minLength": 1
4239
+ },
4240
+ "description": {
4241
+ "type": "string"
4242
+ },
4243
+ "inputSchema": {
4244
+ "type": "object",
4245
+ "propertyNames": {
4246
+ "type": "string"
4247
+ },
4248
+ "additionalProperties": {}
4249
+ },
4250
+ "outputSchema": {
4251
+ "type": "object",
4252
+ "propertyNames": {
4253
+ "type": "string"
4254
+ },
4255
+ "additionalProperties": {}
4256
+ },
4257
+ "annotations": {
4258
+ "type": "object",
4259
+ "propertyNames": {
4260
+ "type": "string"
4261
+ },
4262
+ "additionalProperties": {}
4263
+ }
3472
4264
  },
3473
- "idempotentHint": {
3474
- "type": "boolean"
3475
- }
4265
+ "required": [
4266
+ "name",
4267
+ "inputSchema"
4268
+ ]
3476
4269
  }
3477
- },
3478
- "deferred": {
3479
- "type": "boolean",
3480
- "const": true
3481
4270
  }
3482
4271
  },
3483
4272
  "required": [
3484
- "serverName",
3485
- "serverToolName",
3486
4273
  "name",
3487
- "inputSchema"
4274
+ "tools"
3488
4275
  ]
3489
4276
  }
3490
- },
3491
- "servers": {
3492
- "readOnly": true,
3493
- "type": "array",
3494
- "items": {
3495
- "type": "object",
3496
- "properties": {
3497
- "agentId": {
3498
- "type": "string"
3499
- },
3500
- "serverName": {
3501
- "type": "string"
3502
- },
3503
- "instructions": {
4277
+ }
4278
+ },
4279
+ "required": [
4280
+ "snapshotSchemaVersion",
4281
+ "manifestHash",
4282
+ "servers"
4283
+ ]
4284
+ },
4285
+ "diagnostics": {
4286
+ "type": "array",
4287
+ "items": {}
4288
+ }
4289
+ },
4290
+ "required": [
4291
+ "runId",
4292
+ "diagnostics"
4293
+ ],
4294
+ "additionalProperties": false
4295
+ },
4296
+ "session.mcp.result": {
4297
+ "type": "object",
4298
+ "properties": {
4299
+ "mcp": {
4300
+ "type": "object",
4301
+ "properties": {
4302
+ "servers": {
4303
+ "readOnly": true,
4304
+ "type": "array",
4305
+ "items": {
4306
+ "type": "object",
4307
+ "properties": {
4308
+ "agentId": {
4309
+ "type": "string"
4310
+ },
4311
+ "name": {
4312
+ "type": "string",
4313
+ "minLength": 1
4314
+ },
4315
+ "instructions": {
3504
4316
  "type": "string"
4317
+ },
4318
+ "tools": {
4319
+ "readOnly": true,
4320
+ "type": "array",
4321
+ "items": {
4322
+ "type": "object",
4323
+ "properties": {
4324
+ "name": {
4325
+ "type": "string",
4326
+ "minLength": 1
4327
+ },
4328
+ "description": {
4329
+ "type": "string"
4330
+ },
4331
+ "inputSchema": {
4332
+ "type": "object",
4333
+ "propertyNames": {
4334
+ "type": "string"
4335
+ },
4336
+ "additionalProperties": {}
4337
+ },
4338
+ "outputSchema": {
4339
+ "type": "object",
4340
+ "propertyNames": {
4341
+ "type": "string"
4342
+ },
4343
+ "additionalProperties": {}
4344
+ },
4345
+ "annotations": {
4346
+ "type": "object",
4347
+ "propertyNames": {
4348
+ "type": "string"
4349
+ },
4350
+ "additionalProperties": {}
4351
+ },
4352
+ "enabled": {
4353
+ "type": "boolean"
4354
+ },
4355
+ "deferred": {
4356
+ "type": "boolean"
4357
+ }
4358
+ },
4359
+ "required": [
4360
+ "name",
4361
+ "inputSchema",
4362
+ "enabled"
4363
+ ]
4364
+ }
3505
4365
  }
3506
4366
  },
3507
4367
  "required": [
3508
- "serverName",
3509
- "instructions"
4368
+ "name",
4369
+ "tools"
3510
4370
  ]
3511
4371
  }
3512
4372
  }
3513
4373
  },
3514
4374
  "required": [
3515
- "snapshotSchemaVersion",
3516
- "manifestHash",
3517
- "mcpTools"
3518
- ]
4375
+ "servers"
4376
+ ]
4377
+ }
4378
+ },
4379
+ "additionalProperties": false
4380
+ },
4381
+ "definition.file.params": {
4382
+ "type": "object",
4383
+ "properties": {
4384
+ "runId": {
4385
+ "type": "string",
4386
+ "minLength": 1,
4387
+ "maxLength": 512
4388
+ },
4389
+ "sha256": {
4390
+ "type": "string",
4391
+ "pattern": "^sha256:[0-9a-f]{64}$"
4392
+ },
4393
+ "offset": {
4394
+ "type": "integer",
4395
+ "minimum": 0,
4396
+ "maximum": 9007199254740991
4397
+ },
4398
+ "length": {
4399
+ "type": "integer",
4400
+ "exclusiveMinimum": 0,
4401
+ "maximum": 50266112
4402
+ }
4403
+ },
4404
+ "required": [
4405
+ "runId",
4406
+ "sha256"
4407
+ ],
4408
+ "additionalProperties": false
4409
+ },
4410
+ "definition.file.result": {
4411
+ "type": "object",
4412
+ "properties": {
4413
+ "base64": {
4414
+ "type": "string"
4415
+ }
4416
+ },
4417
+ "required": [
4418
+ "base64"
4419
+ ],
4420
+ "additionalProperties": false
4421
+ },
4422
+ "artifact.read.params": {
4423
+ "type": "object",
4424
+ "properties": {
4425
+ "runId": {
4426
+ "type": "string",
4427
+ "minLength": 1,
4428
+ "maxLength": 512
4429
+ },
4430
+ "artifactId": {
4431
+ "type": "string",
4432
+ "minLength": 1,
4433
+ "maxLength": 512
4434
+ },
4435
+ "version": {
4436
+ "type": "integer",
4437
+ "minimum": 1,
4438
+ "maximum": 9007199254740991
4439
+ },
4440
+ "offset": {
4441
+ "type": "integer",
4442
+ "minimum": 0,
4443
+ "maximum": 9007199254740991
4444
+ },
4445
+ "length": {
4446
+ "type": "integer",
4447
+ "minimum": 0,
4448
+ "maximum": 9007199254740991
4449
+ }
4450
+ },
4451
+ "required": [
4452
+ "runId",
4453
+ "artifactId"
4454
+ ],
4455
+ "additionalProperties": false
4456
+ },
4457
+ "artifact.read.result": {
4458
+ "type": "object",
4459
+ "properties": {
4460
+ "artifact": {
4461
+ "type": "object",
4462
+ "properties": {
4463
+ "artifactId": {
4464
+ "type": "string",
4465
+ "minLength": 1,
4466
+ "maxLength": 512
4467
+ },
4468
+ "kind": {
4469
+ "type": "string",
4470
+ "enum": [
4471
+ "file",
4472
+ "folder"
4473
+ ]
4474
+ },
4475
+ "name": {
4476
+ "type": "string"
4477
+ },
4478
+ "version": {
4479
+ "type": "integer",
4480
+ "minimum": 1,
4481
+ "maximum": 9007199254740991
4482
+ },
4483
+ "contentType": {
4484
+ "type": "string"
4485
+ },
4486
+ "size": {
4487
+ "type": "integer",
4488
+ "minimum": 0,
4489
+ "maximum": 9007199254740991
4490
+ },
4491
+ "sha256": {
4492
+ "type": "string",
4493
+ "pattern": "^[0-9a-f]{64}$"
4494
+ },
4495
+ "tenantWide": {
4496
+ "type": "boolean"
4497
+ }
4498
+ },
4499
+ "required": [
4500
+ "artifactId",
4501
+ "kind",
4502
+ "name",
4503
+ "version",
4504
+ "contentType",
4505
+ "size",
4506
+ "sha256",
4507
+ "tenantWide"
4508
+ ],
4509
+ "additionalProperties": false
4510
+ },
4511
+ "offset": {
4512
+ "type": "integer",
4513
+ "minimum": 0,
4514
+ "maximum": 9007199254740991
4515
+ },
4516
+ "base64": {
4517
+ "type": "string"
4518
+ },
4519
+ "eof": {
4520
+ "type": "boolean"
4521
+ }
4522
+ },
4523
+ "required": [
4524
+ "artifact",
4525
+ "offset",
4526
+ "base64",
4527
+ "eof"
4528
+ ],
4529
+ "additionalProperties": false
4530
+ },
4531
+ "artifact.write.params": {
4532
+ "anyOf": [
4533
+ {
4534
+ "type": "object",
4535
+ "properties": {
4536
+ "runId": {
4537
+ "type": "string",
4538
+ "minLength": 1,
4539
+ "maxLength": 512
4540
+ },
4541
+ "op": {
4542
+ "type": "string",
4543
+ "const": "begin"
4544
+ },
4545
+ "key": {
4546
+ "type": "string",
4547
+ "minLength": 1,
4548
+ "maxLength": 512
4549
+ },
4550
+ "artifactId": {
4551
+ "type": "string",
4552
+ "minLength": 1,
4553
+ "maxLength": 512
4554
+ },
4555
+ "name": {
4556
+ "type": "string",
4557
+ "minLength": 1,
4558
+ "maxLength": 255
4559
+ },
4560
+ "contentType": {
4561
+ "type": "string",
4562
+ "minLength": 1
4563
+ },
4564
+ "size": {
4565
+ "type": "integer",
4566
+ "minimum": 0,
4567
+ "maximum": 9007199254740991
4568
+ },
4569
+ "effectId": {
4570
+ "type": "string",
4571
+ "minLength": 1,
4572
+ "maxLength": 512
4573
+ },
4574
+ "base64": {
4575
+ "type": "string"
4576
+ }
4577
+ },
4578
+ "required": [
4579
+ "runId",
4580
+ "op",
4581
+ "key"
4582
+ ],
4583
+ "additionalProperties": false
4584
+ },
4585
+ {
4586
+ "type": "object",
4587
+ "properties": {
4588
+ "runId": {
4589
+ "type": "string",
4590
+ "minLength": 1,
4591
+ "maxLength": 512
4592
+ },
4593
+ "op": {
4594
+ "type": "string",
4595
+ "const": "begin"
4596
+ },
4597
+ "kind": {
4598
+ "type": "string",
4599
+ "const": "folder"
4600
+ },
4601
+ "key": {
4602
+ "type": "string",
4603
+ "minLength": 1,
4604
+ "maxLength": 512
4605
+ },
4606
+ "name": {
4607
+ "type": "string",
4608
+ "minLength": 1,
4609
+ "maxLength": 255
4610
+ },
4611
+ "artifactId": {
4612
+ "type": "string",
4613
+ "minLength": 1,
4614
+ "maxLength": 512
4615
+ },
4616
+ "sameName": {
4617
+ "type": "boolean",
4618
+ "const": true
4619
+ }
4620
+ },
4621
+ "required": [
4622
+ "runId",
4623
+ "op",
4624
+ "kind",
4625
+ "key",
4626
+ "name"
4627
+ ],
4628
+ "additionalProperties": false
4629
+ },
4630
+ {
4631
+ "type": "object",
4632
+ "properties": {
4633
+ "runId": {
4634
+ "type": "string",
4635
+ "minLength": 1,
4636
+ "maxLength": 512
4637
+ },
4638
+ "op": {
4639
+ "type": "string",
4640
+ "const": "file"
4641
+ },
4642
+ "uploadId": {
4643
+ "type": "string",
4644
+ "minLength": 1,
4645
+ "maxLength": 512
4646
+ },
4647
+ "path": {
4648
+ "type": "string",
4649
+ "minLength": 1
4650
+ },
4651
+ "size": {
4652
+ "type": "integer",
4653
+ "minimum": 0,
4654
+ "maximum": 9007199254740991
4655
+ },
4656
+ "sha256": {
4657
+ "type": "string",
4658
+ "pattern": "^[0-9a-f]{64}$"
4659
+ },
4660
+ "contentType": {
4661
+ "type": "string",
4662
+ "minLength": 1
4663
+ },
4664
+ "base64": {
4665
+ "type": "string"
4666
+ }
4667
+ },
4668
+ "required": [
4669
+ "runId",
4670
+ "op",
4671
+ "uploadId",
4672
+ "path",
4673
+ "size",
4674
+ "sha256"
4675
+ ],
4676
+ "additionalProperties": false
4677
+ },
4678
+ {
4679
+ "type": "object",
4680
+ "properties": {
4681
+ "runId": {
4682
+ "type": "string",
4683
+ "minLength": 1,
4684
+ "maxLength": 512
4685
+ },
4686
+ "op": {
4687
+ "type": "string",
4688
+ "const": "chunk"
4689
+ },
4690
+ "uploadId": {
4691
+ "type": "string",
4692
+ "minLength": 1,
4693
+ "maxLength": 512
4694
+ },
4695
+ "sha256": {
4696
+ "type": "string",
4697
+ "pattern": "^[0-9a-f]{64}$"
4698
+ },
4699
+ "offset": {
4700
+ "type": "integer",
4701
+ "minimum": 0,
4702
+ "maximum": 9007199254740991
4703
+ },
4704
+ "base64": {
4705
+ "type": "string",
4706
+ "minLength": 1
4707
+ }
4708
+ },
4709
+ "required": [
4710
+ "runId",
4711
+ "op",
4712
+ "uploadId",
4713
+ "offset",
4714
+ "base64"
4715
+ ],
4716
+ "additionalProperties": false
4717
+ },
4718
+ {
4719
+ "type": "object",
4720
+ "properties": {
4721
+ "runId": {
4722
+ "type": "string",
4723
+ "minLength": 1,
4724
+ "maxLength": 512
4725
+ },
4726
+ "op": {
4727
+ "type": "string",
4728
+ "const": "commit"
4729
+ },
4730
+ "uploadId": {
4731
+ "type": "string",
4732
+ "minLength": 1,
4733
+ "maxLength": 512
4734
+ }
4735
+ },
4736
+ "required": [
4737
+ "runId",
4738
+ "op",
4739
+ "uploadId"
4740
+ ],
4741
+ "additionalProperties": false
4742
+ },
4743
+ {
4744
+ "type": "object",
4745
+ "properties": {
4746
+ "runId": {
4747
+ "type": "string",
4748
+ "minLength": 1,
4749
+ "maxLength": 512
4750
+ },
4751
+ "op": {
4752
+ "type": "string",
4753
+ "const": "abort"
4754
+ },
4755
+ "uploadId": {
4756
+ "type": "string",
4757
+ "minLength": 1,
4758
+ "maxLength": 512
4759
+ }
4760
+ },
4761
+ "required": [
4762
+ "runId",
4763
+ "op",
4764
+ "uploadId"
4765
+ ],
4766
+ "additionalProperties": false
4767
+ }
4768
+ ]
4769
+ },
4770
+ "artifact.write.result": {
4771
+ "anyOf": [
4772
+ {
4773
+ "type": "object",
4774
+ "properties": {
4775
+ "status": {
4776
+ "type": "string",
4777
+ "const": "open"
4778
+ },
4779
+ "uploadId": {
4780
+ "type": "string",
4781
+ "minLength": 1,
4782
+ "maxLength": 512
4783
+ },
4784
+ "maxBytes": {
4785
+ "type": "integer",
4786
+ "minimum": 0,
4787
+ "maximum": 9007199254740991
4788
+ },
4789
+ "maxFileBytes": {
4790
+ "type": "integer",
4791
+ "minimum": 0,
4792
+ "maximum": 9007199254740991
4793
+ },
4794
+ "maxEntries": {
4795
+ "type": "integer",
4796
+ "exclusiveMinimum": 0,
4797
+ "maximum": 9007199254740991
4798
+ },
4799
+ "received": {
4800
+ "type": "integer",
4801
+ "minimum": 0,
4802
+ "maximum": 9007199254740991
4803
+ }
4804
+ },
4805
+ "required": [
4806
+ "status",
4807
+ "uploadId",
4808
+ "maxBytes",
4809
+ "received"
4810
+ ],
4811
+ "additionalProperties": false
4812
+ },
4813
+ {
4814
+ "type": "object",
4815
+ "properties": {
4816
+ "status": {
4817
+ "type": "string",
4818
+ "const": "written"
4819
+ },
4820
+ "artifact": {
4821
+ "type": "object",
4822
+ "properties": {
4823
+ "artifactId": {
4824
+ "type": "string",
4825
+ "minLength": 1,
4826
+ "maxLength": 512
4827
+ },
4828
+ "kind": {
4829
+ "type": "string",
4830
+ "enum": [
4831
+ "file",
4832
+ "folder"
4833
+ ]
4834
+ },
4835
+ "name": {
4836
+ "type": "string"
4837
+ },
4838
+ "version": {
4839
+ "type": "integer",
4840
+ "minimum": 1,
4841
+ "maximum": 9007199254740991
4842
+ },
4843
+ "contentType": {
4844
+ "type": "string"
4845
+ },
4846
+ "size": {
4847
+ "type": "integer",
4848
+ "minimum": 0,
4849
+ "maximum": 9007199254740991
4850
+ },
4851
+ "sha256": {
4852
+ "type": "string",
4853
+ "pattern": "^[0-9a-f]{64}$"
4854
+ },
4855
+ "tenantWide": {
4856
+ "type": "boolean"
4857
+ }
4858
+ },
4859
+ "required": [
4860
+ "artifactId",
4861
+ "kind",
4862
+ "name",
4863
+ "version",
4864
+ "contentType",
4865
+ "size",
4866
+ "sha256",
4867
+ "tenantWide"
4868
+ ],
4869
+ "additionalProperties": false
4870
+ },
4871
+ "created": {
4872
+ "type": "boolean"
4873
+ },
4874
+ "unchanged": {
4875
+ "type": "boolean",
4876
+ "const": true
4877
+ }
4878
+ },
4879
+ "required": [
4880
+ "status",
4881
+ "artifact",
4882
+ "created"
4883
+ ],
4884
+ "additionalProperties": false
3519
4885
  },
3520
- "diagnostics": {
3521
- "type": "array",
3522
- "items": {}
3523
- }
3524
- },
3525
- "required": [
3526
- "runId",
3527
- "diagnostics"
3528
- ],
3529
- "additionalProperties": false
3530
- },
3531
- "session.mcp.result": {
3532
- "type": "object",
3533
- "properties": {
3534
- "snapshot": {
4886
+ {
3535
4887
  "type": "object",
3536
4888
  "properties": {
3537
- "snapshotSchemaVersion": {
3538
- "type": "number",
3539
- "const": 1
4889
+ "status": {
4890
+ "type": "string",
4891
+ "const": "refused"
3540
4892
  },
3541
- "manifestHash": {
3542
- "type": "string"
4893
+ "reason": {
4894
+ "type": "string",
4895
+ "enum": [
4896
+ "tenant_total",
4897
+ "environment_total"
4898
+ ]
3543
4899
  },
3544
- "mcpTools": {
3545
- "readOnly": true,
3546
- "type": "array",
3547
- "items": {
3548
- "type": "object",
3549
- "properties": {
3550
- "agentId": {
3551
- "type": "string"
3552
- },
3553
- "serverName": {
3554
- "type": "string"
3555
- },
3556
- "serverToolName": {
3557
- "type": "string"
3558
- },
3559
- "name": {
3560
- "type": "string"
3561
- },
3562
- "description": {
3563
- "type": "string"
3564
- },
3565
- "inputSchema": {
3566
- "type": "object",
3567
- "propertyNames": {
3568
- "type": "string"
3569
- },
3570
- "additionalProperties": {}
3571
- },
3572
- "outputSchema": {
3573
- "type": "object",
3574
- "propertyNames": {
3575
- "type": "string"
3576
- },
3577
- "additionalProperties": {}
3578
- },
3579
- "annotations": {
3580
- "type": "object",
3581
- "properties": {
3582
- "readOnlyHint": {
3583
- "type": "boolean"
3584
- },
3585
- "idempotentHint": {
3586
- "type": "boolean"
3587
- }
3588
- }
3589
- },
3590
- "deferred": {
3591
- "type": "boolean",
3592
- "const": true
3593
- }
3594
- },
3595
- "required": [
3596
- "serverName",
3597
- "serverToolName",
3598
- "name",
3599
- "inputSchema"
3600
- ]
3601
- }
4900
+ "message": {
4901
+ "type": "string"
3602
4902
  },
3603
- "servers": {
3604
- "readOnly": true,
3605
- "type": "array",
3606
- "items": {
3607
- "type": "object",
3608
- "properties": {
3609
- "agentId": {
3610
- "type": "string"
3611
- },
3612
- "serverName": {
3613
- "type": "string"
3614
- },
3615
- "instructions": {
3616
- "type": "string"
3617
- }
3618
- },
3619
- "required": [
3620
- "serverName",
3621
- "instructions"
3622
- ]
3623
- }
4903
+ "limit": {
4904
+ "type": "integer",
4905
+ "minimum": 0,
4906
+ "maximum": 9007199254740991
3624
4907
  }
3625
4908
  },
3626
4909
  "required": [
3627
- "snapshotSchemaVersion",
3628
- "manifestHash",
3629
- "mcpTools"
3630
- ]
3631
- },
3632
- "sessionTools": {
3633
- "type": "array",
3634
- "items": {}
3635
- }
3636
- },
3637
- "required": [
3638
- "sessionTools"
3639
- ],
3640
- "additionalProperties": false
3641
- },
3642
- "definition.file.params": {
3643
- "type": "object",
3644
- "properties": {
3645
- "runId": {
3646
- "type": "string",
3647
- "minLength": 1,
3648
- "maxLength": 512
4910
+ "status",
4911
+ "reason",
4912
+ "message",
4913
+ "limit"
4914
+ ],
4915
+ "additionalProperties": false
3649
4916
  },
3650
- "sha256": {
3651
- "type": "string",
3652
- "pattern": "^sha256:[0-9a-f]{64}$"
3653
- }
3654
- },
3655
- "required": [
3656
- "runId",
3657
- "sha256"
3658
- ],
3659
- "additionalProperties": false
3660
- },
3661
- "definition.file.result": {
3662
- "type": "object",
3663
- "properties": {
3664
- "base64": {
3665
- "type": "string"
4917
+ {
4918
+ "type": "object",
4919
+ "properties": {
4920
+ "status": {
4921
+ "type": "string",
4922
+ "const": "aborted"
4923
+ }
4924
+ },
4925
+ "required": [
4926
+ "status"
4927
+ ],
4928
+ "additionalProperties": false
3666
4929
  }
3667
- },
3668
- "required": [
3669
- "base64"
3670
- ],
3671
- "additionalProperties": false
4930
+ ]
3672
4931
  },
3673
4932
  "turn.completed.params": {
3674
4933
  "type": "object",
@@ -3712,29 +4971,102 @@
3712
4971
  "readOnly": true,
3713
4972
  "type": "array",
3714
4973
  "items": {
3715
- "type": "object",
3716
- "properties": {
3717
- "keep": {
3718
- "type": "integer",
3719
- "minimum": 0,
3720
- "maximum": 9007199254740991
3721
- },
3722
- "entries": {
3723
- "type": "array",
3724
- "items": {}
4974
+ "anyOf": [
4975
+ {
4976
+ "type": "object",
4977
+ "properties": {
4978
+ "keep": {
4979
+ "type": "integer",
4980
+ "minimum": 0,
4981
+ "maximum": 9007199254740991
4982
+ },
4983
+ "entries": {
4984
+ "type": "array",
4985
+ "items": {}
4986
+ },
4987
+ "length": {
4988
+ "type": "integer",
4989
+ "minimum": 0,
4990
+ "maximum": 9007199254740991
4991
+ }
4992
+ },
4993
+ "required": [
4994
+ "keep",
4995
+ "entries",
4996
+ "length"
4997
+ ],
4998
+ "additionalProperties": false
3725
4999
  },
3726
- "length": {
3727
- "type": "integer",
3728
- "minimum": 0,
3729
- "maximum": 9007199254740991
5000
+ {
5001
+ "type": "object",
5002
+ "properties": {
5003
+ "kind": {
5004
+ "type": "string",
5005
+ "const": "compaction"
5006
+ },
5007
+ "keep": {
5008
+ "type": "integer",
5009
+ "minimum": 0,
5010
+ "maximum": 9007199254740991
5011
+ },
5012
+ "entries": {
5013
+ "type": "array",
5014
+ "items": {}
5015
+ },
5016
+ "length": {
5017
+ "type": "integer",
5018
+ "minimum": 0,
5019
+ "maximum": 9007199254740991
5020
+ },
5021
+ "compaction": {
5022
+ "type": "object",
5023
+ "properties": {
5024
+ "trigger": {
5025
+ "type": "string",
5026
+ "enum": [
5027
+ "threshold",
5028
+ "overflow"
5029
+ ]
5030
+ },
5031
+ "tokensBefore": {
5032
+ "type": "integer",
5033
+ "minimum": 0,
5034
+ "maximum": 9007199254740991
5035
+ },
5036
+ "tokensAfter": {
5037
+ "type": "integer",
5038
+ "minimum": 0,
5039
+ "maximum": 9007199254740991
5040
+ },
5041
+ "summaryEffectIds": {
5042
+ "minItems": 1,
5043
+ "type": "array",
5044
+ "items": {
5045
+ "type": "string",
5046
+ "minLength": 1,
5047
+ "maxLength": 512
5048
+ }
5049
+ }
5050
+ },
5051
+ "required": [
5052
+ "trigger",
5053
+ "tokensBefore",
5054
+ "tokensAfter",
5055
+ "summaryEffectIds"
5056
+ ],
5057
+ "additionalProperties": false
5058
+ }
5059
+ },
5060
+ "required": [
5061
+ "kind",
5062
+ "keep",
5063
+ "entries",
5064
+ "length",
5065
+ "compaction"
5066
+ ],
5067
+ "additionalProperties": false
3730
5068
  }
3731
- },
3732
- "required": [
3733
- "keep",
3734
- "entries",
3735
- "length"
3736
- ],
3737
- "additionalProperties": false
5069
+ ]
3738
5070
  }
3739
5071
  },
3740
5072
  "thrown": {
@@ -3811,29 +5143,102 @@
3811
5143
  "readOnly": true,
3812
5144
  "type": "array",
3813
5145
  "items": {
3814
- "type": "object",
3815
- "properties": {
3816
- "keep": {
3817
- "type": "integer",
3818
- "minimum": 0,
3819
- "maximum": 9007199254740991
3820
- },
3821
- "entries": {
3822
- "type": "array",
3823
- "items": {}
5146
+ "anyOf": [
5147
+ {
5148
+ "type": "object",
5149
+ "properties": {
5150
+ "keep": {
5151
+ "type": "integer",
5152
+ "minimum": 0,
5153
+ "maximum": 9007199254740991
5154
+ },
5155
+ "entries": {
5156
+ "type": "array",
5157
+ "items": {}
5158
+ },
5159
+ "length": {
5160
+ "type": "integer",
5161
+ "minimum": 0,
5162
+ "maximum": 9007199254740991
5163
+ }
5164
+ },
5165
+ "required": [
5166
+ "keep",
5167
+ "entries",
5168
+ "length"
5169
+ ],
5170
+ "additionalProperties": false
3824
5171
  },
3825
- "length": {
3826
- "type": "integer",
3827
- "minimum": 0,
3828
- "maximum": 9007199254740991
5172
+ {
5173
+ "type": "object",
5174
+ "properties": {
5175
+ "kind": {
5176
+ "type": "string",
5177
+ "const": "compaction"
5178
+ },
5179
+ "keep": {
5180
+ "type": "integer",
5181
+ "minimum": 0,
5182
+ "maximum": 9007199254740991
5183
+ },
5184
+ "entries": {
5185
+ "type": "array",
5186
+ "items": {}
5187
+ },
5188
+ "length": {
5189
+ "type": "integer",
5190
+ "minimum": 0,
5191
+ "maximum": 9007199254740991
5192
+ },
5193
+ "compaction": {
5194
+ "type": "object",
5195
+ "properties": {
5196
+ "trigger": {
5197
+ "type": "string",
5198
+ "enum": [
5199
+ "threshold",
5200
+ "overflow"
5201
+ ]
5202
+ },
5203
+ "tokensBefore": {
5204
+ "type": "integer",
5205
+ "minimum": 0,
5206
+ "maximum": 9007199254740991
5207
+ },
5208
+ "tokensAfter": {
5209
+ "type": "integer",
5210
+ "minimum": 0,
5211
+ "maximum": 9007199254740991
5212
+ },
5213
+ "summaryEffectIds": {
5214
+ "minItems": 1,
5215
+ "type": "array",
5216
+ "items": {
5217
+ "type": "string",
5218
+ "minLength": 1,
5219
+ "maxLength": 512
5220
+ }
5221
+ }
5222
+ },
5223
+ "required": [
5224
+ "trigger",
5225
+ "tokensBefore",
5226
+ "tokensAfter",
5227
+ "summaryEffectIds"
5228
+ ],
5229
+ "additionalProperties": false
5230
+ }
5231
+ },
5232
+ "required": [
5233
+ "kind",
5234
+ "keep",
5235
+ "entries",
5236
+ "length",
5237
+ "compaction"
5238
+ ],
5239
+ "additionalProperties": false
3829
5240
  }
3830
- },
3831
- "required": [
3832
- "keep",
3833
- "entries",
3834
- "length"
3835
- ],
3836
- "additionalProperties": false
5241
+ ]
3837
5242
  }
3838
5243
  },
3839
5244
  "thrown": {
@@ -3910,29 +5315,102 @@
3910
5315
  "readOnly": true,
3911
5316
  "type": "array",
3912
5317
  "items": {
3913
- "type": "object",
3914
- "properties": {
3915
- "keep": {
3916
- "type": "integer",
3917
- "minimum": 0,
3918
- "maximum": 9007199254740991
3919
- },
3920
- "entries": {
3921
- "type": "array",
3922
- "items": {}
5318
+ "anyOf": [
5319
+ {
5320
+ "type": "object",
5321
+ "properties": {
5322
+ "keep": {
5323
+ "type": "integer",
5324
+ "minimum": 0,
5325
+ "maximum": 9007199254740991
5326
+ },
5327
+ "entries": {
5328
+ "type": "array",
5329
+ "items": {}
5330
+ },
5331
+ "length": {
5332
+ "type": "integer",
5333
+ "minimum": 0,
5334
+ "maximum": 9007199254740991
5335
+ }
5336
+ },
5337
+ "required": [
5338
+ "keep",
5339
+ "entries",
5340
+ "length"
5341
+ ],
5342
+ "additionalProperties": false
3923
5343
  },
3924
- "length": {
3925
- "type": "integer",
3926
- "minimum": 0,
3927
- "maximum": 9007199254740991
5344
+ {
5345
+ "type": "object",
5346
+ "properties": {
5347
+ "kind": {
5348
+ "type": "string",
5349
+ "const": "compaction"
5350
+ },
5351
+ "keep": {
5352
+ "type": "integer",
5353
+ "minimum": 0,
5354
+ "maximum": 9007199254740991
5355
+ },
5356
+ "entries": {
5357
+ "type": "array",
5358
+ "items": {}
5359
+ },
5360
+ "length": {
5361
+ "type": "integer",
5362
+ "minimum": 0,
5363
+ "maximum": 9007199254740991
5364
+ },
5365
+ "compaction": {
5366
+ "type": "object",
5367
+ "properties": {
5368
+ "trigger": {
5369
+ "type": "string",
5370
+ "enum": [
5371
+ "threshold",
5372
+ "overflow"
5373
+ ]
5374
+ },
5375
+ "tokensBefore": {
5376
+ "type": "integer",
5377
+ "minimum": 0,
5378
+ "maximum": 9007199254740991
5379
+ },
5380
+ "tokensAfter": {
5381
+ "type": "integer",
5382
+ "minimum": 0,
5383
+ "maximum": 9007199254740991
5384
+ },
5385
+ "summaryEffectIds": {
5386
+ "minItems": 1,
5387
+ "type": "array",
5388
+ "items": {
5389
+ "type": "string",
5390
+ "minLength": 1,
5391
+ "maxLength": 512
5392
+ }
5393
+ }
5394
+ },
5395
+ "required": [
5396
+ "trigger",
5397
+ "tokensBefore",
5398
+ "tokensAfter",
5399
+ "summaryEffectIds"
5400
+ ],
5401
+ "additionalProperties": false
5402
+ }
5403
+ },
5404
+ "required": [
5405
+ "kind",
5406
+ "keep",
5407
+ "entries",
5408
+ "length",
5409
+ "compaction"
5410
+ ],
5411
+ "additionalProperties": false
3928
5412
  }
3929
- },
3930
- "required": [
3931
- "keep",
3932
- "entries",
3933
- "length"
3934
- ],
3935
- "additionalProperties": false
5413
+ ]
3936
5414
  }
3937
5415
  },
3938
5416
  "thrown": {
@@ -4009,29 +5487,102 @@
4009
5487
  "readOnly": true,
4010
5488
  "type": "array",
4011
5489
  "items": {
4012
- "type": "object",
4013
- "properties": {
4014
- "keep": {
4015
- "type": "integer",
4016
- "minimum": 0,
4017
- "maximum": 9007199254740991
4018
- },
4019
- "entries": {
4020
- "type": "array",
4021
- "items": {}
5490
+ "anyOf": [
5491
+ {
5492
+ "type": "object",
5493
+ "properties": {
5494
+ "keep": {
5495
+ "type": "integer",
5496
+ "minimum": 0,
5497
+ "maximum": 9007199254740991
5498
+ },
5499
+ "entries": {
5500
+ "type": "array",
5501
+ "items": {}
5502
+ },
5503
+ "length": {
5504
+ "type": "integer",
5505
+ "minimum": 0,
5506
+ "maximum": 9007199254740991
5507
+ }
5508
+ },
5509
+ "required": [
5510
+ "keep",
5511
+ "entries",
5512
+ "length"
5513
+ ],
5514
+ "additionalProperties": false
4022
5515
  },
4023
- "length": {
4024
- "type": "integer",
4025
- "minimum": 0,
4026
- "maximum": 9007199254740991
5516
+ {
5517
+ "type": "object",
5518
+ "properties": {
5519
+ "kind": {
5520
+ "type": "string",
5521
+ "const": "compaction"
5522
+ },
5523
+ "keep": {
5524
+ "type": "integer",
5525
+ "minimum": 0,
5526
+ "maximum": 9007199254740991
5527
+ },
5528
+ "entries": {
5529
+ "type": "array",
5530
+ "items": {}
5531
+ },
5532
+ "length": {
5533
+ "type": "integer",
5534
+ "minimum": 0,
5535
+ "maximum": 9007199254740991
5536
+ },
5537
+ "compaction": {
5538
+ "type": "object",
5539
+ "properties": {
5540
+ "trigger": {
5541
+ "type": "string",
5542
+ "enum": [
5543
+ "threshold",
5544
+ "overflow"
5545
+ ]
5546
+ },
5547
+ "tokensBefore": {
5548
+ "type": "integer",
5549
+ "minimum": 0,
5550
+ "maximum": 9007199254740991
5551
+ },
5552
+ "tokensAfter": {
5553
+ "type": "integer",
5554
+ "minimum": 0,
5555
+ "maximum": 9007199254740991
5556
+ },
5557
+ "summaryEffectIds": {
5558
+ "minItems": 1,
5559
+ "type": "array",
5560
+ "items": {
5561
+ "type": "string",
5562
+ "minLength": 1,
5563
+ "maxLength": 512
5564
+ }
5565
+ }
5566
+ },
5567
+ "required": [
5568
+ "trigger",
5569
+ "tokensBefore",
5570
+ "tokensAfter",
5571
+ "summaryEffectIds"
5572
+ ],
5573
+ "additionalProperties": false
5574
+ }
5575
+ },
5576
+ "required": [
5577
+ "kind",
5578
+ "keep",
5579
+ "entries",
5580
+ "length",
5581
+ "compaction"
5582
+ ],
5583
+ "additionalProperties": false
4027
5584
  }
4028
- },
4029
- "required": [
4030
- "keep",
4031
- "entries",
4032
- "length"
4033
- ],
4034
- "additionalProperties": false
5585
+ ]
4035
5586
  }
4036
5587
  },
4037
5588
  "thrown": {
@@ -4108,29 +5659,102 @@
4108
5659
  "readOnly": true,
4109
5660
  "type": "array",
4110
5661
  "items": {
4111
- "type": "object",
4112
- "properties": {
4113
- "keep": {
4114
- "type": "integer",
4115
- "minimum": 0,
4116
- "maximum": 9007199254740991
4117
- },
4118
- "entries": {
4119
- "type": "array",
4120
- "items": {}
5662
+ "anyOf": [
5663
+ {
5664
+ "type": "object",
5665
+ "properties": {
5666
+ "keep": {
5667
+ "type": "integer",
5668
+ "minimum": 0,
5669
+ "maximum": 9007199254740991
5670
+ },
5671
+ "entries": {
5672
+ "type": "array",
5673
+ "items": {}
5674
+ },
5675
+ "length": {
5676
+ "type": "integer",
5677
+ "minimum": 0,
5678
+ "maximum": 9007199254740991
5679
+ }
5680
+ },
5681
+ "required": [
5682
+ "keep",
5683
+ "entries",
5684
+ "length"
5685
+ ],
5686
+ "additionalProperties": false
4121
5687
  },
4122
- "length": {
4123
- "type": "integer",
4124
- "minimum": 0,
4125
- "maximum": 9007199254740991
5688
+ {
5689
+ "type": "object",
5690
+ "properties": {
5691
+ "kind": {
5692
+ "type": "string",
5693
+ "const": "compaction"
5694
+ },
5695
+ "keep": {
5696
+ "type": "integer",
5697
+ "minimum": 0,
5698
+ "maximum": 9007199254740991
5699
+ },
5700
+ "entries": {
5701
+ "type": "array",
5702
+ "items": {}
5703
+ },
5704
+ "length": {
5705
+ "type": "integer",
5706
+ "minimum": 0,
5707
+ "maximum": 9007199254740991
5708
+ },
5709
+ "compaction": {
5710
+ "type": "object",
5711
+ "properties": {
5712
+ "trigger": {
5713
+ "type": "string",
5714
+ "enum": [
5715
+ "threshold",
5716
+ "overflow"
5717
+ ]
5718
+ },
5719
+ "tokensBefore": {
5720
+ "type": "integer",
5721
+ "minimum": 0,
5722
+ "maximum": 9007199254740991
5723
+ },
5724
+ "tokensAfter": {
5725
+ "type": "integer",
5726
+ "minimum": 0,
5727
+ "maximum": 9007199254740991
5728
+ },
5729
+ "summaryEffectIds": {
5730
+ "minItems": 1,
5731
+ "type": "array",
5732
+ "items": {
5733
+ "type": "string",
5734
+ "minLength": 1,
5735
+ "maxLength": 512
5736
+ }
5737
+ }
5738
+ },
5739
+ "required": [
5740
+ "trigger",
5741
+ "tokensBefore",
5742
+ "tokensAfter",
5743
+ "summaryEffectIds"
5744
+ ],
5745
+ "additionalProperties": false
5746
+ }
5747
+ },
5748
+ "required": [
5749
+ "kind",
5750
+ "keep",
5751
+ "entries",
5752
+ "length",
5753
+ "compaction"
5754
+ ],
5755
+ "additionalProperties": false
4126
5756
  }
4127
- },
4128
- "required": [
4129
- "keep",
4130
- "entries",
4131
- "length"
4132
- ],
4133
- "additionalProperties": false
5757
+ ]
4134
5758
  }
4135
5759
  },
4136
5760
  "thrown": {
@@ -4224,132 +5848,6 @@
4224
5848
  ],
4225
5849
  "additionalProperties": false
4226
5850
  },
4227
- {
4228
- "type": "object",
4229
- "properties": {
4230
- "session": {
4231
- "type": "object",
4232
- "properties": {
4233
- "ownerId": {
4234
- "type": "string",
4235
- "minLength": 1,
4236
- "maxLength": 512
4237
- },
4238
- "environmentId": {
4239
- "type": "string",
4240
- "minLength": 1,
4241
- "maxLength": 512
4242
- },
4243
- "activeTurnId": {
4244
- "anyOf": [
4245
- {
4246
- "type": "string",
4247
- "minLength": 1,
4248
- "maxLength": 512
4249
- },
4250
- {
4251
- "type": "null"
4252
- }
4253
- ]
4254
- }
4255
- },
4256
- "required": [
4257
- "ownerId",
4258
- "activeTurnId"
4259
- ],
4260
- "additionalProperties": false
4261
- },
4262
- "spec": {},
4263
- "bytes": {
4264
- "type": "object",
4265
- "properties": {
4266
- "path": {
4267
- "type": "string",
4268
- "minLength": 1
4269
- },
4270
- "maxBytes": {
4271
- "type": "integer",
4272
- "exclusiveMinimum": 0,
4273
- "maximum": 9007199254740991
4274
- }
4275
- },
4276
- "required": [
4277
- "path",
4278
- "maxBytes"
4279
- ],
4280
- "additionalProperties": false
4281
- }
4282
- },
4283
- "required": [
4284
- "session",
4285
- "spec",
4286
- "bytes"
4287
- ],
4288
- "additionalProperties": false
4289
- },
4290
- {
4291
- "type": "object",
4292
- "properties": {
4293
- "session": {
4294
- "type": "object",
4295
- "properties": {
4296
- "ownerId": {
4297
- "type": "string",
4298
- "minLength": 1,
4299
- "maxLength": 512
4300
- },
4301
- "environmentId": {
4302
- "type": "string",
4303
- "minLength": 1,
4304
- "maxLength": 512
4305
- },
4306
- "activeTurnId": {
4307
- "anyOf": [
4308
- {
4309
- "type": "string",
4310
- "minLength": 1,
4311
- "maxLength": 512
4312
- },
4313
- {
4314
- "type": "null"
4315
- }
4316
- ]
4317
- }
4318
- },
4319
- "required": [
4320
- "ownerId",
4321
- "activeTurnId"
4322
- ],
4323
- "additionalProperties": false
4324
- },
4325
- "spec": {},
4326
- "list": {
4327
- "type": "object",
4328
- "properties": {
4329
- "dir": {
4330
- "type": "string",
4331
- "minLength": 1
4332
- },
4333
- "maxEntries": {
4334
- "type": "integer",
4335
- "exclusiveMinimum": 0,
4336
- "maximum": 9007199254740991
4337
- }
4338
- },
4339
- "required": [
4340
- "dir",
4341
- "maxEntries"
4342
- ],
4343
- "additionalProperties": false
4344
- }
4345
- },
4346
- "required": [
4347
- "session",
4348
- "spec",
4349
- "list"
4350
- ],
4351
- "additionalProperties": false
4352
- },
4353
5851
  {
4354
5852
  "type": "object",
4355
5853
  "properties": {
@@ -4429,7 +5927,7 @@
4429
5927
  "length": {
4430
5928
  "type": "integer",
4431
5929
  "exclusiveMinimum": 0,
4432
- "maximum": 16777216
5930
+ "maximum": 50266112
4433
5931
  }
4434
5932
  },
4435
5933
  "required": [
@@ -4667,7 +6165,7 @@
4667
6165
  "length": {
4668
6166
  "type": "integer",
4669
6167
  "exclusiveMinimum": 0,
4670
- "maximum": 16777216
6168
+ "maximum": 50266112
4671
6169
  }
4672
6170
  },
4673
6171
  "required": [