@ycodium-ai/plugin-api 0.2.3635 → 0.2.3681

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;
@@ -312,6 +312,7 @@ type Union_25 = {
312
312
  readonly "kind": "remote-agent";
313
313
  readonly "principalId": string;
314
314
  readonly "displayName": string;
315
+ readonly "memberId"?: string;
315
316
  };
316
317
  type Objects_39 = {
317
318
  readonly "persisted": string;
@@ -337,14 +338,14 @@ type Arrays_6 = ReadonlyArray<{
337
338
  type Objects_42 = {
338
339
  readonly "workLineId": string;
339
340
  };
340
- type Union_29 = {
341
+ type Union_31 = {
341
342
  readonly "kind": "account";
342
343
  readonly "userId": string;
343
344
  } | {
344
345
  readonly "kind": "local-owner";
345
346
  readonly "environmentId": string;
346
347
  };
347
- type Union_30 = {
348
+ type Union_32 = {
348
349
  readonly "kind": "account";
349
350
  readonly "userId": string;
350
351
  } | {
@@ -353,6 +354,7 @@ type Union_30 = {
353
354
  };
354
355
  type Objects_45 = {
355
356
  readonly "principalId": string;
357
+ readonly "memberId"?: string;
356
358
  };
357
359
  type Objects_46 = {
358
360
  readonly "projectId": string;
@@ -387,7 +389,7 @@ type Arrays_8 = ReadonlyArray<{
387
389
  readonly "altKey": boolean;
388
390
  readonly "modKey": boolean;
389
391
  };
390
- readonly "whenAst"?: Union_31 | undefined;
392
+ readonly "whenAst"?: Union_33 | undefined;
391
393
  }>;
392
394
  type Arrays_9 = ReadonlyArray<{
393
395
  readonly "kind": "keybindings.malformed-config";
@@ -439,7 +441,7 @@ type Objects_55 = {
439
441
  readonly "pauseWhenClientLowPower"?: boolean;
440
442
  readonly "pauseWhenOnBattery"?: boolean;
441
443
  };
442
- type Union_32 = {
444
+ type Union_34 = {
443
445
  readonly "type": "stdio";
444
446
  readonly "command": string;
445
447
  readonly "argCount": number;
@@ -511,17 +513,17 @@ type Objects_72 = {
511
513
  readonly "catalogId": string;
512
514
  readonly "version": string;
513
515
  };
514
- type Union_37 = {
516
+ type Union_39 = {
515
517
  readonly "enabled": boolean;
516
518
  readonly "phase": "idle" | "building" | "error";
517
519
  readonly "error": string | null;
518
520
  } | undefined;
519
- type Union_38 = ReadonlyArray<string> | undefined;
521
+ type Union_40 = ReadonlyArray<string> | undefined;
520
522
  type Arrays_17 = ReadonlyArray<{
521
523
  readonly "kind": "toolkit" | "reactor" | "settingsCard" | "modelPreset" | "command" | "cli" | "interval" | "executor" | "protocolConversion" | "skill" | "filePreviewConverter";
522
524
  readonly "name": string;
523
525
  }>;
524
- type Union_39 = {
526
+ type Union_41 = {
525
527
  readonly "eventsHandled": number;
526
528
  readonly "toolCalls": number;
527
529
  readonly "processesSpawned"?: number | undefined;
@@ -576,13 +578,13 @@ type Objects_87 = {
576
578
  type Objects_88 = {
577
579
  readonly "kind": "threads.user";
578
580
  };
579
- type Union_40 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
581
+ type Union_42 = ReadonlyArray<"web-pages" | "mobile-home" | "mobile-pages"> | undefined;
580
582
  type Arrays_19 = ReadonlyArray<"team" | "project">;
581
583
  type Arrays_20 = ReadonlyArray<string>;
582
584
  type Objects_89 = {
583
585
  readonly "ids": readonly [string, ...Array<string>];
584
586
  };
585
- type Union_41 = ReadonlyArray<{
587
+ type Union_43 = ReadonlyArray<{
586
588
  readonly "value": string;
587
589
  readonly "label"?: string | undefined;
588
590
  readonly "labelKey"?: string | undefined;
@@ -595,7 +597,7 @@ type Objects_90 = {
595
597
  type Objects_91 = {
596
598
  readonly [x: string]: unknown;
597
599
  };
598
- type Union_43 = {
600
+ type Union_45 = {
599
601
  readonly "key": string;
600
602
  readonly "values"?: {
601
603
  readonly [x: string]: string | number;
@@ -669,7 +671,7 @@ type Objects_111 = {
669
671
  readonly "pageId": string;
670
672
  readonly "revision": number;
671
673
  };
672
- type Union_45 = {
674
+ type Union_47 = {
673
675
  readonly "experienceId": string;
674
676
  readonly "revision": number;
675
677
  } | null;
@@ -714,25 +716,49 @@ type Objects_123 = {
714
716
  readonly "requestId"?: string;
715
717
  readonly "workLineId": string;
716
718
  };
717
- type Union_49 = {
719
+ type Objects_124 = {
720
+ readonly "projectId": string;
721
+ readonly "requestId"?: string;
722
+ readonly "workItemId": string;
723
+ };
724
+ type Objects_125 = {
725
+ readonly "sequence": number;
726
+ readonly "result": {
727
+ readonly "workItemId": string;
728
+ readonly "version": number;
729
+ };
730
+ readonly "replayed"?: boolean;
731
+ };
732
+ type Objects_126 = {
733
+ readonly "labelId": string;
734
+ };
735
+ type Objects_127 = {
736
+ readonly "projectId": string;
737
+ readonly "requestId"?: string;
738
+ readonly "labelId": string;
739
+ };
740
+ type Objects_129 = {
741
+ readonly "stateId": string;
742
+ };
743
+ type Union_51 = {
718
744
  readonly "pattern": string;
719
745
  readonly "color": string;
720
746
  } | null;
721
- type Objects_124 = {
747
+ type Objects_131 = {
722
748
  readonly "pattern": string;
723
749
  readonly "color": string;
724
750
  };
725
- type Objects_125 = {
751
+ type Objects_132 = {
726
752
  readonly "projectId": string;
727
753
  readonly "requestId"?: string;
728
754
  readonly "memberId": string;
729
755
  };
730
- type Objects_126 = {
756
+ type Objects_133 = {
731
757
  readonly "sequence": number;
732
758
  readonly "replayed"?: boolean;
733
759
  readonly "status": "accepted" | "noop";
734
760
  };
735
- type Objects_127 = {
761
+ type Objects_134 = {
736
762
  readonly "_tag": "snap-shot";
737
763
  readonly "capturedAt": string;
738
764
  readonly "appName": string;
@@ -750,12 +776,12 @@ type Objects_127 = {
750
776
  readonly "height": number;
751
777
  };
752
778
  readonly "truncated": boolean;
753
- readonly "root": Objects_128;
779
+ readonly "root": Objects_135;
754
780
  };
755
781
  readonly "appIdentifier"?: string;
756
782
  readonly "appIconDataUrl"?: string;
757
783
  };
758
- type Objects_129 = {
784
+ type Objects_136 = {
759
785
  readonly "_tag": "agent-artifact";
760
786
  readonly "sourcePath": string;
761
787
  readonly "linkBase"?: string;
@@ -765,13 +791,13 @@ type Objects_129 = {
765
791
  readonly "delivered"?: true;
766
792
  readonly "sha256"?: string;
767
793
  };
768
- type Objects_131 = {
794
+ type Objects_138 = {
769
795
  readonly "projectId": string;
770
796
  readonly "repository": string;
771
797
  readonly "number": number;
772
798
  readonly "url": string;
773
799
  };
774
- type Objects_132 = {
800
+ type Objects_139 = {
775
801
  readonly "_tag": "snap-shot";
776
802
  readonly "capturedAt": string;
777
803
  readonly "appName": string;
@@ -789,12 +815,12 @@ type Objects_132 = {
789
815
  readonly "height": number;
790
816
  };
791
817
  readonly "truncated": boolean;
792
- readonly "root": Objects_133;
818
+ readonly "root": Objects_140;
793
819
  };
794
820
  readonly "appIdentifier"?: string;
795
821
  readonly "appIconDataUrl"?: string;
796
822
  };
797
- type Objects_134 = {
823
+ type Objects_141 = {
798
824
  readonly "_tag": "agent-artifact";
799
825
  readonly "sourcePath": string;
800
826
  readonly "linkBase"?: string;
@@ -804,7 +830,7 @@ type Objects_134 = {
804
830
  readonly "delivered"?: true;
805
831
  readonly "sha256"?: string;
806
832
  };
807
- type Objects_136 = {
833
+ type Objects_143 = {
808
834
  readonly "_tag": "agent-artifact";
809
835
  readonly "sourcePath": string;
810
836
  readonly "linkBase"?: string;
@@ -814,7 +840,7 @@ type Objects_136 = {
814
840
  readonly "delivered"?: true;
815
841
  readonly "sha256"?: string;
816
842
  };
817
- type Union_53 = {
843
+ type Union_54 = {
818
844
  readonly "kind": "lucide";
819
845
  readonly "name": string;
820
846
  readonly "color": "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
@@ -822,72 +848,72 @@ type Union_53 = {
822
848
  readonly "kind": "emoji";
823
849
  readonly "emoji": string;
824
850
  };
825
- type Objects_137 = {
851
+ type Objects_144 = {
826
852
  readonly "projectId": string;
827
853
  readonly "folderId": string;
828
854
  };
829
- type Objects_138 = {
855
+ type Objects_145 = {
830
856
  readonly "applied": boolean;
831
857
  };
832
- type Objects_139 = {
858
+ type Objects_146 = {
833
859
  readonly "sourceThreadId": string;
834
860
  readonly "sourceMessageId": string;
835
861
  readonly "sourceTurnNumber"?: number;
836
862
  };
837
- type Objects_140 = {
863
+ type Objects_147 = {
838
864
  readonly "provider"?: unknown | undefined;
839
865
  readonly "instanceId"?: unknown | undefined;
840
866
  readonly "model": unknown;
841
867
  readonly "options"?: unknown | undefined;
842
868
  };
843
- type Union_55 = ReadonlyArray<string> | undefined;
844
- type Objects_141 = {
869
+ type Union_56 = ReadonlyArray<string> | undefined;
870
+ type Objects_148 = {
845
871
  readonly "parentThreadId": string;
846
872
  readonly "delegationDepth": number;
847
873
  readonly "requestedBy": "agent" | "continuation" | "person";
848
874
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
849
875
  };
850
- type Objects_142 = {
876
+ type Objects_149 = {
851
877
  readonly "userId": string;
852
878
  readonly "displayName": string;
853
879
  };
854
- type Objects_144 = {
880
+ type Objects_151 = {
855
881
  readonly "kind": "approval" | "userInput";
856
882
  readonly "requestId": string;
857
883
  readonly "startedAt": string;
858
884
  readonly "completedAt": string | null;
859
885
  readonly "waitingForYouStartedAt"?: string | null | undefined;
860
886
  };
861
- type Objects_145 = {
887
+ type Objects_152 = {
862
888
  readonly "requestId": string;
863
889
  readonly "startedAt": string;
864
890
  };
865
- type Objects_146 = {
891
+ type Objects_153 = {
866
892
  readonly "source": "manual" | "generated";
867
893
  readonly "version": string;
868
894
  readonly "needsRefinement": boolean;
869
895
  };
870
- type Union_64 = {
896
+ type Union_65 = {
871
897
  readonly "phase": "handling" | "unanswered";
872
898
  readonly "parentThreadId": string;
873
899
  } | undefined;
874
- type Union_65 = {
900
+ type Union_66 = {
875
901
  readonly "step": string;
876
902
  readonly "completedSteps": number;
877
903
  readonly "totalSteps": number;
878
904
  } | null | undefined;
879
- type Union_66 = {
905
+ type Union_67 = {
880
906
  readonly "kind": "steer" | "interrupt";
881
907
  readonly "turnId": string;
882
908
  readonly "commandId": string;
883
909
  readonly "source"?: "automatic";
884
910
  } | null;
885
- type Union_67 = {
911
+ type Union_68 = {
886
912
  readonly "sessionId"?: string;
887
913
  readonly "turnId"?: string;
888
914
  readonly "generationId"?: string;
889
915
  } | null;
890
- type Objects_151 = {
916
+ type Objects_158 = {
891
917
  readonly "_tag": "agent-artifact";
892
918
  readonly "sourcePath": string;
893
919
  readonly "linkBase"?: string | undefined;
@@ -897,7 +923,7 @@ type Objects_151 = {
897
923
  readonly "delivered"?: true | undefined;
898
924
  readonly "sha256"?: string | undefined;
899
925
  };
900
- type Objects_152 = {
926
+ type Objects_159 = {
901
927
  readonly "kind": "native-session";
902
928
  readonly "provider": "claude" | "codex";
903
929
  readonly "sessionId": string;
@@ -905,7 +931,7 @@ type Objects_152 = {
905
931
  readonly "turnId"?: string | undefined;
906
932
  readonly "order": number;
907
933
  };
908
- type Objects_153 = {
934
+ type Objects_160 = {
909
935
  readonly "roles"?: {
910
936
  readonly [x: string]: {
911
937
  readonly "instanceId": string;
@@ -914,7 +940,7 @@ type Objects_153 = {
914
940
  } | undefined;
915
941
  readonly "allowlistOnly"?: boolean | undefined;
916
942
  };
917
- type Objects_154 = {
943
+ type Objects_161 = {
918
944
  readonly "source": "none" | "custom" | "plugin";
919
945
  readonly "customId": string | null;
920
946
  readonly "pluginId": string | null;
@@ -933,7 +959,7 @@ type Objects_16 = {
933
959
  readonly "optionOverrides": Arrays_3;
934
960
  readonly "expectedRevisions": Objects_17;
935
961
  };
936
- type Objects_130 = {
962
+ type Objects_137 = {
937
963
  readonly "environmentId": string;
938
964
  readonly "runtimeId": string;
939
965
  readonly "sourceId": string;
@@ -945,7 +971,7 @@ type Objects_130 = {
945
971
  type Union_4 = Objects_18 | null | undefined;
946
972
  type Union_5 = Objects_19 | null | undefined;
947
973
  type Union_6 = Objects_20 | null | undefined;
948
- type Union_21 = Objects_20 | null | undefined;
974
+ type Union_23 = Objects_20 | null | undefined;
949
975
  type Union_8 = ReadonlyArray<Objects_22> | undefined;
950
976
  type Arrays_4 = ReadonlyArray<Objects_22>;
951
977
  type Union_9 = ReadonlyArray<Objects_23> | undefined;
@@ -966,7 +992,7 @@ type Objects_26 = {
966
992
  readonly "endReason"?: "server-restart" | undefined;
967
993
  readonly "updatedAt": string;
968
994
  };
969
- type Objects_147 = {
995
+ type Objects_154 = {
970
996
  readonly "threadId": string;
971
997
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
972
998
  readonly "providerName": string | null;
@@ -996,74 +1022,61 @@ type Objects_93 = {
996
1022
  readonly "outcome": Union_18;
997
1023
  };
998
1024
  };
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;
1025
+ type Union_20 = {
1026
+ readonly "_tag": "snap-shot";
1027
+ readonly "capturedAt": string;
1028
+ readonly "appName": string;
1029
+ readonly "windowTitle": string;
1030
+ readonly "accessibleText"?: string | undefined;
1031
+ readonly "accessibility"?: {
1032
+ readonly "format": "flat-text";
1033
+ readonly "text": string;
1034
+ readonly "truncated": boolean;
1035
+ } | {
1036
+ readonly "format": "element-tree";
1037
+ readonly "coordinateSpace": "captured-image";
1038
+ readonly "imageSize": Objects_32;
1039
+ readonly "truncated": boolean;
1040
+ readonly "root": Objects_33;
1035
1041
  } | undefined;
1036
- };
1037
- type Union_23 = Objects_37 | undefined;
1038
- type Union_26 = Union_25 | null;
1042
+ readonly "appIdentifier"?: string | undefined;
1043
+ readonly "appIconDataUrl"?: string | undefined;
1044
+ } | Objects_35 | undefined;
1045
+ type Union_22 = Objects_36 | Objects_35 | {
1046
+ readonly "_tag": "thread-reference";
1047
+ readonly "environmentId": string;
1048
+ readonly "threadId": string;
1049
+ } | undefined;
1050
+ type Union_25 = Objects_37 | undefined;
1051
+ type Union_28 = Union_27 | null;
1039
1052
  type Objects_40 = {
1040
1053
  readonly "claimId": string;
1041
- readonly "claimedBy": Union_25;
1054
+ readonly "claimedBy": Union_27;
1042
1055
  readonly "turnId"?: string | undefined;
1043
1056
  readonly "at": string;
1044
1057
  };
1045
1058
  type Objects_44 = {
1046
- readonly "person": Union_29;
1059
+ readonly "person": Union_31;
1047
1060
  };
1048
1061
  type Objects_113 = {
1049
1062
  readonly "kind": "human";
1050
- readonly "principal": Union_29;
1063
+ readonly "principal": Union_31;
1051
1064
  };
1052
1065
  type Objects_99 = {
1053
1066
  readonly "kind": "human";
1054
- readonly "principal": Union_30;
1067
+ readonly "principal": Union_32;
1055
1068
  };
1056
1069
  type Objects_63 = {
1057
1070
  readonly "keybindings": Arrays_8;
1058
1071
  readonly "issues": Arrays_9;
1059
1072
  };
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;
1073
+ type Union_35 = Objects_57 | undefined;
1074
+ type Union_36 = Arrays_12 | Objects_65;
1075
+ type Union_37 = Arrays_13 | undefined;
1064
1076
  type Union_73 = Objects_70 | undefined;
1065
- type Union_36 = Objects_68 | Objects_71 | Objects_72;
1066
- type Union_42 = Objects_90 | undefined;
1077
+ type Union_74 = Objects_70 | undefined;
1078
+ type Union_38 = Objects_68 | Objects_71 | Objects_72;
1079
+ type Union_44 = Objects_90 | undefined;
1067
1080
  type Objects_92 = {
1068
1081
  readonly "instanceId": string;
1069
1082
  readonly "driver": string;
@@ -1081,7 +1094,7 @@ type Objects_92 = {
1081
1094
  readonly "accountKey"?: string;
1082
1095
  readonly "windows": ReadonlyArray<{
1083
1096
  readonly "id": string;
1084
- readonly "label": Union_43;
1097
+ readonly "label": Union_45;
1085
1098
  readonly "usedPercent": number;
1086
1099
  readonly "resetsAt": string | null;
1087
1100
  readonly "windowMs"?: number;
@@ -1089,7 +1102,7 @@ type Objects_92 = {
1089
1102
  }>;
1090
1103
  readonly "balances": ReadonlyArray<{
1091
1104
  readonly "id": string;
1092
- readonly "label": Union_43;
1105
+ readonly "label": Union_45;
1093
1106
  readonly "remaining": number | null;
1094
1107
  readonly "used": number | null;
1095
1108
  readonly "limit": number | null;
@@ -1115,9 +1128,14 @@ type Objects_112 = {
1115
1128
  readonly "release": number;
1116
1129
  readonly "pages": ReadonlyArray<Objects_111>;
1117
1130
  };
1118
- type Union_74 = Objects_124 | null;
1119
- type Union_56 = Objects_131 | null | undefined;
1120
- type Objects_148 = {
1131
+ type Objects_128 = {
1132
+ readonly "sequence": number;
1133
+ readonly "result": Objects_126;
1134
+ readonly "replayed"?: boolean;
1135
+ };
1136
+ type Union_75 = Objects_131 | null;
1137
+ type Union_57 = Objects_138 | null | undefined;
1138
+ type Objects_155 = {
1121
1139
  readonly "id": string;
1122
1140
  readonly "title": string;
1123
1141
  readonly "workspaceRoot": string;
@@ -1153,9 +1171,9 @@ type Objects_148 = {
1153
1171
  readonly "owner"?: string;
1154
1172
  readonly "name"?: string;
1155
1173
  } | null | undefined;
1156
- readonly "defaultModelSelection": Objects_140 | null;
1174
+ readonly "defaultModelSelection": Objects_147 | null;
1157
1175
  readonly "faviconPath"?: string | null | undefined;
1158
- readonly "projectIcon"?: Union_53 | null | undefined;
1176
+ readonly "projectIcon"?: Union_54 | null | undefined;
1159
1177
  readonly "scripts": ReadonlyArray<{
1160
1178
  readonly "id": string;
1161
1179
  readonly "name": string;
@@ -1170,14 +1188,14 @@ type Objects_148 = {
1170
1188
  readonly "updatedAt": string;
1171
1189
  readonly "archivedAt"?: string | null | undefined;
1172
1190
  };
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 = {
1191
+ type Union_71 = Objects_147 | undefined;
1192
+ type Union_58 = Objects_148 | null | undefined;
1193
+ type Union_59 = Objects_149 | null | undefined;
1194
+ type Union_70 = Objects_149 | null | undefined;
1195
+ type Union_61 = ReadonlyArray<Objects_151> | undefined;
1196
+ type Union_62 = Objects_152 | null | undefined;
1197
+ type Union_63 = Objects_153 | null | undefined;
1198
+ type Union_69 = {
1181
1199
  readonly "type": "image";
1182
1200
  readonly "id": string;
1183
1201
  readonly "name": string;
@@ -1198,36 +1216,67 @@ type Union_68 = {
1198
1216
  readonly "coordinateSpace": "captured-image";
1199
1217
  readonly "imageSize": Objects_32;
1200
1218
  readonly "truncated": boolean;
1201
- readonly "root": Objects_150;
1219
+ readonly "root": Objects_157;
1202
1220
  } | undefined;
1203
1221
  readonly "appIdentifier"?: string | undefined;
1204
1222
  readonly "appIconDataUrl"?: string | undefined;
1205
- } | Objects_151 | undefined;
1223
+ } | Objects_158 | undefined;
1206
1224
  } | {
1207
1225
  readonly "type": "file";
1208
1226
  readonly "id": string;
1209
1227
  readonly "name": string;
1210
1228
  readonly "mimeType": string;
1211
1229
  readonly "sizeBytes": number;
1212
- readonly "source"?: Objects_36 | Objects_151 | {
1230
+ readonly "source"?: Objects_36 | Objects_158 | {
1213
1231
  readonly "_tag": "thread-reference";
1214
1232
  readonly "environmentId": string;
1215
1233
  readonly "threadId": string;
1216
1234
  } | undefined;
1217
1235
  };
1218
- type Union_71 = Objects_152 | undefined;
1236
+ type Union_72 = Objects_159 | undefined;
1219
1237
  type Union_1 = Arrays_1 | Arrays_2;
1220
1238
  type Union_2 = Objects_16 | undefined;
1221
- type Union_54 = Objects_130 | undefined;
1239
+ type Union_55 = Objects_137 | undefined;
1222
1240
  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;
1241
+ type Union_64 = Objects_154 | null;
1242
+ type Union_19 = {
1243
+ readonly "type": "image";
1244
+ readonly "id": string;
1245
+ readonly "name": string;
1246
+ readonly "mimeType": string;
1247
+ readonly "sizeBytes": number;
1248
+ readonly "source"?: Union_20;
1249
+ } | {
1250
+ readonly "type": "file";
1251
+ readonly "id": string;
1252
+ readonly "name": string;
1253
+ readonly "mimeType": string;
1254
+ readonly "sizeBytes": number;
1255
+ readonly "source"?: Union_22;
1256
+ };
1257
+ type Union_29 = ReadonlyArray<{
1258
+ readonly "type": "image";
1259
+ readonly "id": string;
1260
+ readonly "name": string;
1261
+ readonly "mimeType": string;
1262
+ readonly "sizeBytes": number;
1263
+ readonly "source"?: Union_20;
1264
+ readonly "path"?: string;
1265
+ } | {
1266
+ readonly "type": "file";
1267
+ readonly "id": string;
1268
+ readonly "name": string;
1269
+ readonly "mimeType": string;
1270
+ readonly "sizeBytes": number;
1271
+ readonly "source"?: Union_22;
1272
+ readonly "path"?: string;
1273
+ }> | undefined;
1274
+ type Union_30 = Objects_40 | null;
1226
1275
  type Arrays_7 = ReadonlyArray<{
1227
1276
  readonly "key": string;
1228
1277
  readonly "role": "process" | "background";
1229
1278
  readonly "member"?: string;
1230
- readonly "participant": Union_25 | null;
1279
+ readonly "participant": Union_27 | null;
1231
1280
  readonly "scope": Objects_42 | null;
1232
1281
  readonly "delivery": "quiet" | "wake" | "steer";
1233
1282
  readonly "stages": {
@@ -1238,12 +1287,12 @@ type Arrays_7 = ReadonlyArray<{
1238
1287
  } | null;
1239
1288
  };
1240
1289
  }>;
1241
- type Union_46 = Objects_113 | Objects_114 | Objects_115 | {
1290
+ type Union_48 = Objects_113 | Objects_114 | Objects_115 | {
1242
1291
  readonly "kind": "member";
1243
1292
  readonly "memberId": string;
1244
1293
  };
1245
- type Union_52 = Objects_113 | Objects_115;
1246
- type Union_77 = Objects_113 | {
1294
+ type Union_76 = Objects_113 | null;
1295
+ type Union_78 = Objects_113 | {
1247
1296
  readonly "kind": "local-cli";
1248
1297
  readonly "environmentId": string;
1249
1298
  } | {
@@ -1256,7 +1305,7 @@ type Union_77 = Objects_113 | {
1256
1305
  readonly "kind": "plugin";
1257
1306
  readonly "pluginId": string;
1258
1307
  } | Objects_102;
1259
- type Union_44 = Objects_99 | {
1308
+ type Union_46 = Objects_99 | {
1260
1309
  readonly "kind": "local-cli";
1261
1310
  readonly "environmentId": string;
1262
1311
  } | {
@@ -1266,23 +1315,23 @@ type Union_44 = Objects_99 | {
1266
1315
  readonly "kind": "plugin";
1267
1316
  readonly "pluginId": string;
1268
1317
  } | Objects_102;
1269
- type Union_47 = Objects_99 | Objects_100 | Objects_101 | {
1318
+ type Union_49 = Objects_99 | Objects_100 | Objects_101 | {
1270
1319
  readonly "kind": "member";
1271
1320
  readonly "memberId": string;
1272
1321
  };
1273
- type Union_48 = Objects_99 | Objects_100 | Objects_101;
1274
- type Union_50 = Objects_99 | Objects_101 | null;
1322
+ type Union_50 = Objects_99 | Objects_100 | Objects_101;
1323
+ type Union_52 = Objects_99 | null;
1275
1324
  type Objects_64 = {
1276
1325
  readonly "instanceId": string;
1277
1326
  readonly "model": string;
1278
- readonly "options"?: Union_34;
1327
+ readonly "options"?: Union_36;
1279
1328
  };
1280
1329
  type Objects_67 = {
1281
1330
  readonly "name": string;
1282
1331
  readonly "transport": {
1283
1332
  readonly "type": "stdio";
1284
1333
  readonly "command": string;
1285
- readonly "args"?: Union_35;
1334
+ readonly "args"?: Union_37;
1286
1335
  readonly "envNames": Arrays_14;
1287
1336
  } | {
1288
1337
  readonly "type": "http";
@@ -1296,9 +1345,9 @@ type Objects_67 = {
1296
1345
  readonly "enabled": boolean;
1297
1346
  readonly "providers": Objects_56;
1298
1347
  readonly "catalogId"?: string | undefined;
1299
- readonly "oauth"?: Union_33;
1348
+ readonly "oauth"?: Union_35;
1300
1349
  };
1301
- type Objects_143 = {
1350
+ type Objects_150 = {
1302
1351
  readonly "turnId": string;
1303
1352
  readonly "state": "running" | "interrupted" | "completed" | "error";
1304
1353
  readonly "requestedAt": string;
@@ -1306,12 +1355,12 @@ type Objects_143 = {
1306
1355
  readonly "completedAt": string | null;
1307
1356
  readonly "assistantMessageId": string | null;
1308
1357
  readonly "userMessageId"?: string | undefined;
1309
- readonly "modelSelection"?: Objects_140 | undefined;
1358
+ readonly "modelSelection"?: Objects_147 | undefined;
1310
1359
  readonly "sourceProposedPlan"?: {
1311
1360
  readonly "threadId": string;
1312
1361
  readonly "planId": string;
1313
1362
  } | undefined;
1314
- readonly "waitSpans"?: Union_60;
1363
+ readonly "waitSpans"?: Union_61;
1315
1364
  readonly "runSegments"?: Union_9;
1316
1365
  };
1317
1366
  type Objects_14 = {
@@ -1327,8 +1376,8 @@ type Objects_66 = {
1327
1376
  type Objects_43 = {
1328
1377
  readonly "items": ReadonlyArray<{
1329
1378
  readonly "recordId": string;
1330
- readonly "from": Union_25;
1331
- readonly "to": Union_26;
1379
+ readonly "from": Union_27;
1380
+ readonly "to": Union_28;
1332
1381
  readonly "replyTo": string | null;
1333
1382
  readonly "delivery": "quiet" | "wake" | "steer";
1334
1383
  readonly "createdAt": string;
@@ -1336,11 +1385,11 @@ type Objects_43 = {
1336
1385
  readonly "idempotencyKey"?: string | undefined;
1337
1386
  readonly "runId"?: string | undefined;
1338
1387
  readonly "toRole"?: string | undefined;
1339
- readonly "attachments"?: Union_27;
1388
+ readonly "attachments"?: Union_29;
1340
1389
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
1341
1390
  readonly "projectId": string | null;
1342
1391
  readonly "sequence": number;
1343
- readonly "claim": Union_28;
1392
+ readonly "claim": Union_30;
1344
1393
  readonly "group"?: Objects_41;
1345
1394
  readonly "mentions"?: Arrays_6;
1346
1395
  readonly "targets"?: Arrays_7;
@@ -1350,12 +1399,17 @@ type Objects_43 = {
1350
1399
  readonly "nextCursor": string | null;
1351
1400
  readonly "snapshotSequence": number;
1352
1401
  };
1353
- type Union_75 = Union_52 | null;
1402
+ type Objects_162 = {
1403
+ readonly "outcome": "passed" | "failed" | "skipped" | "not-run";
1404
+ readonly "at": string;
1405
+ readonly "by": Union_78;
1406
+ readonly "summary"?: string;
1407
+ };
1354
1408
  type Objects_104 = {
1355
1409
  readonly "experienceId": string;
1356
1410
  readonly "revision": number;
1357
1411
  readonly "baseRevision": number | null;
1358
- readonly "author": Union_44;
1412
+ readonly "author": Union_46;
1359
1413
  readonly "createdAt": string;
1360
1414
  readonly "body": string | null;
1361
1415
  readonly "bodyState": "present" | "erased" | "unavailable";
@@ -1366,7 +1420,7 @@ type Objects_108 = {
1366
1420
  readonly "revision": number;
1367
1421
  readonly "baseRevision": number | null;
1368
1422
  readonly "restoredFromRevision": number | null;
1369
- readonly "author": Union_44;
1423
+ readonly "author": Union_46;
1370
1424
  readonly "createdAt": string;
1371
1425
  readonly "title": string | null;
1372
1426
  readonly "changeSummary": string | null;
@@ -1381,8 +1435,8 @@ type Objects_110 = {
1381
1435
  readonly "itemHighWater": number;
1382
1436
  readonly "requiresAck": boolean;
1383
1437
  readonly "restoredFromRelease": number | null;
1384
- readonly "sourceExperience": Union_45;
1385
- readonly "publishedBy": Union_44;
1438
+ readonly "sourceExperience": Union_47;
1439
+ readonly "publishedBy": Union_46;
1386
1440
  readonly "publishedAt": string;
1387
1441
  };
1388
1442
  type Objects_122 = {
@@ -1393,32 +1447,49 @@ type Objects_122 = {
1393
1447
  readonly "memberIds": ReadonlyArray<string>;
1394
1448
  readonly "threadId": string | null;
1395
1449
  readonly "version": number;
1396
- readonly "createdBy": Union_44;
1450
+ readonly "createdBy": Union_46;
1397
1451
  readonly "createdAt": string;
1398
1452
  readonly "updatedAt": string;
1399
1453
  readonly "archivedAt": string | null;
1454
+ readonly "pause"?: {
1455
+ readonly "at": string;
1456
+ readonly "by": Union_46;
1457
+ readonly "reason"?: string;
1458
+ };
1459
+ readonly "memberPauses"?: ReadonlyArray<{
1460
+ readonly "memberId": string;
1461
+ readonly "at": string;
1462
+ readonly "by": Union_46;
1463
+ readonly "reason"?: string;
1464
+ }>;
1465
+ };
1466
+ type Objects_130 = {
1467
+ readonly "outcome": "passed" | "failed" | "skipped" | "not-run";
1468
+ readonly "at": string;
1469
+ readonly "by": Union_46;
1470
+ readonly "summary"?: string;
1400
1471
  };
1401
- type Arrays_24 = ReadonlyArray<Union_47>;
1472
+ type Arrays_24 = ReadonlyArray<Union_49>;
1402
1473
  type Objects_118 = {
1403
1474
  readonly "commentId": string;
1404
1475
  readonly "workItemId": string;
1405
1476
  readonly "projectId": string;
1406
1477
  readonly "sequence": number;
1407
1478
  readonly "revision": number;
1408
- readonly "author": Union_44;
1479
+ readonly "author": Union_46;
1409
1480
  readonly "body": string | null;
1410
1481
  readonly "bodyWindow"?: Objects_38;
1411
1482
  readonly "bodyState": "present" | "erased" | "unavailable";
1412
- readonly "mentions": ReadonlyArray<Union_48>;
1483
+ readonly "mentions": ReadonlyArray<Union_50>;
1413
1484
  readonly "parentId": string | null;
1414
1485
  readonly "createdAt": string;
1415
1486
  readonly "editedAt": string | null;
1416
1487
  };
1417
- type Union_76 = {
1488
+ type Union_77 = {
1418
1489
  readonly "environmentId": string;
1419
1490
  readonly "modelSelection": Objects_64;
1420
1491
  } | null;
1421
- type Union_59 = Objects_143 | null;
1492
+ type Union_60 = Objects_150 | null;
1422
1493
  type Objects_21 = {
1423
1494
  readonly "turnId": string;
1424
1495
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -1495,7 +1566,7 @@ type Objects_28 = {
1495
1566
  readonly "updatedAt": string;
1496
1567
  readonly "archivedAt"?: string | null | undefined;
1497
1568
  };
1498
- type Union_22 = Objects_14 | undefined;
1569
+ type Union_24 = Objects_14 | undefined;
1499
1570
  type Objects_52 = {
1500
1571
  readonly "enableLegacyTokenStreaming": boolean;
1501
1572
  readonly "enableProviderUpdateChecks": boolean;
@@ -1553,11 +1624,11 @@ type Objects_52 = {
1553
1624
  readonly "mcpServers": {
1554
1625
  readonly [x: string]: {
1555
1626
  readonly "name": string;
1556
- readonly "transport": Union_32;
1627
+ readonly "transport": Union_34;
1557
1628
  readonly "enabled": boolean;
1558
1629
  readonly "providers": Objects_56;
1559
1630
  readonly "catalogId"?: string | undefined;
1560
- readonly "oauth"?: Union_33;
1631
+ readonly "oauth"?: Union_35;
1561
1632
  };
1562
1633
  };
1563
1634
  readonly "skills": {
@@ -1595,30 +1666,30 @@ type Objects_52 = {
1595
1666
  };
1596
1667
  readonly "observability": Objects_62;
1597
1668
  };
1598
- type Union_51 = {
1669
+ type Union_53 = {
1599
1670
  readonly "environmentId": string;
1600
1671
  readonly "modelSelection": Objects_66;
1601
1672
  } | null;
1602
- type Objects_149 = {
1673
+ type Objects_156 = {
1603
1674
  readonly "id": string;
1604
1675
  readonly "projectId": string;
1605
1676
  readonly "title": string;
1606
- readonly "modelSelection": Objects_140;
1607
- readonly "executionSelection"?: Union_54;
1677
+ readonly "modelSelection": Objects_147;
1678
+ readonly "executionSelection"?: Union_55;
1608
1679
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1609
1680
  readonly "nativeModeId"?: string | null | undefined;
1610
1681
  readonly "interactionMode"?: "default" | "plan" | undefined;
1611
1682
  readonly "branch": string | null;
1612
1683
  readonly "worktreePath": string | null;
1613
1684
  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;
1685
+ readonly "folderIds"?: Union_56;
1686
+ readonly "linkedPullRequest"?: Union_57;
1687
+ readonly "origin"?: Union_58;
1688
+ readonly "forkedFrom"?: Objects_146 | null | undefined;
1618
1689
  readonly "presetId"?: string | null | undefined;
1619
1690
  readonly "memberId"?: string | undefined;
1620
- readonly "createdBy"?: Union_58;
1621
- readonly "latestTurn": Union_59;
1691
+ readonly "createdBy"?: Union_59;
1692
+ readonly "latestTurn": Union_60;
1622
1693
  readonly "stopRequestedAt"?: string | null;
1623
1694
  readonly "createdAt": string;
1624
1695
  readonly "updatedAt": string;
@@ -1631,9 +1702,9 @@ type Objects_149 = {
1631
1702
  readonly "pinnedAt"?: string | null | undefined;
1632
1703
  readonly "pinOrderKey"?: string | null | undefined;
1633
1704
  readonly "sortOrderKey"?: string | null | undefined;
1634
- readonly "titleRegeneration"?: Union_61;
1635
- readonly "titleState"?: Union_62;
1636
- readonly "session": Union_63;
1705
+ readonly "titleRegeneration"?: Union_62;
1706
+ readonly "titleState"?: Union_63;
1707
+ readonly "session": Union_64;
1637
1708
  readonly "latestUserMessageAt": string | null;
1638
1709
  readonly "userTurnCount"?: number | undefined;
1639
1710
  readonly "queuedMessageCount"?: number | undefined;
@@ -1645,12 +1716,12 @@ type Objects_149 = {
1645
1716
  readonly "latestDeliveryAt"?: string | null | undefined;
1646
1717
  readonly "hasPendingApprovals": boolean;
1647
1718
  readonly "hasPendingUserInput": boolean;
1648
- readonly "askRoute"?: Union_64;
1719
+ readonly "askRoute"?: Union_65;
1649
1720
  readonly "hasActionableProposedPlan": boolean;
1650
1721
  readonly "status"?: "needs-approval" | "needs-input" | "plan-ready" | "running" | "failed" | "background" | "stopped" | "idle" | undefined;
1651
1722
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
1652
1723
  readonly "backgroundMonitorCount"?: number | undefined;
1653
- readonly "planProgress"?: Union_65;
1724
+ readonly "planProgress"?: Union_66;
1654
1725
  };
1655
1726
  type Union_7 = Objects_21 | null;
1656
1727
  type Objects_12 = {
@@ -1779,27 +1850,27 @@ type Objects_33 = {
1779
1850
  readonly "name"?: string;
1780
1851
  readonly "value"?: string;
1781
1852
  readonly "description"?: string;
1782
- readonly "bounds": Union_20;
1853
+ readonly "bounds": Union_21;
1783
1854
  readonly "state"?: Objects_34;
1784
1855
  readonly "actions"?: ReadonlyArray<string>;
1785
1856
  readonly "children": ReadonlyArray<Objects_33>;
1786
1857
  };
1787
- type Union_31 = {
1858
+ type Union_33 = {
1788
1859
  readonly "type": "identifier";
1789
1860
  readonly "name": string;
1790
1861
  } | {
1791
1862
  readonly "type": "not";
1792
- readonly "node": Union_31;
1863
+ readonly "node": Union_33;
1793
1864
  } | {
1794
1865
  readonly "type": "and";
1795
- readonly "left": Union_31;
1796
- readonly "right": Union_31;
1866
+ readonly "left": Union_33;
1867
+ readonly "right": Union_33;
1797
1868
  } | {
1798
1869
  readonly "type": "or";
1799
- readonly "left": Union_31;
1800
- readonly "right": Union_31;
1870
+ readonly "left": Union_33;
1871
+ readonly "right": Union_33;
1801
1872
  };
1802
- type Objects_128 = {
1873
+ type Objects_135 = {
1803
1874
  readonly "role": string;
1804
1875
  readonly "name"?: string;
1805
1876
  readonly "value"?: string;
@@ -1822,9 +1893,9 @@ type Objects_128 = {
1822
1893
  readonly "visible"?: boolean;
1823
1894
  };
1824
1895
  readonly "actions"?: ReadonlyArray<string>;
1825
- readonly "children": ReadonlyArray<Objects_128>;
1896
+ readonly "children": ReadonlyArray<Objects_135>;
1826
1897
  };
1827
- type Objects_133 = {
1898
+ type Objects_140 = {
1828
1899
  readonly "role": string;
1829
1900
  readonly "name"?: string;
1830
1901
  readonly "value"?: string;
@@ -1847,9 +1918,9 @@ type Objects_133 = {
1847
1918
  readonly "visible"?: boolean;
1848
1919
  };
1849
1920
  readonly "actions"?: ReadonlyArray<string>;
1850
- readonly "children": ReadonlyArray<Objects_133>;
1921
+ readonly "children": ReadonlyArray<Objects_140>;
1851
1922
  };
1852
- type Objects_135 = {
1923
+ type Objects_142 = {
1853
1924
  readonly "role": string;
1854
1925
  readonly "name"?: string;
1855
1926
  readonly "value"?: string;
@@ -1872,17 +1943,17 @@ type Objects_135 = {
1872
1943
  readonly "visible"?: boolean;
1873
1944
  };
1874
1945
  readonly "actions"?: ReadonlyArray<string>;
1875
- readonly "children": ReadonlyArray<Objects_135>;
1946
+ readonly "children": ReadonlyArray<Objects_142>;
1876
1947
  };
1877
- type Objects_150 = {
1948
+ type Objects_157 = {
1878
1949
  readonly "role": string;
1879
1950
  readonly "name"?: string;
1880
1951
  readonly "value"?: string;
1881
1952
  readonly "description"?: string;
1882
- readonly "bounds": Union_20;
1953
+ readonly "bounds": Union_21;
1883
1954
  readonly "state"?: Objects_34;
1884
1955
  readonly "actions"?: ReadonlyArray<string>;
1885
- readonly "children": ReadonlyArray<Objects_150>;
1956
+ readonly "children": ReadonlyArray<Objects_157>;
1886
1957
  };
1887
1958
  export type MachineSettingsBrowserRuntimeGetInput = Objects_;
1888
1959
  export type MachineSettingsBrowserRuntimeGetOutput = Union_;
@@ -2146,20 +2217,61 @@ export type ThreadsBrowserRecordingStopOutput = {
2146
2217
  readonly "sizeBytes": number;
2147
2218
  readonly "mimeType": string;
2148
2219
  };
2149
- export type AuthRemoteAgentsListInput = {
2220
+ export type ProjectsMachinesListInput = {
2150
2221
  readonly "projectId": string;
2151
- readonly "cursor"?: string | null;
2152
- readonly "limit"?: number;
2222
+ readonly "includeModels"?: boolean;
2153
2223
  };
2154
- export type AuthRemoteAgentsListOutput = {
2224
+ export type ProjectsMachinesListOutput = {
2155
2225
  readonly "items": ReadonlyArray<{
2226
+ readonly "environmentId": string;
2227
+ readonly "name": string;
2228
+ readonly "online": boolean;
2229
+ readonly "joinedAt": string;
2230
+ readonly "lastSeenAt"?: string;
2231
+ readonly "providers": ReadonlyArray<{
2232
+ readonly "instanceId": string;
2233
+ readonly "driver": string;
2234
+ readonly "displayName": string;
2235
+ readonly "models": ReadonlyArray<{
2236
+ readonly "slug": string;
2237
+ readonly "name": string;
2238
+ }>;
2239
+ readonly "defaultModel"?: string;
2240
+ }>;
2241
+ readonly "providersReportedAt"?: string;
2156
2242
  readonly "principalId": string;
2157
- readonly "label": string;
2158
- readonly "state": "active" | "disabled" | "revoked";
2159
- readonly "lastUsedAt"?: string;
2160
2243
  }>;
2161
- readonly "nextCursor": string | null;
2162
- readonly "snapshotSequence": number;
2244
+ };
2245
+ export type ProjectsMachinesJoinCodeCreateInput = {
2246
+ readonly "projectId": string;
2247
+ };
2248
+ export type ProjectsMachinesJoinCodeCreateOutput = {
2249
+ readonly "code": string;
2250
+ readonly "expiresAt": string;
2251
+ };
2252
+ export type ProjectsMachinesRemoveInput = {
2253
+ readonly "projectId": string;
2254
+ readonly "environmentId": string;
2255
+ };
2256
+ export type ProjectsMachinesRemoveOutput = {
2257
+ readonly "removed": boolean;
2258
+ };
2259
+ export type ProjectsMachinesJoinInput = {
2260
+ readonly "homeUrl": string;
2261
+ readonly "code": string;
2262
+ readonly "localProjectId": string;
2263
+ readonly "allowInsecureHttp"?: boolean;
2264
+ };
2265
+ export type ProjectsMachinesJoinOutput = {
2266
+ readonly "seatId": string;
2267
+ readonly "homeEnvironmentId": string;
2268
+ readonly "projectId": string;
2269
+ };
2270
+ export type ProjectsMachinesLeaveInput = {
2271
+ readonly "seatId": string;
2272
+ };
2273
+ export type ProjectsMachinesLeaveOutput = {
2274
+ readonly "left": boolean;
2163
2275
  };
2164
2276
  export type ThreadsListInput = {
2165
2277
  readonly "collection"?: "page" | "all";
@@ -2395,10 +2507,10 @@ export type ThreadsHistoryOutput = {
2395
2507
  readonly "attachments"?: ReadonlyArray<Union_19> | undefined;
2396
2508
  readonly "turnId": string | null;
2397
2509
  readonly "streaming": boolean;
2398
- readonly "author"?: Union_21;
2510
+ readonly "author"?: Union_23;
2399
2511
  readonly "recordId"?: string | undefined;
2400
- readonly "modelSelection"?: Union_22;
2401
- readonly "source"?: Union_23;
2512
+ readonly "modelSelection"?: Union_24;
2513
+ readonly "source"?: Union_25;
2402
2514
  readonly "createdAt": string;
2403
2515
  readonly "updatedAt": string;
2404
2516
  }>;
@@ -2570,7 +2682,7 @@ export type ThreadsAgentsListOutput = {
2570
2682
  readonly "effort"?: string | undefined;
2571
2683
  readonly "activationCount"?: number | undefined;
2572
2684
  readonly "lastToolName"?: string | undefined;
2573
- readonly "usage"?: Union_24;
2685
+ readonly "usage"?: Union_26;
2574
2686
  readonly "startedAt"?: string | undefined;
2575
2687
  readonly "completedAt"?: string | undefined;
2576
2688
  readonly "statusInferred"?: boolean | undefined;
@@ -2614,7 +2726,7 @@ export type ThreadsAgentsGetOutput = {
2614
2726
  readonly "lastToolName"?: string | undefined;
2615
2727
  readonly "result"?: string | undefined;
2616
2728
  readonly "error"?: string | undefined;
2617
- readonly "usage"?: Union_24;
2729
+ readonly "usage"?: Union_26;
2618
2730
  readonly "startedAt"?: string | undefined;
2619
2731
  readonly "completedAt"?: string | undefined;
2620
2732
  readonly "statusInferred"?: boolean | undefined;
@@ -3010,10 +3122,10 @@ export type ThreadsMessagesListOutput = {
3010
3122
  }> | undefined;
3011
3123
  readonly "turnId": string | null;
3012
3124
  readonly "streaming": boolean;
3013
- readonly "author"?: Union_21;
3125
+ readonly "author"?: Union_23;
3014
3126
  readonly "recordId"?: string | undefined;
3015
- readonly "modelSelection"?: Union_22;
3016
- readonly "source"?: Union_23;
3127
+ readonly "modelSelection"?: Union_24;
3128
+ readonly "source"?: Union_25;
3017
3129
  readonly "createdAt": string;
3018
3130
  readonly "updatedAt": string;
3019
3131
  readonly "attachmentsTotal"?: number;
@@ -3088,8 +3200,8 @@ export type CommunicationRecordsGetInput = {
3088
3200
  };
3089
3201
  export type CommunicationRecordsGetOutput = ReadonlyArray<{
3090
3202
  readonly "recordId": string;
3091
- readonly "from": Union_25;
3092
- readonly "to": Union_26;
3203
+ readonly "from": Union_27;
3204
+ readonly "to": Union_28;
3093
3205
  readonly "replyTo": string | null;
3094
3206
  readonly "text": string | null;
3095
3207
  readonly "delivery": "quiet" | "wake" | "steer";
@@ -3098,11 +3210,11 @@ export type CommunicationRecordsGetOutput = ReadonlyArray<{
3098
3210
  readonly "idempotencyKey"?: string | undefined;
3099
3211
  readonly "runId"?: string | undefined;
3100
3212
  readonly "toRole"?: string | undefined;
3101
- readonly "attachments"?: Union_27;
3213
+ readonly "attachments"?: Union_29;
3102
3214
  readonly "bodyState": "present" | "withdrawn" | "deleted" | "unavailable";
3103
3215
  readonly "projectId": string | null;
3104
3216
  readonly "sequence": number;
3105
- readonly "claim": Union_28;
3217
+ readonly "claim": Union_30;
3106
3218
  readonly "textWindow"?: Objects_38;
3107
3219
  readonly "group"?: Objects_41;
3108
3220
  readonly "mentions"?: Arrays_6;
@@ -3127,7 +3239,7 @@ export type CommunicationRecordsListInput = {
3127
3239
  readonly "until"?: string | null;
3128
3240
  readonly "cursor"?: string | null;
3129
3241
  readonly "limit"?: number;
3130
- readonly "person": Union_29;
3242
+ readonly "person": Union_31;
3131
3243
  } | {
3132
3244
  readonly "projectId": string;
3133
3245
  readonly "since"?: string | null;
@@ -3151,7 +3263,7 @@ export type CommunicationPeopleListInput = {
3151
3263
  };
3152
3264
  export type CommunicationPeopleListOutput = {
3153
3265
  readonly "items": ReadonlyArray<{
3154
- readonly "person": Union_30;
3266
+ readonly "person": Union_32;
3155
3267
  readonly "displayName": string;
3156
3268
  }>;
3157
3269
  readonly "nextCursor": string | null;
@@ -3174,6 +3286,16 @@ export type CommunicationRecordsSendInput = {
3174
3286
  readonly "mentions"?: ReadonlyArray<{
3175
3287
  readonly "memberId": string;
3176
3288
  }>;
3289
+ readonly "attachments"?: ReadonlyArray<{
3290
+ readonly "path": string;
3291
+ readonly "name"?: string;
3292
+ readonly "mimeType"?: string;
3293
+ } | {
3294
+ readonly "attachmentId": string;
3295
+ readonly "name": string;
3296
+ readonly "mimeType"?: string;
3297
+ readonly "sourcePath"?: string;
3298
+ }>;
3177
3299
  };
3178
3300
  export type CommunicationRecordsSendOutput = {
3179
3301
  readonly "sequence": number;
@@ -3671,6 +3793,7 @@ export type MachineSettingsConfigGetOutput = {
3671
3793
  readonly "projectCloneInBackground"?: boolean;
3672
3794
  readonly "projectMultiFolder"?: boolean;
3673
3795
  readonly "workLines"?: boolean;
3796
+ readonly "workBoard"?: boolean;
3674
3797
  readonly "groupMessages"?: boolean;
3675
3798
  readonly "threadTitleRegeneration"?: boolean;
3676
3799
  readonly "threadPullRequestLinking"?: boolean;
@@ -3762,9 +3885,27 @@ export type ProvidersSelectionResolveInput = {
3762
3885
  readonly "model"?: string;
3763
3886
  readonly "options"?: Arrays_12 | Objects_65;
3764
3887
  readonly "routingKey"?: string;
3888
+ readonly "purpose"?: "create" | "dispatch-existing";
3765
3889
  };
3766
3890
  export type ProvidersSelectionResolveOutput = {
3767
3891
  readonly "modelSelection": Objects_66;
3892
+ readonly "hints"?: ReadonlyArray<{
3893
+ readonly "kind": "option-unsupported";
3894
+ readonly "model": string | null;
3895
+ readonly "optionId": string;
3896
+ readonly "stored": string | boolean;
3897
+ readonly "effective"?: string | boolean;
3898
+ } | {
3899
+ readonly "kind": "effort-moved";
3900
+ readonly "model": string | null;
3901
+ readonly "optionId": string;
3902
+ readonly "from": string;
3903
+ readonly "to": string;
3904
+ } | {
3905
+ readonly "kind": "model-replaced";
3906
+ readonly "from": string;
3907
+ readonly "to": string | null;
3908
+ }>;
3768
3909
  };
3769
3910
  export type ProvidersSessionsListInput = {
3770
3911
  readonly "threadId"?: string;
@@ -3955,11 +4096,13 @@ export type ProvidersListOutput = {
3955
4096
  };
3956
4097
  export type ProvidersModelsListInput = {
3957
4098
  readonly "instanceId": string;
4099
+ readonly "includeHidden"?: boolean;
3958
4100
  };
3959
4101
  export type ProvidersModelsListOutput = {
3960
4102
  readonly "models": ReadonlyArray<{
3961
4103
  readonly "slug": string;
3962
4104
  readonly "name": string;
4105
+ readonly "hidden"?: boolean;
3963
4106
  readonly "options": ReadonlyArray<{
3964
4107
  readonly "id": string;
3965
4108
  readonly "values": ReadonlyArray<string>;
@@ -4015,7 +4158,7 @@ export type PluginsProjectConfigUpdateInput = {
4015
4158
  readonly "skills"?: {
4016
4159
  readonly [x: string]: {
4017
4160
  readonly "name": string;
4018
- readonly "source": Union_36;
4161
+ readonly "source": Union_38;
4019
4162
  readonly "modelInvocable"?: boolean;
4020
4163
  readonly "userInvocable"?: boolean;
4021
4164
  readonly "providers"?: Objects_70;
@@ -4048,9 +4191,9 @@ export type PluginsInstalledListOutput = {
4048
4191
  readonly "packageName"?: string | null | undefined;
4049
4192
  readonly "loadedAt"?: string | undefined;
4050
4193
  readonly "configRevision"?: number | undefined;
4051
- readonly "uiDebug"?: Union_37;
4194
+ readonly "uiDebug"?: Union_39;
4052
4195
  readonly "uiRevision"?: string | undefined;
4053
- readonly "proxyIds"?: Union_38;
4196
+ readonly "proxyIds"?: Union_40;
4054
4197
  readonly "state": "loaded" | "failed" | "stopped" | "disabled";
4055
4198
  readonly "contributions": Arrays_17;
4056
4199
  readonly "failure": {
@@ -4059,7 +4202,7 @@ export type PluginsInstalledListOutput = {
4059
4202
  readonly "kind"?: string | undefined;
4060
4203
  } | null;
4061
4204
  readonly "threadId": string | null;
4062
- readonly "runtimeStats"?: Union_39;
4205
+ readonly "runtimeStats"?: Union_41;
4063
4206
  readonly "removable"?: boolean | undefined;
4064
4207
  readonly "permissions"?: ReadonlyArray<Objects_73 | {
4065
4208
  readonly "kind": "fs.read";
@@ -4100,7 +4243,7 @@ export type PluginsInstalledListOutput = {
4100
4243
  readonly "titleKey": string;
4101
4244
  readonly "icon"?: string | undefined;
4102
4245
  readonly "chrome"?: "host" | "own" | undefined;
4103
- readonly "placements"?: Union_40;
4246
+ readonly "placements"?: Union_42;
4104
4247
  }> | undefined;
4105
4248
  readonly "panels"?: ReadonlyArray<{
4106
4249
  readonly "id": string;
@@ -4229,8 +4372,8 @@ export type PluginsSettingsCardsListOutput = {
4229
4372
  readonly "placeholder"?: string | undefined;
4230
4373
  readonly "placeholderKey"?: string | undefined;
4231
4374
  readonly "required"?: boolean | undefined;
4232
- readonly "options"?: Union_41;
4233
- readonly "showWhen"?: Union_42;
4375
+ readonly "options"?: Union_43;
4376
+ readonly "showWhen"?: Union_44;
4234
4377
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy" | "table";
4235
4378
  readonly "columns"?: ReadonlyArray<{
4236
4379
  readonly "key": string;
@@ -4241,8 +4384,8 @@ export type PluginsSettingsCardsListOutput = {
4241
4384
  readonly "placeholder"?: string | undefined;
4242
4385
  readonly "placeholderKey"?: string | undefined;
4243
4386
  readonly "required"?: boolean | undefined;
4244
- readonly "options"?: Union_41;
4245
- readonly "showWhen"?: Union_42;
4387
+ readonly "options"?: Union_43;
4388
+ readonly "showWhen"?: Union_44;
4246
4389
  readonly "kind": "text" | "password" | "number" | "boolean" | "select" | "proxy";
4247
4390
  }> | undefined;
4248
4391
  readonly "rowIds"?: "client" | "plugin" | undefined;
@@ -4436,7 +4579,7 @@ export type MemoryExperiencesListOutput = {
4436
4579
  readonly "items": ReadonlyArray<{
4437
4580
  readonly "experienceId": string;
4438
4581
  readonly "status": "active" | "forgotten" | "erased";
4439
- readonly "author": Union_44;
4582
+ readonly "author": Union_46;
4440
4583
  readonly "sourceThreadId": string | null;
4441
4584
  readonly "sourceTurnId": string | null;
4442
4585
  readonly "currentRevision": number;
@@ -4459,7 +4602,7 @@ export type MemoryExperiencesGetInput = {
4459
4602
  export type MemoryExperiencesGetOutput = {
4460
4603
  readonly "experienceId": string;
4461
4604
  readonly "status": "active" | "forgotten" | "erased";
4462
- readonly "author": Union_44;
4605
+ readonly "author": Union_46;
4463
4606
  readonly "sourceThreadId": string | null;
4464
4607
  readonly "sourceTurnId": string | null;
4465
4608
  readonly "currentRevision": number;
@@ -4472,9 +4615,9 @@ export type MemoryExperiencesGetOutput = {
4472
4615
  readonly "body": string | null;
4473
4616
  readonly "bodyWindow"?: Objects_38;
4474
4617
  readonly "forgottenAt": string | null;
4475
- readonly "forgottenBy": Union_44 | null;
4618
+ readonly "forgottenBy": Union_46 | null;
4476
4619
  readonly "erasedAt": string | null;
4477
- readonly "erasedBy": Union_44 | null;
4620
+ readonly "erasedBy": Union_46 | null;
4478
4621
  };
4479
4622
  export type MemoryExperiencesHistoryInput = {
4480
4623
  readonly "projectId": string;
@@ -4601,10 +4744,10 @@ export type MemoryPagesGetOutput = {
4601
4744
  readonly "updatedAt": string;
4602
4745
  readonly "title": string | null;
4603
4746
  readonly "bodyState": "present" | "erased" | "unavailable";
4604
- readonly "createdBy": Union_44;
4747
+ readonly "createdBy": Union_46;
4605
4748
  readonly "body": string | null;
4606
4749
  readonly "bodyWindow"?: Objects_38;
4607
- readonly "erasedBy": Union_44 | null;
4750
+ readonly "erasedBy": Union_46 | null;
4608
4751
  };
4609
4752
  export type MemoryPagesHistoryInput = {
4610
4753
  readonly "projectId": string;
@@ -4759,8 +4902,8 @@ export type MemoryHandbookReleasesGetOutput = {
4759
4902
  readonly "itemHighWater": number;
4760
4903
  readonly "requiresAck": boolean;
4761
4904
  readonly "restoredFromRelease": number | null;
4762
- readonly "sourceExperience": Union_45;
4763
- readonly "publishedBy": Union_44;
4905
+ readonly "sourceExperience": Union_47;
4906
+ readonly "publishedBy": Union_46;
4764
4907
  readonly "publishedAt": string;
4765
4908
  readonly "items": ReadonlyArray<{
4766
4909
  readonly "itemNumber": number;
@@ -4804,6 +4947,7 @@ export type MemoryHandbookRevertOutput = {
4804
4947
  export type WorkRemoteAgentPendingGetInput = {
4805
4948
  readonly "projectId": string;
4806
4949
  readonly "principalId"?: string;
4950
+ readonly "memberId"?: string;
4807
4951
  };
4808
4952
  export type WorkRemoteAgentPendingGetOutput = {
4809
4953
  readonly "batchId": string;
@@ -4816,6 +4960,7 @@ export type WorkRemoteAgentPendingGetOutput = {
4816
4960
  readonly "blocked": boolean;
4817
4961
  readonly "groupId"?: string;
4818
4962
  readonly "round"?: number;
4963
+ readonly "memberId"?: string;
4819
4964
  }>;
4820
4965
  };
4821
4966
  readonly "wakes": {
@@ -4824,11 +4969,13 @@ export type WorkRemoteAgentPendingGetOutput = {
4824
4969
  readonly "items": ReadonlyArray<{
4825
4970
  readonly "wakeId": string;
4826
4971
  readonly "reason": string;
4972
+ readonly "memberId"?: string;
4827
4973
  }>;
4828
4974
  };
4829
4975
  };
4830
4976
  export type WorkStatesListInput = {
4831
4977
  readonly "projectId": string;
4978
+ readonly "includeRemoved"?: boolean;
4832
4979
  };
4833
4980
  export type WorkStatesListOutput = {
4834
4981
  readonly "states": ReadonlyArray<{
@@ -4840,6 +4987,7 @@ export type WorkStatesListOutput = {
4840
4987
  readonly "sequence": number;
4841
4988
  readonly "isDefault": boolean;
4842
4989
  readonly "defaultKey"?: "backlog" | "todo" | "in-progress" | "done" | "cancelled" | undefined;
4990
+ readonly "removedAt"?: string;
4843
4991
  }>;
4844
4992
  readonly "snapshotSequence": number;
4845
4993
  };
@@ -4847,9 +4995,12 @@ export type WorkItemsListInput = {
4847
4995
  readonly "projectId": string;
4848
4996
  readonly "stateIds"?: ReadonlyArray<string>;
4849
4997
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
4850
- readonly "assignees"?: ReadonlyArray<Union_46 | "me" | "none">;
4998
+ readonly "assignees"?: ReadonlyArray<Union_48 | "me" | "none">;
4851
4999
  readonly "workLineIds"?: ReadonlyArray<"none" | string>;
4852
- readonly "orderBy"?: "created" | "updated";
5000
+ readonly "priorities"?: ReadonlyArray<"urgent" | "high" | "medium" | "low" | "none">;
5001
+ readonly "labelIds"?: ReadonlyArray<string>;
5002
+ readonly "archived"?: "exclude" | "include" | "only";
5003
+ readonly "orderBy"?: "created" | "updated" | "priority";
4853
5004
  readonly "cursor"?: string | null;
4854
5005
  readonly "limit"?: number;
4855
5006
  };
@@ -4876,7 +5027,7 @@ export type WorkItemsListOutput = {
4876
5027
  readonly "blockedBy": Arrays_26;
4877
5028
  readonly "blockedByTotal": number;
4878
5029
  readonly "childCounts": Objects_117;
4879
- readonly "createdBy": Union_44;
5030
+ readonly "createdBy": Union_46;
4880
5031
  readonly "createdAt": string;
4881
5032
  readonly "updatedAt": string;
4882
5033
  }>;
@@ -4919,7 +5070,7 @@ export type WorkItemsGetOutput = {
4919
5070
  readonly "blockedBy": Arrays_26;
4920
5071
  readonly "blockedByTotal": number;
4921
5072
  readonly "childCounts": Objects_117;
4922
- readonly "createdBy": Union_44;
5073
+ readonly "createdBy": Union_46;
4923
5074
  readonly "createdAt": string;
4924
5075
  readonly "updatedAt": string;
4925
5076
  readonly "description": string | null;
@@ -4949,6 +5100,7 @@ export type WorkCommentsListInput = {
4949
5100
  readonly "projectId": string;
4950
5101
  readonly "workItemId": string;
4951
5102
  readonly "parentId"?: string;
5103
+ readonly "order"?: "oldest" | "newest";
4952
5104
  readonly "cursor"?: string | null;
4953
5105
  readonly "limit"?: number;
4954
5106
  readonly "textOffset"?: number;
@@ -4981,6 +5133,7 @@ export type WorkHistoryListInput = {
4981
5133
  readonly "workItemId"?: string;
4982
5134
  readonly "workLineId"?: string;
4983
5135
  readonly "afterSequence"?: number;
5136
+ readonly "order"?: "oldest" | "newest";
4984
5137
  readonly "cursor"?: string | null;
4985
5138
  readonly "limit"?: number;
4986
5139
  };
@@ -4988,7 +5141,7 @@ export type WorkHistoryListOutput = {
4988
5141
  readonly "items": ReadonlyArray<{
4989
5142
  readonly "sequence": number;
4990
5143
  readonly "workItemId": string | null;
4991
- readonly "actor": Union_44;
5144
+ readonly "actor": Union_46;
4992
5145
  readonly "viaPlugin"?: string;
4993
5146
  readonly "at": string;
4994
5147
  readonly "target": {
@@ -5006,12 +5159,12 @@ export type WorkHistoryListOutput = {
5006
5159
  readonly "new": Objects_119 | null;
5007
5160
  } | {
5008
5161
  readonly "field": "assignees";
5009
- readonly "old": ReadonlyArray<Union_47>;
5010
- readonly "new": ReadonlyArray<Union_47>;
5162
+ readonly "old": ReadonlyArray<Union_49>;
5163
+ readonly "new": ReadonlyArray<Union_49>;
5011
5164
  } | {
5012
5165
  readonly "field": "mentions";
5013
- readonly "old": ReadonlyArray<Union_48>;
5014
- readonly "new": ReadonlyArray<Union_48>;
5166
+ readonly "old": ReadonlyArray<Union_50>;
5167
+ readonly "new": ReadonlyArray<Union_50>;
5015
5168
  } | {
5016
5169
  readonly "field": "completedAt";
5017
5170
  readonly "old": string | null;
@@ -5032,6 +5185,14 @@ export type WorkHistoryListOutput = {
5032
5185
  readonly "field": "members";
5033
5186
  readonly "added": ReadonlyArray<string>;
5034
5187
  readonly "removed": ReadonlyArray<string>;
5188
+ } | {
5189
+ readonly "field": "priority";
5190
+ readonly "old": "urgent" | "high" | "medium" | "low" | "none";
5191
+ readonly "new": "urgent" | "high" | "medium" | "low" | "none";
5192
+ } | {
5193
+ readonly "field": "labels";
5194
+ readonly "added": ReadonlyArray<string>;
5195
+ readonly "removed": ReadonlyArray<string>;
5035
5196
  }>;
5036
5197
  }>;
5037
5198
  readonly "nextCursor": string | null;
@@ -5044,8 +5205,10 @@ export type WorkItemsCreateInput = {
5044
5205
  readonly "title": string;
5045
5206
  readonly "description"?: string;
5046
5207
  readonly "stateId"?: string;
5047
- readonly "assignees"?: ReadonlyArray<Union_46>;
5208
+ readonly "assignees"?: ReadonlyArray<Union_48>;
5048
5209
  readonly "workLineId"?: string;
5210
+ readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none";
5211
+ readonly "labelIds"?: ReadonlyArray<string>;
5049
5212
  };
5050
5213
  export type WorkItemsCreateOutput = {
5051
5214
  readonly "sequence": number;
@@ -5065,8 +5228,10 @@ export type WorkItemsUpdateInput = {
5065
5228
  readonly "title"?: string;
5066
5229
  readonly "description"?: string;
5067
5230
  readonly "stateId"?: string;
5068
- readonly "assignees"?: ReadonlyArray<Union_46>;
5231
+ readonly "assignees"?: ReadonlyArray<Union_48>;
5069
5232
  readonly "workLineId"?: string | null;
5233
+ readonly "priority"?: "urgent" | "high" | "medium" | "low" | "none";
5234
+ readonly "labelIds"?: ReadonlyArray<string>;
5070
5235
  };
5071
5236
  export type WorkItemsUpdateOutput = {
5072
5237
  readonly "sequence": number;
@@ -5195,6 +5360,137 @@ export type WorkLinesRestoreOutput = {
5195
5360
  };
5196
5361
  readonly "replayed"?: boolean;
5197
5362
  };
5363
+ export type WorkLinesPauseInput = {
5364
+ readonly "projectId": string;
5365
+ readonly "requestId"?: string;
5366
+ readonly "workLineId": string;
5367
+ readonly "memberId"?: string;
5368
+ readonly "reason"?: string;
5369
+ };
5370
+ export type WorkLinesPauseOutput = {
5371
+ readonly "sequence": number;
5372
+ readonly "result": {
5373
+ readonly "workLineId": string;
5374
+ readonly "memberId"?: string;
5375
+ };
5376
+ readonly "replayed"?: boolean;
5377
+ };
5378
+ export type WorkLinesResumeInput = {
5379
+ readonly "projectId": string;
5380
+ readonly "requestId"?: string;
5381
+ readonly "workLineId": string;
5382
+ readonly "memberId"?: string;
5383
+ };
5384
+ export type WorkLinesResumeOutput = {
5385
+ readonly "sequence": number;
5386
+ readonly "result": {
5387
+ readonly "workLineId": string;
5388
+ readonly "memberId"?: string;
5389
+ };
5390
+ readonly "replayed"?: boolean;
5391
+ };
5392
+ export type WorkItemsArchiveInput = Objects_124;
5393
+ export type WorkItemsArchiveOutput = Objects_125;
5394
+ export type WorkItemsUnarchiveInput = Objects_124;
5395
+ export type WorkItemsUnarchiveOutput = Objects_125;
5396
+ export type WorkLabelsListInput = {
5397
+ readonly "projectId": string;
5398
+ readonly "includeRemoved"?: boolean;
5399
+ readonly "cursor"?: string | null;
5400
+ readonly "limit"?: number;
5401
+ };
5402
+ export type WorkLabelsListOutput = {
5403
+ readonly "items": ReadonlyArray<{
5404
+ readonly "labelId": string;
5405
+ readonly "projectId": string;
5406
+ readonly "name": string;
5407
+ readonly "color": string;
5408
+ readonly "removedAt": string | null;
5409
+ readonly "createdBy": Union_46;
5410
+ readonly "createdAt": string;
5411
+ readonly "updatedAt": string;
5412
+ }>;
5413
+ readonly "nextCursor": string | null;
5414
+ readonly "snapshotSequence": number;
5415
+ };
5416
+ export type WorkLabelsCreateInput = {
5417
+ readonly "projectId": string;
5418
+ readonly "requestId"?: string;
5419
+ readonly "labelId"?: string;
5420
+ readonly "name": string;
5421
+ readonly "color": string;
5422
+ };
5423
+ export type WorkLabelsCreateOutput = {
5424
+ readonly "sequence": number;
5425
+ readonly "result": Objects_126;
5426
+ readonly "replayed"?: boolean;
5427
+ };
5428
+ export type WorkLabelsUpdateInput = {
5429
+ readonly "projectId": string;
5430
+ readonly "requestId"?: string;
5431
+ readonly "labelId": string;
5432
+ readonly "name"?: string;
5433
+ readonly "color"?: string;
5434
+ };
5435
+ export type WorkLabelsUpdateOutput = {
5436
+ readonly "sequence": number;
5437
+ readonly "result": Objects_126;
5438
+ readonly "replayed"?: boolean;
5439
+ };
5440
+ export type WorkLabelsRemoveInput = Objects_127;
5441
+ export type WorkLabelsRemoveOutput = Objects_128;
5442
+ export type WorkLabelsRestoreInput = Objects_127;
5443
+ export type WorkLabelsRestoreOutput = Objects_128;
5444
+ export type WorkStatesCreateInput = {
5445
+ readonly "projectId": string;
5446
+ readonly "requestId"?: string;
5447
+ readonly "stateId"?: string;
5448
+ readonly "name": string;
5449
+ readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
5450
+ readonly "color": string;
5451
+ readonly "description"?: string;
5452
+ readonly "sequence"?: number;
5453
+ };
5454
+ export type WorkStatesCreateOutput = {
5455
+ readonly "sequence": number;
5456
+ readonly "result": Objects_129;
5457
+ readonly "replayed"?: boolean;
5458
+ };
5459
+ export type WorkStatesUpdateInput = {
5460
+ readonly "projectId": string;
5461
+ readonly "requestId"?: string;
5462
+ readonly "stateId": string;
5463
+ readonly "name"?: string;
5464
+ readonly "color"?: string;
5465
+ readonly "description"?: string;
5466
+ readonly "sequence"?: number;
5467
+ };
5468
+ export type WorkStatesUpdateOutput = {
5469
+ readonly "sequence": number;
5470
+ readonly "result": Objects_129;
5471
+ readonly "replayed"?: boolean;
5472
+ };
5473
+ export type WorkStatesRemoveInput = {
5474
+ readonly "projectId": string;
5475
+ readonly "requestId"?: string;
5476
+ readonly "stateId": string;
5477
+ readonly "replacementStateId"?: string;
5478
+ };
5479
+ export type WorkStatesRemoveOutput = {
5480
+ readonly "sequence": number;
5481
+ readonly "result": Objects_129;
5482
+ readonly "replayed"?: boolean;
5483
+ };
5484
+ export type WorkStatesRestoreInput = {
5485
+ readonly "projectId": string;
5486
+ readonly "requestId"?: string;
5487
+ readonly "stateId": string;
5488
+ };
5489
+ export type WorkStatesRestoreOutput = {
5490
+ readonly "sequence": number;
5491
+ readonly "result": Objects_129;
5492
+ readonly "replayed"?: boolean;
5493
+ };
5198
5494
  export type MembersListInput = {
5199
5495
  readonly "projectId": string;
5200
5496
  readonly "includeRemoved"?: boolean;
@@ -5209,15 +5505,16 @@ export type MembersListOutput = {
5209
5505
  readonly "name": string;
5210
5506
  readonly "title": string;
5211
5507
  readonly "responsibility": string;
5212
- readonly "avatar": Union_49;
5213
- readonly "identity": Union_50;
5214
- readonly "agent": Union_51;
5508
+ readonly "avatar": Union_51;
5509
+ readonly "identity": Union_52;
5510
+ readonly "agent": Union_53;
5215
5511
  readonly "workInstructionsRevision": number | null;
5216
5512
  readonly "version": number;
5217
- readonly "createdBy": Union_44;
5513
+ readonly "createdBy": Union_46;
5218
5514
  readonly "createdAt": string;
5219
5515
  readonly "updatedAt": string;
5220
5516
  readonly "removedAt": string | null;
5517
+ readonly "trial"?: Objects_130;
5221
5518
  }>;
5222
5519
  readonly "nextCursor": string | null;
5223
5520
  readonly "snapshotSequence": number;
@@ -5237,15 +5534,16 @@ export type MembersGetOutput = {
5237
5534
  readonly "name": string;
5238
5535
  readonly "title": string;
5239
5536
  readonly "responsibility": string;
5240
- readonly "avatar": Union_49;
5241
- readonly "identity": Union_50;
5242
- readonly "agent": Union_51;
5537
+ readonly "avatar": Union_51;
5538
+ readonly "identity": Union_52;
5539
+ readonly "agent": Union_53;
5243
5540
  readonly "workInstructionsRevision": number | null;
5244
5541
  readonly "version": number;
5245
- readonly "createdBy": Union_44;
5542
+ readonly "createdBy": Union_46;
5246
5543
  readonly "createdAt": string;
5247
5544
  readonly "updatedAt": string;
5248
5545
  readonly "removedAt": string | null;
5546
+ readonly "trial"?: Objects_130;
5249
5547
  readonly "workInstructions": string | null;
5250
5548
  readonly "workInstructionsWindow"?: Objects_38;
5251
5549
  };
@@ -5264,7 +5562,10 @@ export type MembersCreateInput = {
5264
5562
  readonly "color": string;
5265
5563
  };
5266
5564
  readonly "workInstructions"?: string;
5267
- readonly "identity"?: Objects_113 | Objects_115;
5565
+ readonly "identity"?: {
5566
+ readonly "kind": "human";
5567
+ readonly "principal": Union_31;
5568
+ };
5268
5569
  readonly "agent"?: {
5269
5570
  readonly "environmentId": string;
5270
5571
  readonly "modelSelection": Objects_64;
@@ -5287,9 +5588,9 @@ export type MembersUpdateInput = {
5287
5588
  readonly "name"?: string;
5288
5589
  readonly "title"?: string;
5289
5590
  readonly "responsibility"?: string;
5290
- readonly "avatar"?: Objects_124 | null;
5591
+ readonly "avatar"?: Objects_131 | null;
5291
5592
  readonly "workInstructions"?: string;
5292
- readonly "identity"?: Union_52 | null;
5593
+ readonly "identity"?: Objects_113 | null;
5293
5594
  readonly "agent"?: {
5294
5595
  readonly "environmentId": string;
5295
5596
  readonly "modelSelection": Objects_64;
@@ -5304,7 +5605,7 @@ export type MembersUpdateOutput = {
5304
5605
  };
5305
5606
  readonly "replayed"?: boolean;
5306
5607
  };
5307
- export type MembersRemoveInput = Objects_125;
5608
+ export type MembersRemoveInput = Objects_132;
5308
5609
  export type MembersRemoveOutput = {
5309
5610
  readonly "sequence": number;
5310
5611
  readonly "result": {
@@ -5313,7 +5614,7 @@ export type MembersRemoveOutput = {
5313
5614
  };
5314
5615
  readonly "replayed"?: boolean;
5315
5616
  };
5316
- export type MembersRestoreInput = Objects_125;
5617
+ export type MembersRestoreInput = Objects_132;
5317
5618
  export type MembersRestoreOutput = {
5318
5619
  readonly "sequence": number;
5319
5620
  readonly "result": {
@@ -5322,41 +5623,55 @@ export type MembersRestoreOutput = {
5322
5623
  };
5323
5624
  readonly "replayed"?: boolean;
5324
5625
  };
5626
+ export type MembersTrialRecordInput = {
5627
+ readonly "projectId": string;
5628
+ readonly "requestId"?: string;
5629
+ readonly "memberId": string;
5630
+ readonly "outcome": "passed" | "failed" | "skipped" | "not-run";
5631
+ readonly "summary"?: string;
5632
+ };
5633
+ export type MembersTrialRecordOutput = {
5634
+ readonly "sequence": number;
5635
+ readonly "result": {
5636
+ readonly "memberId": string;
5637
+ };
5638
+ readonly "replayed"?: boolean;
5639
+ };
5325
5640
  export type ThreadsInteractionModeSetInput = {
5326
5641
  readonly "requestId"?: string;
5327
5642
  readonly "threadId": string;
5328
5643
  readonly "interactionMode": "default" | "plan";
5329
5644
  };
5330
- export type ThreadsInteractionModeSetOutput = Objects_126;
5645
+ export type ThreadsInteractionModeSetOutput = Objects_133;
5331
5646
  export type ThreadsNativeModeSetInput = {
5332
5647
  readonly "requestId"?: string;
5333
5648
  readonly "threadId": string;
5334
5649
  readonly "nativeModeId": string;
5335
5650
  };
5336
- export type ThreadsNativeModeSetOutput = Objects_126;
5651
+ export type ThreadsNativeModeSetOutput = Objects_133;
5337
5652
  export type ThreadsRuntimeModeSetInput = {
5338
5653
  readonly "requestId"?: string;
5339
5654
  readonly "threadId": string;
5340
5655
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5341
5656
  };
5342
- export type ThreadsRuntimeModeSetOutput = Objects_126;
5657
+ export type ThreadsRuntimeModeSetOutput = Objects_133;
5343
5658
  export type ThreadsContextCompactInput = {
5344
5659
  readonly "requestId"?: string;
5345
5660
  readonly "threadId": string;
5346
5661
  };
5347
- export type ThreadsContextCompactOutput = Objects_126;
5662
+ export type ThreadsContextCompactOutput = Objects_133;
5348
5663
  export type PluginsSelfdevPromoteInput = {
5349
5664
  readonly "requestId"?: string;
5350
5665
  readonly "threadId": string;
5351
5666
  readonly "pluginId": string;
5352
5667
  };
5353
- export type PluginsSelfdevPromoteOutput = Objects_126;
5668
+ export type PluginsSelfdevPromoteOutput = Objects_133;
5354
5669
  export type PluginsSelfdevStopInput = {
5355
5670
  readonly "requestId"?: string;
5356
5671
  readonly "threadId": string;
5357
5672
  readonly "pluginId": string;
5358
5673
  };
5359
- export type PluginsSelfdevStopOutput = Objects_126;
5674
+ export type PluginsSelfdevStopOutput = Objects_133;
5360
5675
  export type ThreadsShellCommandRecordInput = {
5361
5676
  readonly "requestId"?: string;
5362
5677
  readonly "threadId": string;
@@ -5364,7 +5679,7 @@ export type ThreadsShellCommandRecordInput = {
5364
5679
  readonly "terminalId": string;
5365
5680
  readonly "cwd": string;
5366
5681
  };
5367
- export type ThreadsShellCommandRecordOutput = Objects_126;
5682
+ export type ThreadsShellCommandRecordOutput = Objects_133;
5368
5683
  export type ThreadsTurnIntentsEditInput = {
5369
5684
  readonly "requestId"?: string;
5370
5685
  readonly "threadId": string;
@@ -5378,7 +5693,7 @@ export type ThreadsTurnIntentsEditInput = {
5378
5693
  readonly "mimeType": string;
5379
5694
  readonly "sizeBytes": number;
5380
5695
  readonly "dataUrl": string;
5381
- readonly "source"?: Objects_127;
5696
+ readonly "source"?: Objects_134;
5382
5697
  } | {
5383
5698
  readonly "type": "file";
5384
5699
  readonly "name": string;
@@ -5391,7 +5706,7 @@ export type ThreadsTurnIntentsEditInput = {
5391
5706
  readonly "name": string;
5392
5707
  readonly "mimeType": string;
5393
5708
  readonly "sizeBytes": number;
5394
- readonly "source"?: Objects_127 | Objects_129;
5709
+ readonly "source"?: Objects_134 | Objects_136;
5395
5710
  } | {
5396
5711
  readonly "type": "file";
5397
5712
  readonly "id": string;
@@ -5400,7 +5715,7 @@ export type ThreadsTurnIntentsEditInput = {
5400
5715
  readonly "sizeBytes": number;
5401
5716
  readonly "source"?: {
5402
5717
  readonly "_tag": "pasted-text";
5403
- } | Objects_129 | {
5718
+ } | Objects_136 | {
5404
5719
  readonly "_tag": "thread-reference";
5405
5720
  readonly "environmentId": string;
5406
5721
  readonly "threadId": string;
@@ -5419,18 +5734,18 @@ export type ThreadsTurnIntentsReorderInput = {
5419
5734
  readonly "intentId": string;
5420
5735
  readonly "beforeIntentId": string | null;
5421
5736
  };
5422
- export type ThreadsTurnIntentsReorderOutput = Objects_126;
5737
+ export type ThreadsTurnIntentsReorderOutput = Objects_133;
5423
5738
  export type ThreadsTurnQueuePauseInput = {
5424
5739
  readonly "requestId"?: string;
5425
5740
  readonly "threadId": string;
5426
5741
  };
5427
- export type ThreadsTurnQueuePauseOutput = Objects_126;
5742
+ export type ThreadsTurnQueuePauseOutput = Objects_133;
5428
5743
  export type ThreadsUserInputDismissInput = {
5429
5744
  readonly "requestId"?: string;
5430
5745
  readonly "threadId": string;
5431
5746
  readonly "userInputRequestId": string;
5432
5747
  };
5433
- export type ThreadsUserInputDismissOutput = Objects_126;
5748
+ export type ThreadsUserInputDismissOutput = Objects_133;
5434
5749
  export type ThreadsDecisionsRespondInput = {
5435
5750
  readonly "requestId"?: string;
5436
5751
  readonly "threadId": string;
@@ -5438,52 +5753,52 @@ export type ThreadsDecisionsRespondInput = {
5438
5753
  readonly "optionId": string;
5439
5754
  readonly "reason"?: string;
5440
5755
  };
5441
- export type ThreadsDecisionsRespondOutput = Objects_126;
5756
+ export type ThreadsDecisionsRespondOutput = Objects_133;
5442
5757
  export type ThreadsSnoozeInput = {
5443
5758
  readonly "requestId"?: string;
5444
5759
  readonly "threadId": string;
5445
5760
  readonly "snoozedUntil": string;
5446
5761
  };
5447
- export type ThreadsSnoozeOutput = Objects_126;
5762
+ export type ThreadsSnoozeOutput = Objects_133;
5448
5763
  export type ThreadsUnsnoozeInput = {
5449
5764
  readonly "requestId"?: string;
5450
5765
  readonly "threadId": string;
5451
5766
  readonly "reason": "user";
5452
5767
  };
5453
- export type ThreadsUnsnoozeOutput = Objects_126;
5768
+ export type ThreadsUnsnoozeOutput = Objects_133;
5454
5769
  export type ThreadsReorderInput = {
5455
5770
  readonly "requestId"?: string;
5456
5771
  readonly "threadId": string;
5457
5772
  readonly "orderKey": string;
5458
5773
  };
5459
- export type ThreadsReorderOutput = Objects_126;
5774
+ export type ThreadsReorderOutput = Objects_133;
5460
5775
  export type ThreadsDeleteInput = {
5461
5776
  readonly "requestId"?: string;
5462
5777
  readonly "threadId": string;
5463
5778
  };
5464
- export type ThreadsDeleteOutput = Objects_126;
5779
+ export type ThreadsDeleteOutput = Objects_133;
5465
5780
  export type ThreadsArchiveInput = {
5466
5781
  readonly "requestId"?: string;
5467
5782
  readonly "threadId": string;
5468
5783
  };
5469
- export type ThreadsArchiveOutput = Objects_126;
5784
+ export type ThreadsArchiveOutput = Objects_133;
5470
5785
  export type ThreadsUnarchiveInput = {
5471
5786
  readonly "requestId"?: string;
5472
5787
  readonly "threadId": string;
5473
5788
  };
5474
- export type ThreadsUnarchiveOutput = Objects_126;
5789
+ export type ThreadsUnarchiveOutput = Objects_133;
5475
5790
  export type ThreadsSettleInput = {
5476
5791
  readonly "requestId"?: string;
5477
5792
  readonly "threadId": string;
5478
5793
  readonly "discardQueued"?: boolean;
5479
5794
  };
5480
- export type ThreadsSettleOutput = Objects_126;
5795
+ export type ThreadsSettleOutput = Objects_133;
5481
5796
  export type ThreadsUnsettleInput = {
5482
5797
  readonly "requestId"?: string;
5483
5798
  readonly "threadId": string;
5484
5799
  readonly "reason": "user";
5485
5800
  };
5486
- export type ThreadsUnsettleOutput = Objects_126;
5801
+ export type ThreadsUnsettleOutput = Objects_133;
5487
5802
  export type ThreadsCreateInput = {
5488
5803
  readonly "requestId"?: string;
5489
5804
  readonly "threadId": string;
@@ -5514,7 +5829,7 @@ export type ThreadsCreateInput = {
5514
5829
  };
5515
5830
  readonly "presetId"?: string;
5516
5831
  };
5517
- export type ThreadsCreateOutput = Objects_126;
5832
+ export type ThreadsCreateOutput = Objects_133;
5518
5833
  export type ThreadsForkInput = {
5519
5834
  readonly "requestId"?: string;
5520
5835
  readonly "threadId": string;
@@ -5523,7 +5838,7 @@ export type ThreadsForkInput = {
5523
5838
  readonly "startFolderId"?: string;
5524
5839
  readonly "folderIds"?: ReadonlyArray<string>;
5525
5840
  };
5526
- export type ThreadsForkOutput = Objects_126;
5841
+ export type ThreadsForkOutput = Objects_133;
5527
5842
  export type ThreadsImportInput = {
5528
5843
  readonly "requestId"?: string;
5529
5844
  readonly "threadId": string;
@@ -5567,7 +5882,7 @@ export type ThreadsImportInput = {
5567
5882
  readonly "createdAt": string;
5568
5883
  }>;
5569
5884
  };
5570
- export type ThreadsImportOutput = Objects_126;
5885
+ export type ThreadsImportOutput = Objects_133;
5571
5886
  export type ThreadsExternalMessagesAppendInput = {
5572
5887
  readonly "requestId"?: string;
5573
5888
  readonly "threadId": string;
@@ -5603,7 +5918,7 @@ export type ThreadsExternalMessagesAppendInput = {
5603
5918
  readonly "createdAt": string;
5604
5919
  }>;
5605
5920
  };
5606
- export type ThreadsExternalMessagesAppendOutput = Objects_126;
5921
+ export type ThreadsExternalMessagesAppendOutput = Objects_133;
5607
5922
  export type ThreadsUpdateInput = {
5608
5923
  readonly "threadId": string;
5609
5924
  readonly "requestId"?: string;
@@ -5612,17 +5927,17 @@ export type ThreadsUpdateInput = {
5612
5927
  readonly "modelSelection"?: {
5613
5928
  readonly "instanceId": string;
5614
5929
  readonly "model": string;
5615
- readonly "options"?: Union_34;
5930
+ readonly "options"?: Union_36;
5616
5931
  };
5617
- readonly "executionSelection"?: Objects_130 | null;
5932
+ readonly "executionSelection"?: Objects_137 | null;
5618
5933
  readonly "branch"?: string | null;
5619
5934
  readonly "expectedBranch"?: string | null;
5620
5935
  readonly "worktreePath"?: string | null;
5621
- readonly "linkedPullRequest"?: Objects_131 | null;
5936
+ readonly "linkedPullRequest"?: Objects_138 | null;
5622
5937
  readonly "presetId"?: string | null;
5623
5938
  readonly "folderIds"?: ReadonlyArray<string>;
5624
5939
  };
5625
- export type ThreadsUpdateOutput = Objects_126;
5940
+ export type ThreadsUpdateOutput = Objects_133;
5626
5941
  export type ThreadsTurnsStartInput = {
5627
5942
  readonly "requestId"?: string;
5628
5943
  readonly "threadId": string;
@@ -5636,7 +5951,7 @@ export type ThreadsTurnsStartInput = {
5636
5951
  readonly "mimeType": string;
5637
5952
  readonly "sizeBytes": number;
5638
5953
  readonly "dataUrl": string;
5639
- readonly "source"?: Objects_132;
5954
+ readonly "source"?: Objects_139;
5640
5955
  } | {
5641
5956
  readonly "type": "file";
5642
5957
  readonly "name": string;
@@ -5649,7 +5964,7 @@ export type ThreadsTurnsStartInput = {
5649
5964
  readonly "name": string;
5650
5965
  readonly "mimeType": string;
5651
5966
  readonly "sizeBytes": number;
5652
- readonly "source"?: Objects_132 | Objects_134;
5967
+ readonly "source"?: Objects_139 | Objects_141;
5653
5968
  } | {
5654
5969
  readonly "type": "file";
5655
5970
  readonly "id": string;
@@ -5658,7 +5973,7 @@ export type ThreadsTurnsStartInput = {
5658
5973
  readonly "sizeBytes": number;
5659
5974
  readonly "source"?: {
5660
5975
  readonly "_tag": "pasted-text";
5661
- } | Objects_134 | {
5976
+ } | Objects_141 | {
5662
5977
  readonly "_tag": "thread-reference";
5663
5978
  readonly "environmentId": string;
5664
5979
  readonly "threadId": string;
@@ -5668,7 +5983,7 @@ export type ThreadsTurnsStartInput = {
5668
5983
  readonly "modelSelection"?: {
5669
5984
  readonly "instanceId": string;
5670
5985
  readonly "model": string;
5671
- readonly "options"?: Union_34;
5986
+ readonly "options"?: Union_36;
5672
5987
  };
5673
5988
  readonly "titleSeed"?: string;
5674
5989
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
@@ -5776,11 +6091,11 @@ export type ThreadsUserInputRespondInput = {
5776
6091
  readonly "height": number;
5777
6092
  };
5778
6093
  readonly "truncated": boolean;
5779
- readonly "root": Objects_135;
6094
+ readonly "root": Objects_142;
5780
6095
  };
5781
6096
  readonly "appIdentifier"?: string;
5782
6097
  readonly "appIconDataUrl"?: string;
5783
- } | Objects_136;
6098
+ } | Objects_143;
5784
6099
  } | {
5785
6100
  readonly "type": "file";
5786
6101
  readonly "id": string;
@@ -5789,7 +6104,7 @@ export type ThreadsUserInputRespondInput = {
5789
6104
  readonly "sizeBytes": number;
5790
6105
  readonly "source"?: {
5791
6106
  readonly "_tag": "pasted-text";
5792
- } | Objects_136 | {
6107
+ } | Objects_143 | {
5793
6108
  readonly "_tag": "thread-reference";
5794
6109
  readonly "environmentId": string;
5795
6110
  readonly "threadId": string;
@@ -5797,20 +6112,20 @@ export type ThreadsUserInputRespondInput = {
5797
6112
  }>;
5798
6113
  };
5799
6114
  };
5800
- export type ThreadsUserInputRespondOutput = Objects_126;
6115
+ export type ThreadsUserInputRespondOutput = Objects_133;
5801
6116
  export type ThreadsTurnsInterruptInput = {
5802
6117
  readonly "requestId"?: string;
5803
6118
  readonly "threadId": string;
5804
6119
  readonly "turnId"?: string;
5805
6120
  };
5806
- export type ThreadsTurnsInterruptOutput = Objects_126;
6121
+ export type ThreadsTurnsInterruptOutput = Objects_133;
5807
6122
  export type ThreadsSessionStopInput = {
5808
6123
  readonly "requestId"?: string;
5809
6124
  readonly "threadId": string;
5810
6125
  readonly "onlyIfSettled"?: boolean;
5811
6126
  readonly "onlyIfNoTurnInFlight"?: boolean;
5812
6127
  };
5813
- export type ThreadsSessionStopOutput = Objects_126;
6128
+ export type ThreadsSessionStopOutput = Objects_133;
5814
6129
  export type ApprovalsRespondInput = {
5815
6130
  readonly "requestId"?: string;
5816
6131
  readonly "threadId": string;
@@ -5818,7 +6133,7 @@ export type ApprovalsRespondInput = {
5818
6133
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
5819
6134
  readonly "reason"?: string;
5820
6135
  };
5821
- export type ApprovalsRespondOutput = Objects_126;
6136
+ export type ApprovalsRespondOutput = Objects_133;
5822
6137
  export type ThreadsTurnIntentsRunInput = {
5823
6138
  readonly "requestId"?: string;
5824
6139
  readonly "threadId": string;
@@ -5826,7 +6141,7 @@ export type ThreadsTurnIntentsRunInput = {
5826
6141
  readonly "mode": "steer" | "interrupt";
5827
6142
  readonly "expectedTurnId"?: string | null;
5828
6143
  };
5829
- export type ThreadsTurnIntentsRunOutput = Objects_126;
6144
+ export type ThreadsTurnIntentsRunOutput = Objects_133;
5830
6145
  export type ThreadsTurnIntentsCancelInput = {
5831
6146
  readonly "requestId"?: string;
5832
6147
  readonly "threadId": string;
@@ -5834,19 +6149,19 @@ export type ThreadsTurnIntentsCancelInput = {
5834
6149
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5835
6150
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
5836
6151
  };
5837
- export type ThreadsTurnIntentsCancelOutput = Objects_126;
6152
+ export type ThreadsTurnIntentsCancelOutput = Objects_133;
5838
6153
  export type ThreadsTurnQueueResumeInput = {
5839
6154
  readonly "requestId"?: string;
5840
6155
  readonly "threadId": string;
5841
6156
  };
5842
- export type ThreadsTurnQueueResumeOutput = Objects_126;
6157
+ export type ThreadsTurnQueueResumeOutput = Objects_133;
5843
6158
  export type ProjectsUpdateInput = {
5844
6159
  readonly "requestId"?: string;
5845
6160
  readonly "projectId": string;
5846
6161
  readonly "title"?: string;
5847
6162
  readonly "workspaceRoot"?: string;
5848
6163
  readonly "defaultModelSelection"?: Objects_64 | null;
5849
- readonly "projectIcon"?: Union_53 | null;
6164
+ readonly "projectIcon"?: Union_54 | null;
5850
6165
  readonly "faviconPath"?: string | null;
5851
6166
  readonly "scripts"?: ReadonlyArray<{
5852
6167
  readonly "id": string;
@@ -5859,42 +6174,42 @@ export type ProjectsUpdateInput = {
5859
6174
  }>;
5860
6175
  readonly "defaultFolderId"?: string | null;
5861
6176
  };
5862
- export type ProjectsUpdateOutput = Objects_126;
6177
+ export type ProjectsUpdateOutput = Objects_133;
5863
6178
  export type ProjectsArchiveInput = {
5864
6179
  readonly "requestId"?: string;
5865
6180
  readonly "projectId": string;
5866
6181
  };
5867
- export type ProjectsArchiveOutput = Objects_126;
6182
+ export type ProjectsArchiveOutput = Objects_133;
5868
6183
  export type ProjectsUnarchiveInput = {
5869
6184
  readonly "requestId"?: string;
5870
6185
  readonly "projectId": string;
5871
6186
  };
5872
- export type ProjectsUnarchiveOutput = Objects_126;
6187
+ export type ProjectsUnarchiveOutput = Objects_133;
5873
6188
  export type ProjectsDeleteInput = {
5874
6189
  readonly "requestId"?: string;
5875
6190
  readonly "projectId": string;
5876
6191
  readonly "force"?: boolean;
5877
6192
  };
5878
- export type ProjectsDeleteOutput = Objects_126;
6193
+ export type ProjectsDeleteOutput = Objects_133;
5879
6194
  export type ProjectsReorderInput = {
5880
6195
  readonly "requestId"?: string;
5881
6196
  readonly "projectId": string;
5882
6197
  readonly "orderKey": string;
5883
6198
  };
5884
- export type ProjectsReorderOutput = Objects_126;
6199
+ export type ProjectsReorderOutput = Objects_133;
5885
6200
  export type ProjectsFoldersDetachInput = {
5886
6201
  readonly "requestId"?: string;
5887
6202
  readonly "projectId": string;
5888
6203
  readonly "folderId": string;
5889
6204
  };
5890
- export type ProjectsFoldersDetachOutput = Objects_126;
6205
+ export type ProjectsFoldersDetachOutput = Objects_133;
5891
6206
  export type ProjectsFoldersRelocateInput = {
5892
6207
  readonly "requestId"?: string;
5893
6208
  readonly "projectId": string;
5894
6209
  readonly "folderId": string;
5895
6210
  readonly "path": string;
5896
6211
  };
5897
- export type ProjectsFoldersRelocateOutput = Objects_126;
6212
+ export type ProjectsFoldersRelocateOutput = Objects_133;
5898
6213
  export type ProjectsToolkitsSetInput = {
5899
6214
  readonly "projectId": string;
5900
6215
  readonly "toolkit": "board" | "memory" | "messages";
@@ -5940,10 +6255,10 @@ export type ProjectsCloneStartOutput = {
5940
6255
  readonly "projectId": string;
5941
6256
  readonly "folderId": string;
5942
6257
  };
5943
- export type ProjectsCloneRetryInput = Objects_137;
5944
- export type ProjectsCloneRetryOutput = Objects_138;
5945
- export type ProjectsCloneCancelInput = Objects_137;
5946
- export type ProjectsCloneCancelOutput = Objects_138;
6258
+ export type ProjectsCloneRetryInput = Objects_144;
6259
+ export type ProjectsCloneRetryOutput = Objects_145;
6260
+ export type ProjectsCloneCancelInput = Objects_144;
6261
+ export type ProjectsCloneCancelOutput = Objects_145;
5947
6262
  export type ProjectsCreateInput = {
5948
6263
  readonly "requestId"?: string;
5949
6264
  readonly "projectId": string;
@@ -5953,14 +6268,14 @@ export type ProjectsCreateInput = {
5953
6268
  readonly "defaultModelSelection"?: Objects_64 | null;
5954
6269
  readonly "homeEnvironmentId"?: string;
5955
6270
  };
5956
- export type ProjectsCreateOutput = Objects_126;
6271
+ export type ProjectsCreateOutput = Objects_133;
5957
6272
  export type ProjectsFoldersAttachInput = {
5958
6273
  readonly "requestId"?: string;
5959
6274
  readonly "projectId": string;
5960
6275
  readonly "path": string;
5961
6276
  readonly "threadId"?: string;
5962
6277
  };
5963
- export type ProjectsFoldersAttachOutput = Objects_126;
6278
+ export type ProjectsFoldersAttachOutput = Objects_133;
5964
6279
  export type ProjectsConversationEnsureInput = {};
5965
6280
  export type ProjectsConversationEnsureOutput = {
5966
6281
  readonly "projectId": string;
@@ -5969,7 +6284,7 @@ export type ProjectsConversationEnsureOutput = {
5969
6284
  };
5970
6285
  export type CommunicationPeopleCurrentInput = {};
5971
6286
  export type CommunicationPeopleCurrentOutput = {
5972
- readonly "person": Union_30 | null;
6287
+ readonly "person": Union_32 | null;
5973
6288
  };
5974
6289
  export type ThreadsListEncodedOutput = {
5975
6290
  readonly "items": ReadonlyArray<{
@@ -5981,10 +6296,10 @@ export type ThreadsListEncodedOutput = {
5981
6296
  readonly "archivedAt": string | null;
5982
6297
  readonly "parentThreadId": string | null;
5983
6298
  readonly "memberId"?: string;
5984
- readonly "forkedFrom": Objects_139 | null;
6299
+ readonly "forkedFrom": Objects_146 | null;
5985
6300
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5986
6301
  readonly "interactionMode": "default" | "plan";
5987
- readonly "modelSelection": Objects_140;
6302
+ readonly "modelSelection": Objects_147;
5988
6303
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
5989
6304
  readonly "sessionFailureCategory"?: string;
5990
6305
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -5992,16 +6307,16 @@ export type ThreadsListEncodedOutput = {
5992
6307
  readonly "worktreePath"?: string | null;
5993
6308
  readonly "delegationDepth"?: number;
5994
6309
  readonly "summary"?: {
5995
- readonly "executionSelection"?: Union_54;
6310
+ readonly "executionSelection"?: Union_55;
5996
6311
  readonly "nativeModeId"?: string | null | undefined;
5997
6312
  readonly "branch": string | null;
5998
6313
  readonly "startFolderId"?: string | null | undefined;
5999
- readonly "folderIds"?: Union_55;
6000
- readonly "linkedPullRequest"?: Union_56;
6001
- readonly "origin"?: Union_57;
6314
+ readonly "folderIds"?: Union_56;
6315
+ readonly "linkedPullRequest"?: Union_57;
6316
+ readonly "origin"?: Union_58;
6002
6317
  readonly "presetId"?: string | null | undefined;
6003
- readonly "createdBy"?: Union_58;
6004
- readonly "latestTurn": Union_59;
6318
+ readonly "createdBy"?: Union_59;
6319
+ readonly "latestTurn": Union_60;
6005
6320
  readonly "stopRequestedAt"?: string | null;
6006
6321
  readonly "settledOverride"?: "settled" | "active" | null | undefined;
6007
6322
  readonly "settledAt"?: string | null | undefined;
@@ -6011,9 +6326,9 @@ export type ThreadsListEncodedOutput = {
6011
6326
  readonly "pinnedAt"?: string | null | undefined;
6012
6327
  readonly "pinOrderKey"?: string | null | undefined;
6013
6328
  readonly "sortOrderKey"?: string | null | undefined;
6014
- readonly "titleRegeneration"?: Union_61;
6015
- readonly "titleState"?: Union_62;
6016
- readonly "session": Union_63;
6329
+ readonly "titleRegeneration"?: Union_62;
6330
+ readonly "titleState"?: Union_63;
6331
+ readonly "session": Union_64;
6017
6332
  readonly "latestUserMessageAt": string | null;
6018
6333
  readonly "userTurnCount"?: number | undefined;
6019
6334
  readonly "queuedMessageCount"?: number | undefined;
@@ -6025,13 +6340,13 @@ export type ThreadsListEncodedOutput = {
6025
6340
  readonly "latestDeliveryAt"?: string | null | undefined;
6026
6341
  readonly "hasPendingApprovals": boolean;
6027
6342
  readonly "hasPendingUserInput": boolean;
6028
- readonly "askRoute"?: Union_64;
6343
+ readonly "askRoute"?: Union_65;
6029
6344
  readonly "hasActionableProposedPlan": boolean;
6030
6345
  };
6031
6346
  readonly "runtime"?: {
6032
6347
  readonly "backgroundLiveness"?: "working" | "monitoring" | null | undefined;
6033
6348
  readonly "backgroundMonitorCount"?: number | undefined;
6034
- readonly "planProgress"?: Union_65;
6349
+ readonly "planProgress"?: Union_66;
6035
6350
  };
6036
6351
  }>;
6037
6352
  readonly "nextCursor": string | null;
@@ -6040,8 +6355,8 @@ export type ThreadsListEncodedOutput = {
6040
6355
  };
6041
6356
  export type ThreadsArchivedListEncodedOutput = {
6042
6357
  readonly "snapshotSequence": number;
6043
- readonly "projects": ReadonlyArray<Objects_148>;
6044
- readonly "threads": ReadonlyArray<Objects_149>;
6358
+ readonly "projects": ReadonlyArray<Objects_155>;
6359
+ readonly "threads": ReadonlyArray<Objects_156>;
6045
6360
  readonly "updatedAt": string;
6046
6361
  };
6047
6362
  export type ThreadsHistoryEncodedOutput = {
@@ -6051,10 +6366,10 @@ export type ThreadsHistoryEncodedOutput = {
6051
6366
  readonly "id": string;
6052
6367
  readonly "projectId": string;
6053
6368
  readonly "title": string;
6054
- readonly "modelSelection": Objects_140;
6369
+ readonly "modelSelection": Objects_147;
6055
6370
  readonly "actualModel"?: {
6056
- readonly "selection": Objects_140;
6057
- readonly "requested": Objects_140;
6371
+ readonly "selection": Objects_147;
6372
+ readonly "requested": Objects_147;
6058
6373
  readonly "source": "reported" | "echo";
6059
6374
  readonly "turnId"?: string | undefined;
6060
6375
  readonly "recordedAt": string;
@@ -6066,13 +6381,13 @@ export type ThreadsHistoryEncodedOutput = {
6066
6381
  readonly "worktreePath": string | null;
6067
6382
  readonly "startFolderId"?: string | null | undefined;
6068
6383
  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;
6384
+ readonly "linkedPullRequest"?: Objects_138 | null | undefined;
6385
+ readonly "origin"?: Objects_148 | null | undefined;
6386
+ readonly "forkedFrom"?: Objects_146 | null | undefined;
6072
6387
  readonly "presetId"?: string | null | undefined;
6073
6388
  readonly "memberId"?: string | undefined;
6074
- readonly "createdBy"?: Objects_142 | null | undefined;
6075
- readonly "latestTurn": Objects_143 | null;
6389
+ readonly "createdBy"?: Objects_149 | null | undefined;
6390
+ readonly "latestTurn": Objects_150 | null;
6076
6391
  readonly "stopRequestedAt"?: string | null;
6077
6392
  readonly "createdAt": string;
6078
6393
  readonly "updatedAt": string;
@@ -6086,7 +6401,7 @@ export type ThreadsHistoryEncodedOutput = {
6086
6401
  readonly "pinOrderKey"?: string | null | undefined;
6087
6402
  readonly "sortOrderKey"?: string | null | undefined;
6088
6403
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
6089
- readonly "executionSelection"?: Objects_130 | undefined;
6404
+ readonly "executionSelection"?: Objects_137 | undefined;
6090
6405
  readonly "turnIntents"?: ReadonlyArray<{
6091
6406
  readonly "intentId": string;
6092
6407
  readonly "threadId": string;
@@ -6094,7 +6409,7 @@ export type ThreadsHistoryEncodedOutput = {
6094
6409
  readonly "commandId": string;
6095
6410
  readonly "messageId": string;
6096
6411
  readonly "revision"?: number;
6097
- readonly "action"?: Union_66;
6412
+ readonly "action"?: Union_67;
6098
6413
  readonly "executionSelection"?: {
6099
6414
  readonly "environmentId": string;
6100
6415
  readonly "runtimeId": string;
@@ -6117,7 +6432,7 @@ export type ThreadsHistoryEncodedOutput = {
6117
6432
  readonly "binding"?: {
6118
6433
  readonly "bindingId": string;
6119
6434
  readonly "generation": number;
6120
- readonly "selection": Objects_130;
6435
+ readonly "selection": Objects_137;
6121
6436
  readonly "compatibility": {
6122
6437
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
6123
6438
  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 +6471,7 @@ export type ThreadsHistoryEncodedOutput = {
6156
6471
  readonly "workerEpoch": number;
6157
6472
  readonly "sourceBindingId": string | null;
6158
6473
  readonly "targetBindingId": string | null;
6159
- readonly "nativeLocator": Union_67;
6474
+ readonly "nativeLocator": Union_68;
6160
6475
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
6161
6476
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
6162
6477
  readonly "createdAt": string;
@@ -6200,20 +6515,20 @@ export type ThreadsHistoryEncodedOutput = {
6200
6515
  readonly "turnQueuePaused"?: boolean | undefined;
6201
6516
  readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined;
6202
6517
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
6203
- readonly "titleRegeneration"?: Objects_145 | null | undefined;
6204
- readonly "titleState"?: Objects_146 | null | undefined;
6518
+ readonly "titleRegeneration"?: Objects_152 | null | undefined;
6519
+ readonly "titleState"?: Objects_153 | null | undefined;
6205
6520
  readonly "deletedAt": string | null;
6206
6521
  readonly "messages": ReadonlyArray<{
6207
6522
  readonly "id": string;
6208
6523
  readonly "role": "user" | "assistant" | "system";
6209
6524
  readonly "text": string;
6210
- readonly "attachments"?: ReadonlyArray<Union_68> | undefined;
6525
+ readonly "attachments"?: ReadonlyArray<Union_69> | undefined;
6211
6526
  readonly "turnId": string | null;
6212
6527
  readonly "streaming": boolean;
6213
- readonly "author"?: Union_69;
6528
+ readonly "author"?: Union_70;
6214
6529
  readonly "recordId"?: string | undefined;
6215
- readonly "modelSelection"?: Union_70;
6216
- readonly "source"?: Union_71;
6530
+ readonly "modelSelection"?: Union_71;
6531
+ readonly "source"?: Union_72;
6217
6532
  readonly "createdAt": string;
6218
6533
  readonly "updatedAt": string;
6219
6534
  }>;
@@ -6256,10 +6571,10 @@ export type ThreadsHistoryEncodedOutput = {
6256
6571
  readonly "state": "running" | "interrupted" | "completed" | "error";
6257
6572
  readonly "startedAt": string | null;
6258
6573
  readonly "completedAt": string | null;
6259
- readonly "waitSpans"?: ReadonlyArray<Objects_144>;
6574
+ readonly "waitSpans"?: ReadonlyArray<Objects_151>;
6260
6575
  readonly "runSegments"?: Arrays_5;
6261
6576
  }> | undefined;
6262
- readonly "session": Objects_147 | null;
6577
+ readonly "session": Objects_154 | null;
6263
6578
  };
6264
6579
  readonly "page"?: {
6265
6580
  readonly "beforeCursor": string | null;
@@ -6283,7 +6598,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6283
6598
  readonly "threadId": string;
6284
6599
  readonly "projectId": string;
6285
6600
  readonly "title": string;
6286
- readonly "modelSelection": Objects_140;
6601
+ readonly "modelSelection": Objects_147;
6287
6602
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
6288
6603
  readonly "interactionMode"?: "default" | "plan" | undefined;
6289
6604
  readonly "branch": string | null;
@@ -6291,7 +6606,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6291
6606
  readonly "createdAt": string;
6292
6607
  readonly "updatedAt": string;
6293
6608
  readonly "archivedAt"?: string | null | undefined;
6294
- readonly "origin": Objects_141 | null;
6609
+ readonly "origin": Objects_148 | null;
6295
6610
  readonly "forkedFrom": {
6296
6611
  readonly "sourceThreadId": string;
6297
6612
  readonly "sourceMessageId": string;
@@ -6313,7 +6628,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6313
6628
  readonly "completedAt": string | null;
6314
6629
  readonly "assistantMessageId": string | null;
6315
6630
  readonly "userMessageId"?: string | undefined;
6316
- readonly "waitSpans"?: Union_60;
6631
+ readonly "waitSpans"?: Union_61;
6317
6632
  readonly "runSegments"?: Union_9;
6318
6633
  } | null;
6319
6634
  readonly "turnIntents": ReadonlyArray<{
@@ -6322,7 +6637,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6322
6637
  readonly "sequence": number;
6323
6638
  readonly "commandId": string;
6324
6639
  readonly "messageId": string;
6325
- readonly "action"?: Union_66;
6640
+ readonly "action"?: Union_67;
6326
6641
  readonly "deliveredTurnId"?: string | null;
6327
6642
  readonly "createdAt": string;
6328
6643
  readonly "updatedAt": string;
@@ -6334,7 +6649,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6334
6649
  readonly "requestedAt": string;
6335
6650
  readonly "startedAt": string | null;
6336
6651
  readonly "completedAt": string | null;
6337
- readonly "waitSpans": ReadonlyArray<Objects_144>;
6652
+ readonly "waitSpans": ReadonlyArray<Objects_151>;
6338
6653
  } | null;
6339
6654
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
6340
6655
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -6343,7 +6658,7 @@ export type ThreadsExecutionGetEncodedOutput = {
6343
6658
  readonly "workerEpoch": number;
6344
6659
  readonly "sourceBindingId": string | null;
6345
6660
  readonly "targetBindingId": string | null;
6346
- readonly "nativeLocator": Union_67;
6661
+ readonly "nativeLocator": Union_68;
6347
6662
  readonly "stage": "preparing" | "dispatching" | "running" | "reconciling";
6348
6663
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
6349
6664
  readonly "createdAt": string;
@@ -6366,11 +6681,11 @@ export type ThreadsMessagesGetEncodedOutput = {
6366
6681
  readonly "text": string;
6367
6682
  readonly "turnId": string | null;
6368
6683
  readonly "createdAt": string;
6369
- readonly "modelSelection"?: Objects_140 | undefined;
6370
- readonly "source"?: Objects_152 | undefined;
6371
- readonly "attachments": ReadonlyArray<Union_68>;
6684
+ readonly "modelSelection"?: Objects_147 | undefined;
6685
+ readonly "source"?: Objects_159 | undefined;
6686
+ readonly "attachments": ReadonlyArray<Union_69>;
6372
6687
  } | null;
6373
- export type ThreadsGetEncodedOutput = Objects_149;
6688
+ export type ThreadsGetEncodedOutput = Objects_156;
6374
6689
  export type ThreadsMessagesListEncodedOutput = {
6375
6690
  readonly "items": ReadonlyArray<{
6376
6691
  readonly "id": string;
@@ -6391,10 +6706,10 @@ export type ThreadsMessagesListEncodedOutput = {
6391
6706
  }> | undefined;
6392
6707
  readonly "turnId": string | null;
6393
6708
  readonly "streaming": boolean;
6394
- readonly "author"?: Union_69;
6709
+ readonly "author"?: Union_70;
6395
6710
  readonly "recordId"?: string | undefined;
6396
- readonly "modelSelection"?: Union_70;
6397
- readonly "source"?: Union_71;
6711
+ readonly "modelSelection"?: Union_71;
6712
+ readonly "source"?: Union_72;
6398
6713
  readonly "createdAt": string;
6399
6714
  readonly "updatedAt": string;
6400
6715
  readonly "attachmentsTotal"?: number;
@@ -6404,8 +6719,8 @@ export type ThreadsMessagesListEncodedOutput = {
6404
6719
  readonly "snapshotSequence": number;
6405
6720
  readonly "total"?: number;
6406
6721
  };
6407
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_148>;
6408
- export type ProjectsGetEncodedOutput = Objects_148;
6722
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_155>;
6723
+ export type ProjectsGetEncodedOutput = Objects_155;
6409
6724
  export type MachineSettingsEditorsGetEncodedOutput = {
6410
6725
  readonly "availableEditors": ReadonlyArray<unknown>;
6411
6726
  readonly "editorDiscovery"?: unknown;
@@ -6426,7 +6741,7 @@ export type MachineSettingsGetEncodedOutput = {
6426
6741
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
6427
6742
  readonly "browserRetentionBudgetEnabled"?: boolean | undefined;
6428
6743
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
6429
- readonly "agentRouting"?: Objects_153 | undefined;
6744
+ readonly "agentRouting"?: Objects_160 | undefined;
6430
6745
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
6431
6746
  readonly "recordProviderWire"?: boolean | undefined;
6432
6747
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -6436,19 +6751,19 @@ export type MachineSettingsGetEncodedOutput = {
6436
6751
  readonly "environmentIcon"?: unknown | undefined;
6437
6752
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined;
6438
6753
  readonly "addProjectBaseDirectory"?: string | undefined;
6439
- readonly "textGenerationModelSelection"?: Objects_140 | null | undefined;
6754
+ readonly "textGenerationModelSelection"?: Objects_147 | null | undefined;
6440
6755
  readonly "sourceControlWritingStyle"?: {
6441
6756
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
6442
6757
  readonly "customInstructions"?: string | undefined;
6443
6758
  readonly "followChangeRequestTemplates"?: boolean | undefined;
6444
6759
  } | undefined;
6445
- readonly "sourceControlWriterModelSelection"?: Objects_140 | null | undefined;
6760
+ readonly "sourceControlWriterModelSelection"?: Objects_147 | null | undefined;
6446
6761
  readonly "defaultProxyId"?: string | null | undefined;
6447
6762
  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;
6763
+ readonly "base": Objects_161;
6764
+ readonly "sidebar": Objects_161 | null;
6765
+ readonly "workspace": Objects_161 | null;
6766
+ readonly "chat": Objects_161 | null;
6452
6767
  } | undefined;
6453
6768
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
6454
6769
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -6474,11 +6789,11 @@ export type MachineSettingsGetEncodedOutput = {
6474
6789
  readonly "mcpServers": {
6475
6790
  readonly [x: string]: {
6476
6791
  readonly "name": string;
6477
- readonly "transport": Union_32;
6792
+ readonly "transport": Union_34;
6478
6793
  readonly "enabled"?: boolean | undefined;
6479
- readonly "providers"?: Union_72;
6794
+ readonly "providers"?: Union_73;
6480
6795
  readonly "catalogId"?: string | undefined;
6481
- readonly "oauth"?: Union_33;
6796
+ readonly "oauth"?: Union_35;
6482
6797
  };
6483
6798
  };
6484
6799
  readonly "skills": {
@@ -6487,7 +6802,7 @@ export type MachineSettingsGetEncodedOutput = {
6487
6802
  readonly "source": Objects_58 | Objects_71 | Objects_72;
6488
6803
  readonly "modelInvocable"?: boolean | undefined;
6489
6804
  readonly "userInvocable"?: boolean | undefined;
6490
- readonly "providers"?: Union_73;
6805
+ readonly "providers"?: Union_74;
6491
6806
  };
6492
6807
  };
6493
6808
  };
@@ -6544,6 +6859,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
6544
6859
  readonly "projectCloneInBackground"?: boolean;
6545
6860
  readonly "projectMultiFolder"?: boolean;
6546
6861
  readonly "workLines"?: boolean;
6862
+ readonly "workBoard"?: boolean;
6547
6863
  readonly "groupMessages"?: boolean;
6548
6864
  readonly "threadTitleRegeneration"?: boolean;
6549
6865
  readonly "threadPullRequestLinking"?: boolean;
@@ -6581,9 +6897,26 @@ export type MachineSettingsConfigGetEncodedOutput = {
6581
6897
  };
6582
6898
  readonly "runtimeMaintenanceRoot"?: string;
6583
6899
  };
6584
- export type ProvidersRoutingGetEncodedOutput = Objects_153;
6900
+ export type ProvidersRoutingGetEncodedOutput = Objects_160;
6585
6901
  export type ProvidersSelectionResolveEncodedOutput = {
6586
6902
  readonly "modelSelection": Objects_64;
6903
+ readonly "hints"?: ReadonlyArray<{
6904
+ readonly "kind": "option-unsupported";
6905
+ readonly "model": string | null;
6906
+ readonly "optionId": string;
6907
+ readonly "stored": string | boolean;
6908
+ readonly "effective"?: string | boolean;
6909
+ } | {
6910
+ readonly "kind": "effort-moved";
6911
+ readonly "model": string | null;
6912
+ readonly "optionId": string;
6913
+ readonly "from": string;
6914
+ readonly "to": string;
6915
+ } | {
6916
+ readonly "kind": "model-replaced";
6917
+ readonly "from": string;
6918
+ readonly "to": string | null;
6919
+ }>;
6587
6920
  };
6588
6921
  export type ProvidersSessionsListEncodedOutput = {
6589
6922
  readonly "sessions": ReadonlyArray<{
@@ -6604,7 +6937,7 @@ export type PluginsProjectConfigGetEncodedOutput = {
6604
6937
  readonly "transport": {
6605
6938
  readonly "type": "stdio";
6606
6939
  readonly "command": string;
6607
- readonly "args"?: Union_35;
6940
+ readonly "args"?: Union_37;
6608
6941
  readonly "envNames": Arrays_14;
6609
6942
  } | {
6610
6943
  readonly "type": "http";
@@ -6616,18 +6949,18 @@ export type PluginsProjectConfigGetEncodedOutput = {
6616
6949
  readonly "headerNames": Arrays_16;
6617
6950
  };
6618
6951
  readonly "enabled"?: boolean | undefined;
6619
- readonly "providers"?: Union_72;
6952
+ readonly "providers"?: Union_73;
6620
6953
  readonly "catalogId"?: string | undefined;
6621
- readonly "oauth"?: Union_33;
6954
+ readonly "oauth"?: Union_35;
6622
6955
  };
6623
6956
  };
6624
6957
  readonly "skills"?: {
6625
6958
  readonly [x: string]: {
6626
6959
  readonly "name": string;
6627
- readonly "source": Union_36;
6960
+ readonly "source": Union_38;
6628
6961
  readonly "modelInvocable"?: boolean | undefined;
6629
6962
  readonly "userInvocable"?: boolean | undefined;
6630
- readonly "providers"?: Union_73;
6963
+ readonly "providers"?: Union_74;
6631
6964
  };
6632
6965
  };
6633
6966
  };
@@ -6651,9 +6984,9 @@ export type PluginsInstalledListEncodedOutput = {
6651
6984
  readonly "packageName"?: string | null | undefined;
6652
6985
  readonly "loadedAt"?: string | undefined;
6653
6986
  readonly "configRevision"?: number | undefined;
6654
- readonly "uiDebug"?: Union_37;
6987
+ readonly "uiDebug"?: Union_39;
6655
6988
  readonly "uiRevision"?: string | undefined;
6656
- readonly "proxyIds"?: Union_38;
6989
+ readonly "proxyIds"?: Union_40;
6657
6990
  readonly "state": "loaded" | "failed" | "stopped" | "disabled";
6658
6991
  readonly "contributions": Arrays_17;
6659
6992
  readonly "failure": {
@@ -6662,7 +6995,7 @@ export type PluginsInstalledListEncodedOutput = {
6662
6995
  readonly "kind"?: string | undefined;
6663
6996
  } | null;
6664
6997
  readonly "threadId": string | null;
6665
- readonly "runtimeStats"?: Union_39;
6998
+ readonly "runtimeStats"?: Union_41;
6666
6999
  readonly "removable"?: boolean | undefined;
6667
7000
  readonly "permissions"?: ReadonlyArray<Objects_73 | {
6668
7001
  readonly "kind": "fs.read";
@@ -6702,7 +7035,7 @@ export type PluginsInstalledListEncodedOutput = {
6702
7035
  readonly "titleKey": string;
6703
7036
  readonly "icon"?: string | undefined;
6704
7037
  readonly "chrome"?: "host" | "own" | undefined;
6705
- readonly "placements"?: Union_40;
7038
+ readonly "placements"?: Union_42;
6706
7039
  }> | undefined;
6707
7040
  readonly "panels"?: ReadonlyArray<{
6708
7041
  readonly "id": string;
@@ -6772,7 +7105,7 @@ export type ThreadsArtifactsListEncodedOutput = {
6772
7105
  readonly "turnId": string | null;
6773
7106
  readonly "messageId": string;
6774
7107
  readonly "deliveredAt": string;
6775
- readonly "modelSelection"?: Objects_140;
7108
+ readonly "modelSelection"?: Objects_147;
6776
7109
  }>;
6777
7110
  readonly "nextCursor": string | null;
6778
7111
  };
@@ -6784,15 +7117,16 @@ export type MembersListEncodedOutput = {
6784
7117
  readonly "name": string;
6785
7118
  readonly "title": string;
6786
7119
  readonly "responsibility": string;
6787
- readonly "avatar": Union_74;
6788
- readonly "identity": Union_75;
6789
- readonly "agent": Union_76;
7120
+ readonly "avatar": Union_75;
7121
+ readonly "identity": Union_76;
7122
+ readonly "agent": Union_77;
6790
7123
  readonly "workInstructionsRevision": number | null;
6791
7124
  readonly "version": number;
6792
- readonly "createdBy": Union_77;
7125
+ readonly "createdBy": Union_78;
6793
7126
  readonly "createdAt": string;
6794
7127
  readonly "updatedAt": string;
6795
7128
  readonly "removedAt": string | null;
7129
+ readonly "trial"?: Objects_162;
6796
7130
  }>;
6797
7131
  readonly "nextCursor": string | null;
6798
7132
  readonly "snapshotSequence": number;
@@ -6805,15 +7139,16 @@ export type MembersGetEncodedOutput = {
6805
7139
  readonly "name": string;
6806
7140
  readonly "title": string;
6807
7141
  readonly "responsibility": string;
6808
- readonly "avatar": Union_74;
6809
- readonly "identity": Union_75;
6810
- readonly "agent": Union_76;
7142
+ readonly "avatar": Union_75;
7143
+ readonly "identity": Union_76;
7144
+ readonly "agent": Union_77;
6811
7145
  readonly "workInstructionsRevision": number | null;
6812
7146
  readonly "version": number;
6813
- readonly "createdBy": Union_77;
7147
+ readonly "createdBy": Union_78;
6814
7148
  readonly "createdAt": string;
6815
7149
  readonly "updatedAt": string;
6816
7150
  readonly "removedAt": string | null;
7151
+ readonly "trial"?: Objects_162;
6817
7152
  readonly "workInstructions": string | null;
6818
7153
  readonly "workInstructionsWindow"?: Objects_38;
6819
7154
  };
@@ -7005,21 +7340,16 @@ export interface PluginDataPorts {
7005
7340
  readonly stop: (input: ThreadsSessionStopInput) => Promise<ThreadsSessionStopOutput>;
7006
7341
  };
7007
7342
  };
7008
- readonly auth: {
7009
- readonly remoteAgents: {
7010
- readonly list: (input: AuthRemoteAgentsListInput) => Promise<AuthRemoteAgentsListOutput>;
7011
- };
7012
- };
7013
- readonly projections: {
7014
- readonly getThreadExecution: (input: ThreadsExecutionGetInput["threadId"]) => Promise<ThreadsExecutionGetOutput>;
7015
- readonly countThreadTurnStarts: (input: ThreadsTurnStartsCountInput["threadIds"]) => Promise<ThreadsTurnStartsCountOutput>;
7016
- readonly getThreadMessage: (input: ThreadsMessagesGetInput["messageId"]) => Promise<ThreadsMessagesGetOutput>;
7017
- readonly listPendingUserInputs?: (input: ThreadsUserInputPendingListInput["threadId"]) => Promise<ThreadsUserInputPendingListOutput>;
7018
- };
7019
- readonly commands: {
7020
- readonly getReceipt: (input: ThreadsCommandReceiptsGetInput) => Promise<ThreadsCommandReceiptsGetOutput>;
7021
- };
7022
7343
  readonly projects: {
7344
+ readonly machines: {
7345
+ readonly list: (input: ProjectsMachinesListInput) => Promise<ProjectsMachinesListOutput>;
7346
+ readonly joinCode: {
7347
+ readonly create: (input: ProjectsMachinesJoinCodeCreateInput) => Promise<ProjectsMachinesJoinCodeCreateOutput>;
7348
+ };
7349
+ readonly remove: (input: ProjectsMachinesRemoveInput) => Promise<ProjectsMachinesRemoveOutput>;
7350
+ readonly join: (input: ProjectsMachinesJoinInput) => Promise<ProjectsMachinesJoinOutput>;
7351
+ readonly leave: (input: ProjectsMachinesLeaveInput) => Promise<ProjectsMachinesLeaveOutput>;
7352
+ };
7023
7353
  readonly list: (input: ProjectsListInput) => Promise<ProjectsListOutput>;
7024
7354
  readonly get: (input: ProjectsGetInput) => Promise<ProjectsGetOutput>;
7025
7355
  readonly toolkits: {
@@ -7049,6 +7379,15 @@ export interface PluginDataPorts {
7049
7379
  readonly ensure: (input: ProjectsConversationEnsureInput) => Promise<ProjectsConversationEnsureOutput>;
7050
7380
  };
7051
7381
  };
7382
+ readonly projections: {
7383
+ readonly getThreadExecution: (input: ThreadsExecutionGetInput["threadId"]) => Promise<ThreadsExecutionGetOutput>;
7384
+ readonly countThreadTurnStarts: (input: ThreadsTurnStartsCountInput["threadIds"]) => Promise<ThreadsTurnStartsCountOutput>;
7385
+ readonly getThreadMessage: (input: ThreadsMessagesGetInput["messageId"]) => Promise<ThreadsMessagesGetOutput>;
7386
+ readonly listPendingUserInputs?: (input: ThreadsUserInputPendingListInput["threadId"]) => Promise<ThreadsUserInputPendingListOutput>;
7387
+ };
7388
+ readonly commands: {
7389
+ readonly getReceipt: (input: ThreadsCommandReceiptsGetInput) => Promise<ThreadsCommandReceiptsGetOutput>;
7390
+ };
7052
7391
  readonly communication: {
7053
7392
  readonly records: {
7054
7393
  readonly get: (input: CommunicationRecordsGetInput) => Promise<CommunicationRecordsGetOutput>;
@@ -7194,6 +7533,10 @@ export interface PluginDataPorts {
7194
7533
  };
7195
7534
  readonly states: {
7196
7535
  readonly list: (input: WorkStatesListInput) => Promise<WorkStatesListOutput>;
7536
+ readonly create: (input: WorkStatesCreateInput) => Promise<WorkStatesCreateOutput>;
7537
+ readonly update: (input: WorkStatesUpdateInput) => Promise<WorkStatesUpdateOutput>;
7538
+ readonly remove: (input: WorkStatesRemoveInput) => Promise<WorkStatesRemoveOutput>;
7539
+ readonly restore: (input: WorkStatesRestoreInput) => Promise<WorkStatesRestoreOutput>;
7197
7540
  };
7198
7541
  readonly items: {
7199
7542
  readonly list: (input: WorkItemsListInput) => Promise<WorkItemsListOutput>;
@@ -7201,6 +7544,8 @@ export interface PluginDataPorts {
7201
7544
  readonly create: (input: WorkItemsCreateInput) => Promise<WorkItemsCreateOutput>;
7202
7545
  readonly update: (input: WorkItemsUpdateInput) => Promise<WorkItemsUpdateOutput>;
7203
7546
  readonly claim: (input: WorkItemsClaimInput) => Promise<WorkItemsClaimOutput>;
7547
+ readonly archive: (input: WorkItemsArchiveInput) => Promise<WorkItemsArchiveOutput>;
7548
+ readonly unarchive: (input: WorkItemsUnarchiveInput) => Promise<WorkItemsUnarchiveOutput>;
7204
7549
  };
7205
7550
  readonly relations: {
7206
7551
  readonly list: (input: WorkRelationsListInput) => Promise<WorkRelationsListOutput>;
@@ -7222,6 +7567,15 @@ export interface PluginDataPorts {
7222
7567
  readonly update: (input: WorkLinesUpdateInput) => Promise<WorkLinesUpdateOutput>;
7223
7568
  readonly archive: (input: WorkLinesArchiveInput) => Promise<WorkLinesArchiveOutput>;
7224
7569
  readonly restore: (input: WorkLinesRestoreInput) => Promise<WorkLinesRestoreOutput>;
7570
+ readonly pause: (input: WorkLinesPauseInput) => Promise<WorkLinesPauseOutput>;
7571
+ readonly resume: (input: WorkLinesResumeInput) => Promise<WorkLinesResumeOutput>;
7572
+ };
7573
+ readonly labels: {
7574
+ readonly list: (input: WorkLabelsListInput) => Promise<WorkLabelsListOutput>;
7575
+ readonly create: (input: WorkLabelsCreateInput) => Promise<WorkLabelsCreateOutput>;
7576
+ readonly update: (input: WorkLabelsUpdateInput) => Promise<WorkLabelsUpdateOutput>;
7577
+ readonly remove: (input: WorkLabelsRemoveInput) => Promise<WorkLabelsRemoveOutput>;
7578
+ readonly restore: (input: WorkLabelsRestoreInput) => Promise<WorkLabelsRestoreOutput>;
7225
7579
  };
7226
7580
  };
7227
7581
  readonly members: {
@@ -7231,6 +7585,9 @@ export interface PluginDataPorts {
7231
7585
  readonly update: (input: MembersUpdateInput) => Promise<MembersUpdateOutput>;
7232
7586
  readonly remove: (input: MembersRemoveInput) => Promise<MembersRemoveOutput>;
7233
7587
  readonly restore: (input: MembersRestoreInput) => Promise<MembersRestoreOutput>;
7588
+ readonly trial: {
7589
+ readonly record: (input: MembersTrialRecordInput) => Promise<MembersTrialRecordOutput>;
7590
+ };
7234
7591
  };
7235
7592
  }
7236
7593
  /** 以人的身份写的端口(`invocation.asPerson`):只有登记表代人写白名单里的几条,形状与上面同名成员相同。 */
@@ -7252,6 +7609,8 @@ export interface PluginAsPersonPorts {
7252
7609
  readonly update: (input: WorkLinesUpdateInput) => Promise<WorkLinesUpdateOutput>;
7253
7610
  readonly archive: (input: WorkLinesArchiveInput) => Promise<WorkLinesArchiveOutput>;
7254
7611
  readonly restore: (input: WorkLinesRestoreInput) => Promise<WorkLinesRestoreOutput>;
7612
+ readonly pause: (input: WorkLinesPauseInput) => Promise<WorkLinesPauseOutput>;
7613
+ readonly resume: (input: WorkLinesResumeInput) => Promise<WorkLinesResumeOutput>;
7255
7614
  };
7256
7615
  };
7257
7616
  readonly memory: {
@@ -7313,9 +7672,9 @@ export interface PluginUiDataReads {
7313
7672
  readonly input: ThreadsBrowserStateGetInput;
7314
7673
  readonly output: ThreadsBrowserStateGetOutput;
7315
7674
  };
7316
- readonly "auth.remoteAgents.list": {
7317
- readonly input: AuthRemoteAgentsListInput;
7318
- readonly output: AuthRemoteAgentsListOutput;
7675
+ readonly "projects.machines.list": {
7676
+ readonly input: ProjectsMachinesListInput;
7677
+ readonly output: ProjectsMachinesListOutput;
7319
7678
  };
7320
7679
  readonly "threads.list": {
7321
7680
  readonly input: ThreadsListInput;
@@ -7645,6 +8004,10 @@ export interface PluginUiDataReads {
7645
8004
  readonly input: WorkLinesGetInput;
7646
8005
  readonly output: WorkLinesGetOutput;
7647
8006
  };
8007
+ readonly "work.labels.list": {
8008
+ readonly input: WorkLabelsListInput;
8009
+ readonly output: WorkLabelsListOutput;
8010
+ };
7648
8011
  readonly "members.list": {
7649
8012
  readonly input: MembersListInput;
7650
8013
  readonly output: MembersListEncodedOutput;