@ycodium-ai/plugin-api 0.2.3635 → 0.2.3671

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.
@@ -239,7 +239,7 @@ type Objects_32 = {
239
239
  readonly "width": number;
240
240
  readonly "height": number;
241
241
  };
242
- type Union_20 = {
242
+ type Union_21 = {
243
243
  readonly "x": number;
244
244
  readonly "y": number;
245
245
  readonly "width": number;
@@ -283,7 +283,7 @@ type Objects_38 = {
283
283
  readonly "total": number;
284
284
  readonly "nextOffset": number | null;
285
285
  };
286
- type Union_24 = {
286
+ type Union_26 = {
287
287
  readonly "totalTokens": number;
288
288
  readonly "inputTokens"?: number | undefined;
289
289
  readonly "cachedInputTokens"?: number | undefined;
@@ -292,7 +292,7 @@ type Union_24 = {
292
292
  readonly "toolUses"?: number | undefined;
293
293
  readonly "durationMs"?: number | undefined;
294
294
  } | undefined;
295
- type Union_25 = {
295
+ type Union_27 = {
296
296
  readonly "kind": "thread";
297
297
  readonly "environmentId"?: string | undefined;
298
298
  readonly "threadId": string;
@@ -337,14 +337,14 @@ type Arrays_6 = ReadonlyArray<{
337
337
  type Objects_42 = {
338
338
  readonly "workLineId": string;
339
339
  };
340
- type Union_29 = {
340
+ type Union_31 = {
341
341
  readonly "kind": "account";
342
342
  readonly "userId": string;
343
343
  } | {
344
344
  readonly "kind": "local-owner";
345
345
  readonly "environmentId": string;
346
346
  };
347
- type Union_30 = {
347
+ type Union_32 = {
348
348
  readonly "kind": "account";
349
349
  readonly "userId": string;
350
350
  } | {
@@ -387,7 +387,7 @@ type Arrays_8 = ReadonlyArray<{
387
387
  readonly "altKey": boolean;
388
388
  readonly "modKey": boolean;
389
389
  };
390
- readonly "whenAst"?: Union_31 | undefined;
390
+ readonly "whenAst"?: Union_33 | undefined;
391
391
  }>;
392
392
  type Arrays_9 = ReadonlyArray<{
393
393
  readonly "kind": "keybindings.malformed-config";
@@ -439,7 +439,7 @@ type Objects_55 = {
439
439
  readonly "pauseWhenClientLowPower"?: boolean;
440
440
  readonly "pauseWhenOnBattery"?: boolean;
441
441
  };
442
- type Union_32 = {
442
+ type Union_34 = {
443
443
  readonly "type": "stdio";
444
444
  readonly "command": string;
445
445
  readonly "argCount": number;
@@ -511,17 +511,17 @@ type Objects_72 = {
511
511
  readonly "catalogId": string;
512
512
  readonly "version": string;
513
513
  };
514
- type Union_37 = {
514
+ type Union_39 = {
515
515
  readonly "enabled": boolean;
516
516
  readonly "phase": "idle" | "building" | "error";
517
517
  readonly "error": string | null;
518
518
  } | undefined;
519
- type Union_38 = ReadonlyArray<string> | undefined;
519
+ type Union_40 = ReadonlyArray<string> | undefined;
520
520
  type Arrays_17 = ReadonlyArray<{
521
521
  readonly "kind": "toolkit" | "reactor" | "settingsCard" | "modelPreset" | "command" | "cli" | "interval" | "executor" | "protocolConversion" | "skill" | "filePreviewConverter";
522
522
  readonly "name": string;
523
523
  }>;
524
- type Union_39 = {
524
+ type Union_41 = {
525
525
  readonly "eventsHandled": number;
526
526
  readonly "toolCalls": number;
527
527
  readonly "processesSpawned"?: number | undefined;
@@ -576,13 +576,13 @@ type Objects_87 = {
576
576
  type Objects_88 = {
577
577
  readonly "kind": "threads.user";
578
578
  };
579
- type Union_40 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
579
+ type Union_42 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
580
580
  type Arrays_19 = ReadonlyArray<"team" | "project">;
581
581
  type Arrays_20 = ReadonlyArray<string>;
582
582
  type Objects_89 = {
583
583
  readonly "ids": readonly [string, ...Array<string>];
584
584
  };
585
- type Union_41 = ReadonlyArray<{
585
+ type Union_43 = ReadonlyArray<{
586
586
  readonly "value": string;
587
587
  readonly "label"?: string | undefined;
588
588
  readonly "labelKey"?: string | undefined;
@@ -595,7 +595,7 @@ type Objects_90 = {
595
595
  type Objects_91 = {
596
596
  readonly [x: string]: unknown;
597
597
  };
598
- type Union_43 = {
598
+ type Union_45 = {
599
599
  readonly "key": string;
600
600
  readonly "values"?: {
601
601
  readonly [x: string]: string | number;
@@ -669,7 +669,7 @@ type Objects_111 = {
669
669
  readonly "pageId": string;
670
670
  readonly "revision": number;
671
671
  };
672
- type Union_45 = {
672
+ type Union_47 = {
673
673
  readonly "experienceId": string;
674
674
  readonly "revision": number;
675
675
  } | null;
@@ -714,25 +714,25 @@ type Objects_123 = {
714
714
  readonly "requestId"?: string;
715
715
  readonly "workLineId": string;
716
716
  };
717
- type Union_49 = {
717
+ type Union_51 = {
718
718
  readonly "pattern": string;
719
719
  readonly "color": string;
720
720
  } | null;
721
- type Objects_124 = {
721
+ type Objects_125 = {
722
722
  readonly "pattern": string;
723
723
  readonly "color": string;
724
724
  };
725
- type Objects_125 = {
725
+ type Objects_126 = {
726
726
  readonly "projectId": string;
727
727
  readonly "requestId"?: string;
728
728
  readonly "memberId": string;
729
729
  };
730
- type Objects_126 = {
730
+ type Objects_127 = {
731
731
  readonly "sequence": number;
732
732
  readonly "replayed"?: boolean;
733
733
  readonly "status": "accepted" | "noop";
734
734
  };
735
- type Objects_127 = {
735
+ type Objects_128 = {
736
736
  readonly "_tag": "snap-shot";
737
737
  readonly "capturedAt": string;
738
738
  readonly "appName": string;
@@ -750,12 +750,12 @@ type Objects_127 = {
750
750
  readonly "height": number;
751
751
  };
752
752
  readonly "truncated": boolean;
753
- readonly "root": Objects_128;
753
+ readonly "root": Objects_129;
754
754
  };
755
755
  readonly "appIdentifier"?: string;
756
756
  readonly "appIconDataUrl"?: string;
757
757
  };
758
- type Objects_129 = {
758
+ type Objects_130 = {
759
759
  readonly "_tag": "agent-artifact";
760
760
  readonly "sourcePath": string;
761
761
  readonly "linkBase"?: string;
@@ -765,13 +765,13 @@ type Objects_129 = {
765
765
  readonly "delivered"?: true;
766
766
  readonly "sha256"?: string;
767
767
  };
768
- type Objects_131 = {
768
+ type Objects_132 = {
769
769
  readonly "projectId": string;
770
770
  readonly "repository": string;
771
771
  readonly "number": number;
772
772
  readonly "url": string;
773
773
  };
774
- type Objects_132 = {
774
+ type Objects_133 = {
775
775
  readonly "_tag": "snap-shot";
776
776
  readonly "capturedAt": string;
777
777
  readonly "appName": string;
@@ -789,12 +789,12 @@ type Objects_132 = {
789
789
  readonly "height": number;
790
790
  };
791
791
  readonly "truncated": boolean;
792
- readonly "root": Objects_133;
792
+ readonly "root": Objects_134;
793
793
  };
794
794
  readonly "appIdentifier"?: string;
795
795
  readonly "appIconDataUrl"?: string;
796
796
  };
797
- type Objects_134 = {
797
+ type Objects_135 = {
798
798
  readonly "_tag": "agent-artifact";
799
799
  readonly "sourcePath": string;
800
800
  readonly "linkBase"?: string;
@@ -804,7 +804,7 @@ type Objects_134 = {
804
804
  readonly "delivered"?: true;
805
805
  readonly "sha256"?: string;
806
806
  };
807
- type Objects_136 = {
807
+ type Objects_137 = {
808
808
  readonly "_tag": "agent-artifact";
809
809
  readonly "sourcePath": string;
810
810
  readonly "linkBase"?: string;
@@ -814,7 +814,7 @@ type Objects_136 = {
814
814
  readonly "delivered"?: true;
815
815
  readonly "sha256"?: string;
816
816
  };
817
- type Union_53 = {
817
+ type Union_55 = {
818
818
  readonly "kind": "lucide";
819
819
  readonly "name": string;
820
820
  readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
@@ -822,72 +822,72 @@ type Union_53 = {
822
822
  readonly "kind": "emoji";
823
823
  readonly "emoji": string;
824
824
  };
825
- type Objects_137 = {
825
+ type Objects_138 = {
826
826
  readonly "projectId": string;
827
827
  readonly "folderId": string;
828
828
  };
829
- type Objects_138 = {
829
+ type Objects_139 = {
830
830
  readonly "applied": boolean;
831
831
  };
832
- type Objects_139 = {
832
+ type Objects_140 = {
833
833
  readonly "sourceThreadId": string;
834
834
  readonly "sourceMessageId": string;
835
835
  readonly "sourceTurnNumber"?: number;
836
836
  };
837
- type Objects_140 = {
837
+ type Objects_141 = {
838
838
  readonly "provider"?: unknown | undefined;
839
839
  readonly "instanceId"?: unknown | undefined;
840
840
  readonly "model": unknown;
841
841
  readonly "options"?: unknown | undefined;
842
842
  };
843
- type Union_55 = ReadonlyArray<string> | undefined;
844
- type Objects_141 = {
843
+ type Union_57 = ReadonlyArray<string> | undefined;
844
+ type Objects_142 = {
845
845
  readonly "parentThreadId": string;
846
846
  readonly "delegationDepth": number;
847
847
  readonly "requestedBy": "agent" | "continuation" | "person";
848
848
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
849
849
  };
850
- type Objects_142 = {
850
+ type Objects_143 = {
851
851
  readonly "userId": string;
852
852
  readonly "displayName": string;
853
853
  };
854
- type Objects_144 = {
854
+ type Objects_145 = {
855
855
  readonly "kind": "approval" | "userInput";
856
856
  readonly "requestId": string;
857
857
  readonly "startedAt": string;
858
858
  readonly "completedAt": string | null;
859
859
  readonly "waitingForYouStartedAt"?: string | null | undefined;
860
860
  };
861
- type Objects_145 = {
861
+ type Objects_146 = {
862
862
  readonly "requestId": string;
863
863
  readonly "startedAt": string;
864
864
  };
865
- type Objects_146 = {
865
+ type Objects_147 = {
866
866
  readonly "source": "manual" | "generated";
867
867
  readonly "version": string;
868
868
  readonly "needsRefinement": boolean;
869
869
  };
870
- type Union_64 = {
870
+ type Union_66 = {
871
871
  readonly "phase": "handling" | "unanswered";
872
872
  readonly "parentThreadId": string;
873
873
  } | undefined;
874
- type Union_65 = {
874
+ type Union_67 = {
875
875
  readonly "step": string;
876
876
  readonly "completedSteps": number;
877
877
  readonly "totalSteps": number;
878
878
  } | null | undefined;
879
- type Union_66 = {
879
+ type Union_68 = {
880
880
  readonly "kind": "steer" | "interrupt";
881
881
  readonly "turnId": string;
882
882
  readonly "commandId": string;
883
883
  readonly "source"?: "automatic";
884
884
  } | null;
885
- type Union_67 = {
885
+ type Union_69 = {
886
886
  readonly "sessionId"?: string;
887
887
  readonly "turnId"?: string;
888
888
  readonly "generationId"?: string;
889
889
  } | null;
890
- type Objects_151 = {
890
+ type Objects_152 = {
891
891
  readonly "_tag": "agent-artifact";
892
892
  readonly "sourcePath": string;
893
893
  readonly "linkBase"?: string | undefined;
@@ -897,7 +897,7 @@ type Objects_151 = {
897
897
  readonly "delivered"?: true | undefined;
898
898
  readonly "sha256"?: string | undefined;
899
899
  };
900
- type Objects_152 = {
900
+ type Objects_153 = {
901
901
  readonly "kind": "native-session";
902
902
  readonly "provider": "claude" | "codex";
903
903
  readonly "sessionId": string;
@@ -905,7 +905,7 @@ type Objects_152 = {
905
905
  readonly "turnId"?: string | undefined;
906
906
  readonly "order": number;
907
907
  };
908
- type Objects_153 = {
908
+ type Objects_154 = {
909
909
  readonly "roles"?: {
910
910
  readonly [x: string]: {
911
911
  readonly "instanceId": string;
@@ -914,7 +914,7 @@ type Objects_153 = {
914
914
  } | undefined;
915
915
  readonly "allowlistOnly"?: boolean | undefined;
916
916
  };
917
- type Objects_154 = {
917
+ type Objects_155 = {
918
918
  readonly "source": "none" | "custom" | "plugin";
919
919
  readonly "customId": string | null;
920
920
  readonly "pluginId": string | null;
@@ -933,7 +933,7 @@ type Objects_16 = {
933
933
  readonly "optionOverrides": Arrays_3;
934
934
  readonly "expectedRevisions": Objects_17;
935
935
  };
936
- type Objects_130 = {
936
+ type Objects_131 = {
937
937
  readonly "environmentId": string;
938
938
  readonly "runtimeId": string;
939
939
  readonly "sourceId": string;
@@ -945,7 +945,7 @@ type Objects_130 = {
945
945
  type Union_4 = Objects_18 | null | undefined;
946
946
  type Union_5 = Objects_19 | null | undefined;
947
947
  type Union_6 = Objects_20 | null | undefined;
948
- type Union_21 = Objects_20 | null | undefined;
948
+ type Union_23 = Objects_20 | null | undefined;
949
949
  type Union_8 = ReadonlyArray<Objects_22> | undefined;
950
950
  type Arrays_4 = ReadonlyArray<Objects_22>;
951
951
  type Union_9 = ReadonlyArray<Objects_23> | undefined;
@@ -966,7 +966,7 @@ type Objects_26 = {
966
966
  readonly "endReason"?: "server-restart" | undefined;
967
967
  readonly "updatedAt": string;
968
968
  };
969
- type Objects_147 = {
969
+ type Objects_148 = {
970
970
  readonly "threadId": string;
971
971
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
972
972
  readonly "providerName": string | null;
@@ -996,74 +996,61 @@ type Objects_93 = {
996
996
  readonly "outcome": Union_18;
997
997
  };
998
998
  };
999
- type Union_19 = {
1000
- readonly "type": "image";
1001
- readonly "id": string;
1002
- readonly "name": string;
1003
- readonly "mimeType": string;
1004
- readonly "sizeBytes": number;
1005
- readonly "source"?: {
1006
- readonly "_tag": "snap-shot";
1007
- readonly "capturedAt": string;
1008
- readonly "appName": string;
1009
- readonly "windowTitle": string;
1010
- readonly "accessibleText"?: string | undefined;
1011
- readonly "accessibility"?: {
1012
- readonly "format": "flat-text";
1013
- readonly "text": string;
1014
- readonly "truncated": boolean;
1015
- } | {
1016
- readonly "format": "element-tree";
1017
- readonly "coordinateSpace": "captured-image";
1018
- readonly "imageSize": Objects_32;
1019
- readonly "truncated": boolean;
1020
- readonly "root": Objects_33;
1021
- } | undefined;
1022
- readonly "appIdentifier"?: string | undefined;
1023
- readonly "appIconDataUrl"?: string | undefined;
1024
- } | Objects_35 | undefined;
1025
- } | {
1026
- readonly "type": "file";
1027
- readonly "id": string;
1028
- readonly "name": string;
1029
- readonly "mimeType": string;
1030
- readonly "sizeBytes": number;
1031
- readonly "source"?: Objects_36 | Objects_35 | {
1032
- readonly "_tag": "thread-reference";
1033
- readonly "environmentId": string;
1034
- readonly "threadId": string;
999
+ type Union_20 = {
1000
+ readonly "_tag": "snap-shot";
1001
+ readonly "capturedAt": string;
1002
+ readonly "appName": string;
1003
+ readonly "windowTitle": string;
1004
+ readonly "accessibleText"?: string | undefined;
1005
+ readonly "accessibility"?: {
1006
+ readonly "format": "flat-text";
1007
+ readonly "text": string;
1008
+ readonly "truncated": boolean;
1009
+ } | {
1010
+ readonly "format": "element-tree";
1011
+ readonly "coordinateSpace": "captured-image";
1012
+ readonly "imageSize": Objects_32;
1013
+ readonly "truncated": boolean;
1014
+ readonly "root": Objects_33;
1035
1015
  } | undefined;
1036
- };
1037
- type Union_23 = Objects_37 | undefined;
1038
- type Union_26 = Union_25 | null;
1016
+ readonly "appIdentifier"?: string | undefined;
1017
+ readonly "appIconDataUrl"?: string | undefined;
1018
+ } | Objects_35 | undefined;
1019
+ type Union_22 = Objects_36 | Objects_35 | {
1020
+ readonly "_tag": "thread-reference";
1021
+ readonly "environmentId": string;
1022
+ readonly "threadId": string;
1023
+ } | undefined;
1024
+ type Union_25 = Objects_37 | undefined;
1025
+ type Union_28 = Union_27 | null;
1039
1026
  type Objects_40 = {
1040
1027
  readonly "claimId": string;
1041
- readonly "claimedBy": Union_25;
1028
+ readonly "claimedBy": Union_27;
1042
1029
  readonly "turnId"?: string | undefined;
1043
1030
  readonly "at": string;
1044
1031
  };
1045
1032
  type Objects_44 = {
1046
- readonly "person": Union_29;
1033
+ readonly "person": Union_31;
1047
1034
  };
1048
1035
  type Objects_113 = {
1049
1036
  readonly "kind": "human";
1050
- readonly "principal": Union_29;
1037
+ readonly "principal": Union_31;
1051
1038
  };
1052
1039
  type Objects_99 = {
1053
1040
  readonly "kind": "human";
1054
- readonly "principal": Union_30;
1041
+ readonly "principal": Union_32;
1055
1042
  };
1056
1043
  type Objects_63 = {
1057
1044
  readonly "keybindings": Arrays_8;
1058
1045
  readonly "issues": Arrays_9;
1059
1046
  };
1060
- type Union_33 = Objects_57 | undefined;
1061
- type Union_34 = Arrays_12 | Objects_65;
1062
- type Union_35 = Arrays_13 | undefined;
1063
- type Union_72 = Objects_70 | undefined;
1064
- type Union_73 = Objects_70 | undefined;
1065
- type Union_36 = Objects_68 | Objects_71 | Objects_72;
1066
- type Union_42 = Objects_90 | undefined;
1047
+ type Union_35 = Objects_57 | undefined;
1048
+ type Union_36 = Arrays_12 | Objects_65;
1049
+ type Union_37 = Arrays_13 | undefined;
1050
+ type Union_74 = Objects_70 | undefined;
1051
+ type Union_75 = Objects_70 | undefined;
1052
+ type Union_38 = Objects_68 | Objects_71 | Objects_72;
1053
+ type Union_44 = Objects_90 | undefined;
1067
1054
  type Objects_92 = {
1068
1055
  readonly "instanceId": string;
1069
1056
  readonly "driver": string;
@@ -1081,7 +1068,7 @@ type Objects_92 = {
1081
1068
  readonly "accountKey"?: string;
1082
1069
  readonly "windows": ReadonlyArray<{
1083
1070
  readonly "id": string;
1084
- readonly "label": Union_43;
1071
+ readonly "label": Union_45;
1085
1072
  readonly "usedPercent": number;
1086
1073
  readonly "resetsAt": string | null;
1087
1074
  readonly "windowMs"?: number;
@@ -1089,7 +1076,7 @@ type Objects_92 = {
1089
1076
  }>;
1090
1077
  readonly "balances": ReadonlyArray<{
1091
1078
  readonly "id": string;
1092
- readonly "label": Union_43;
1079
+ readonly "label": Union_45;
1093
1080
  readonly "remaining": number | null;
1094
1081
  readonly "used": number | null;
1095
1082
  readonly "limit": number | null;
@@ -1115,9 +1102,9 @@ type Objects_112 = {
1115
1102
  readonly "release": number;
1116
1103
  readonly "pages": ReadonlyArray<Objects_111>;
1117
1104
  };
1118
- type Union_74 = Objects_124 | null;
1119
- type Union_56 = Objects_131 | null | undefined;
1120
- type Objects_148 = {
1105
+ type Union_76 = Objects_125 | null;
1106
+ type Union_58 = Objects_132 | null | undefined;
1107
+ type Objects_149 = {
1121
1108
  readonly "id": string;
1122
1109
  readonly "title": string;
1123
1110
  readonly "workspaceRoot": string;
@@ -1153,9 +1140,9 @@ type Objects_148 = {
1153
1140
  readonly "owner"?: string;
1154
1141
  readonly "name"?: string;
1155
1142
  } | null | undefined;
1156
- readonly "defaultModelSelection": Objects_140 | null;
1143
+ readonly "defaultModelSelection": Objects_141 | null;
1157
1144
  readonly "faviconPath"?: string | null | undefined;
1158
- readonly "projectIcon"?: Union_53 | null | undefined;
1145
+ readonly "projectIcon"?: Union_55 | null | undefined;
1159
1146
  readonly "scripts": ReadonlyArray<{
1160
1147
  readonly "id": string;
1161
1148
  readonly "name": string;
@@ -1170,14 +1157,14 @@ type Objects_148 = {
1170
1157
  readonly "updatedAt": string;
1171
1158
  readonly "archivedAt"?: string | null | undefined;
1172
1159
  };
1173
- type Union_70 = Objects_140 | undefined;
1174
- type Union_57 = Objects_141 | null | undefined;
1175
- type Union_58 = Objects_142 | null | undefined;
1176
- type Union_69 = Objects_142 | null | undefined;
1177
- type Union_60 = ReadonlyArray<Objects_144> | undefined;
1178
- type Union_61 = Objects_145 | null | undefined;
1179
- type Union_62 = Objects_146 | null | undefined;
1180
- type Union_68 = {
1160
+ type Union_72 = Objects_141 | undefined;
1161
+ type Union_59 = Objects_142 | null | undefined;
1162
+ type Union_60 = Objects_143 | null | undefined;
1163
+ type Union_71 = Objects_143 | null | undefined;
1164
+ type Union_62 = ReadonlyArray<Objects_145> | undefined;
1165
+ type Union_63 = Objects_146 | null | undefined;
1166
+ type Union_64 = Objects_147 | null | undefined;
1167
+ type Union_70 = {
1181
1168
  readonly "type": "image";
1182
1169
  readonly "id": string;
1183
1170
  readonly "name": string;
@@ -1198,36 +1185,67 @@ type Union_68 = {
1198
1185
  readonly "coordinateSpace": "captured-image";
1199
1186
  readonly "imageSize": Objects_32;
1200
1187
  readonly "truncated": boolean;
1201
- readonly "root": Objects_150;
1188
+ readonly "root": Objects_151;
1202
1189
  } | undefined;
1203
1190
  readonly "appIdentifier"?: string | undefined;
1204
1191
  readonly "appIconDataUrl"?: string | undefined;
1205
- } | Objects_151 | undefined;
1192
+ } | Objects_152 | undefined;
1206
1193
  } | {
1207
1194
  readonly "type": "file";
1208
1195
  readonly "id": string;
1209
1196
  readonly "name": string;
1210
1197
  readonly "mimeType": string;
1211
1198
  readonly "sizeBytes": number;
1212
- readonly "source"?: Objects_36 | Objects_151 | {
1199
+ readonly "source"?: Objects_36 | Objects_152 | {
1213
1200
  readonly "_tag": "thread-reference";
1214
1201
  readonly "environmentId": string;
1215
1202
  readonly "threadId": string;
1216
1203
  } | undefined;
1217
1204
  };
1218
- type Union_71 = Objects_152 | undefined;
1205
+ type Union_73 = Objects_153 | undefined;
1219
1206
  type Union_1 = Arrays_1 | Arrays_2;
1220
1207
  type Union_2 = Objects_16 | undefined;
1221
- type Union_54 = Objects_130 | undefined;
1208
+ type Union_56 = Objects_131 | undefined;
1222
1209
  type Union_12 = Objects_26 | null;
1223
- type Union_63 = Objects_147 | null;
1224
- type Union_27 = ReadonlyArray<Union_19> | undefined;
1225
- type Union_28 = Objects_40 | null;
1210
+ type Union_65 = Objects_148 | null;
1211
+ type Union_19 = {
1212
+ readonly "type": "image";
1213
+ readonly "id": string;
1214
+ readonly "name": string;
1215
+ readonly "mimeType": string;
1216
+ readonly "sizeBytes": number;
1217
+ readonly "source"?: Union_20;
1218
+ } | {
1219
+ readonly "type": "file";
1220
+ readonly "id": string;
1221
+ readonly "name": string;
1222
+ readonly "mimeType": string;
1223
+ readonly "sizeBytes": number;
1224
+ readonly "source"?: Union_22;
1225
+ };
1226
+ type Union_29 = ReadonlyArray<{
1227
+ readonly "type": "image";
1228
+ readonly "id": string;
1229
+ readonly "name": string;
1230
+ readonly "mimeType": string;
1231
+ readonly "sizeBytes": number;
1232
+ readonly "source"?: Union_20;
1233
+ readonly "path"?: string;
1234
+ } | {
1235
+ readonly "type": "file";
1236
+ readonly "id": string;
1237
+ readonly "name": string;
1238
+ readonly "mimeType": string;
1239
+ readonly "sizeBytes": number;
1240
+ readonly "source"?: Union_22;
1241
+ readonly "path"?: string;
1242
+ }> | undefined;
1243
+ type Union_30 = Objects_40 | null;
1226
1244
  type Arrays_7 = ReadonlyArray<{
1227
1245
  readonly "key": string;
1228
1246
  readonly "role": "process" | "background";
1229
1247
  readonly "member"?: string;
1230
- readonly "participant": Union_25 | null;
1248
+ readonly "participant": Union_27 | null;
1231
1249
  readonly "scope": Objects_42 | null;
1232
1250
  readonly "delivery": "quiet" | "wake" | "steer";
1233
1251
  readonly "stages": {
@@ -1238,12 +1256,12 @@ type Arrays_7 = ReadonlyArray<{
1238
1256
  } | null;
1239
1257
  };
1240
1258
  }>;
1241
- type Union_46 = Objects_113 | Objects_114 | Objects_115 | {
1259
+ type Union_48 = Objects_113 | Objects_114 | Objects_115 | {
1242
1260
  readonly "kind": "member";
1243
1261
  readonly "memberId": string;
1244
1262
  };
1245
- type Union_52 = Objects_113 | Objects_115;
1246
- type Union_77 = Objects_113 | {
1263
+ type Union_54 = Objects_113 | Objects_115;
1264
+ type Union_79 = Objects_113 | {
1247
1265
  readonly "kind": "local-cli";
1248
1266
  readonly "environmentId": string;
1249
1267
  } | {
@@ -1256,7 +1274,7 @@ type Union_77 = Objects_113 | {
1256
1274
  readonly "kind": "plugin";
1257
1275
  readonly "pluginId": string;
1258
1276
  } | Objects_102;
1259
- type Union_44 = Objects_99 | {
1277
+ type Union_46 = Objects_99 | {
1260
1278
  readonly "kind": "local-cli";
1261
1279
  readonly "environmentId": string;
1262
1280
  } | {
@@ -1266,23 +1284,23 @@ type Union_44 = Objects_99 | {
1266
1284
  readonly "kind": "plugin";
1267
1285
  readonly "pluginId": string;
1268
1286
  } | Objects_102;
1269
- type Union_47 = Objects_99 | Objects_100 | Objects_101 | {
1287
+ type Union_49 = Objects_99 | Objects_100 | Objects_101 | {
1270
1288
  readonly "kind": "member";
1271
1289
  readonly "memberId": string;
1272
1290
  };
1273
- type Union_48 = Objects_99 | Objects_100 | Objects_101;
1274
- type Union_50 = Objects_99 | Objects_101 | null;
1291
+ type Union_50 = Objects_99 | Objects_100 | Objects_101;
1292
+ type Union_52 = Objects_99 | Objects_101 | null;
1275
1293
  type Objects_64 = {
1276
1294
  readonly "instanceId": string;
1277
1295
  readonly "model": string;
1278
- readonly "options"?: Union_34;
1296
+ readonly "options"?: Union_36;
1279
1297
  };
1280
1298
  type Objects_67 = {
1281
1299
  readonly "name": string;
1282
1300
  readonly "transport": {
1283
1301
  readonly "type": "stdio";
1284
1302
  readonly "command": string;
1285
- readonly "args"?: Union_35;
1303
+ readonly "args"?: Union_37;
1286
1304
  readonly "envNames": Arrays_14;
1287
1305
  } | {
1288
1306
  readonly "type": "http";
@@ -1296,9 +1314,9 @@ type Objects_67 = {
1296
1314
  readonly "enabled": boolean;
1297
1315
  readonly "providers": Objects_56;
1298
1316
  readonly "catalogId"?: string | undefined;
1299
- readonly "oauth"?: Union_33;
1317
+ readonly "oauth"?: Union_35;
1300
1318
  };
1301
- type Objects_143 = {
1319
+ type Objects_144 = {
1302
1320
  readonly "turnId": string;
1303
1321
  readonly "state": "running" | "interrupted" | "completed" | "error";
1304
1322
  readonly "requestedAt": string;
@@ -1306,12 +1324,12 @@ type Objects_143 = {
1306
1324
  readonly "completedAt": string | null;
1307
1325
  readonly "assistantMessageId": string | null;
1308
1326
  readonly "userMessageId"?: string | undefined;
1309
- readonly "modelSelection"?: Objects_140 | undefined;
1327
+ readonly "modelSelection"?: Objects_141 | undefined;
1310
1328
  readonly "sourceProposedPlan"?: {
1311
1329
  readonly "threadId": string;
1312
1330
  readonly "planId": string;
1313
1331
  } | undefined;
1314
- readonly "waitSpans"?: Union_60;
1332
+ readonly "waitSpans"?: Union_62;
1315
1333
  readonly "runSegments"?: Union_9;
1316
1334
  };
1317
1335
  type Objects_14 = {
@@ -1327,8 +1345,8 @@ type Objects_66 = {
1327
1345
  type Objects_43 = {
1328
1346
  readonly "items": ReadonlyArray<{
1329
1347
  readonly "recordId": string;
1330
- readonly "from": Union_25;
1331
- readonly "to": Union_26;
1348
+ readonly "from": Union_27;
1349
+ readonly "to": Union_28;
1332
1350
  readonly "replyTo": string | null;
1333
1351
  readonly "delivery": "quiet" | "wake" | "steer";
1334
1352
  readonly "createdAt": string;
@@ -1336,11 +1354,11 @@ type Objects_43 = {
1336
1354
  readonly "idempotencyKey"?: string | undefined;
1337
1355
  readonly "runId"?: string | undefined;
1338
1356
  readonly "toRole"?: string | undefined;
1339
- readonly "attachments"?: Union_27;
1357
+ readonly "attachments"?: Union_29;
1340
1358
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
1341
1359
  readonly "projectId": string | null;
1342
1360
  readonly "sequence": number;
1343
- readonly "claim": Union_28;
1361
+ readonly "claim": Union_30;
1344
1362
  readonly "group"?: Objects_41;
1345
1363
  readonly "mentions"?: Arrays_6;
1346
1364
  readonly "targets"?: Arrays_7;
@@ -1350,12 +1368,18 @@ type Objects_43 = {
1350
1368
  readonly "nextCursor": string | null;
1351
1369
  readonly "snapshotSequence": number;
1352
1370
  };
1353
- type Union_75 = Union_52 | null;
1371
+ type Union_77 = Union_54 | null;
1372
+ type Objects_156 = {
1373
+ readonly "outcome": "passed" | "failed" | "skipped" | "not-run";
1374
+ readonly "at": string;
1375
+ readonly "by": Union_79;
1376
+ readonly "summary"?: string;
1377
+ };
1354
1378
  type Objects_104 = {
1355
1379
  readonly "experienceId": string;
1356
1380
  readonly "revision": number;
1357
1381
  readonly "baseRevision": number | null;
1358
- readonly "author": Union_44;
1382
+ readonly "author": Union_46;
1359
1383
  readonly "createdAt": string;
1360
1384
  readonly "body": string | null;
1361
1385
  readonly "bodyState": "present" | "erased" | "unavailable";
@@ -1366,7 +1390,7 @@ type Objects_108 = {
1366
1390
  readonly "revision": number;
1367
1391
  readonly "baseRevision": number | null;
1368
1392
  readonly "restoredFromRevision": number | null;
1369
- readonly "author": Union_44;
1393
+ readonly "author": Union_46;
1370
1394
  readonly "createdAt": string;
1371
1395
  readonly "title": string | null;
1372
1396
  readonly "changeSummary": string | null;
@@ -1381,8 +1405,8 @@ type Objects_110 = {
1381
1405
  readonly "itemHighWater": number;
1382
1406
  readonly "requiresAck": boolean;
1383
1407
  readonly "restoredFromRelease": number | null;
1384
- readonly "sourceExperience": Union_45;
1385
- readonly "publishedBy": Union_44;
1408
+ readonly "sourceExperience": Union_47;
1409
+ readonly "publishedBy": Union_46;
1386
1410
  readonly "publishedAt": string;
1387
1411
  };
1388
1412
  type Objects_122 = {
@@ -1393,32 +1417,49 @@ type Objects_122 = {
1393
1417
  readonly "memberIds": ReadonlyArray<string>;
1394
1418
  readonly "threadId": string | null;
1395
1419
  readonly "version": number;
1396
- readonly "createdBy": Union_44;
1420
+ readonly "createdBy": Union_46;
1397
1421
  readonly "createdAt": string;
1398
1422
  readonly "updatedAt": string;
1399
1423
  readonly "archivedAt": string | null;
1424
+ readonly "pause"?: {
1425
+ readonly "at": string;
1426
+ readonly "by": Union_46;
1427
+ readonly "reason"?: string;
1428
+ };
1429
+ readonly "memberPauses"?: ReadonlyArray<{
1430
+ readonly "memberId": string;
1431
+ readonly "at": string;
1432
+ readonly "by": Union_46;
1433
+ readonly "reason"?: string;
1434
+ }>;
1400
1435
  };
1401
- type Arrays_24 = ReadonlyArray<Union_47>;
1436
+ type Objects_124 = {
1437
+ readonly "outcome": "passed" | "failed" | "skipped" | "not-run";
1438
+ readonly "at": string;
1439
+ readonly "by": Union_46;
1440
+ readonly "summary"?: string;
1441
+ };
1442
+ type Arrays_24 = ReadonlyArray<Union_49>;
1402
1443
  type Objects_118 = {
1403
1444
  readonly "commentId": string;
1404
1445
  readonly "workItemId": string;
1405
1446
  readonly "projectId": string;
1406
1447
  readonly "sequence": number;
1407
1448
  readonly "revision": number;
1408
- readonly "author": Union_44;
1449
+ readonly "author": Union_46;
1409
1450
  readonly "body": string | null;
1410
1451
  readonly "bodyWindow"?: Objects_38;
1411
1452
  readonly "bodyState": "present" | "erased" | "unavailable";
1412
- readonly "mentions": ReadonlyArray<Union_48>;
1453
+ readonly "mentions": ReadonlyArray<Union_50>;
1413
1454
  readonly "parentId": string | null;
1414
1455
  readonly "createdAt": string;
1415
1456
  readonly "editedAt": string | null;
1416
1457
  };
1417
- type Union_76 = {
1458
+ type Union_78 = {
1418
1459
  readonly "environmentId": string;
1419
1460
  readonly "modelSelection": Objects_64;
1420
1461
  } | null;
1421
- type Union_59 = Objects_143 | null;
1462
+ type Union_61 = Objects_144 | null;
1422
1463
  type Objects_21 = {
1423
1464
  readonly "turnId": string;
1424
1465
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -1495,7 +1536,7 @@ type Objects_28 = {
1495
1536
  readonly "updatedAt": string;
1496
1537
  readonly "archivedAt"?: string | null | undefined;
1497
1538
  };
1498
- type Union_22 = Objects_14 | undefined;
1539
+ type Union_24 = Objects_14 | undefined;
1499
1540
  type Objects_52 = {
1500
1541
  readonly "enableLegacyTokenStreaming": boolean;
1501
1542
  readonly "enableProviderUpdateChecks": boolean;
@@ -1553,11 +1594,11 @@ type Objects_52 = {
1553
1594
  readonly "mcpServers": {
1554
1595
  readonly [x: string]: {
1555
1596
  readonly "name": string;
1556
- readonly "transport": Union_32;
1597
+ readonly "transport": Union_34;
1557
1598
  readonly "enabled": boolean;
1558
1599
  readonly "providers": Objects_56;
1559
1600
  readonly "catalogId"?: string | undefined;
1560
- readonly "oauth"?: Union_33;
1601
+ readonly "oauth"?: Union_35;
1561
1602
  };
1562
1603
  };
1563
1604
  readonly "skills": {
@@ -1595,30 +1636,30 @@ type Objects_52 = {
1595
1636
  };
1596
1637
  readonly "observability": Objects_62;
1597
1638
  };
1598
- type Union_51 = {
1639
+ type Union_53 = {
1599
1640
  readonly "environmentId": string;
1600
1641
  readonly "modelSelection": Objects_66;
1601
1642
  } | null;
1602
- type Objects_149 = {
1643
+ type Objects_150 = {
1603
1644
  readonly "id": string;
1604
1645
  readonly "projectId": string;
1605
1646
  readonly "title": string;
1606
- readonly "modelSelection": Objects_140;
1607
- readonly "executionSelection"?: Union_54;
1647
+ readonly "modelSelection": Objects_141;
1648
+ readonly "executionSelection"?: Union_56;
1608
1649
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1609
1650
  readonly "nativeModeId"?: string | null | undefined;
1610
1651
  readonly "interactionMode"?: "default" | "plan" | undefined;
1611
1652
  readonly "branch": string | null;
1612
1653
  readonly "worktreePath": string | null;
1613
1654
  readonly "startFolderId"?: string | null | undefined;
1614
- readonly "folderIds"?: Union_55;
1615
- readonly "linkedPullRequest"?: Union_56;
1616
- readonly "origin"?: Union_57;
1617
- readonly "forkedFrom"?: Objects_139 | null | undefined;
1655
+ readonly "folderIds"?: Union_57;
1656
+ readonly "linkedPullRequest"?: Union_58;
1657
+ readonly "origin"?: Union_59;
1658
+ readonly "forkedFrom"?: Objects_140 | null | undefined;
1618
1659
  readonly "presetId"?: string | null | undefined;
1619
1660
  readonly "memberId"?: string | undefined;
1620
- readonly "createdBy"?: Union_58;
1621
- readonly "latestTurn": Union_59;
1661
+ readonly "createdBy"?: Union_60;
1662
+ readonly "latestTurn": Union_61;
1622
1663
  readonly "stopRequestedAt"?: string | null;
1623
1664
  readonly "createdAt": string;
1624
1665
  readonly "updatedAt": string;
@@ -1631,9 +1672,9 @@ type Objects_149 = {
1631
1672
  readonly "pinnedAt"?: string | null | undefined;
1632
1673
  readonly "pinOrderKey"?: string | null | undefined;
1633
1674
  readonly "sortOrderKey"?: string | null | undefined;
1634
- readonly "titleRegeneration"?: Union_61;
1635
- readonly "titleState"?: Union_62;
1636
- readonly "session": Union_63;
1675
+ readonly "titleRegeneration"?: Union_63;
1676
+ readonly "titleState"?: Union_64;
1677
+ readonly "session": Union_65;
1637
1678
  readonly "latestUserMessageAt": string | null;
1638
1679
  readonly "userTurnCount"?: number | undefined;
1639
1680
  readonly "queuedMessageCount"?: number | undefined;
@@ -1645,12 +1686,12 @@ type Objects_149 = {
1645
1686
  readonly "latestDeliveryAt"?: string | null | undefined;
1646
1687
  readonly "hasPendingApprovals": boolean;
1647
1688
  readonly "hasPendingUserInput": boolean;
1648
- readonly "askRoute"?: Union_64;
1689
+ readonly "askRoute"?: Union_66;
1649
1690
  readonly "hasActionableProposedPlan": boolean;
1650
1691
  readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined;
1651
1692
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
1652
1693
  readonly "backgroundMonitorCount"?: number | undefined;
1653
- readonly "planProgress"?: Union_65;
1694
+ readonly "planProgress"?: Union_67;
1654
1695
  };
1655
1696
  type Union_7 = Objects_21 | null;
1656
1697
  type Objects_12 = {
@@ -1779,27 +1820,27 @@ type Objects_33 = {
1779
1820
  readonly "name"?: string;
1780
1821
  readonly "value"?: string;
1781
1822
  readonly "description"?: string;
1782
- readonly "bounds": Union_20;
1823
+ readonly "bounds": Union_21;
1783
1824
  readonly "state"?: Objects_34;
1784
1825
  readonly "actions"?: ReadonlyArray<string>;
1785
1826
  readonly "children": ReadonlyArray<Objects_33>;
1786
1827
  };
1787
- type Union_31 = {
1828
+ type Union_33 = {
1788
1829
  readonly "type": "identifier";
1789
1830
  readonly "name": string;
1790
1831
  } | {
1791
1832
  readonly "type": "not";
1792
- readonly "node": Union_31;
1833
+ readonly "node": Union_33;
1793
1834
  } | {
1794
1835
  readonly "type": "and";
1795
- readonly "left": Union_31;
1796
- readonly "right": Union_31;
1836
+ readonly "left": Union_33;
1837
+ readonly "right": Union_33;
1797
1838
  } | {
1798
1839
  readonly "type": "or";
1799
- readonly "left": Union_31;
1800
- readonly "right": Union_31;
1840
+ readonly "left": Union_33;
1841
+ readonly "right": Union_33;
1801
1842
  };
1802
- type Objects_128 = {
1843
+ type Objects_129 = {
1803
1844
  readonly "role": string;
1804
1845
  readonly "name"?: string;
1805
1846
  readonly "value"?: string;
@@ -1822,9 +1863,9 @@ type Objects_128 = {
1822
1863
  readonly "visible"?: boolean;
1823
1864
  };
1824
1865
  readonly "actions"?: ReadonlyArray<string>;
1825
- readonly "children": ReadonlyArray<Objects_128>;
1866
+ readonly "children": ReadonlyArray<Objects_129>;
1826
1867
  };
1827
- type Objects_133 = {
1868
+ type Objects_134 = {
1828
1869
  readonly "role": string;
1829
1870
  readonly "name"?: string;
1830
1871
  readonly "value"?: string;
@@ -1847,9 +1888,9 @@ type Objects_133 = {
1847
1888
  readonly "visible"?: boolean;
1848
1889
  };
1849
1890
  readonly "actions"?: ReadonlyArray<string>;
1850
- readonly "children": ReadonlyArray<Objects_133>;
1891
+ readonly "children": ReadonlyArray<Objects_134>;
1851
1892
  };
1852
- type Objects_135 = {
1893
+ type Objects_136 = {
1853
1894
  readonly "role": string;
1854
1895
  readonly "name"?: string;
1855
1896
  readonly "value"?: string;
@@ -1872,17 +1913,17 @@ type Objects_135 = {
1872
1913
  readonly "visible"?: boolean;
1873
1914
  };
1874
1915
  readonly "actions"?: ReadonlyArray<string>;
1875
- readonly "children": ReadonlyArray<Objects_135>;
1916
+ readonly "children": ReadonlyArray<Objects_136>;
1876
1917
  };
1877
- type Objects_150 = {
1918
+ type Objects_151 = {
1878
1919
  readonly "role": string;
1879
1920
  readonly "name"?: string;
1880
1921
  readonly "value"?: string;
1881
1922
  readonly "description"?: string;
1882
- readonly "bounds": Union_20;
1923
+ readonly "bounds": Union_21;
1883
1924
  readonly "state"?: Objects_34;
1884
1925
  readonly "actions"?: ReadonlyArray<string>;
1885
- readonly "children": ReadonlyArray<Objects_150>;
1926
+ readonly "children": ReadonlyArray<Objects_151>;
1886
1927
  };
1887
1928
  export type MachineSettingsBrowserRuntimeGetInput = Objects_;
1888
1929
  export type MachineSettingsBrowserRuntimeGetOutput = Union_;
@@ -2395,10 +2436,10 @@ export type ThreadsHistoryOutput = {
2395
2436
  readonly "attachments"?: ReadonlyArray<Union_19> | undefined;
2396
2437
  readonly "turnId": string | null;
2397
2438
  readonly "streaming": boolean;
2398
- readonly "author"?: Union_21;
2439
+ readonly "author"?: Union_23;
2399
2440
  readonly "recordId"?: string | undefined;
2400
- readonly "modelSelection"?: Union_22;
2401
- readonly "source"?: Union_23;
2441
+ readonly "modelSelection"?: Union_24;
2442
+ readonly "source"?: Union_25;
2402
2443
  readonly "createdAt": string;
2403
2444
  readonly "updatedAt": string;
2404
2445
  }>;
@@ -2570,7 +2611,7 @@ export type ThreadsAgentsListOutput = {
2570
2611
  readonly "effort"?: string | undefined;
2571
2612
  readonly "activationCount"?: number | undefined;
2572
2613
  readonly "lastToolName"?: string | undefined;
2573
- readonly "usage"?: Union_24;
2614
+ readonly "usage"?: Union_26;
2574
2615
  readonly "startedAt"?: string | undefined;
2575
2616
  readonly "completedAt"?: string | undefined;
2576
2617
  readonly "statusInferred"?: boolean | undefined;
@@ -2614,7 +2655,7 @@ export type ThreadsAgentsGetOutput = {
2614
2655
  readonly "lastToolName"?: string | undefined;
2615
2656
  readonly "result"?: string | undefined;
2616
2657
  readonly "error"?: string | undefined;
2617
- readonly "usage"?: Union_24;
2658
+ readonly "usage"?: Union_26;
2618
2659
  readonly "startedAt"?: string | undefined;
2619
2660
  readonly "completedAt"?: string | undefined;
2620
2661
  readonly "statusInferred"?: boolean | undefined;
@@ -3010,10 +3051,10 @@ export type ThreadsMessagesListOutput = {
3010
3051
  }> | undefined;
3011
3052
  readonly "turnId": string | null;
3012
3053
  readonly "streaming": boolean;
3013
- readonly "author"?: Union_21;
3054
+ readonly "author"?: Union_23;
3014
3055
  readonly "recordId"?: string | undefined;
3015
- readonly "modelSelection"?: Union_22;
3016
- readonly "source"?: Union_23;
3056
+ readonly "modelSelection"?: Union_24;
3057
+ readonly "source"?: Union_25;
3017
3058
  readonly "createdAt": string;
3018
3059
  readonly "updatedAt": string;
3019
3060
  readonly "attachmentsTotal"?: number;
@@ -3088,8 +3129,8 @@ export type CommunicationRecordsGetInput = {
3088
3129
  };
3089
3130
  export type CommunicationRecordsGetOutput = ReadonlyArray<{
3090
3131
  readonly "recordId": string;
3091
- readonly "from": Union_25;
3092
- readonly "to": Union_26;
3132
+ readonly "from": Union_27;
3133
+ readonly "to": Union_28;
3093
3134
  readonly "replyTo": string | null;
3094
3135
  readonly "text": string | null;
3095
3136
  readonly "delivery": "quiet" | "wake" | "steer";
@@ -3098,11 +3139,11 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
3098
3139
  readonly "idempotencyKey"?: string | undefined;
3099
3140
  readonly "runId"?: string | undefined;
3100
3141
  readonly "toRole"?: string | undefined;
3101
- readonly "attachments"?: Union_27;
3142
+ readonly "attachments"?: Union_29;
3102
3143
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
3103
3144
  readonly "projectId": string | null;
3104
3145
  readonly "sequence": number;
3105
- readonly "claim": Union_28;
3146
+ readonly "claim": Union_30;
3106
3147
  readonly "textWindow"?: Objects_38;
3107
3148
  readonly "group"?: Objects_41;
3108
3149
  readonly "mentions"?: Arrays_6;
@@ -3127,7 +3168,7 @@ export type CommunicationRecordsListInput = {
3127
3168
  readonly "until"?: string | null;
3128
3169
  readonly "cursor"?: string | null;
3129
3170
  readonly "limit"?: number;
3130
- readonly "person": Union_29;
3171
+ readonly "person": Union_31;
3131
3172
  } | {
3132
3173
  readonly "projectId": string;
3133
3174
  readonly "since"?: string | null;
@@ -3151,7 +3192,7 @@ export type CommunicationPeopleListInput = {
3151
3192
  };
3152
3193
  export type CommunicationPeopleListOutput = {
3153
3194
  readonly "items": ReadonlyArray<{
3154
- readonly "person": Union_30;
3195
+ readonly "person": Union_32;
3155
3196
  readonly "displayName": string;
3156
3197
  }>;
3157
3198
  readonly "nextCursor": string | null;
@@ -3174,6 +3215,16 @@ export type CommunicationRecordsSendInput = {
3174
3215
  readonly "mentions"?: ReadonlyArray<{
3175
3216
  readonly "memberId": string;
3176
3217
  }>;
3218
+ readonly "attachments"?: ReadonlyArray<{
3219
+ readonly "path": string;
3220
+ readonly "name"?: string;
3221
+ readonly "mimeType"?: string;
3222
+ } | {
3223
+ readonly "attachmentId": string;
3224
+ readonly "name": string;
3225
+ readonly "mimeType"?: string;
3226
+ readonly "sourcePath"?: string;
3227
+ }>;
3177
3228
  };
3178
3229
  export type CommunicationRecordsSendOutput = {
3179
3230
  readonly "sequence": number;
@@ -3762,9 +3813,27 @@ export type ProvidersSelectionResolveInput = {
3762
3813
  readonly "model"?: string;
3763
3814
  readonly "options"?: Arrays_12 | Objects_65;
3764
3815
  readonly "routingKey"?: string;
3816
+ readonly "purpose"?: "create" | "dispatch-existing";
3765
3817
  };
3766
3818
  export type ProvidersSelectionResolveOutput = {
3767
3819
  readonly "modelSelection": Objects_66;
3820
+ readonly "hints"?: ReadonlyArray<{
3821
+ readonly "kind": "option-unsupported";
3822
+ readonly "model": string | null;
3823
+ readonly "optionId": string;
3824
+ readonly "stored": string | boolean;
3825
+ readonly "effective"?: string | boolean;
3826
+ } | {
3827
+ readonly "kind": "effort-moved";
3828
+ readonly "model": string | null;
3829
+ readonly "optionId": string;
3830
+ readonly "from": string;
3831
+ readonly "to": string;
3832
+ } | {
3833
+ readonly "kind": "model-replaced";
3834
+ readonly "from": string;
3835
+ readonly "to": string | null;
3836
+ }>;
3768
3837
  };
3769
3838
  export type ProvidersSessionsListInput = {
3770
3839
  readonly "threadId"?: string;
@@ -3955,11 +4024,13 @@ export type ProvidersListOutput = {
3955
4024
  };
3956
4025
  export type ProvidersModelsListInput = {
3957
4026
  readonly "instanceId": string;
4027
+ readonly "includeHidden"?: boolean;
3958
4028
  };
3959
4029
  export type ProvidersModelsListOutput = {
3960
4030
  readonly "models": ReadonlyArray<{
3961
4031
  readonly "slug": string;
3962
4032
  readonly "name": string;
4033
+ readonly "hidden"?: boolean;
3963
4034
  readonly "options": ReadonlyArray<{
3964
4035
  readonly "id": string;
3965
4036
  readonly "values": ReadonlyArray<string>;
@@ -4015,7 +4086,7 @@ export type PluginsProjectConfigUpdateInput = {
4015
4086
  readonly "skills"?: {
4016
4087
  readonly [x: string]: {
4017
4088
  readonly "name": string;
4018
- readonly "source": Union_36;
4089
+ readonly "source": Union_38;
4019
4090
  readonly "modelInvocable"?: boolean;
4020
4091
  readonly "userInvocable"?: boolean;
4021
4092
  readonly "providers"?: Objects_70;
@@ -4048,9 +4119,9 @@ export type PluginsInstalledListOutput = {
4048
4119
  readonly "packageName"?: string | null | undefined;
4049
4120
  readonly "loadedAt"?: string | undefined;
4050
4121
  readonly "configRevision"?: number | undefined;
4051
- readonly "uiDebug"?: Union_37;
4122
+ readonly "uiDebug"?: Union_39;
4052
4123
  readonly "uiRevision"?: string | undefined;
4053
- readonly "proxyIds"?: Union_38;
4124
+ readonly "proxyIds"?: Union_40;
4054
4125
  readonly "state": "loaded" | "failed" | "stopped" | "disabled";
4055
4126
  readonly "contributions": Arrays_17;
4056
4127
  readonly "failure": {
@@ -4059,7 +4130,7 @@ export type PluginsInstalledListOutput = {
4059
4130
  readonly "kind"?: string | undefined;
4060
4131
  } | null;
4061
4132
  readonly "threadId": string | null;
4062
- readonly "runtimeStats"?: Union_39;
4133
+ readonly "runtimeStats"?: Union_41;
4063
4134
  readonly "removable"?: boolean | undefined;
4064
4135
  readonly "permissions"?: ReadonlyArray<Objects_73 | {
4065
4136
  readonly "kind": "fs.read";
@@ -4100,7 +4171,7 @@ export type PluginsInstalledListOutput = {
4100
4171
  readonly "titleKey": string;
4101
4172
  readonly "icon"?: string | undefined;
4102
4173
  readonly "chrome"?: "host" | "own" | undefined;
4103
- readonly "placements"?: Union_40;
4174
+ readonly "placements"?: Union_42;
4104
4175
  }> | undefined;
4105
4176
  readonly "panels"?: ReadonlyArray<{
4106
4177
  readonly "id": string;
@@ -4229,8 +4300,8 @@ export type PluginsSettingsCardsListOutput = {
4229
4300
  readonly "placeholder"?: string | undefined;
4230
4301
  readonly "placeholderKey"?: string | undefined;
4231
4302
  readonly "required"?: boolean | undefined;
4232
- readonly "options"?: Union_41;
4233
- readonly "showWhen"?: Union_42;
4303
+ readonly "options"?: Union_43;
4304
+ readonly "showWhen"?: Union_44;
4234
4305
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
4235
4306
  readonly "columns"?: ReadonlyArray<{
4236
4307
  readonly "key": string;
@@ -4241,8 +4312,8 @@ export type PluginsSettingsCardsListOutput = {
4241
4312
  readonly "placeholder"?: string | undefined;
4242
4313
  readonly "placeholderKey"?: string | undefined;
4243
4314
  readonly "required"?: boolean | undefined;
4244
- readonly "options"?: Union_41;
4245
- readonly "showWhen"?: Union_42;
4315
+ readonly "options"?: Union_43;
4316
+ readonly "showWhen"?: Union_44;
4246
4317
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
4247
4318
  }> | undefined;
4248
4319
  readonly "rowIds"?: "client" | "plugin" | undefined;
@@ -4436,7 +4507,7 @@ export type MemoryExperiencesListOutput = {
4436
4507
  readonly "items": ReadonlyArray<{
4437
4508
  readonly "experienceId": string;
4438
4509
  readonly "status": "active" | "forgotten" | "erased";
4439
- readonly "author": Union_44;
4510
+ readonly "author": Union_46;
4440
4511
  readonly "sourceThreadId": string | null;
4441
4512
  readonly "sourceTurnId": string | null;
4442
4513
  readonly "currentRevision": number;
@@ -4459,7 +4530,7 @@ export type MemoryExperiencesGetInput = {
4459
4530
  export type MemoryExperiencesGetOutput = {
4460
4531
  readonly "experienceId": string;
4461
4532
  readonly "status": "active" | "forgotten" | "erased";
4462
- readonly "author": Union_44;
4533
+ readonly "author": Union_46;
4463
4534
  readonly "sourceThreadId": string | null;
4464
4535
  readonly "sourceTurnId": string | null;
4465
4536
  readonly "currentRevision": number;
@@ -4472,9 +4543,9 @@ export type MemoryExperiencesGetOutput = {
4472
4543
  readonly "body": string | null;
4473
4544
  readonly "bodyWindow"?: Objects_38;
4474
4545
  readonly "forgottenAt": string | null;
4475
- readonly "forgottenBy": Union_44 | null;
4546
+ readonly "forgottenBy": Union_46 | null;
4476
4547
  readonly "erasedAt": string | null;
4477
- readonly "erasedBy": Union_44 | null;
4548
+ readonly "erasedBy": Union_46 | null;
4478
4549
  };
4479
4550
  export type MemoryExperiencesHistoryInput = {
4480
4551
  readonly "projectId": string;
@@ -4601,10 +4672,10 @@ export type MemoryPagesGetOutput = {
4601
4672
  readonly "updatedAt": string;
4602
4673
  readonly "title": string | null;
4603
4674
  readonly "bodyState": "present" | "erased" | "unavailable";
4604
- readonly "createdBy": Union_44;
4675
+ readonly "createdBy": Union_46;
4605
4676
  readonly "body": string | null;
4606
4677
  readonly "bodyWindow"?: Objects_38;
4607
- readonly "erasedBy": Union_44 | null;
4678
+ readonly "erasedBy": Union_46 | null;
4608
4679
  };
4609
4680
  export type MemoryPagesHistoryInput = {
4610
4681
  readonly "projectId": string;
@@ -4759,8 +4830,8 @@ export type MemoryHandbookReleasesGetOutput = {
4759
4830
  readonly "itemHighWater": number;
4760
4831
  readonly "requiresAck": boolean;
4761
4832
  readonly "restoredFromRelease": number | null;
4762
- readonly "sourceExperience": Union_45;
4763
- readonly "publishedBy": Union_44;
4833
+ readonly "sourceExperience": Union_47;
4834
+ readonly "publishedBy": Union_46;
4764
4835
  readonly "publishedAt": string;
4765
4836
  readonly "items": ReadonlyArray<{
4766
4837
  readonly "itemNumber": number;
@@ -4847,7 +4918,7 @@ export type WorkItemsListInput = {
4847
4918
  readonly "projectId": string;
4848
4919
  readonly "stateIds"?: ReadonlyArray<string>;
4849
4920
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
4850
- readonly "assignees"?: ReadonlyArray<Union_46 | "me" | "none">;
4921
+ readonly "assignees"?: ReadonlyArray<Union_48 | "me" | "none">;
4851
4922
  readonly "workLineIds"?: ReadonlyArray<"none" | string>;
4852
4923
  readonly "orderBy"?: "created" | "updated";
4853
4924
  readonly "cursor"?: string | null;
@@ -4876,7 +4947,7 @@ export type WorkItemsListOutput = {
4876
4947
  readonly "blockedBy": Arrays_26;
4877
4948
  readonly "blockedByTotal": number;
4878
4949
  readonly "childCounts": Objects_117;
4879
- readonly "createdBy": Union_44;
4950
+ readonly "createdBy": Union_46;
4880
4951
  readonly "createdAt": string;
4881
4952
  readonly "updatedAt": string;
4882
4953
  }>;
@@ -4919,7 +4990,7 @@ export type WorkItemsGetOutput = {
4919
4990
  readonly "blockedBy": Arrays_26;
4920
4991
  readonly "blockedByTotal": number;
4921
4992
  readonly "childCounts": Objects_117;
4922
- readonly "createdBy": Union_44;
4993
+ readonly "createdBy": Union_46;
4923
4994
  readonly "createdAt": string;
4924
4995
  readonly "updatedAt": string;
4925
4996
  readonly "description": string | null;
@@ -4988,7 +5059,7 @@ export type WorkHistoryListOutput = {
4988
5059
  readonly "items": ReadonlyArray<{
4989
5060
  readonly "sequence": number;
4990
5061
  readonly "workItemId": string | null;
4991
- readonly "actor": Union_44;
5062
+ readonly "actor": Union_46;
4992
5063
  readonly "viaPlugin"?: string;
4993
5064
  readonly "at": string;
4994
5065
  readonly "target": {
@@ -5006,12 +5077,12 @@ export type WorkHistoryListOutput = {
5006
5077
  readonly "new": Objects_119 | null;
5007
5078
  } | {
5008
5079
  readonly "field": "assignees";
5009
- readonly "old": ReadonlyArray<Union_47>;
5010
- readonly "new": ReadonlyArray<Union_47>;
5080
+ readonly "old": ReadonlyArray<Union_49>;
5081
+ readonly "new": ReadonlyArray<Union_49>;
5011
5082
  } | {
5012
5083
  readonly "field": "mentions";
5013
- readonly "old": ReadonlyArray<Union_48>;
5014
- readonly "new": ReadonlyArray<Union_48>;
5084
+ readonly "old": ReadonlyArray<Union_50>;
5085
+ readonly "new": ReadonlyArray<Union_50>;
5015
5086
  } | {
5016
5087
  readonly "field": "completedAt";
5017
5088
  readonly "old": string | null;
@@ -5044,7 +5115,7 @@ export type WorkItemsCreateInput = {
5044
5115
  readonly "title": string;
5045
5116
  readonly "description"?: string;
5046
5117
  readonly "stateId"?: string;
5047
- readonly "assignees"?: ReadonlyArray<Union_46>;
5118
+ readonly "assignees"?: ReadonlyArray<Union_48>;
5048
5119
  readonly "workLineId"?: string;
5049
5120
  };
5050
5121
  export type WorkItemsCreateOutput = {
@@ -5065,7 +5136,7 @@ export type WorkItemsUpdateInput = {
5065
5136
  readonly "title"?: string;
5066
5137
  readonly "description"?: string;
5067
5138
  readonly "stateId"?: string;
5068
- readonly "assignees"?: ReadonlyArray<Union_46>;
5139
+ readonly "assignees"?: ReadonlyArray<Union_48>;
5069
5140
  readonly "workLineId"?: string | null;
5070
5141
  };
5071
5142
  export type WorkItemsUpdateOutput = {
@@ -5195,6 +5266,35 @@ export type WorkLinesRestoreOutput = {
5195
5266
  };
5196
5267
  readonly "replayed"?: boolean;
5197
5268
  };
5269
+ export type WorkLinesPauseInput = {
5270
+ readonly "projectId": string;
5271
+ readonly "requestId"?: string;
5272
+ readonly "workLineId": string;
5273
+ readonly "memberId"?: string;
5274
+ readonly "reason"?: string;
5275
+ };
5276
+ export type WorkLinesPauseOutput = {
5277
+ readonly "sequence": number;
5278
+ readonly "result": {
5279
+ readonly "workLineId": string;
5280
+ readonly "memberId"?: string;
5281
+ };
5282
+ readonly "replayed"?: boolean;
5283
+ };
5284
+ export type WorkLinesResumeInput = {
5285
+ readonly "projectId": string;
5286
+ readonly "requestId"?: string;
5287
+ readonly "workLineId": string;
5288
+ readonly "memberId"?: string;
5289
+ };
5290
+ export type WorkLinesResumeOutput = {
5291
+ readonly "sequence": number;
5292
+ readonly "result": {
5293
+ readonly "workLineId": string;
5294
+ readonly "memberId"?: string;
5295
+ };
5296
+ readonly "replayed"?: boolean;
5297
+ };
5198
5298
  export type MembersListInput = {
5199
5299
  readonly "projectId": string;
5200
5300
  readonly "includeRemoved"?: boolean;
@@ -5209,15 +5309,16 @@ export type MembersListOutput = {
5209
5309
  readonly "name": string;
5210
5310
  readonly "title": string;
5211
5311
  readonly "responsibility": string;
5212
- readonly "avatar": Union_49;
5213
- readonly "identity": Union_50;
5214
- readonly "agent": Union_51;
5312
+ readonly "avatar": Union_51;
5313
+ readonly "identity": Union_52;
5314
+ readonly "agent": Union_53;
5215
5315
  readonly "workInstructionsRevision": number | null;
5216
5316
  readonly "version": number;
5217
- readonly "createdBy": Union_44;
5317
+ readonly "createdBy": Union_46;
5218
5318
  readonly "createdAt": string;
5219
5319
  readonly "updatedAt": string;
5220
5320
  readonly "removedAt": string | null;
5321
+ readonly "trial"?: Objects_124;
5221
5322
  }>;
5222
5323
  readonly "nextCursor": string | null;
5223
5324
  readonly "snapshotSequence": number;
@@ -5237,15 +5338,16 @@ export type MembersGetOutput = {
5237
5338
  readonly "name": string;
5238
5339
  readonly "title": string;
5239
5340
  readonly "responsibility": string;
5240
- readonly "avatar": Union_49;
5241
- readonly "identity": Union_50;
5242
- readonly "agent": Union_51;
5341
+ readonly "avatar": Union_51;
5342
+ readonly "identity": Union_52;
5343
+ readonly "agent": Union_53;
5243
5344
  readonly "workInstructionsRevision": number | null;
5244
5345
  readonly "version": number;
5245
- readonly "createdBy": Union_44;
5346
+ readonly "createdBy": Union_46;
5246
5347
  readonly "createdAt": string;
5247
5348
  readonly "updatedAt": string;
5248
5349
  readonly "removedAt": string | null;
5350
+ readonly "trial"?: Objects_124;
5249
5351
  readonly "workInstructions": string | null;
5250
5352
  readonly "workInstructionsWindow"?: Objects_38;
5251
5353
  };
@@ -5287,9 +5389,9 @@ export type MembersUpdateInput = {
5287
5389
  readonly "name"?: string;
5288
5390
  readonly "title"?: string;
5289
5391
  readonly "responsibility"?: string;
5290
- readonly "avatar"?: Objects_124 | null;
5392
+ readonly "avatar"?: Objects_125 | null;
5291
5393
  readonly "workInstructions"?: string;
5292
- readonly "identity"?: Union_52 | null;
5394
+ readonly "identity"?: Union_54 | null;
5293
5395
  readonly "agent"?: {
5294
5396
  readonly "environmentId": string;
5295
5397
  readonly "modelSelection": Objects_64;
@@ -5304,7 +5406,7 @@ export type MembersUpdateOutput = {
5304
5406
  };
5305
5407
  readonly "replayed"?: boolean;
5306
5408
  };
5307
- export type MembersRemoveInput = Objects_125;
5409
+ export type MembersRemoveInput = Objects_126;
5308
5410
  export type MembersRemoveOutput = {
5309
5411
  readonly "sequence": number;
5310
5412
  readonly "result": {
@@ -5313,7 +5415,7 @@ export type MembersRemoveOutput = {
5313
5415
  };
5314
5416
  readonly "replayed"?: boolean;
5315
5417
  };
5316
- export type MembersRestoreInput = Objects_125;
5418
+ export type MembersRestoreInput = Objects_126;
5317
5419
  export type MembersRestoreOutput = {
5318
5420
  readonly "sequence": number;
5319
5421
  readonly "result": {
@@ -5322,41 +5424,55 @@ export type MembersRestoreOutput = {
5322
5424
  };
5323
5425
  readonly "replayed"?: boolean;
5324
5426
  };
5427
+ export type MembersTrialRecordInput = {
5428
+ readonly "projectId": string;
5429
+ readonly "requestId"?: string;
5430
+ readonly "memberId": string;
5431
+ readonly "outcome": "passed" | "failed" | "skipped" | "not-run";
5432
+ readonly "summary"?: string;
5433
+ };
5434
+ export type MembersTrialRecordOutput = {
5435
+ readonly "sequence": number;
5436
+ readonly "result": {
5437
+ readonly "memberId": string;
5438
+ };
5439
+ readonly "replayed"?: boolean;
5440
+ };
5325
5441
  export type ThreadsInteractionModeSetInput = {
5326
5442
  readonly "requestId"?: string;
5327
5443
  readonly "threadId": string;
5328
5444
  readonly "interactionMode": "default" | "plan";
5329
5445
  };
5330
- export type ThreadsInteractionModeSetOutput = Objects_126;
5446
+ export type ThreadsInteractionModeSetOutput = Objects_127;
5331
5447
  export type ThreadsNativeModeSetInput = {
5332
5448
  readonly "requestId"?: string;
5333
5449
  readonly "threadId": string;
5334
5450
  readonly "nativeModeId": string;
5335
5451
  };
5336
- export type ThreadsNativeModeSetOutput = Objects_126;
5452
+ export type ThreadsNativeModeSetOutput = Objects_127;
5337
5453
  export type ThreadsRuntimeModeSetInput = {
5338
5454
  readonly "requestId"?: string;
5339
5455
  readonly "threadId": string;
5340
5456
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5341
5457
  };
5342
- export type ThreadsRuntimeModeSetOutput = Objects_126;
5458
+ export type ThreadsRuntimeModeSetOutput = Objects_127;
5343
5459
  export type ThreadsContextCompactInput = {
5344
5460
  readonly "requestId"?: string;
5345
5461
  readonly "threadId": string;
5346
5462
  };
5347
- export type ThreadsContextCompactOutput = Objects_126;
5463
+ export type ThreadsContextCompactOutput = Objects_127;
5348
5464
  export type PluginsSelfdevPromoteInput = {
5349
5465
  readonly "requestId"?: string;
5350
5466
  readonly "threadId": string;
5351
5467
  readonly "pluginId": string;
5352
5468
  };
5353
- export type PluginsSelfdevPromoteOutput = Objects_126;
5469
+ export type PluginsSelfdevPromoteOutput = Objects_127;
5354
5470
  export type PluginsSelfdevStopInput = {
5355
5471
  readonly "requestId"?: string;
5356
5472
  readonly "threadId": string;
5357
5473
  readonly "pluginId": string;
5358
5474
  };
5359
- export type PluginsSelfdevStopOutput = Objects_126;
5475
+ export type PluginsSelfdevStopOutput = Objects_127;
5360
5476
  export type ThreadsShellCommandRecordInput = {
5361
5477
  readonly "requestId"?: string;
5362
5478
  readonly "threadId": string;
@@ -5364,7 +5480,7 @@ export type ThreadsShellCommandRecordInput = {
5364
5480
  readonly "terminalId": string;
5365
5481
  readonly "cwd": string;
5366
5482
  };
5367
- export type ThreadsShellCommandRecordOutput = Objects_126;
5483
+ export type ThreadsShellCommandRecordOutput = Objects_127;
5368
5484
  export type ThreadsTurnIntentsEditInput = {
5369
5485
  readonly "requestId"?: string;
5370
5486
  readonly "threadId": string;
@@ -5378,7 +5494,7 @@ export type ThreadsTurnIntentsEditInput = {
5378
5494
  readonly "mimeType": string;
5379
5495
  readonly "sizeBytes": number;
5380
5496
  readonly "dataUrl": string;
5381
- readonly "source"?: Objects_127;
5497
+ readonly "source"?: Objects_128;
5382
5498
  } | {
5383
5499
  readonly "type": "file";
5384
5500
  readonly "name": string;
@@ -5391,7 +5507,7 @@ export type ThreadsTurnIntentsEditInput = {
5391
5507
  readonly "name": string;
5392
5508
  readonly "mimeType": string;
5393
5509
  readonly "sizeBytes": number;
5394
- readonly "source"?: Objects_127 | Objects_129;
5510
+ readonly "source"?: Objects_128 | Objects_130;
5395
5511
  } | {
5396
5512
  readonly "type": "file";
5397
5513
  readonly "id": string;
@@ -5400,7 +5516,7 @@ export type ThreadsTurnIntentsEditInput = {
5400
5516
  readonly "sizeBytes": number;
5401
5517
  readonly "source"?: {
5402
5518
  readonly "_tag": "pasted-text";
5403
- } | Objects_129 | {
5519
+ } | Objects_130 | {
5404
5520
  readonly "_tag": "thread-reference";
5405
5521
  readonly "environmentId": string;
5406
5522
  readonly "threadId": string;
@@ -5419,18 +5535,18 @@ export type ThreadsTurnIntentsReorderInput = {
5419
5535
  readonly "intentId": string;
5420
5536
  readonly "beforeIntentId": string | null;
5421
5537
  };
5422
- export type ThreadsTurnIntentsReorderOutput = Objects_126;
5538
+ export type ThreadsTurnIntentsReorderOutput = Objects_127;
5423
5539
  export type ThreadsTurnQueuePauseInput = {
5424
5540
  readonly "requestId"?: string;
5425
5541
  readonly "threadId": string;
5426
5542
  };
5427
- export type ThreadsTurnQueuePauseOutput = Objects_126;
5543
+ export type ThreadsTurnQueuePauseOutput = Objects_127;
5428
5544
  export type ThreadsUserInputDismissInput = {
5429
5545
  readonly "requestId"?: string;
5430
5546
  readonly "threadId": string;
5431
5547
  readonly "userInputRequestId": string;
5432
5548
  };
5433
- export type ThreadsUserInputDismissOutput = Objects_126;
5549
+ export type ThreadsUserInputDismissOutput = Objects_127;
5434
5550
  export type ThreadsDecisionsRespondInput = {
5435
5551
  readonly "requestId"?: string;
5436
5552
  readonly "threadId": string;
@@ -5438,52 +5554,52 @@ export type ThreadsDecisionsRespondInput = {
5438
5554
  readonly "optionId": string;
5439
5555
  readonly "reason"?: string;
5440
5556
  };
5441
- export type ThreadsDecisionsRespondOutput = Objects_126;
5557
+ export type ThreadsDecisionsRespondOutput = Objects_127;
5442
5558
  export type ThreadsSnoozeInput = {
5443
5559
  readonly "requestId"?: string;
5444
5560
  readonly "threadId": string;
5445
5561
  readonly "snoozedUntil": string;
5446
5562
  };
5447
- export type ThreadsSnoozeOutput = Objects_126;
5563
+ export type ThreadsSnoozeOutput = Objects_127;
5448
5564
  export type ThreadsUnsnoozeInput = {
5449
5565
  readonly "requestId"?: string;
5450
5566
  readonly "threadId": string;
5451
5567
  readonly "reason": "user";
5452
5568
  };
5453
- export type ThreadsUnsnoozeOutput = Objects_126;
5569
+ export type ThreadsUnsnoozeOutput = Objects_127;
5454
5570
  export type ThreadsReorderInput = {
5455
5571
  readonly "requestId"?: string;
5456
5572
  readonly "threadId": string;
5457
5573
  readonly "orderKey": string;
5458
5574
  };
5459
- export type ThreadsReorderOutput = Objects_126;
5575
+ export type ThreadsReorderOutput = Objects_127;
5460
5576
  export type ThreadsDeleteInput = {
5461
5577
  readonly "requestId"?: string;
5462
5578
  readonly "threadId": string;
5463
5579
  };
5464
- export type ThreadsDeleteOutput = Objects_126;
5580
+ export type ThreadsDeleteOutput = Objects_127;
5465
5581
  export type ThreadsArchiveInput = {
5466
5582
  readonly "requestId"?: string;
5467
5583
  readonly "threadId": string;
5468
5584
  };
5469
- export type ThreadsArchiveOutput = Objects_126;
5585
+ export type ThreadsArchiveOutput = Objects_127;
5470
5586
  export type ThreadsUnarchiveInput = {
5471
5587
  readonly "requestId"?: string;
5472
5588
  readonly "threadId": string;
5473
5589
  };
5474
- export type ThreadsUnarchiveOutput = Objects_126;
5590
+ export type ThreadsUnarchiveOutput = Objects_127;
5475
5591
  export type ThreadsSettleInput = {
5476
5592
  readonly "requestId"?: string;
5477
5593
  readonly "threadId": string;
5478
5594
  readonly "discardQueued"?: boolean;
5479
5595
  };
5480
- export type ThreadsSettleOutput = Objects_126;
5596
+ export type ThreadsSettleOutput = Objects_127;
5481
5597
  export type ThreadsUnsettleInput = {
5482
5598
  readonly "requestId"?: string;
5483
5599
  readonly "threadId": string;
5484
5600
  readonly "reason": "user";
5485
5601
  };
5486
- export type ThreadsUnsettleOutput = Objects_126;
5602
+ export type ThreadsUnsettleOutput = Objects_127;
5487
5603
  export type ThreadsCreateInput = {
5488
5604
  readonly "requestId"?: string;
5489
5605
  readonly "threadId": string;
@@ -5514,7 +5630,7 @@ export type ThreadsCreateInput = {
5514
5630
  };
5515
5631
  readonly "presetId"?: string;
5516
5632
  };
5517
- export type ThreadsCreateOutput = Objects_126;
5633
+ export type ThreadsCreateOutput = Objects_127;
5518
5634
  export type ThreadsForkInput = {
5519
5635
  readonly "requestId"?: string;
5520
5636
  readonly "threadId": string;
@@ -5523,7 +5639,7 @@ export type ThreadsForkInput = {
5523
5639
  readonly "startFolderId"?: string;
5524
5640
  readonly "folderIds"?: ReadonlyArray<string>;
5525
5641
  };
5526
- export type ThreadsForkOutput = Objects_126;
5642
+ export type ThreadsForkOutput = Objects_127;
5527
5643
  export type ThreadsImportInput = {
5528
5644
  readonly "requestId"?: string;
5529
5645
  readonly "threadId": string;
@@ -5567,7 +5683,7 @@ export type ThreadsImportInput = {
5567
5683
  readonly "createdAt": string;
5568
5684
  }>;
5569
5685
  };
5570
- export type ThreadsImportOutput = Objects_126;
5686
+ export type ThreadsImportOutput = Objects_127;
5571
5687
  export type ThreadsExternalMessagesAppendInput = {
5572
5688
  readonly "requestId"?: string;
5573
5689
  readonly "threadId": string;
@@ -5603,7 +5719,7 @@ export type ThreadsExternalMessagesAppendInput = {
5603
5719
  readonly "createdAt": string;
5604
5720
  }>;
5605
5721
  };
5606
- export type ThreadsExternalMessagesAppendOutput = Objects_126;
5722
+ export type ThreadsExternalMessagesAppendOutput = Objects_127;
5607
5723
  export type ThreadsUpdateInput = {
5608
5724
  readonly "threadId": string;
5609
5725
  readonly "requestId"?: string;
@@ -5612,17 +5728,17 @@ export type ThreadsUpdateInput = {
5612
5728
  readonly "modelSelection"?: {
5613
5729
  readonly "instanceId": string;
5614
5730
  readonly "model": string;
5615
- readonly "options"?: Union_34;
5731
+ readonly "options"?: Union_36;
5616
5732
  };
5617
- readonly "executionSelection"?: Objects_130 | null;
5733
+ readonly "executionSelection"?: Objects_131 | null;
5618
5734
  readonly "branch"?: string | null;
5619
5735
  readonly "expectedBranch"?: string | null;
5620
5736
  readonly "worktreePath"?: string | null;
5621
- readonly "linkedPullRequest"?: Objects_131 | null;
5737
+ readonly "linkedPullRequest"?: Objects_132 | null;
5622
5738
  readonly "presetId"?: string | null;
5623
5739
  readonly "folderIds"?: ReadonlyArray<string>;
5624
5740
  };
5625
- export type ThreadsUpdateOutput = Objects_126;
5741
+ export type ThreadsUpdateOutput = Objects_127;
5626
5742
  export type ThreadsTurnsStartInput = {
5627
5743
  readonly "requestId"?: string;
5628
5744
  readonly "threadId": string;
@@ -5636,7 +5752,7 @@ export type ThreadsTurnsStartInput = {
5636
5752
  readonly "mimeType": string;
5637
5753
  readonly "sizeBytes": number;
5638
5754
  readonly "dataUrl": string;
5639
- readonly "source"?: Objects_132;
5755
+ readonly "source"?: Objects_133;
5640
5756
  } | {
5641
5757
  readonly "type": "file";
5642
5758
  readonly "name": string;
@@ -5649,7 +5765,7 @@ export type ThreadsTurnsStartInput = {
5649
5765
  readonly "name": string;
5650
5766
  readonly "mimeType": string;
5651
5767
  readonly "sizeBytes": number;
5652
- readonly "source"?: Objects_132 | Objects_134;
5768
+ readonly "source"?: Objects_133 | Objects_135;
5653
5769
  } | {
5654
5770
  readonly "type": "file";
5655
5771
  readonly "id": string;
@@ -5658,7 +5774,7 @@ export type ThreadsTurnsStartInput = {
5658
5774
  readonly "sizeBytes": number;
5659
5775
  readonly "source"?: {
5660
5776
  readonly "_tag": "pasted-text";
5661
- } | Objects_134 | {
5777
+ } | Objects_135 | {
5662
5778
  readonly "_tag": "thread-reference";
5663
5779
  readonly "environmentId": string;
5664
5780
  readonly "threadId": string;
@@ -5668,7 +5784,7 @@ export type ThreadsTurnsStartInput = {
5668
5784
  readonly "modelSelection"?: {
5669
5785
  readonly "instanceId": string;
5670
5786
  readonly "model": string;
5671
- readonly "options"?: Union_34;
5787
+ readonly "options"?: Union_36;
5672
5788
  };
5673
5789
  readonly "titleSeed"?: string;
5674
5790
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
@@ -5776,11 +5892,11 @@ export type ThreadsUserInputRespondInput = {
5776
5892
  readonly "height": number;
5777
5893
  };
5778
5894
  readonly "truncated": boolean;
5779
- readonly "root": Objects_135;
5895
+ readonly "root": Objects_136;
5780
5896
  };
5781
5897
  readonly "appIdentifier"?: string;
5782
5898
  readonly "appIconDataUrl"?: string;
5783
- } | Objects_136;
5899
+ } | Objects_137;
5784
5900
  } | {
5785
5901
  readonly "type": "file";
5786
5902
  readonly "id": string;
@@ -5789,7 +5905,7 @@ export type ThreadsUserInputRespondInput = {
5789
5905
  readonly "sizeBytes": number;
5790
5906
  readonly "source"?: {
5791
5907
  readonly "_tag": "pasted-text";
5792
- } | Objects_136 | {
5908
+ } | Objects_137 | {
5793
5909
  readonly "_tag": "thread-reference";
5794
5910
  readonly "environmentId": string;
5795
5911
  readonly "threadId": string;
@@ -5797,20 +5913,20 @@ export type ThreadsUserInputRespondInput = {
5797
5913
  }>;
5798
5914
  };
5799
5915
  };
5800
- export type ThreadsUserInputRespondOutput = Objects_126;
5916
+ export type ThreadsUserInputRespondOutput = Objects_127;
5801
5917
  export type ThreadsTurnsInterruptInput = {
5802
5918
  readonly "requestId"?: string;
5803
5919
  readonly "threadId": string;
5804
5920
  readonly "turnId"?: string;
5805
5921
  };
5806
- export type ThreadsTurnsInterruptOutput = Objects_126;
5922
+ export type ThreadsTurnsInterruptOutput = Objects_127;
5807
5923
  export type ThreadsSessionStopInput = {
5808
5924
  readonly "requestId"?: string;
5809
5925
  readonly "threadId": string;
5810
5926
  readonly "onlyIfSettled"?: boolean;
5811
5927
  readonly "onlyIfNoTurnInFlight"?: boolean;
5812
5928
  };
5813
- export type ThreadsSessionStopOutput = Objects_126;
5929
+ export type ThreadsSessionStopOutput = Objects_127;
5814
5930
  export type ApprovalsRespondInput = {
5815
5931
  readonly "requestId"?: string;
5816
5932
  readonly "threadId": string;
@@ -5818,7 +5934,7 @@ export type ApprovalsRespondInput = {
5818
5934
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
5819
5935
  readonly "reason"?: string;
5820
5936
  };
5821
- export type ApprovalsRespondOutput = Objects_126;
5937
+ export type ApprovalsRespondOutput = Objects_127;
5822
5938
  export type ThreadsTurnIntentsRunInput = {
5823
5939
  readonly "requestId"?: string;
5824
5940
  readonly "threadId": string;
@@ -5826,7 +5942,7 @@ export type ThreadsTurnIntentsRunInput = {
5826
5942
  readonly "mode": "steer" | "interrupt";
5827
5943
  readonly "expectedTurnId"?: string | null;
5828
5944
  };
5829
- export type ThreadsTurnIntentsRunOutput = Objects_126;
5945
+ export type ThreadsTurnIntentsRunOutput = Objects_127;
5830
5946
  export type ThreadsTurnIntentsCancelInput = {
5831
5947
  readonly "requestId"?: string;
5832
5948
  readonly "threadId": string;
@@ -5834,19 +5950,19 @@ export type ThreadsTurnIntentsCancelInput = {
5834
5950
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5835
5951
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
5836
5952
  };
5837
- export type ThreadsTurnIntentsCancelOutput = Objects_126;
5953
+ export type ThreadsTurnIntentsCancelOutput = Objects_127;
5838
5954
  export type ThreadsTurnQueueResumeInput = {
5839
5955
  readonly "requestId"?: string;
5840
5956
  readonly "threadId": string;
5841
5957
  };
5842
- export type ThreadsTurnQueueResumeOutput = Objects_126;
5958
+ export type ThreadsTurnQueueResumeOutput = Objects_127;
5843
5959
  export type ProjectsUpdateInput = {
5844
5960
  readonly "requestId"?: string;
5845
5961
  readonly "projectId": string;
5846
5962
  readonly "title"?: string;
5847
5963
  readonly "workspaceRoot"?: string;
5848
5964
  readonly "defaultModelSelection"?: Objects_64 | null;
5849
- readonly "projectIcon"?: Union_53 | null;
5965
+ readonly "projectIcon"?: Union_55 | null;
5850
5966
  readonly "faviconPath"?: string | null;
5851
5967
  readonly "scripts"?: ReadonlyArray<{
5852
5968
  readonly "id": string;
@@ -5859,42 +5975,42 @@ export type ProjectsUpdateInput = {
5859
5975
  }>;
5860
5976
  readonly "defaultFolderId"?: string | null;
5861
5977
  };
5862
- export type ProjectsUpdateOutput = Objects_126;
5978
+ export type ProjectsUpdateOutput = Objects_127;
5863
5979
  export type ProjectsArchiveInput = {
5864
5980
  readonly "requestId"?: string;
5865
5981
  readonly "projectId": string;
5866
5982
  };
5867
- export type ProjectsArchiveOutput = Objects_126;
5983
+ export type ProjectsArchiveOutput = Objects_127;
5868
5984
  export type ProjectsUnarchiveInput = {
5869
5985
  readonly "requestId"?: string;
5870
5986
  readonly "projectId": string;
5871
5987
  };
5872
- export type ProjectsUnarchiveOutput = Objects_126;
5988
+ export type ProjectsUnarchiveOutput = Objects_127;
5873
5989
  export type ProjectsDeleteInput = {
5874
5990
  readonly "requestId"?: string;
5875
5991
  readonly "projectId": string;
5876
5992
  readonly "force"?: boolean;
5877
5993
  };
5878
- export type ProjectsDeleteOutput = Objects_126;
5994
+ export type ProjectsDeleteOutput = Objects_127;
5879
5995
  export type ProjectsReorderInput = {
5880
5996
  readonly "requestId"?: string;
5881
5997
  readonly "projectId": string;
5882
5998
  readonly "orderKey": string;
5883
5999
  };
5884
- export type ProjectsReorderOutput = Objects_126;
6000
+ export type ProjectsReorderOutput = Objects_127;
5885
6001
  export type ProjectsFoldersDetachInput = {
5886
6002
  readonly "requestId"?: string;
5887
6003
  readonly "projectId": string;
5888
6004
  readonly "folderId": string;
5889
6005
  };
5890
- export type ProjectsFoldersDetachOutput = Objects_126;
6006
+ export type ProjectsFoldersDetachOutput = Objects_127;
5891
6007
  export type ProjectsFoldersRelocateInput = {
5892
6008
  readonly "requestId"?: string;
5893
6009
  readonly "projectId": string;
5894
6010
  readonly "folderId": string;
5895
6011
  readonly "path": string;
5896
6012
  };
5897
- export type ProjectsFoldersRelocateOutput = Objects_126;
6013
+ export type ProjectsFoldersRelocateOutput = Objects_127;
5898
6014
  export type ProjectsToolkitsSetInput = {
5899
6015
  readonly "projectId": string;
5900
6016
  readonly "toolkit": "board" | "memory" | "messages";
@@ -5940,10 +6056,10 @@ export type ProjectsCloneStartOutput = {
5940
6056
  readonly "projectId": string;
5941
6057
  readonly "folderId": string;
5942
6058
  };
5943
- export type ProjectsCloneRetryInput = Objects_137;
5944
- export type ProjectsCloneRetryOutput = Objects_138;
5945
- export type ProjectsCloneCancelInput = Objects_137;
5946
- export type ProjectsCloneCancelOutput = Objects_138;
6059
+ export type ProjectsCloneRetryInput = Objects_138;
6060
+ export type ProjectsCloneRetryOutput = Objects_139;
6061
+ export type ProjectsCloneCancelInput = Objects_138;
6062
+ export type ProjectsCloneCancelOutput = Objects_139;
5947
6063
  export type ProjectsCreateInput = {
5948
6064
  readonly "requestId"?: string;
5949
6065
  readonly "projectId": string;
@@ -5953,14 +6069,14 @@ export type ProjectsCreateInput = {
5953
6069
  readonly "defaultModelSelection"?: Objects_64 | null;
5954
6070
  readonly "homeEnvironmentId"?: string;
5955
6071
  };
5956
- export type ProjectsCreateOutput = Objects_126;
6072
+ export type ProjectsCreateOutput = Objects_127;
5957
6073
  export type ProjectsFoldersAttachInput = {
5958
6074
  readonly "requestId"?: string;
5959
6075
  readonly "projectId": string;
5960
6076
  readonly "path": string;
5961
6077
  readonly "threadId"?: string;
5962
6078
  };
5963
- export type ProjectsFoldersAttachOutput = Objects_126;
6079
+ export type ProjectsFoldersAttachOutput = Objects_127;
5964
6080
  export type ProjectsConversationEnsureInput = {};
5965
6081
  export type ProjectsConversationEnsureOutput = {
5966
6082
  readonly "projectId": string;
@@ -5969,7 +6085,7 @@ export type ProjectsConversationEnsureOutput = {
5969
6085
  };
5970
6086
  export type CommunicationPeopleCurrentInput = {};
5971
6087
  export type CommunicationPeopleCurrentOutput = {
5972
- readonly "person": Union_30 | null;
6088
+ readonly "person": Union_32 | null;
5973
6089
  };
5974
6090
  export type ThreadsListEncodedOutput = {
5975
6091
  readonly "items": ReadonlyArray<{
@@ -5981,10 +6097,10 @@ export type ThreadsListEncodedOutput = {
5981
6097
  readonly "archivedAt": string | null;
5982
6098
  readonly "parentThreadId": string | null;
5983
6099
  readonly "memberId"?: string;
5984
- readonly "forkedFrom": Objects_139 | null;
6100
+ readonly "forkedFrom": Objects_140 | null;
5985
6101
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5986
6102
  readonly "interactionMode": "default" | "plan";
5987
- readonly "modelSelection": Objects_140;
6103
+ readonly "modelSelection": Objects_141;
5988
6104
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
5989
6105
  readonly "sessionFailureCategory"?: string;
5990
6106
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -5992,16 +6108,16 @@ export type ThreadsListEncodedOutput = {
5992
6108
  readonly "worktreePath"?: string | null;
5993
6109
  readonly "delegationDepth"?: number;
5994
6110
  readonly "summary"?: {
5995
- readonly "executionSelection"?: Union_54;
6111
+ readonly "executionSelection"?: Union_56;
5996
6112
  readonly "nativeModeId"?: string | null | undefined;
5997
6113
  readonly "branch": string | null;
5998
6114
  readonly "startFolderId"?: string | null | undefined;
5999
- readonly "folderIds"?: Union_55;
6000
- readonly "linkedPullRequest"?: Union_56;
6001
- readonly "origin"?: Union_57;
6115
+ readonly "folderIds"?: Union_57;
6116
+ readonly "linkedPullRequest"?: Union_58;
6117
+ readonly "origin"?: Union_59;
6002
6118
  readonly "presetId"?: string | null | undefined;
6003
- readonly "createdBy"?: Union_58;
6004
- readonly "latestTurn": Union_59;
6119
+ readonly "createdBy"?: Union_60;
6120
+ readonly "latestTurn": Union_61;
6005
6121
  readonly "stopRequestedAt"?: string | null;
6006
6122
  readonly "settledOverride"?: "settled" | "active" | null | undefined;
6007
6123
  readonly "settledAt"?: string | null | undefined;
@@ -6011,9 +6127,9 @@ export type ThreadsListEncodedOutput = {
6011
6127
  readonly "pinnedAt"?: string | null | undefined;
6012
6128
  readonly "pinOrderKey"?: string | null | undefined;
6013
6129
  readonly "sortOrderKey"?: string | null | undefined;
6014
- readonly "titleRegeneration"?: Union_61;
6015
- readonly "titleState"?: Union_62;
6016
- readonly "session": Union_63;
6130
+ readonly "titleRegeneration"?: Union_63;
6131
+ readonly "titleState"?: Union_64;
6132
+ readonly "session": Union_65;
6017
6133
  readonly "latestUserMessageAt": string | null;
6018
6134
  readonly "userTurnCount"?: number | undefined;
6019
6135
  readonly "queuedMessageCount"?: number | undefined;
@@ -6025,13 +6141,13 @@ export type ThreadsListEncodedOutput = {
6025
6141
  readonly "latestDeliveryAt"?: string | null | undefined;
6026
6142
  readonly "hasPendingApprovals": boolean;
6027
6143
  readonly "hasPendingUserInput": boolean;
6028
- readonly "askRoute"?: Union_64;
6144
+ readonly "askRoute"?: Union_66;
6029
6145
  readonly "hasActionableProposedPlan": boolean;
6030
6146
  };
6031
6147
  readonly "runtime"?: {
6032
6148
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
6033
6149
  readonly "backgroundMonitorCount"?: number | undefined;
6034
- readonly "planProgress"?: Union_65;
6150
+ readonly "planProgress"?: Union_67;
6035
6151
  };
6036
6152
  }>;
6037
6153
  readonly "nextCursor": string | null;
@@ -6040,8 +6156,8 @@ export type ThreadsListEncodedOutput = {
6040
6156
  };
6041
6157
  export type ThreadsArchivedListEncodedOutput = {
6042
6158
  readonly "snapshotSequence": number;
6043
- readonly "projects": ReadonlyArray<Objects_148>;
6044
- readonly "threads": ReadonlyArray<Objects_149>;
6159
+ readonly "projects": ReadonlyArray<Objects_149>;
6160
+ readonly "threads": ReadonlyArray<Objects_150>;
6045
6161
  readonly "updatedAt": string;
6046
6162
  };
6047
6163
  export type ThreadsHistoryEncodedOutput = {
@@ -6051,10 +6167,10 @@ export type ThreadsHistoryEncodedOutput = {
6051
6167
  readonly "id": string;
6052
6168
  readonly "projectId": string;
6053
6169
  readonly "title": string;
6054
- readonly "modelSelection": Objects_140;
6170
+ readonly "modelSelection": Objects_141;
6055
6171
  readonly "actualModel"?: {
6056
- readonly "selection": Objects_140;
6057
- readonly "requested": Objects_140;
6172
+ readonly "selection": Objects_141;
6173
+ readonly "requested": Objects_141;
6058
6174
  readonly "source": "reported" | "echo";
6059
6175
  readonly "turnId"?: string | undefined;
6060
6176
  readonly "recordedAt": string;
@@ -6066,13 +6182,13 @@ export type ThreadsHistoryEncodedOutput = {
6066
6182
  readonly "worktreePath": string | null;
6067
6183
  readonly "startFolderId"?: string | null | undefined;
6068
6184
  readonly "folderIds"?: ReadonlyArray<string> | undefined;
6069
- readonly "linkedPullRequest"?: Objects_131 | null | undefined;
6070
- readonly "origin"?: Objects_141 | null | undefined;
6071
- readonly "forkedFrom"?: Objects_139 | null | undefined;
6185
+ readonly "linkedPullRequest"?: Objects_132 | null | undefined;
6186
+ readonly "origin"?: Objects_142 | null | undefined;
6187
+ readonly "forkedFrom"?: Objects_140 | null | undefined;
6072
6188
  readonly "presetId"?: string | null | undefined;
6073
6189
  readonly "memberId"?: string | undefined;
6074
- readonly "createdBy"?: Objects_142 | null | undefined;
6075
- readonly "latestTurn": Objects_143 | null;
6190
+ readonly "createdBy"?: Objects_143 | null | undefined;
6191
+ readonly "latestTurn": Objects_144 | null;
6076
6192
  readonly "stopRequestedAt"?: string | null;
6077
6193
  readonly "createdAt": string;
6078
6194
  readonly "updatedAt": string;
@@ -6086,7 +6202,7 @@ export type ThreadsHistoryEncodedOutput = {
6086
6202
  readonly "pinOrderKey"?: string | null | undefined;
6087
6203
  readonly "sortOrderKey"?: string | null | undefined;
6088
6204
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
6089
- readonly "executionSelection"?: Objects_130 | undefined;
6205
+ readonly "executionSelection"?: Objects_131 | undefined;
6090
6206
  readonly "turnIntents"?: ReadonlyArray<{
6091
6207
  readonly "intentId": string;
6092
6208
  readonly "threadId": string;
@@ -6094,7 +6210,7 @@ export type ThreadsHistoryEncodedOutput = {
6094
6210
  readonly "commandId": string;
6095
6211
  readonly "messageId": string;
6096
6212
  readonly "revision"?: number;
6097
- readonly "action"?: Union_66;
6213
+ readonly "action"?: Union_68;
6098
6214
  readonly "executionSelection"?: {
6099
6215
  readonly "environmentId": string;
6100
6216
  readonly "runtimeId": string;
@@ -6117,7 +6233,7 @@ export type ThreadsHistoryEncodedOutput = {
6117
6233
  readonly "binding"?: {
6118
6234
  readonly "bindingId": string;
6119
6235
  readonly "generation": number;
6120
- readonly "selection": Objects_130;
6236
+ readonly "selection": Objects_131;
6121
6237
  readonly "compatibility": {
6122
6238
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
6123
6239
  readonly "reasonCode": "native-protocol" | "native-source" | "protocol-conversion" | "wrong-environment" | "resource-missing" | "resource-disabled" | "revision-conflict" | "source-mismatch" | "endpoint-mismatch" | "model-mapping-missing" | "driver-missing" | "driver-unknown" | "driver-identity-mismatch" | "external-endpoint-unsupported" | "protocol-unknown" | "protocol-unsupported" | "auth-unsupported" | "source-ownership-mismatch" | "platform-unsupported" | "version-unknown" | "version-unsupported" | "feature-unsupported" | "feature-unknown" | "capability-validation-failed" | "invalid-options" | "endpoint-invalid";
@@ -6156,7 +6272,7 @@ export type ThreadsHistoryEncodedOutput = {
6156
6272
  readonly "workerEpoch": number;
6157
6273
  readonly "sourceBindingId": string | null;
6158
6274
  readonly "targetBindingId": string | null;
6159
- readonly "nativeLocator": Union_67;
6275
+ readonly "nativeLocator": Union_69;
6160
6276
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
6161
6277
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
6162
6278
  readonly "createdAt": string;
@@ -6200,20 +6316,20 @@ export type ThreadsHistoryEncodedOutput = {
6200
6316
  readonly "turnQueuePaused"?: boolean | undefined;
6201
6317
  readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined;
6202
6318
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
6203
- readonly "titleRegeneration"?: Objects_145 | null | undefined;
6204
- readonly "titleState"?: Objects_146 | null | undefined;
6319
+ readonly "titleRegeneration"?: Objects_146 | null | undefined;
6320
+ readonly "titleState"?: Objects_147 | null | undefined;
6205
6321
  readonly "deletedAt": string | null;
6206
6322
  readonly "messages": ReadonlyArray<{
6207
6323
  readonly "id": string;
6208
6324
  readonly "role": "user" | "assistant" | "system";
6209
6325
  readonly "text": string;
6210
- readonly "attachments"?: ReadonlyArray<Union_68> | undefined;
6326
+ readonly "attachments"?: ReadonlyArray<Union_70> | undefined;
6211
6327
  readonly "turnId": string | null;
6212
6328
  readonly "streaming": boolean;
6213
- readonly "author"?: Union_69;
6329
+ readonly "author"?: Union_71;
6214
6330
  readonly "recordId"?: string | undefined;
6215
- readonly "modelSelection"?: Union_70;
6216
- readonly "source"?: Union_71;
6331
+ readonly "modelSelection"?: Union_72;
6332
+ readonly "source"?: Union_73;
6217
6333
  readonly "createdAt": string;
6218
6334
  readonly "updatedAt": string;
6219
6335
  }>;
@@ -6256,10 +6372,10 @@ export type ThreadsHistoryEncodedOutput = {
6256
6372
  readonly "state": "running" | "interrupted" | "completed" | "error";
6257
6373
  readonly "startedAt": string | null;
6258
6374
  readonly "completedAt": string | null;
6259
- readonly "waitSpans"?: ReadonlyArray<Objects_144>;
6375
+ readonly "waitSpans"?: ReadonlyArray<Objects_145>;
6260
6376
  readonly "runSegments"?: Arrays_5;
6261
6377
  }> | undefined;
6262
- readonly "session": Objects_147 | null;
6378
+ readonly "session": Objects_148 | null;
6263
6379
  };
6264
6380
  readonly "page"?: {
6265
6381
  readonly "beforeCursor": string | null;
@@ -6283,7 +6399,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6283
6399
  readonly "threadId": string;
6284
6400
  readonly "projectId": string;
6285
6401
  readonly "title": string;
6286
- readonly "modelSelection": Objects_140;
6402
+ readonly "modelSelection": Objects_141;
6287
6403
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
6288
6404
  readonly "interactionMode"?: "default" | "plan" | undefined;
6289
6405
  readonly "branch": string | null;
@@ -6291,7 +6407,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6291
6407
  readonly "createdAt": string;
6292
6408
  readonly "updatedAt": string;
6293
6409
  readonly "archivedAt"?: string | null | undefined;
6294
- readonly "origin": Objects_141 | null;
6410
+ readonly "origin": Objects_142 | null;
6295
6411
  readonly "forkedFrom": {
6296
6412
  readonly "sourceThreadId": string;
6297
6413
  readonly "sourceMessageId": string;
@@ -6313,7 +6429,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6313
6429
  readonly "completedAt": string | null;
6314
6430
  readonly "assistantMessageId": string | null;
6315
6431
  readonly "userMessageId"?: string | undefined;
6316
- readonly "waitSpans"?: Union_60;
6432
+ readonly "waitSpans"?: Union_62;
6317
6433
  readonly "runSegments"?: Union_9;
6318
6434
  } | null;
6319
6435
  readonly "turnIntents": ReadonlyArray<{
@@ -6322,7 +6438,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6322
6438
  readonly "sequence": number;
6323
6439
  readonly "commandId": string;
6324
6440
  readonly "messageId": string;
6325
- readonly "action"?: Union_66;
6441
+ readonly "action"?: Union_68;
6326
6442
  readonly "deliveredTurnId"?: string | null;
6327
6443
  readonly "createdAt": string;
6328
6444
  readonly "updatedAt": string;
@@ -6334,7 +6450,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6334
6450
  readonly "requestedAt": string;
6335
6451
  readonly "startedAt": string | null;
6336
6452
  readonly "completedAt": string | null;
6337
- readonly "waitSpans": ReadonlyArray<Objects_144>;
6453
+ readonly "waitSpans": ReadonlyArray<Objects_145>;
6338
6454
  } | null;
6339
6455
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
6340
6456
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -6343,7 +6459,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6343
6459
  readonly "workerEpoch": number;
6344
6460
  readonly "sourceBindingId": string | null;
6345
6461
  readonly "targetBindingId": string | null;
6346
- readonly "nativeLocator": Union_67;
6462
+ readonly "nativeLocator": Union_69;
6347
6463
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
6348
6464
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
6349
6465
  readonly "createdAt": string;
@@ -6366,11 +6482,11 @@ export type ThreadsMessagesGetEncodedOutput = {
6366
6482
  readonly "text": string;
6367
6483
  readonly "turnId": string | null;
6368
6484
  readonly "createdAt": string;
6369
- readonly "modelSelection"?: Objects_140 | undefined;
6370
- readonly "source"?: Objects_152 | undefined;
6371
- readonly "attachments": ReadonlyArray<Union_68>;
6485
+ readonly "modelSelection"?: Objects_141 | undefined;
6486
+ readonly "source"?: Objects_153 | undefined;
6487
+ readonly "attachments": ReadonlyArray<Union_70>;
6372
6488
  } | null;
6373
- export type ThreadsGetEncodedOutput = Objects_149;
6489
+ export type ThreadsGetEncodedOutput = Objects_150;
6374
6490
  export type ThreadsMessagesListEncodedOutput = {
6375
6491
  readonly "items": ReadonlyArray<{
6376
6492
  readonly "id": string;
@@ -6391,10 +6507,10 @@ export type ThreadsMessagesListEncodedOutput = {
6391
6507
  }> | undefined;
6392
6508
  readonly "turnId": string | null;
6393
6509
  readonly "streaming": boolean;
6394
- readonly "author"?: Union_69;
6510
+ readonly "author"?: Union_71;
6395
6511
  readonly "recordId"?: string | undefined;
6396
- readonly "modelSelection"?: Union_70;
6397
- readonly "source"?: Union_71;
6512
+ readonly "modelSelection"?: Union_72;
6513
+ readonly "source"?: Union_73;
6398
6514
  readonly "createdAt": string;
6399
6515
  readonly "updatedAt": string;
6400
6516
  readonly "attachmentsTotal"?: number;
@@ -6404,8 +6520,8 @@ export type ThreadsMessagesListEncodedOutput = {
6404
6520
  readonly "snapshotSequence": number;
6405
6521
  readonly "total"?: number;
6406
6522
  };
6407
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_148>;
6408
- export type ProjectsGetEncodedOutput = Objects_148;
6523
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_149>;
6524
+ export type ProjectsGetEncodedOutput = Objects_149;
6409
6525
  export type MachineSettingsEditorsGetEncodedOutput = {
6410
6526
  readonly "availableEditors": ReadonlyArray<unknown>;
6411
6527
  readonly "editorDiscovery"?: unknown;
@@ -6426,7 +6542,7 @@ export type MachineSettingsGetEncodedOutput = {
6426
6542
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
6427
6543
  readonly "browserRetentionBudgetEnabled"?: boolean | undefined;
6428
6544
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
6429
- readonly "agentRouting"?: Objects_153 | undefined;
6545
+ readonly "agentRouting"?: Objects_154 | undefined;
6430
6546
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
6431
6547
  readonly "recordProviderWire"?: boolean | undefined;
6432
6548
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -6436,19 +6552,19 @@ export type MachineSettingsGetEncodedOutput = {
6436
6552
  readonly "environmentIcon"?: unknown | undefined;
6437
6553
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined;
6438
6554
  readonly "addProjectBaseDirectory"?: string | undefined;
6439
- readonly "textGenerationModelSelection"?: Objects_140 | null | undefined;
6555
+ readonly "textGenerationModelSelection"?: Objects_141 | null | undefined;
6440
6556
  readonly "sourceControlWritingStyle"?: {
6441
6557
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
6442
6558
  readonly "customInstructions"?: string | undefined;
6443
6559
  readonly "followChangeRequestTemplates"?: boolean | undefined;
6444
6560
  } | undefined;
6445
- readonly "sourceControlWriterModelSelection"?: Objects_140 | null | undefined;
6561
+ readonly "sourceControlWriterModelSelection"?: Objects_141 | null | undefined;
6446
6562
  readonly "defaultProxyId"?: string | null | undefined;
6447
6563
  readonly "wallpaper"?: {
6448
- readonly "base": Objects_154;
6449
- readonly "sidebar": Objects_154 | null;
6450
- readonly "workspace": Objects_154 | null;
6451
- readonly "chat": Objects_154 | null;
6564
+ readonly "base": Objects_155;
6565
+ readonly "sidebar": Objects_155 | null;
6566
+ readonly "workspace": Objects_155 | null;
6567
+ readonly "chat": Objects_155 | null;
6452
6568
  } | undefined;
6453
6569
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
6454
6570
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -6474,11 +6590,11 @@ export type MachineSettingsGetEncodedOutput = {
6474
6590
  readonly "mcpServers": {
6475
6591
  readonly [x: string]: {
6476
6592
  readonly "name": string;
6477
- readonly "transport": Union_32;
6593
+ readonly "transport": Union_34;
6478
6594
  readonly "enabled"?: boolean | undefined;
6479
- readonly "providers"?: Union_72;
6595
+ readonly "providers"?: Union_74;
6480
6596
  readonly "catalogId"?: string | undefined;
6481
- readonly "oauth"?: Union_33;
6597
+ readonly "oauth"?: Union_35;
6482
6598
  };
6483
6599
  };
6484
6600
  readonly "skills": {
@@ -6487,7 +6603,7 @@ export type MachineSettingsGetEncodedOutput = {
6487
6603
  readonly "source": Objects_58 | Objects_71 | Objects_72;
6488
6604
  readonly "modelInvocable"?: boolean | undefined;
6489
6605
  readonly "userInvocable"?: boolean | undefined;
6490
- readonly "providers"?: Union_73;
6606
+ readonly "providers"?: Union_75;
6491
6607
  };
6492
6608
  };
6493
6609
  };
@@ -6581,9 +6697,26 @@ export type MachineSettingsConfigGetEncodedOutput = {
6581
6697
  };
6582
6698
  readonly "runtimeMaintenanceRoot"?: string;
6583
6699
  };
6584
- export type ProvidersRoutingGetEncodedOutput = Objects_153;
6700
+ export type ProvidersRoutingGetEncodedOutput = Objects_154;
6585
6701
  export type ProvidersSelectionResolveEncodedOutput = {
6586
6702
  readonly "modelSelection": Objects_64;
6703
+ readonly "hints"?: ReadonlyArray<{
6704
+ readonly "kind": "option-unsupported";
6705
+ readonly "model": string | null;
6706
+ readonly "optionId": string;
6707
+ readonly "stored": string | boolean;
6708
+ readonly "effective"?: string | boolean;
6709
+ } | {
6710
+ readonly "kind": "effort-moved";
6711
+ readonly "model": string | null;
6712
+ readonly "optionId": string;
6713
+ readonly "from": string;
6714
+ readonly "to": string;
6715
+ } | {
6716
+ readonly "kind": "model-replaced";
6717
+ readonly "from": string;
6718
+ readonly "to": string | null;
6719
+ }>;
6587
6720
  };
6588
6721
  export type ProvidersSessionsListEncodedOutput = {
6589
6722
  readonly "sessions": ReadonlyArray<{
@@ -6604,7 +6737,7 @@ export type PluginsProjectConfigGetEncodedOutput = {
6604
6737
  readonly "transport": {
6605
6738
  readonly "type": "stdio";
6606
6739
  readonly "command": string;
6607
- readonly "args"?: Union_35;
6740
+ readonly "args"?: Union_37;
6608
6741
  readonly "envNames": Arrays_14;
6609
6742
  } | {
6610
6743
  readonly "type": "http";
@@ -6616,18 +6749,18 @@ export type PluginsProjectConfigGetEncodedOutput = {
6616
6749
  readonly "headerNames": Arrays_16;
6617
6750
  };
6618
6751
  readonly "enabled"?: boolean | undefined;
6619
- readonly "providers"?: Union_72;
6752
+ readonly "providers"?: Union_74;
6620
6753
  readonly "catalogId"?: string | undefined;
6621
- readonly "oauth"?: Union_33;
6754
+ readonly "oauth"?: Union_35;
6622
6755
  };
6623
6756
  };
6624
6757
  readonly "skills"?: {
6625
6758
  readonly [x: string]: {
6626
6759
  readonly "name": string;
6627
- readonly "source": Union_36;
6760
+ readonly "source": Union_38;
6628
6761
  readonly "modelInvocable"?: boolean | undefined;
6629
6762
  readonly "userInvocable"?: boolean | undefined;
6630
- readonly "providers"?: Union_73;
6763
+ readonly "providers"?: Union_75;
6631
6764
  };
6632
6765
  };
6633
6766
  };
@@ -6651,9 +6784,9 @@ export type PluginsInstalledListEncodedOutput = {
6651
6784
  readonly "packageName"?: string | null | undefined;
6652
6785
  readonly "loadedAt"?: string | undefined;
6653
6786
  readonly "configRevision"?: number | undefined;
6654
- readonly "uiDebug"?: Union_37;
6787
+ readonly "uiDebug"?: Union_39;
6655
6788
  readonly "uiRevision"?: string | undefined;
6656
- readonly "proxyIds"?: Union_38;
6789
+ readonly "proxyIds"?: Union_40;
6657
6790
  readonly "state": "loaded" | "failed" | "stopped" | "disabled";
6658
6791
  readonly "contributions": Arrays_17;
6659
6792
  readonly "failure": {
@@ -6662,7 +6795,7 @@ export type PluginsInstalledListEncodedOutput = {
6662
6795
  readonly "kind"?: string | undefined;
6663
6796
  } | null;
6664
6797
  readonly "threadId": string | null;
6665
- readonly "runtimeStats"?: Union_39;
6798
+ readonly "runtimeStats"?: Union_41;
6666
6799
  readonly "removable"?: boolean | undefined;
6667
6800
  readonly "permissions"?: ReadonlyArray<Objects_73 | {
6668
6801
  readonly "kind": "fs.read";
@@ -6702,7 +6835,7 @@ export type PluginsInstalledListEncodedOutput = {
6702
6835
  readonly "titleKey": string;
6703
6836
  readonly "icon"?: string | undefined;
6704
6837
  readonly "chrome"?: "host" | "own" | undefined;
6705
- readonly "placements"?: Union_40;
6838
+ readonly "placements"?: Union_42;
6706
6839
  }> | undefined;
6707
6840
  readonly "panels"?: ReadonlyArray<{
6708
6841
  readonly "id": string;
@@ -6772,7 +6905,7 @@ export type ThreadsArtifactsListEncodedOutput = {
6772
6905
  readonly "turnId": string | null;
6773
6906
  readonly "messageId": string;
6774
6907
  readonly "deliveredAt": string;
6775
- readonly "modelSelection"?: Objects_140;
6908
+ readonly "modelSelection"?: Objects_141;
6776
6909
  }>;
6777
6910
  readonly "nextCursor": string | null;
6778
6911
  };
@@ -6784,15 +6917,16 @@ export type MembersListEncodedOutput = {
6784
6917
  readonly "name": string;
6785
6918
  readonly "title": string;
6786
6919
  readonly "responsibility": string;
6787
- readonly "avatar": Union_74;
6788
- readonly "identity": Union_75;
6789
- readonly "agent": Union_76;
6920
+ readonly "avatar": Union_76;
6921
+ readonly "identity": Union_77;
6922
+ readonly "agent": Union_78;
6790
6923
  readonly "workInstructionsRevision": number | null;
6791
6924
  readonly "version": number;
6792
- readonly "createdBy": Union_77;
6925
+ readonly "createdBy": Union_79;
6793
6926
  readonly "createdAt": string;
6794
6927
  readonly "updatedAt": string;
6795
6928
  readonly "removedAt": string | null;
6929
+ readonly "trial"?: Objects_156;
6796
6930
  }>;
6797
6931
  readonly "nextCursor": string | null;
6798
6932
  readonly "snapshotSequence": number;
@@ -6805,15 +6939,16 @@ export type MembersGetEncodedOutput = {
6805
6939
  readonly "name": string;
6806
6940
  readonly "title": string;
6807
6941
  readonly "responsibility": string;
6808
- readonly "avatar": Union_74;
6809
- readonly "identity": Union_75;
6810
- readonly "agent": Union_76;
6942
+ readonly "avatar": Union_76;
6943
+ readonly "identity": Union_77;
6944
+ readonly "agent": Union_78;
6811
6945
  readonly "workInstructionsRevision": number | null;
6812
6946
  readonly "version": number;
6813
- readonly "createdBy": Union_77;
6947
+ readonly "createdBy": Union_79;
6814
6948
  readonly "createdAt": string;
6815
6949
  readonly "updatedAt": string;
6816
6950
  readonly "removedAt": string | null;
6951
+ readonly "trial"?: Objects_156;
6817
6952
  readonly "workInstructions": string | null;
6818
6953
  readonly "workInstructionsWindow"?: Objects_38;
6819
6954
  };
@@ -7222,6 +7357,8 @@ export interface PluginDataPorts {
7222
7357
  readonly update: (input: WorkLinesUpdateInput) => Promise<WorkLinesUpdateOutput>;
7223
7358
  readonly archive: (input: WorkLinesArchiveInput) => Promise<WorkLinesArchiveOutput>;
7224
7359
  readonly restore: (input: WorkLinesRestoreInput) => Promise<WorkLinesRestoreOutput>;
7360
+ readonly pause: (input: WorkLinesPauseInput) => Promise<WorkLinesPauseOutput>;
7361
+ readonly resume: (input: WorkLinesResumeInput) => Promise<WorkLinesResumeOutput>;
7225
7362
  };
7226
7363
  };
7227
7364
  readonly members: {
@@ -7231,6 +7368,9 @@ export interface PluginDataPorts {
7231
7368
  readonly update: (input: MembersUpdateInput) => Promise<MembersUpdateOutput>;
7232
7369
  readonly remove: (input: MembersRemoveInput) => Promise<MembersRemoveOutput>;
7233
7370
  readonly restore: (input: MembersRestoreInput) => Promise<MembersRestoreOutput>;
7371
+ readonly trial: {
7372
+ readonly record: (input: MembersTrialRecordInput) => Promise<MembersTrialRecordOutput>;
7373
+ };
7234
7374
  };
7235
7375
  }
7236
7376
  /** 以人的身份写的端口(`invocation.asPerson`):只有登记表代人写白名单里的几条,形状与上面同名成员相同。 */
@@ -7252,6 +7392,8 @@ export interface PluginAsPersonPorts {
7252
7392
  readonly update: (input: WorkLinesUpdateInput) => Promise<WorkLinesUpdateOutput>;
7253
7393
  readonly archive: (input: WorkLinesArchiveInput) => Promise<WorkLinesArchiveOutput>;
7254
7394
  readonly restore: (input: WorkLinesRestoreInput) => Promise<WorkLinesRestoreOutput>;
7395
+ readonly pause: (input: WorkLinesPauseInput) => Promise<WorkLinesPauseOutput>;
7396
+ readonly resume: (input: WorkLinesResumeInput) => Promise<WorkLinesResumeOutput>;
7255
7397
  };
7256
7398
  };
7257
7399
  readonly memory: {