@ycodium-ai/plugin-api 0.2.3240 → 0.2.3250

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.
@@ -5,6 +5,7 @@ export type SchemaUtc = {
5
5
  type Objects_ = {
6
6
  readonly "sourceThreadId": string;
7
7
  readonly "sourceMessageId": string;
8
+ readonly "sourceTurnNumber"?: number;
8
9
  };
9
10
  type Objects_2 = {
10
11
  readonly "id": string;
@@ -124,6 +125,10 @@ type Objects_20 = {
124
125
  readonly "sourcePath": string;
125
126
  readonly "linkBase"?: string | undefined;
126
127
  readonly "toolCallId"?: string | undefined;
128
+ readonly "title"?: string | undefined;
129
+ readonly "note"?: string | undefined;
130
+ readonly "delivered"?: true | undefined;
131
+ readonly "sha256"?: string | undefined;
127
132
  };
128
133
  type Objects_21 = {
129
134
  readonly "_tag": "pasted-text";
@@ -446,25 +451,52 @@ type Union_40 = {
446
451
  } | {
447
452
  readonly "text": string;
448
453
  };
454
+ type Objects_72 = {
455
+ readonly "layer": "wiki";
456
+ readonly "pageId": string;
457
+ readonly "revision": number;
458
+ };
449
459
  type Objects_73 = {
460
+ readonly "layer": "repo";
461
+ readonly "rootIndex": number;
462
+ readonly "rootName": string;
463
+ };
464
+ type Objects_74 = {
465
+ readonly "layer": "settings";
466
+ };
467
+ type Objects_75 = {
468
+ readonly "layer": "builtin";
469
+ };
470
+ type Objects_76 = {
471
+ readonly "layer": "plugin";
472
+ readonly "entryId": string;
473
+ };
474
+ type Objects_78 = {
450
475
  readonly "kind": "agent";
451
476
  readonly "threadId": string;
452
477
  };
453
- type Objects_74 = {
478
+ type Objects_79 = {
454
479
  readonly "kind": "remote-agent";
455
480
  readonly "principalId": string;
456
481
  };
457
482
  type Arrays_15 = ReadonlyArray<string>;
458
- type Objects_76 = {
483
+ type Objects_80 = {
484
+ readonly "searched": number;
485
+ readonly "read": number;
486
+ readonly "delivered": number;
487
+ readonly "lastUsedAt": string | null;
488
+ readonly "approximate": true;
489
+ };
490
+ type Objects_82 = {
459
491
  readonly "experienceId": string;
460
492
  readonly "revision": number;
461
493
  };
462
- type Objects_77 = {
494
+ type Objects_83 = {
463
495
  readonly "projectId": string;
464
496
  readonly "requestId"?: string;
465
497
  readonly "experienceId": string;
466
498
  };
467
- type Objects_78 = {
499
+ type Objects_84 = {
468
500
  readonly "sequence": number;
469
501
  readonly "result": {
470
502
  readonly "experienceId": string;
@@ -472,11 +504,11 @@ type Objects_78 = {
472
504
  };
473
505
  readonly "replayed"?: boolean;
474
506
  };
475
- type Objects_80 = {
507
+ type Objects_86 = {
476
508
  readonly "pageId": string;
477
509
  readonly "revision": number;
478
510
  };
479
- type Objects_82 = {
511
+ type Objects_88 = {
480
512
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
481
513
  readonly "pageId": string;
482
514
  readonly "revision": number;
@@ -485,40 +517,40 @@ type Union_42 = {
485
517
  readonly "experienceId": string;
486
518
  readonly "revision": number;
487
519
  } | null;
488
- type Objects_84 = {
520
+ type Objects_90 = {
489
521
  readonly "stateId": string;
490
522
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
491
523
  readonly "name": string;
492
524
  };
493
525
  type Arrays_18 = ReadonlyArray<string>;
494
526
  type Arrays_19 = ReadonlyArray<string>;
495
- type Objects_85 = {
527
+ type Objects_91 = {
496
528
  readonly "total": number;
497
529
  readonly "completed": number;
498
530
  readonly "cancelled": number;
499
531
  };
500
- type Objects_87 = {
532
+ type Objects_93 = {
501
533
  readonly "stateId": string;
502
534
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
503
535
  };
504
- type Objects_88 = {
536
+ type Objects_94 = {
505
537
  readonly "projectId": string;
506
538
  readonly "requestId"?: string;
507
539
  readonly "workItemId": string;
508
540
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
509
541
  readonly "relatedWorkItemId": string;
510
542
  };
511
- type Objects_89 = {
543
+ type Objects_95 = {
512
544
  readonly "workItemId": string;
513
545
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
514
546
  readonly "relatedWorkItemId": string;
515
547
  };
516
- type Objects_90 = {
548
+ type Objects_96 = {
517
549
  readonly "sequence": number;
518
550
  readonly "replayed"?: boolean;
519
551
  readonly "status": "accepted" | "noop";
520
552
  };
521
- type Objects_91 = {
553
+ type Objects_97 = {
522
554
  readonly "_tag": "snap-shot";
523
555
  readonly "capturedAt": string;
524
556
  readonly "appName": string;
@@ -536,24 +568,28 @@ type Objects_91 = {
536
568
  readonly "height": number;
537
569
  };
538
570
  readonly "truncated": boolean;
539
- readonly "root": Objects_92;
571
+ readonly "root": Objects_98;
540
572
  };
541
573
  readonly "appIdentifier"?: string;
542
574
  readonly "appIconDataUrl"?: string;
543
575
  };
544
- type Objects_93 = {
576
+ type Objects_99 = {
545
577
  readonly "_tag": "agent-artifact";
546
578
  readonly "sourcePath": string;
547
579
  readonly "linkBase"?: string;
548
580
  readonly "toolCallId"?: string;
581
+ readonly "title"?: string;
582
+ readonly "note"?: string;
583
+ readonly "delivered"?: true;
584
+ readonly "sha256"?: string;
549
585
  };
550
- type Objects_95 = {
586
+ type Objects_101 = {
551
587
  readonly "projectId": string;
552
588
  readonly "repository": string;
553
589
  readonly "number": number;
554
590
  readonly "url": string;
555
591
  };
556
- type Objects_96 = {
592
+ type Objects_102 = {
557
593
  readonly "_tag": "snap-shot";
558
594
  readonly "capturedAt": string;
559
595
  readonly "appName": string;
@@ -571,22 +607,30 @@ type Objects_96 = {
571
607
  readonly "height": number;
572
608
  };
573
609
  readonly "truncated": boolean;
574
- readonly "root": Objects_97;
610
+ readonly "root": Objects_103;
575
611
  };
576
612
  readonly "appIdentifier"?: string;
577
613
  readonly "appIconDataUrl"?: string;
578
614
  };
579
- type Objects_98 = {
615
+ type Objects_104 = {
580
616
  readonly "_tag": "agent-artifact";
581
617
  readonly "sourcePath": string;
582
618
  readonly "linkBase"?: string;
583
619
  readonly "toolCallId"?: string;
620
+ readonly "title"?: string;
621
+ readonly "note"?: string;
622
+ readonly "delivered"?: true;
623
+ readonly "sha256"?: string;
584
624
  };
585
- type Objects_100 = {
625
+ type Objects_106 = {
586
626
  readonly "_tag": "agent-artifact";
587
627
  readonly "sourcePath": string;
588
628
  readonly "linkBase"?: string;
589
629
  readonly "toolCallId"?: string;
630
+ readonly "title"?: string;
631
+ readonly "note"?: string;
632
+ readonly "delivered"?: true;
633
+ readonly "sha256"?: string;
590
634
  };
591
635
  type Union_45 = {
592
636
  readonly "kind": "lucide";
@@ -596,45 +640,46 @@ type Union_45 = {
596
640
  readonly "kind": "emoji";
597
641
  readonly "emoji": string;
598
642
  };
599
- type Objects_101 = {
643
+ type Objects_107 = {
600
644
  readonly "projectId": string;
601
645
  readonly "folderId": string;
602
646
  };
603
- type Objects_102 = {
647
+ type Objects_108 = {
604
648
  readonly "applied": boolean;
605
649
  };
606
- type Objects_103 = {
650
+ type Objects_109 = {
607
651
  readonly "sourceThreadId": string;
608
652
  readonly "sourceMessageId": string;
653
+ readonly "sourceTurnNumber"?: number;
609
654
  };
610
- type Objects_104 = {
655
+ type Objects_110 = {
611
656
  readonly "provider"?: unknown | undefined;
612
657
  readonly "instanceId"?: unknown | undefined;
613
658
  readonly "model": unknown;
614
659
  readonly "options"?: unknown | undefined;
615
660
  };
616
661
  type Union_47 = ReadonlyArray<string> | undefined;
617
- type Objects_105 = {
662
+ type Objects_111 = {
618
663
  readonly "parentThreadId": string;
619
664
  readonly "delegationDepth": number;
620
665
  readonly "requestedBy": "agent" | "continuation";
621
666
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
622
667
  };
623
- type Objects_106 = {
668
+ type Objects_112 = {
624
669
  readonly "userId": string;
625
670
  readonly "displayName": string;
626
671
  };
627
- type Objects_108 = {
672
+ type Objects_114 = {
628
673
  readonly "kind": "approval" | "userInput";
629
674
  readonly "requestId": string;
630
675
  readonly "startedAt": string;
631
676
  readonly "completedAt": string | null;
632
677
  };
633
- type Objects_109 = {
678
+ type Objects_115 = {
634
679
  readonly "requestId": string;
635
680
  readonly "startedAt": string;
636
681
  };
637
- type Objects_110 = {
682
+ type Objects_116 = {
638
683
  readonly "source": "manual" | "generated";
639
684
  readonly "version": string;
640
685
  readonly "needsRefinement": boolean;
@@ -655,13 +700,17 @@ type Union_58 = {
655
700
  readonly "turnId"?: string;
656
701
  readonly "generationId"?: string;
657
702
  } | null;
658
- type Objects_115 = {
703
+ type Objects_121 = {
659
704
  readonly "_tag": "agent-artifact";
660
705
  readonly "sourcePath": string;
661
706
  readonly "linkBase"?: string | undefined;
662
707
  readonly "toolCallId"?: string | undefined;
708
+ readonly "title"?: string | undefined;
709
+ readonly "note"?: string | undefined;
710
+ readonly "delivered"?: true | undefined;
711
+ readonly "sha256"?: string | undefined;
663
712
  };
664
- type Objects_116 = {
713
+ type Objects_122 = {
665
714
  readonly "kind": "native-session";
666
715
  readonly "provider": "claude" | "codex";
667
716
  readonly "sessionId": string;
@@ -669,7 +718,7 @@ type Objects_116 = {
669
718
  readonly "turnId"?: string | undefined;
670
719
  readonly "order": number;
671
720
  };
672
- type Objects_117 = {
721
+ type Objects_123 = {
673
722
  readonly "roles"?: {
674
723
  readonly [x: string]: {
675
724
  readonly "instanceId": string;
@@ -678,7 +727,7 @@ type Objects_117 = {
678
727
  } | undefined;
679
728
  readonly "allowlistOnly"?: boolean | undefined;
680
729
  };
681
- type Objects_118 = {
730
+ type Objects_124 = {
682
731
  readonly "source": "none" | "custom" | "plugin";
683
732
  readonly "customId": string | null;
684
733
  readonly "pluginId": string | null;
@@ -697,7 +746,7 @@ type Objects_3 = {
697
746
  readonly "optionOverrides": Arrays_2;
698
747
  readonly "expectedRevisions": Objects_4;
699
748
  };
700
- type Objects_94 = {
749
+ type Objects_100 = {
701
750
  readonly "environmentId": string;
702
751
  readonly "runtimeId": string;
703
752
  readonly "sourceId": string;
@@ -727,7 +776,7 @@ type Objects_12 = {
727
776
  readonly "endReason"?: "server-restart" | undefined;
728
777
  readonly "updatedAt": string;
729
778
  };
730
- type Objects_111 = {
779
+ type Objects_117 = {
731
780
  readonly "threadId": string;
732
781
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
733
782
  readonly "providerName": string | null;
@@ -813,7 +862,7 @@ type Union_43 = {
813
862
  readonly "kind": "remote-agent";
814
863
  readonly "principalId": string;
815
864
  };
816
- type Objects_72 = {
865
+ type Objects_77 = {
817
866
  readonly "kind": "human";
818
867
  readonly "principal": Union_27;
819
868
  };
@@ -873,14 +922,14 @@ type Objects_70 = {
873
922
  readonly "redeemable"?: true;
874
923
  readonly "redeeming"?: true;
875
924
  };
876
- type Arrays_16 = ReadonlyArray<Objects_82>;
877
- type Objects_83 = {
925
+ type Arrays_16 = ReadonlyArray<Objects_88>;
926
+ type Objects_89 = {
878
927
  readonly "changed": boolean;
879
928
  readonly "release": number;
880
- readonly "pages": ReadonlyArray<Objects_82>;
929
+ readonly "pages": ReadonlyArray<Objects_88>;
881
930
  };
882
- type Union_48 = Objects_95 | null | undefined;
883
- type Objects_112 = {
931
+ type Union_48 = Objects_101 | null | undefined;
932
+ type Objects_118 = {
884
933
  readonly "id": string;
885
934
  readonly "title": string;
886
935
  readonly "workspaceRoot": string;
@@ -915,7 +964,7 @@ type Objects_112 = {
915
964
  readonly "owner"?: string;
916
965
  readonly "name"?: string;
917
966
  } | null | undefined;
918
- readonly "defaultModelSelection": Objects_104 | null;
967
+ readonly "defaultModelSelection": Objects_110 | null;
919
968
  readonly "defaultThreadEnvMode"?: "local" | "worktree" | null | undefined;
920
969
  readonly "faviconPath"?: string | null | undefined;
921
970
  readonly "projectIcon"?: Union_45 | null | undefined;
@@ -933,13 +982,13 @@ type Objects_112 = {
933
982
  readonly "updatedAt": string;
934
983
  readonly "archivedAt"?: string | null | undefined;
935
984
  };
936
- type Union_61 = Objects_104 | undefined;
937
- type Union_49 = Objects_105 | null | undefined;
938
- type Union_50 = Objects_106 | null | undefined;
939
- type Union_60 = Objects_106 | null | undefined;
940
- type Union_52 = ReadonlyArray<Objects_108> | undefined;
941
- type Union_53 = Objects_109 | null | undefined;
942
- type Union_54 = Objects_110 | null | undefined;
985
+ type Union_61 = Objects_110 | undefined;
986
+ type Union_49 = Objects_111 | null | undefined;
987
+ type Union_50 = Objects_112 | null | undefined;
988
+ type Union_60 = Objects_112 | null | undefined;
989
+ type Union_52 = ReadonlyArray<Objects_114> | undefined;
990
+ type Union_53 = Objects_115 | null | undefined;
991
+ type Union_54 = Objects_116 | null | undefined;
943
992
  type Union_59 = {
944
993
  readonly "type": "image";
945
994
  readonly "id": string;
@@ -961,43 +1010,43 @@ type Union_59 = {
961
1010
  readonly "coordinateSpace": "captured-image";
962
1011
  readonly "imageSize": Objects_17;
963
1012
  readonly "truncated": boolean;
964
- readonly "root": Objects_114;
1013
+ readonly "root": Objects_120;
965
1014
  } | undefined;
966
1015
  readonly "appIdentifier"?: string | undefined;
967
1016
  readonly "appIconDataUrl"?: string | undefined;
968
- } | Objects_115 | undefined;
1017
+ } | Objects_121 | undefined;
969
1018
  } | {
970
1019
  readonly "type": "file";
971
1020
  readonly "id": string;
972
1021
  readonly "name": string;
973
1022
  readonly "mimeType": string;
974
1023
  readonly "sizeBytes": number;
975
- readonly "source"?: Objects_21 | Objects_115 | {
1024
+ readonly "source"?: Objects_21 | Objects_121 | {
976
1025
  readonly "_tag": "thread-reference";
977
1026
  readonly "environmentId": string;
978
1027
  readonly "threadId": string;
979
1028
  } | undefined;
980
1029
  };
981
- type Union_62 = Objects_116 | undefined;
1030
+ type Union_62 = Objects_122 | undefined;
982
1031
  type Union_ = Arrays_ | Arrays_1;
983
1032
  type Union_1 = Objects_3 | undefined;
984
- type Union_46 = Objects_94 | undefined;
1033
+ type Union_46 = Objects_100 | undefined;
985
1034
  type Union_10 = Objects_12 | null;
986
- type Union_55 = Objects_111 | null;
1035
+ type Union_55 = Objects_117 | null;
987
1036
  type Union_24 = ReadonlyArray<Union_16> | undefined;
988
- type Union_41 = Objects_72 | {
1037
+ type Union_41 = Objects_77 | {
989
1038
  readonly "kind": "local-cli";
990
1039
  readonly "environmentId": string;
991
1040
  } | {
992
1041
  readonly "kind": "seat";
993
1042
  readonly "seatId": string;
994
- } | Objects_73 | Objects_74 | {
1043
+ } | Objects_78 | Objects_79 | {
995
1044
  readonly "kind": "plugin";
996
1045
  readonly "pluginId": string;
997
1046
  } | {
998
1047
  readonly "kind": "system";
999
1048
  };
1000
- type Union_44 = Objects_72 | Objects_73 | Objects_74;
1049
+ type Union_44 = Objects_77 | Objects_78 | Objects_79;
1001
1050
  type Objects_44 = {
1002
1051
  readonly "instanceId": string;
1003
1052
  readonly "model": string;
@@ -1024,7 +1073,7 @@ type Objects_46 = {
1024
1073
  readonly "catalogId"?: string | undefined;
1025
1074
  readonly "oauth"?: Union_30;
1026
1075
  };
1027
- type Objects_107 = {
1076
+ type Objects_113 = {
1028
1077
  readonly "turnId": string;
1029
1078
  readonly "state": "running" | "interrupted" | "completed" | "error";
1030
1079
  readonly "requestedAt": string;
@@ -1032,7 +1081,7 @@ type Objects_107 = {
1032
1081
  readonly "completedAt": string | null;
1033
1082
  readonly "assistantMessageId": string | null;
1034
1083
  readonly "userMessageId"?: string | undefined;
1035
- readonly "modelSelection"?: Objects_104 | undefined;
1084
+ readonly "modelSelection"?: Objects_110 | undefined;
1036
1085
  readonly "sourceProposedPlan"?: {
1037
1086
  readonly "threadId": string;
1038
1087
  readonly "planId": string;
@@ -1067,7 +1116,7 @@ type Objects_25 = {
1067
1116
  readonly "nextCursor": string | null;
1068
1117
  readonly "snapshotSequence": number;
1069
1118
  };
1070
- type Objects_75 = {
1119
+ type Objects_81 = {
1071
1120
  readonly "experienceId": string;
1072
1121
  readonly "revision": number;
1073
1122
  readonly "baseRevision": number | null;
@@ -1077,7 +1126,7 @@ type Objects_75 = {
1077
1126
  readonly "bodyState": "present" | "erased" | "unavailable";
1078
1127
  readonly "bodyWindow"?: Objects_23;
1079
1128
  };
1080
- type Objects_79 = {
1129
+ type Objects_85 = {
1081
1130
  readonly "pageId": string;
1082
1131
  readonly "revision": number;
1083
1132
  readonly "baseRevision": number | null;
@@ -1090,7 +1139,7 @@ type Objects_79 = {
1090
1139
  readonly "bodyState": "present" | "erased" | "unavailable";
1091
1140
  readonly "bodyWindow"?: Objects_23;
1092
1141
  };
1093
- type Objects_81 = {
1142
+ type Objects_87 = {
1094
1143
  readonly "release": number;
1095
1144
  readonly "pages": Arrays_16;
1096
1145
  readonly "itemCount": number;
@@ -1102,7 +1151,7 @@ type Objects_81 = {
1102
1151
  readonly "publishedAt": string;
1103
1152
  };
1104
1153
  type Arrays_17 = ReadonlyArray<Union_44>;
1105
- type Objects_86 = {
1154
+ type Objects_92 = {
1106
1155
  readonly "commentId": string;
1107
1156
  readonly "workItemId": string;
1108
1157
  readonly "projectId": string;
@@ -1117,7 +1166,7 @@ type Objects_86 = {
1117
1166
  readonly "createdAt": string;
1118
1167
  readonly "editedAt": string | null;
1119
1168
  };
1120
- type Union_51 = Objects_107 | null;
1169
+ type Union_51 = Objects_113 | null;
1121
1170
  type Objects_8 = {
1122
1171
  readonly "turnId": string;
1123
1172
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -1214,6 +1263,7 @@ type Objects_32 = {
1214
1263
  readonly "defaultRuntimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1215
1264
  readonly "newWorktreesStartFromOrigin": boolean;
1216
1265
  readonly "addProjectBaseDirectory": string;
1266
+ readonly "autoTurnSummaries": boolean;
1217
1267
  readonly "textGenerationModelSelection": Objects_1 | null;
1218
1268
  readonly "sourceControlWritingStyle": {
1219
1269
  readonly "mode": "repo_conventions" | "conventional_commits" | "custom";
@@ -1294,11 +1344,11 @@ type Objects_32 = {
1294
1344
  };
1295
1345
  readonly "observability": Objects_42;
1296
1346
  };
1297
- type Objects_113 = {
1347
+ type Objects_119 = {
1298
1348
  readonly "id": string;
1299
1349
  readonly "projectId": string;
1300
1350
  readonly "title": string;
1301
- readonly "modelSelection": Objects_104;
1351
+ readonly "modelSelection": Objects_110;
1302
1352
  readonly "executionSelection"?: Union_46;
1303
1353
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1304
1354
  readonly "nativeModeId"?: string | null | undefined;
@@ -1309,7 +1359,7 @@ type Objects_113 = {
1309
1359
  readonly "folderIds"?: Union_47;
1310
1360
  readonly "linkedPullRequest"?: Union_48;
1311
1361
  readonly "origin"?: Union_49;
1312
- readonly "forkedFrom"?: Objects_103 | null | undefined;
1362
+ readonly "forkedFrom"?: Objects_109 | null | undefined;
1313
1363
  readonly "presetId"?: string | null | undefined;
1314
1364
  readonly "createdBy"?: Union_50;
1315
1365
  readonly "latestTurn": Union_51;
@@ -1334,6 +1384,9 @@ type Objects_113 = {
1334
1384
  readonly "awaitingPersonReplyCount"?: number | undefined;
1335
1385
  readonly "pendingAsyncQuestionCount"?: number | undefined;
1336
1386
  readonly "preview"?: string | null | undefined;
1387
+ readonly "previewDeliveryCount"?: number | undefined;
1388
+ readonly "deliveredFileCount"?: number | undefined;
1389
+ readonly "latestDeliveryAt"?: string | null | undefined;
1337
1390
  readonly "hasPendingApprovals": boolean;
1338
1391
  readonly "hasPendingUserInput": boolean;
1339
1392
  readonly "hasActionableProposedPlan": boolean;
@@ -1382,6 +1435,9 @@ type Objects_14 = {
1382
1435
  readonly "awaitingPersonReplyCount"?: number | undefined;
1383
1436
  readonly "pendingAsyncQuestionCount"?: number | undefined;
1384
1437
  readonly "preview"?: string | null | undefined;
1438
+ readonly "previewDeliveryCount"?: number | undefined;
1439
+ readonly "deliveredFileCount"?: number | undefined;
1440
+ readonly "latestDeliveryAt"?: string | null | undefined;
1385
1441
  readonly "hasPendingApprovals": boolean;
1386
1442
  readonly "hasPendingUserInput": boolean;
1387
1443
  readonly "hasActionableProposedPlan": boolean;
@@ -1414,7 +1470,7 @@ type Union_28 = {
1414
1470
  readonly "left": Union_28;
1415
1471
  readonly "right": Union_28;
1416
1472
  };
1417
- type Objects_92 = {
1473
+ type Objects_98 = {
1418
1474
  readonly "role": string;
1419
1475
  readonly "name"?: string;
1420
1476
  readonly "value"?: string;
@@ -1437,9 +1493,9 @@ type Objects_92 = {
1437
1493
  readonly "visible"?: boolean;
1438
1494
  };
1439
1495
  readonly "actions"?: ReadonlyArray<string>;
1440
- readonly "children": ReadonlyArray<Objects_92>;
1496
+ readonly "children": ReadonlyArray<Objects_98>;
1441
1497
  };
1442
- type Objects_97 = {
1498
+ type Objects_103 = {
1443
1499
  readonly "role": string;
1444
1500
  readonly "name"?: string;
1445
1501
  readonly "value"?: string;
@@ -1462,9 +1518,9 @@ type Objects_97 = {
1462
1518
  readonly "visible"?: boolean;
1463
1519
  };
1464
1520
  readonly "actions"?: ReadonlyArray<string>;
1465
- readonly "children": ReadonlyArray<Objects_97>;
1521
+ readonly "children": ReadonlyArray<Objects_103>;
1466
1522
  };
1467
- type Objects_99 = {
1523
+ type Objects_105 = {
1468
1524
  readonly "role": string;
1469
1525
  readonly "name"?: string;
1470
1526
  readonly "value"?: string;
@@ -1487,9 +1543,9 @@ type Objects_99 = {
1487
1543
  readonly "visible"?: boolean;
1488
1544
  };
1489
1545
  readonly "actions"?: ReadonlyArray<string>;
1490
- readonly "children": ReadonlyArray<Objects_99>;
1546
+ readonly "children": ReadonlyArray<Objects_105>;
1491
1547
  };
1492
- type Objects_114 = {
1548
+ type Objects_120 = {
1493
1549
  readonly "role": string;
1494
1550
  readonly "name"?: string;
1495
1551
  readonly "value"?: string;
@@ -1497,7 +1553,7 @@ type Objects_114 = {
1497
1553
  readonly "bounds": Union_17;
1498
1554
  readonly "state"?: Objects_19;
1499
1555
  readonly "actions"?: ReadonlyArray<string>;
1500
- readonly "children": ReadonlyArray<Objects_114>;
1556
+ readonly "children": ReadonlyArray<Objects_120>;
1501
1557
  };
1502
1558
  export type AuthRemoteAgentsListInput = {
1503
1559
  readonly "projectId": string;
@@ -1519,6 +1575,10 @@ export type ThreadsListInput = {
1519
1575
  readonly "include"?: ReadonlyArray<"summary" | "runtime">;
1520
1576
  readonly "projectId"?: string;
1521
1577
  readonly "parentThreadId"?: string;
1578
+ readonly "forkedFrom"?: {
1579
+ readonly "sourceThreadId": string;
1580
+ readonly "sourceMessageId"?: string;
1581
+ };
1522
1582
  readonly "archived"?: "exclude" | "include" | "only";
1523
1583
  readonly "cursor"?: string | null;
1524
1584
  readonly "limit"?: number;
@@ -1571,6 +1631,9 @@ export type ThreadsListOutput = {
1571
1631
  readonly "awaitingPersonReplyCount"?: number | undefined;
1572
1632
  readonly "pendingAsyncQuestionCount"?: number | undefined;
1573
1633
  readonly "preview"?: string | null | undefined;
1634
+ readonly "previewDeliveryCount"?: number | undefined;
1635
+ readonly "deliveredFileCount"?: number | undefined;
1636
+ readonly "latestDeliveryAt"?: string | null | undefined;
1574
1637
  readonly "hasPendingApprovals": boolean;
1575
1638
  readonly "hasPendingUserInput": boolean;
1576
1639
  readonly "hasActionableProposedPlan": boolean;
@@ -1801,6 +1864,19 @@ export type ThreadsHistoryOutput = {
1801
1864
  readonly "assistantMessageId": string | null;
1802
1865
  readonly "completedAt": string;
1803
1866
  }>;
1867
+ readonly "turnSummaries"?: ReadonlyArray<{
1868
+ readonly "turnId": string;
1869
+ readonly "userMessageId"?: string;
1870
+ readonly "state": "running" | "interrupted" | "completed" | "error";
1871
+ readonly "startedAt": string | null;
1872
+ readonly "completedAt": string | null;
1873
+ readonly "waitSpans"?: ReadonlyArray<Objects_9>;
1874
+ readonly "modelSummary"?: {
1875
+ readonly "text": string;
1876
+ readonly "modelSelection": Objects_1;
1877
+ readonly "generatedAt": string;
1878
+ };
1879
+ }> | undefined;
1804
1880
  readonly "session": Objects_12 | null;
1805
1881
  };
1806
1882
  readonly "page"?: {
@@ -1942,6 +2018,19 @@ export type ThreadsAgentsGetOutput = {
1942
2018
  readonly "errorWindow"?: Objects_23;
1943
2019
  };
1944
2020
  };
2021
+ export type ThreadsTurnChangesGetInput = {
2022
+ readonly "threadId": string;
2023
+ readonly "turnId": string;
2024
+ readonly "filePath": string;
2025
+ readonly "textOffset"?: number;
2026
+ readonly "textLimit"?: number;
2027
+ };
2028
+ export type ThreadsTurnChangesGetOutput = {
2029
+ readonly "source": "checkpoint" | "tools" | "unavailable";
2030
+ readonly "text": string;
2031
+ readonly "textWindow"?: Objects_23;
2032
+ readonly "truncated": boolean;
2033
+ };
1945
2034
  export type ThreadsToolCallGetInput = {
1946
2035
  readonly "threadId": string;
1947
2036
  readonly "toolCallId": string;
@@ -2024,7 +2113,10 @@ export type ThreadsExecutionGetOutput = {
2024
2113
  readonly "updatedAt": string;
2025
2114
  readonly "archivedAt": string | null;
2026
2115
  readonly "origin": Objects_6 | null;
2027
- readonly "forkedFrom": Objects_ | null;
2116
+ readonly "forkedFrom": {
2117
+ readonly "sourceThreadId": string;
2118
+ readonly "sourceMessageId": string;
2119
+ } | null;
2028
2120
  readonly "session": {
2029
2121
  readonly "activeTurnId": string | null;
2030
2122
  readonly "lastError": string | null;
@@ -2605,6 +2697,7 @@ export type MachineSettingsUpdateInput = {
2605
2697
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2606
2698
  readonly "newWorktreesStartFromOrigin"?: boolean;
2607
2699
  readonly "addProjectBaseDirectory"?: string;
2700
+ readonly "autoTurnSummaries"?: boolean;
2608
2701
  readonly "textGenerationModelSelection"?: {
2609
2702
  readonly "instanceId"?: string;
2610
2703
  readonly "model"?: string;
@@ -3494,7 +3587,14 @@ export type SkillsListOutput = {
3494
3587
  readonly "skills": ReadonlyArray<{
3495
3588
  readonly "name": string;
3496
3589
  readonly "description"?: string;
3590
+ readonly "origin"?: Objects_72 | Objects_73 | Objects_74 | Objects_75 | Objects_76;
3591
+ }>;
3592
+ readonly "shadowed"?: ReadonlyArray<{
3593
+ readonly "name": string;
3594
+ readonly "origin": Objects_72 | Objects_73 | Objects_74 | Objects_75 | Objects_76;
3595
+ readonly "by": "wiki" | "repo" | "settings" | "builtin" | "plugin";
3497
3596
  }>;
3597
+ readonly "repoReadByCli"?: true;
3498
3598
  };
3499
3599
  export type SkillsReadInput = {
3500
3600
  readonly "threadId"?: string;
@@ -3511,6 +3611,7 @@ export type SkillsReadOutput = {
3511
3611
  export type MemoryExperiencesListInput = {
3512
3612
  readonly "projectId": string;
3513
3613
  readonly "status"?: "active" | "forgotten" | "erased";
3614
+ readonly "order"?: "created" | "leastRecentlyUsed";
3514
3615
  readonly "cursor"?: string;
3515
3616
  readonly "limit"?: number;
3516
3617
  };
@@ -3526,6 +3627,7 @@ export type MemoryExperiencesListOutput = {
3526
3627
  readonly "updatedAt": string;
3527
3628
  readonly "supersedes": Arrays_15;
3528
3629
  readonly "bodyState": "present" | "erased" | "unavailable";
3630
+ readonly "usage"?: Objects_80;
3529
3631
  readonly "excerpt": string | null;
3530
3632
  }>;
3531
3633
  readonly "nextCursor": string | null;
@@ -3547,6 +3649,7 @@ export type MemoryExperiencesGetOutput = {
3547
3649
  readonly "updatedAt": string;
3548
3650
  readonly "supersedes": Arrays_15;
3549
3651
  readonly "bodyState": "present" | "erased" | "unavailable";
3652
+ readonly "usage"?: Objects_80;
3550
3653
  readonly "body": string | null;
3551
3654
  readonly "bodyWindow"?: Objects_23;
3552
3655
  readonly "forgottenAt": string | null;
@@ -3563,7 +3666,7 @@ export type MemoryExperiencesHistoryInput = {
3563
3666
  readonly "textLimit"?: number;
3564
3667
  };
3565
3668
  export type MemoryExperiencesHistoryOutput = {
3566
- readonly "items": ReadonlyArray<Objects_75>;
3669
+ readonly "items": ReadonlyArray<Objects_81>;
3567
3670
  readonly "nextCursor": string | null;
3568
3671
  };
3569
3672
  export type MemoryRevisionsGetInput = {
@@ -3573,7 +3676,7 @@ export type MemoryRevisionsGetInput = {
3573
3676
  readonly "textOffset"?: number;
3574
3677
  readonly "textLimit"?: number;
3575
3678
  };
3576
- export type MemoryRevisionsGetOutput = Objects_75;
3679
+ export type MemoryRevisionsGetOutput = Objects_81;
3577
3680
  export type MemorySearchInput = {
3578
3681
  readonly "projectId": string;
3579
3682
  readonly "text": string;
@@ -3609,7 +3712,7 @@ export type MemoryExperiencesRecordInput = {
3609
3712
  };
3610
3713
  export type MemoryExperiencesRecordOutput = {
3611
3714
  readonly "sequence": number;
3612
- readonly "result": Objects_76;
3715
+ readonly "result": Objects_82;
3613
3716
  readonly "replayed"?: boolean;
3614
3717
  };
3615
3718
  export type MemoryExperiencesReviseInput = {
@@ -3621,14 +3724,14 @@ export type MemoryExperiencesReviseInput = {
3621
3724
  };
3622
3725
  export type MemoryExperiencesReviseOutput = {
3623
3726
  readonly "sequence": number;
3624
- readonly "result": Objects_76;
3727
+ readonly "result": Objects_82;
3625
3728
  readonly "replayed"?: boolean;
3626
3729
  };
3627
- export type MemoryExperiencesForgetInput = Objects_77;
3628
- export type MemoryExperiencesForgetOutput = Objects_78;
3629
- export type MemoryExperiencesRestoreInput = Objects_77;
3630
- export type MemoryExperiencesRestoreOutput = Objects_78;
3631
- export type MemoryExperiencesEraseInput = Objects_77;
3730
+ export type MemoryExperiencesForgetInput = Objects_83;
3731
+ export type MemoryExperiencesForgetOutput = Objects_84;
3732
+ export type MemoryExperiencesRestoreInput = Objects_83;
3733
+ export type MemoryExperiencesRestoreOutput = Objects_84;
3734
+ export type MemoryExperiencesEraseInput = Objects_83;
3632
3735
  export type MemoryExperiencesEraseOutput = {
3633
3736
  readonly "sequence": number;
3634
3737
  readonly "result": {
@@ -3693,7 +3796,7 @@ export type MemoryPagesHistoryInput = {
3693
3796
  readonly "textLimit"?: number;
3694
3797
  };
3695
3798
  export type MemoryPagesHistoryOutput = {
3696
- readonly "items": ReadonlyArray<Objects_79>;
3799
+ readonly "items": ReadonlyArray<Objects_85>;
3697
3800
  readonly "nextCursor": string | null;
3698
3801
  };
3699
3802
  export type MemoryPageRevisionsGetInput = {
@@ -3703,7 +3806,7 @@ export type MemoryPageRevisionsGetInput = {
3703
3806
  readonly "textOffset"?: number;
3704
3807
  readonly "textLimit"?: number;
3705
3808
  };
3706
- export type MemoryPageRevisionsGetOutput = Objects_79;
3809
+ export type MemoryPageRevisionsGetOutput = Objects_85;
3707
3810
  export type MemoryPagesCreateInput = {
3708
3811
  readonly "projectId": string;
3709
3812
  readonly "requestId"?: string;
@@ -3716,7 +3819,7 @@ export type MemoryPagesCreateInput = {
3716
3819
  };
3717
3820
  export type MemoryPagesCreateOutput = {
3718
3821
  readonly "sequence": number;
3719
- readonly "result": Objects_80;
3822
+ readonly "result": Objects_86;
3720
3823
  readonly "replayed"?: boolean;
3721
3824
  };
3722
3825
  export type MemoryPagesEditInput = {
@@ -3730,7 +3833,7 @@ export type MemoryPagesEditInput = {
3730
3833
  };
3731
3834
  export type MemoryPagesEditOutput = {
3732
3835
  readonly "sequence": number;
3733
- readonly "result": Objects_80;
3836
+ readonly "result": Objects_86;
3734
3837
  readonly "replayed"?: boolean;
3735
3838
  };
3736
3839
  export type MemoryPagesRestoreInput = {
@@ -3742,7 +3845,7 @@ export type MemoryPagesRestoreInput = {
3742
3845
  };
3743
3846
  export type MemoryPagesRestoreOutput = {
3744
3847
  readonly "sequence": number;
3745
- readonly "result": Objects_80;
3848
+ readonly "result": Objects_86;
3746
3849
  readonly "replayed"?: boolean;
3747
3850
  };
3748
3851
  export type MemoryPagesEraseInput = {
@@ -3757,6 +3860,55 @@ export type MemoryPagesEraseOutput = {
3757
3860
  };
3758
3861
  readonly "replayed"?: boolean;
3759
3862
  };
3863
+ export type ThreadsArtifactsListInput = {
3864
+ readonly "threadId": string;
3865
+ readonly "cursor"?: string | null;
3866
+ readonly "limit"?: number;
3867
+ };
3868
+ export type ThreadsArtifactsListOutput = {
3869
+ readonly "items": ReadonlyArray<{
3870
+ readonly "attachmentId": string;
3871
+ readonly "name": string;
3872
+ readonly "mimeType": string;
3873
+ readonly "sizeBytes": number;
3874
+ readonly "title"?: string | undefined;
3875
+ readonly "note"?: string | undefined;
3876
+ readonly "sourcePath": string;
3877
+ readonly "turnId": string | null;
3878
+ readonly "messageId": string;
3879
+ readonly "deliveredAt": string;
3880
+ readonly "modelSelection"?: {
3881
+ readonly "instanceId": string;
3882
+ readonly "model": string;
3883
+ readonly "options"?: Union_;
3884
+ };
3885
+ }>;
3886
+ readonly "nextCursor": string | null;
3887
+ };
3888
+ export type ThreadsArtifactsDeliverInput = {
3889
+ readonly "threadId": string;
3890
+ readonly "requestId": string;
3891
+ readonly "path"?: string;
3892
+ readonly "files"?: ReadonlyArray<{
3893
+ readonly "path": string;
3894
+ readonly "title"?: string;
3895
+ readonly "note"?: string;
3896
+ }>;
3897
+ readonly "title"?: string;
3898
+ readonly "note"?: string;
3899
+ };
3900
+ export type ThreadsArtifactsDeliverOutput = {
3901
+ readonly "sequence": number;
3902
+ readonly "result": {
3903
+ readonly "files": ReadonlyArray<{
3904
+ readonly "attachmentId": string;
3905
+ readonly "name": string;
3906
+ readonly "sizeBytes": number;
3907
+ readonly "alreadyDelivered": boolean;
3908
+ }>;
3909
+ };
3910
+ readonly "replayed"?: boolean;
3911
+ };
3760
3912
  export type MemoryHandbookGetInput = {
3761
3913
  readonly "projectId": string;
3762
3914
  readonly "textOffset"?: number;
@@ -3764,8 +3916,8 @@ export type MemoryHandbookGetInput = {
3764
3916
  };
3765
3917
  export type MemoryHandbookGetOutput = {
3766
3918
  readonly "head": {
3767
- readonly "current": Objects_81;
3768
- readonly "pages": ReadonlyArray<Objects_79>;
3919
+ readonly "current": Objects_87;
3920
+ readonly "pages": ReadonlyArray<Objects_85>;
3769
3921
  } | null;
3770
3922
  };
3771
3923
  export type MemoryHandbookReleasesListInput = {
@@ -3774,7 +3926,7 @@ export type MemoryHandbookReleasesListInput = {
3774
3926
  readonly "limit"?: number;
3775
3927
  };
3776
3928
  export type MemoryHandbookReleasesListOutput = {
3777
- readonly "items": ReadonlyArray<Objects_81>;
3929
+ readonly "items": ReadonlyArray<Objects_87>;
3778
3930
  readonly "nextCursor": string | null;
3779
3931
  };
3780
3932
  export type MemoryHandbookReleasesGetInput = {
@@ -3815,7 +3967,7 @@ export type MemoryHandbookPublishInput = {
3815
3967
  };
3816
3968
  export type MemoryHandbookPublishOutput = {
3817
3969
  readonly "sequence": number;
3818
- readonly "result": Objects_83;
3970
+ readonly "result": Objects_89;
3819
3971
  readonly "replayed"?: boolean;
3820
3972
  };
3821
3973
  export type MemoryHandbookRevertInput = {
@@ -3827,7 +3979,7 @@ export type MemoryHandbookRevertInput = {
3827
3979
  };
3828
3980
  export type MemoryHandbookRevertOutput = {
3829
3981
  readonly "sequence": number;
3830
- readonly "result": Objects_83;
3982
+ readonly "result": Objects_89;
3831
3983
  readonly "replayed"?: boolean;
3832
3984
  };
3833
3985
  export type WorkRemoteAgentPendingGetInput = {
@@ -3888,7 +4040,7 @@ export type WorkItemsListOutput = {
3888
4040
  readonly "sequenceId": number;
3889
4041
  readonly "title": string | null;
3890
4042
  readonly "bodyState": "present" | "erased" | "unavailable";
3891
- readonly "state": Objects_84;
4043
+ readonly "state": Objects_90;
3892
4044
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
3893
4045
  readonly "assignees": Arrays_17;
3894
4046
  readonly "labelIds": Arrays_18;
@@ -3902,7 +4054,7 @@ export type WorkItemsListOutput = {
3902
4054
  readonly "revision": number;
3903
4055
  readonly "blockedBy": Arrays_19;
3904
4056
  readonly "blockedByTotal": number;
3905
- readonly "childCounts": Objects_85;
4057
+ readonly "childCounts": Objects_91;
3906
4058
  readonly "createdBy": Union_41;
3907
4059
  readonly "createdAt": string;
3908
4060
  readonly "updatedAt": string;
@@ -3930,7 +4082,7 @@ export type WorkItemsGetOutput = {
3930
4082
  readonly "sequenceId": number;
3931
4083
  readonly "title": string | null;
3932
4084
  readonly "bodyState": "present" | "erased" | "unavailable";
3933
- readonly "state": Objects_84;
4085
+ readonly "state": Objects_90;
3934
4086
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
3935
4087
  readonly "assignees": Arrays_17;
3936
4088
  readonly "labelIds": Arrays_18;
@@ -3944,7 +4096,7 @@ export type WorkItemsGetOutput = {
3944
4096
  readonly "revision": number;
3945
4097
  readonly "blockedBy": Arrays_19;
3946
4098
  readonly "blockedByTotal": number;
3947
- readonly "childCounts": Objects_85;
4099
+ readonly "childCounts": Objects_91;
3948
4100
  readonly "createdBy": Union_41;
3949
4101
  readonly "createdAt": string;
3950
4102
  readonly "updatedAt": string;
@@ -3988,7 +4140,7 @@ export type WorkCommentsListInput = {
3988
4140
  readonly "textLimit"?: number;
3989
4141
  };
3990
4142
  export type WorkCommentsListOutput = {
3991
- readonly "items": ReadonlyArray<Objects_86>;
4143
+ readonly "items": ReadonlyArray<Objects_92>;
3992
4144
  readonly "nextCursor": string | null;
3993
4145
  readonly "snapshotSequence": number;
3994
4146
  };
@@ -3999,7 +4151,7 @@ export type WorkCommentsGetInput = {
3999
4151
  readonly "textLimit"?: number;
4000
4152
  };
4001
4153
  export type WorkCommentsGetOutput = {
4002
- readonly "comment": Objects_86;
4154
+ readonly "comment": Objects_92;
4003
4155
  readonly "snapshotSequence": number;
4004
4156
  };
4005
4157
  export type WorkHistoryListInput = {
@@ -4027,8 +4179,8 @@ export type WorkHistoryListOutput = {
4027
4179
  readonly "newRevision": number | null;
4028
4180
  } | {
4029
4181
  readonly "field": "state";
4030
- readonly "old": Objects_87 | null;
4031
- readonly "new": Objects_87 | null;
4182
+ readonly "old": Objects_93 | null;
4183
+ readonly "new": Objects_93 | null;
4032
4184
  } | {
4033
4185
  readonly "field": "assignees" | "mentions";
4034
4186
  readonly "old": ReadonlyArray<Union_44>;
@@ -4095,16 +4247,16 @@ export type WorkItemsClaimOutput = {
4095
4247
  };
4096
4248
  readonly "replayed"?: boolean;
4097
4249
  };
4098
- export type WorkRelationsAddInput = Objects_88;
4250
+ export type WorkRelationsAddInput = Objects_94;
4099
4251
  export type WorkRelationsAddOutput = {
4100
4252
  readonly "sequence": number;
4101
- readonly "result": Objects_89;
4253
+ readonly "result": Objects_95;
4102
4254
  readonly "replayed"?: boolean;
4103
4255
  };
4104
- export type WorkRelationsRemoveInput = Objects_88;
4256
+ export type WorkRelationsRemoveInput = Objects_94;
4105
4257
  export type WorkRelationsRemoveOutput = {
4106
4258
  readonly "sequence": number;
4107
- readonly "result": Objects_89;
4259
+ readonly "result": Objects_95;
4108
4260
  readonly "replayed"?: boolean;
4109
4261
  };
4110
4262
  export type WorkCommentsPostInput = {
@@ -4129,36 +4281,36 @@ export type ThreadsInteractionModeSetInput = {
4129
4281
  readonly "threadId": string;
4130
4282
  readonly "interactionMode": "default" | "plan";
4131
4283
  };
4132
- export type ThreadsInteractionModeSetOutput = Objects_90;
4284
+ export type ThreadsInteractionModeSetOutput = Objects_96;
4133
4285
  export type ThreadsNativeModeSetInput = {
4134
4286
  readonly "requestId"?: string;
4135
4287
  readonly "threadId": string;
4136
4288
  readonly "nativeModeId": string;
4137
4289
  };
4138
- export type ThreadsNativeModeSetOutput = Objects_90;
4290
+ export type ThreadsNativeModeSetOutput = Objects_96;
4139
4291
  export type ThreadsRuntimeModeSetInput = {
4140
4292
  readonly "requestId"?: string;
4141
4293
  readonly "threadId": string;
4142
4294
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4143
4295
  };
4144
- export type ThreadsRuntimeModeSetOutput = Objects_90;
4296
+ export type ThreadsRuntimeModeSetOutput = Objects_96;
4145
4297
  export type ThreadsContextCompactInput = {
4146
4298
  readonly "requestId"?: string;
4147
4299
  readonly "threadId": string;
4148
4300
  };
4149
- export type ThreadsContextCompactOutput = Objects_90;
4301
+ export type ThreadsContextCompactOutput = Objects_96;
4150
4302
  export type PluginsSelfdevPromoteInput = {
4151
4303
  readonly "requestId"?: string;
4152
4304
  readonly "threadId": string;
4153
4305
  readonly "pluginId": string;
4154
4306
  };
4155
- export type PluginsSelfdevPromoteOutput = Objects_90;
4307
+ export type PluginsSelfdevPromoteOutput = Objects_96;
4156
4308
  export type PluginsSelfdevStopInput = {
4157
4309
  readonly "requestId"?: string;
4158
4310
  readonly "threadId": string;
4159
4311
  readonly "pluginId": string;
4160
4312
  };
4161
- export type PluginsSelfdevStopOutput = Objects_90;
4313
+ export type PluginsSelfdevStopOutput = Objects_96;
4162
4314
  export type ThreadsShellCommandRecordInput = {
4163
4315
  readonly "requestId"?: string;
4164
4316
  readonly "threadId": string;
@@ -4166,7 +4318,7 @@ export type ThreadsShellCommandRecordInput = {
4166
4318
  readonly "terminalId": string;
4167
4319
  readonly "cwd": string;
4168
4320
  };
4169
- export type ThreadsShellCommandRecordOutput = Objects_90;
4321
+ export type ThreadsShellCommandRecordOutput = Objects_96;
4170
4322
  export type ThreadsTurnIntentsEditInput = {
4171
4323
  readonly "requestId"?: string;
4172
4324
  readonly "threadId": string;
@@ -4180,7 +4332,7 @@ export type ThreadsTurnIntentsEditInput = {
4180
4332
  readonly "mimeType": string;
4181
4333
  readonly "sizeBytes": number;
4182
4334
  readonly "dataUrl": string;
4183
- readonly "source"?: Objects_91;
4335
+ readonly "source"?: Objects_97;
4184
4336
  } | {
4185
4337
  readonly "type": "file";
4186
4338
  readonly "name": string;
@@ -4193,7 +4345,7 @@ export type ThreadsTurnIntentsEditInput = {
4193
4345
  readonly "name": string;
4194
4346
  readonly "mimeType": string;
4195
4347
  readonly "sizeBytes": number;
4196
- readonly "source"?: Objects_91 | Objects_93;
4348
+ readonly "source"?: Objects_97 | Objects_99;
4197
4349
  } | {
4198
4350
  readonly "type": "file";
4199
4351
  readonly "id": string;
@@ -4202,7 +4354,7 @@ export type ThreadsTurnIntentsEditInput = {
4202
4354
  readonly "sizeBytes": number;
4203
4355
  readonly "source"?: {
4204
4356
  readonly "_tag": "pasted-text";
4205
- } | Objects_93 | {
4357
+ } | Objects_99 | {
4206
4358
  readonly "_tag": "thread-reference";
4207
4359
  readonly "environmentId": string;
4208
4360
  readonly "threadId": string;
@@ -4221,18 +4373,18 @@ export type ThreadsTurnIntentsReorderInput = {
4221
4373
  readonly "intentId": string;
4222
4374
  readonly "beforeIntentId": string | null;
4223
4375
  };
4224
- export type ThreadsTurnIntentsReorderOutput = Objects_90;
4376
+ export type ThreadsTurnIntentsReorderOutput = Objects_96;
4225
4377
  export type ThreadsTurnQueuePauseInput = {
4226
4378
  readonly "requestId"?: string;
4227
4379
  readonly "threadId": string;
4228
4380
  };
4229
- export type ThreadsTurnQueuePauseOutput = Objects_90;
4381
+ export type ThreadsTurnQueuePauseOutput = Objects_96;
4230
4382
  export type ThreadsUserInputDismissInput = {
4231
4383
  readonly "requestId"?: string;
4232
4384
  readonly "threadId": string;
4233
4385
  readonly "userInputRequestId": string;
4234
4386
  };
4235
- export type ThreadsUserInputDismissOutput = Objects_90;
4387
+ export type ThreadsUserInputDismissOutput = Objects_96;
4236
4388
  export type ThreadsDecisionsRespondInput = {
4237
4389
  readonly "requestId"?: string;
4238
4390
  readonly "threadId": string;
@@ -4240,52 +4392,52 @@ export type ThreadsDecisionsRespondInput = {
4240
4392
  readonly "optionId": string;
4241
4393
  readonly "reason"?: string;
4242
4394
  };
4243
- export type ThreadsDecisionsRespondOutput = Objects_90;
4395
+ export type ThreadsDecisionsRespondOutput = Objects_96;
4244
4396
  export type ThreadsSnoozeInput = {
4245
4397
  readonly "requestId"?: string;
4246
4398
  readonly "threadId": string;
4247
4399
  readonly "snoozedUntil": string;
4248
4400
  };
4249
- export type ThreadsSnoozeOutput = Objects_90;
4401
+ export type ThreadsSnoozeOutput = Objects_96;
4250
4402
  export type ThreadsUnsnoozeInput = {
4251
4403
  readonly "requestId"?: string;
4252
4404
  readonly "threadId": string;
4253
4405
  readonly "reason": "user";
4254
4406
  };
4255
- export type ThreadsUnsnoozeOutput = Objects_90;
4407
+ export type ThreadsUnsnoozeOutput = Objects_96;
4256
4408
  export type ThreadsReorderInput = {
4257
4409
  readonly "requestId"?: string;
4258
4410
  readonly "threadId": string;
4259
4411
  readonly "orderKey": string;
4260
4412
  };
4261
- export type ThreadsReorderOutput = Objects_90;
4413
+ export type ThreadsReorderOutput = Objects_96;
4262
4414
  export type ThreadsDeleteInput = {
4263
4415
  readonly "requestId"?: string;
4264
4416
  readonly "threadId": string;
4265
4417
  };
4266
- export type ThreadsDeleteOutput = Objects_90;
4418
+ export type ThreadsDeleteOutput = Objects_96;
4267
4419
  export type ThreadsArchiveInput = {
4268
4420
  readonly "requestId"?: string;
4269
4421
  readonly "threadId": string;
4270
4422
  };
4271
- export type ThreadsArchiveOutput = Objects_90;
4423
+ export type ThreadsArchiveOutput = Objects_96;
4272
4424
  export type ThreadsUnarchiveInput = {
4273
4425
  readonly "requestId"?: string;
4274
4426
  readonly "threadId": string;
4275
4427
  };
4276
- export type ThreadsUnarchiveOutput = Objects_90;
4428
+ export type ThreadsUnarchiveOutput = Objects_96;
4277
4429
  export type ThreadsSettleInput = {
4278
4430
  readonly "requestId"?: string;
4279
4431
  readonly "threadId": string;
4280
4432
  readonly "discardQueued"?: boolean;
4281
4433
  };
4282
- export type ThreadsSettleOutput = Objects_90;
4434
+ export type ThreadsSettleOutput = Objects_96;
4283
4435
  export type ThreadsUnsettleInput = {
4284
4436
  readonly "requestId"?: string;
4285
4437
  readonly "threadId": string;
4286
4438
  readonly "reason": "user";
4287
4439
  };
4288
- export type ThreadsUnsettleOutput = Objects_90;
4440
+ export type ThreadsUnsettleOutput = Objects_96;
4289
4441
  export type ThreadsCreateInput = {
4290
4442
  readonly "requestId"?: string;
4291
4443
  readonly "threadId": string;
@@ -4315,7 +4467,7 @@ export type ThreadsCreateInput = {
4315
4467
  };
4316
4468
  readonly "presetId"?: string;
4317
4469
  };
4318
- export type ThreadsCreateOutput = Objects_90;
4470
+ export type ThreadsCreateOutput = Objects_96;
4319
4471
  export type ThreadsForkInput = {
4320
4472
  readonly "requestId"?: string;
4321
4473
  readonly "threadId": string;
@@ -4324,7 +4476,7 @@ export type ThreadsForkInput = {
4324
4476
  readonly "startFolderId"?: string;
4325
4477
  readonly "folderIds"?: ReadonlyArray<string>;
4326
4478
  };
4327
- export type ThreadsForkOutput = Objects_90;
4479
+ export type ThreadsForkOutput = Objects_96;
4328
4480
  export type ThreadsImportInput = {
4329
4481
  readonly "requestId"?: string;
4330
4482
  readonly "threadId": string;
@@ -4368,7 +4520,7 @@ export type ThreadsImportInput = {
4368
4520
  readonly "createdAt": string;
4369
4521
  }>;
4370
4522
  };
4371
- export type ThreadsImportOutput = Objects_90;
4523
+ export type ThreadsImportOutput = Objects_96;
4372
4524
  export type ThreadsExternalMessagesAppendInput = {
4373
4525
  readonly "requestId"?: string;
4374
4526
  readonly "threadId": string;
@@ -4404,7 +4556,7 @@ export type ThreadsExternalMessagesAppendInput = {
4404
4556
  readonly "createdAt": string;
4405
4557
  }>;
4406
4558
  };
4407
- export type ThreadsExternalMessagesAppendOutput = Objects_90;
4559
+ export type ThreadsExternalMessagesAppendOutput = Objects_96;
4408
4560
  export type ThreadsUpdateInput = {
4409
4561
  readonly "threadId": string;
4410
4562
  readonly "requestId"?: string;
@@ -4415,14 +4567,14 @@ export type ThreadsUpdateInput = {
4415
4567
  readonly "model": string;
4416
4568
  readonly "options"?: Union_31;
4417
4569
  };
4418
- readonly "executionSelection"?: Objects_94 | null;
4570
+ readonly "executionSelection"?: Objects_100 | null;
4419
4571
  readonly "branch"?: string | null;
4420
4572
  readonly "expectedBranch"?: string | null;
4421
4573
  readonly "worktreePath"?: string | null;
4422
- readonly "linkedPullRequest"?: Objects_95 | null;
4574
+ readonly "linkedPullRequest"?: Objects_101 | null;
4423
4575
  readonly "presetId"?: string | null;
4424
4576
  };
4425
- export type ThreadsUpdateOutput = Objects_90;
4577
+ export type ThreadsUpdateOutput = Objects_96;
4426
4578
  export type ThreadsTurnsStartInput = {
4427
4579
  readonly "requestId"?: string;
4428
4580
  readonly "threadId": string;
@@ -4436,7 +4588,7 @@ export type ThreadsTurnsStartInput = {
4436
4588
  readonly "mimeType": string;
4437
4589
  readonly "sizeBytes": number;
4438
4590
  readonly "dataUrl": string;
4439
- readonly "source"?: Objects_96;
4591
+ readonly "source"?: Objects_102;
4440
4592
  } | {
4441
4593
  readonly "type": "file";
4442
4594
  readonly "name": string;
@@ -4449,7 +4601,7 @@ export type ThreadsTurnsStartInput = {
4449
4601
  readonly "name": string;
4450
4602
  readonly "mimeType": string;
4451
4603
  readonly "sizeBytes": number;
4452
- readonly "source"?: Objects_96 | Objects_98;
4604
+ readonly "source"?: Objects_102 | Objects_104;
4453
4605
  } | {
4454
4606
  readonly "type": "file";
4455
4607
  readonly "id": string;
@@ -4458,7 +4610,7 @@ export type ThreadsTurnsStartInput = {
4458
4610
  readonly "sizeBytes": number;
4459
4611
  readonly "source"?: {
4460
4612
  readonly "_tag": "pasted-text";
4461
- } | Objects_98 | {
4613
+ } | Objects_104 | {
4462
4614
  readonly "_tag": "thread-reference";
4463
4615
  readonly "environmentId": string;
4464
4616
  readonly "threadId": string;
@@ -4577,11 +4729,11 @@ export type ThreadsUserInputRespondInput = {
4577
4729
  readonly "height": number;
4578
4730
  };
4579
4731
  readonly "truncated": boolean;
4580
- readonly "root": Objects_99;
4732
+ readonly "root": Objects_105;
4581
4733
  };
4582
4734
  readonly "appIdentifier"?: string;
4583
4735
  readonly "appIconDataUrl"?: string;
4584
- } | Objects_100;
4736
+ } | Objects_106;
4585
4737
  } | {
4586
4738
  readonly "type": "file";
4587
4739
  readonly "id": string;
@@ -4590,7 +4742,7 @@ export type ThreadsUserInputRespondInput = {
4590
4742
  readonly "sizeBytes": number;
4591
4743
  readonly "source"?: {
4592
4744
  readonly "_tag": "pasted-text";
4593
- } | Objects_100 | {
4745
+ } | Objects_106 | {
4594
4746
  readonly "_tag": "thread-reference";
4595
4747
  readonly "environmentId": string;
4596
4748
  readonly "threadId": string;
@@ -4598,20 +4750,20 @@ export type ThreadsUserInputRespondInput = {
4598
4750
  }>;
4599
4751
  };
4600
4752
  };
4601
- export type ThreadsUserInputRespondOutput = Objects_90;
4753
+ export type ThreadsUserInputRespondOutput = Objects_96;
4602
4754
  export type ThreadsTurnsInterruptInput = {
4603
4755
  readonly "requestId"?: string;
4604
4756
  readonly "threadId": string;
4605
4757
  readonly "turnId"?: string;
4606
4758
  };
4607
- export type ThreadsTurnsInterruptOutput = Objects_90;
4759
+ export type ThreadsTurnsInterruptOutput = Objects_96;
4608
4760
  export type ThreadsSessionStopInput = {
4609
4761
  readonly "requestId"?: string;
4610
4762
  readonly "threadId": string;
4611
4763
  readonly "onlyIfSettled"?: boolean;
4612
4764
  readonly "onlyIfNoTurnInFlight"?: boolean;
4613
4765
  };
4614
- export type ThreadsSessionStopOutput = Objects_90;
4766
+ export type ThreadsSessionStopOutput = Objects_96;
4615
4767
  export type ApprovalsRespondInput = {
4616
4768
  readonly "requestId"?: string;
4617
4769
  readonly "threadId": string;
@@ -4619,7 +4771,7 @@ export type ApprovalsRespondInput = {
4619
4771
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
4620
4772
  readonly "reason"?: string;
4621
4773
  };
4622
- export type ApprovalsRespondOutput = Objects_90;
4774
+ export type ApprovalsRespondOutput = Objects_96;
4623
4775
  export type ThreadsTurnIntentsRunInput = {
4624
4776
  readonly "requestId"?: string;
4625
4777
  readonly "threadId": string;
@@ -4627,7 +4779,7 @@ export type ThreadsTurnIntentsRunInput = {
4627
4779
  readonly "mode": "steer" | "interrupt";
4628
4780
  readonly "expectedTurnId"?: string | null;
4629
4781
  };
4630
- export type ThreadsTurnIntentsRunOutput = Objects_90;
4782
+ export type ThreadsTurnIntentsRunOutput = Objects_96;
4631
4783
  export type ThreadsTurnIntentsCancelInput = {
4632
4784
  readonly "requestId"?: string;
4633
4785
  readonly "threadId": string;
@@ -4635,12 +4787,12 @@ export type ThreadsTurnIntentsCancelInput = {
4635
4787
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
4636
4788
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
4637
4789
  };
4638
- export type ThreadsTurnIntentsCancelOutput = Objects_90;
4790
+ export type ThreadsTurnIntentsCancelOutput = Objects_96;
4639
4791
  export type ThreadsTurnQueueResumeInput = {
4640
4792
  readonly "requestId"?: string;
4641
4793
  readonly "threadId": string;
4642
4794
  };
4643
- export type ThreadsTurnQueueResumeOutput = Objects_90;
4795
+ export type ThreadsTurnQueueResumeOutput = Objects_96;
4644
4796
  export type ProjectsUpdateInput = {
4645
4797
  readonly "requestId"?: string;
4646
4798
  readonly "projectId": string;
@@ -4660,35 +4812,35 @@ export type ProjectsUpdateInput = {
4660
4812
  readonly "autoOpenPreview"?: boolean;
4661
4813
  }>;
4662
4814
  };
4663
- export type ProjectsUpdateOutput = Objects_90;
4815
+ export type ProjectsUpdateOutput = Objects_96;
4664
4816
  export type ProjectsArchiveInput = {
4665
4817
  readonly "requestId"?: string;
4666
4818
  readonly "projectId": string;
4667
4819
  };
4668
- export type ProjectsArchiveOutput = Objects_90;
4820
+ export type ProjectsArchiveOutput = Objects_96;
4669
4821
  export type ProjectsUnarchiveInput = {
4670
4822
  readonly "requestId"?: string;
4671
4823
  readonly "projectId": string;
4672
4824
  };
4673
- export type ProjectsUnarchiveOutput = Objects_90;
4825
+ export type ProjectsUnarchiveOutput = Objects_96;
4674
4826
  export type ProjectsDeleteInput = {
4675
4827
  readonly "requestId"?: string;
4676
4828
  readonly "projectId": string;
4677
4829
  readonly "force"?: boolean;
4678
4830
  };
4679
- export type ProjectsDeleteOutput = Objects_90;
4831
+ export type ProjectsDeleteOutput = Objects_96;
4680
4832
  export type ProjectsReorderInput = {
4681
4833
  readonly "requestId"?: string;
4682
4834
  readonly "projectId": string;
4683
4835
  readonly "orderKey": string;
4684
4836
  };
4685
- export type ProjectsReorderOutput = Objects_90;
4837
+ export type ProjectsReorderOutput = Objects_96;
4686
4838
  export type ProjectsFoldersDetachInput = {
4687
4839
  readonly "requestId"?: string;
4688
4840
  readonly "projectId": string;
4689
4841
  readonly "folderId": string;
4690
4842
  };
4691
- export type ProjectsFoldersDetachOutput = Objects_90;
4843
+ export type ProjectsFoldersDetachOutput = Objects_96;
4692
4844
  export type ProjectsToolkitsSetInput = {
4693
4845
  readonly "projectId": string;
4694
4846
  readonly "toolkit": "board" | "memory" | "messages";
@@ -4734,10 +4886,10 @@ export type ProjectsCloneStartOutput = {
4734
4886
  readonly "projectId": string;
4735
4887
  readonly "folderId": string;
4736
4888
  };
4737
- export type ProjectsCloneRetryInput = Objects_101;
4738
- export type ProjectsCloneRetryOutput = Objects_102;
4739
- export type ProjectsCloneCancelInput = Objects_101;
4740
- export type ProjectsCloneCancelOutput = Objects_102;
4889
+ export type ProjectsCloneRetryInput = Objects_107;
4890
+ export type ProjectsCloneRetryOutput = Objects_108;
4891
+ export type ProjectsCloneCancelInput = Objects_107;
4892
+ export type ProjectsCloneCancelOutput = Objects_108;
4741
4893
  export type ProjectsCreateInput = {
4742
4894
  readonly "requestId"?: string;
4743
4895
  readonly "projectId": string;
@@ -4747,13 +4899,13 @@ export type ProjectsCreateInput = {
4747
4899
  readonly "defaultModelSelection"?: Objects_44 | null;
4748
4900
  readonly "homeEnvironmentId"?: string;
4749
4901
  };
4750
- export type ProjectsCreateOutput = Objects_90;
4902
+ export type ProjectsCreateOutput = Objects_96;
4751
4903
  export type ProjectsFoldersAttachInput = {
4752
4904
  readonly "requestId"?: string;
4753
4905
  readonly "projectId": string;
4754
4906
  readonly "path": string;
4755
4907
  };
4756
- export type ProjectsFoldersAttachOutput = Objects_90;
4908
+ export type ProjectsFoldersAttachOutput = Objects_96;
4757
4909
  export type CommunicationPeopleCurrentInput = {};
4758
4910
  export type CommunicationPeopleCurrentOutput = {
4759
4911
  readonly "person": Union_27 | null;
@@ -4767,10 +4919,10 @@ export type ThreadsListEncodedOutput = {
4767
4919
  readonly "updatedAt": string;
4768
4920
  readonly "archivedAt": string | null;
4769
4921
  readonly "parentThreadId": string | null;
4770
- readonly "forkedFrom": Objects_103 | null;
4922
+ readonly "forkedFrom": Objects_109 | null;
4771
4923
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4772
4924
  readonly "interactionMode": "default" | "plan";
4773
- readonly "modelSelection": Objects_104;
4925
+ readonly "modelSelection": Objects_110;
4774
4926
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
4775
4927
  readonly "sessionFailureCategory"?: string;
4776
4928
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -4806,6 +4958,9 @@ export type ThreadsListEncodedOutput = {
4806
4958
  readonly "awaitingPersonReplyCount"?: number | undefined;
4807
4959
  readonly "pendingAsyncQuestionCount"?: number | undefined;
4808
4960
  readonly "preview"?: string | null | undefined;
4961
+ readonly "previewDeliveryCount"?: number | undefined;
4962
+ readonly "deliveredFileCount"?: number | undefined;
4963
+ readonly "latestDeliveryAt"?: string | null | undefined;
4809
4964
  readonly "hasPendingApprovals": boolean;
4810
4965
  readonly "hasPendingUserInput": boolean;
4811
4966
  readonly "hasActionableProposedPlan": boolean;
@@ -4821,8 +4976,8 @@ export type ThreadsListEncodedOutput = {
4821
4976
  };
4822
4977
  export type ThreadsArchivedListEncodedOutput = {
4823
4978
  readonly "snapshotSequence": number;
4824
- readonly "projects": ReadonlyArray<Objects_112>;
4825
- readonly "threads": ReadonlyArray<Objects_113>;
4979
+ readonly "projects": ReadonlyArray<Objects_118>;
4980
+ readonly "threads": ReadonlyArray<Objects_119>;
4826
4981
  readonly "updatedAt": string;
4827
4982
  };
4828
4983
  export type ThreadsHistoryEncodedOutput = {
@@ -4832,7 +4987,7 @@ export type ThreadsHistoryEncodedOutput = {
4832
4987
  readonly "id": string;
4833
4988
  readonly "projectId": string;
4834
4989
  readonly "title": string;
4835
- readonly "modelSelection": Objects_104;
4990
+ readonly "modelSelection": Objects_110;
4836
4991
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4837
4992
  readonly "interactionMode"?: "default" | "plan" | undefined;
4838
4993
  readonly "nativeModeId"?: string | null | undefined;
@@ -4840,12 +4995,12 @@ export type ThreadsHistoryEncodedOutput = {
4840
4995
  readonly "worktreePath": string | null;
4841
4996
  readonly "startFolderId"?: string | null | undefined;
4842
4997
  readonly "folderIds"?: ReadonlyArray<string> | undefined;
4843
- readonly "linkedPullRequest"?: Objects_95 | null | undefined;
4844
- readonly "origin"?: Objects_105 | null | undefined;
4845
- readonly "forkedFrom"?: Objects_103 | null | undefined;
4998
+ readonly "linkedPullRequest"?: Objects_101 | null | undefined;
4999
+ readonly "origin"?: Objects_111 | null | undefined;
5000
+ readonly "forkedFrom"?: Objects_109 | null | undefined;
4846
5001
  readonly "presetId"?: string | null | undefined;
4847
- readonly "createdBy"?: Objects_106 | null | undefined;
4848
- readonly "latestTurn": Objects_107 | null;
5002
+ readonly "createdBy"?: Objects_112 | null | undefined;
5003
+ readonly "latestTurn": Objects_113 | null;
4849
5004
  readonly "stopRequestedAt"?: string | null;
4850
5005
  readonly "createdAt": string;
4851
5006
  readonly "updatedAt": string;
@@ -4859,7 +5014,7 @@ export type ThreadsHistoryEncodedOutput = {
4859
5014
  readonly "pinOrderKey"?: string | null | undefined;
4860
5015
  readonly "sortOrderKey"?: string | null | undefined;
4861
5016
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
4862
- readonly "executionSelection"?: Objects_94 | undefined;
5017
+ readonly "executionSelection"?: Objects_100 | undefined;
4863
5018
  readonly "turnIntents"?: ReadonlyArray<{
4864
5019
  readonly "intentId": string;
4865
5020
  readonly "threadId": string;
@@ -4890,7 +5045,7 @@ export type ThreadsHistoryEncodedOutput = {
4890
5045
  readonly "binding"?: {
4891
5046
  readonly "bindingId": string;
4892
5047
  readonly "generation": number;
4893
- readonly "selection": Objects_94;
5048
+ readonly "selection": Objects_100;
4894
5049
  readonly "compatibility": {
4895
5050
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
4896
5051
  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";
@@ -4972,8 +5127,8 @@ export type ThreadsHistoryEncodedOutput = {
4972
5127
  }> | undefined;
4973
5128
  readonly "turnQueuePaused"?: boolean | undefined;
4974
5129
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
4975
- readonly "titleRegeneration"?: Objects_109 | null | undefined;
4976
- readonly "titleState"?: Objects_110 | null | undefined;
5130
+ readonly "titleRegeneration"?: Objects_115 | null | undefined;
5131
+ readonly "titleState"?: Objects_116 | null | undefined;
4977
5132
  readonly "deletedAt": string | null;
4978
5133
  readonly "messages": ReadonlyArray<{
4979
5134
  readonly "id": string;
@@ -5022,7 +5177,20 @@ export type ThreadsHistoryEncodedOutput = {
5022
5177
  readonly "assistantMessageId": string | null;
5023
5178
  readonly "completedAt": string;
5024
5179
  }>;
5025
- readonly "session": Objects_111 | null;
5180
+ readonly "turnSummaries"?: ReadonlyArray<{
5181
+ readonly "turnId": string;
5182
+ readonly "userMessageId"?: string;
5183
+ readonly "state": "running" | "interrupted" | "completed" | "error";
5184
+ readonly "startedAt": string | null;
5185
+ readonly "completedAt": string | null;
5186
+ readonly "waitSpans"?: ReadonlyArray<Objects_114>;
5187
+ readonly "modelSummary"?: {
5188
+ readonly "text": string;
5189
+ readonly "modelSelection": Objects_110;
5190
+ readonly "generatedAt": string;
5191
+ };
5192
+ }> | undefined;
5193
+ readonly "session": Objects_117 | null;
5026
5194
  };
5027
5195
  readonly "page"?: {
5028
5196
  readonly "beforeCursor": string | null;
@@ -5046,7 +5214,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5046
5214
  readonly "threadId": string;
5047
5215
  readonly "projectId": string;
5048
5216
  readonly "title": string;
5049
- readonly "modelSelection": Objects_104;
5217
+ readonly "modelSelection": Objects_110;
5050
5218
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5051
5219
  readonly "interactionMode"?: "default" | "plan" | undefined;
5052
5220
  readonly "branch": string | null;
@@ -5054,8 +5222,11 @@ export type ThreadsExecutionGetEncodedOutput = {
5054
5222
  readonly "createdAt": string;
5055
5223
  readonly "updatedAt": string;
5056
5224
  readonly "archivedAt"?: string | null | undefined;
5057
- readonly "origin": Objects_105 | null;
5058
- readonly "forkedFrom": Objects_103 | null;
5225
+ readonly "origin": Objects_111 | null;
5226
+ readonly "forkedFrom": {
5227
+ readonly "sourceThreadId": string;
5228
+ readonly "sourceMessageId": string;
5229
+ } | null;
5059
5230
  readonly "session": {
5060
5231
  readonly "activeTurnId": string | null;
5061
5232
  readonly "lastError": string | null;
@@ -5093,7 +5264,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5093
5264
  readonly "requestedAt": string;
5094
5265
  readonly "startedAt": string | null;
5095
5266
  readonly "completedAt": string | null;
5096
- readonly "waitSpans": ReadonlyArray<Objects_108>;
5267
+ readonly "waitSpans": ReadonlyArray<Objects_114>;
5097
5268
  } | null;
5098
5269
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5099
5270
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -5125,11 +5296,11 @@ export type ThreadsMessagesGetEncodedOutput = {
5125
5296
  readonly "text": string;
5126
5297
  readonly "turnId": string | null;
5127
5298
  readonly "createdAt": string;
5128
- readonly "modelSelection"?: Objects_104 | undefined;
5129
- readonly "source"?: Objects_116 | undefined;
5299
+ readonly "modelSelection"?: Objects_110 | undefined;
5300
+ readonly "source"?: Objects_122 | undefined;
5130
5301
  readonly "attachments": ReadonlyArray<Union_59>;
5131
5302
  } | null;
5132
- export type ThreadsGetEncodedOutput = Objects_113;
5303
+ export type ThreadsGetEncodedOutput = Objects_119;
5133
5304
  export type ThreadsMessagesListEncodedOutput = {
5134
5305
  readonly "items": ReadonlyArray<{
5135
5306
  readonly "id": string;
@@ -5163,8 +5334,8 @@ export type ThreadsMessagesListEncodedOutput = {
5163
5334
  readonly "snapshotSequence": number;
5164
5335
  readonly "total"?: number;
5165
5336
  };
5166
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_112>;
5167
- export type ProjectsGetEncodedOutput = Objects_112;
5337
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_118>;
5338
+ export type ProjectsGetEncodedOutput = Objects_118;
5168
5339
  export type MachineSettingsEditorsGetEncodedOutput = {
5169
5340
  readonly "availableEditors": ReadonlyArray<unknown>;
5170
5341
  readonly "editorDiscovery"?: unknown;
@@ -5184,7 +5355,7 @@ export type MachineSettingsGetEncodedOutput = {
5184
5355
  readonly "enableProviderUpdateChecks"?: boolean | undefined;
5185
5356
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
5186
5357
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
5187
- readonly "agentRouting"?: Objects_117 | undefined;
5358
+ readonly "agentRouting"?: Objects_123 | undefined;
5188
5359
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
5189
5360
  readonly "recordProviderWire"?: boolean | undefined;
5190
5361
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -5196,19 +5367,20 @@ export type MachineSettingsGetEncodedOutput = {
5196
5367
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined;
5197
5368
  readonly "newWorktreesStartFromOrigin"?: boolean | undefined;
5198
5369
  readonly "addProjectBaseDirectory"?: string | undefined;
5199
- readonly "textGenerationModelSelection"?: Objects_104 | null | undefined;
5370
+ readonly "autoTurnSummaries"?: boolean | undefined;
5371
+ readonly "textGenerationModelSelection"?: Objects_110 | null | undefined;
5200
5372
  readonly "sourceControlWritingStyle"?: {
5201
5373
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
5202
5374
  readonly "customInstructions"?: string | undefined;
5203
5375
  readonly "followChangeRequestTemplates"?: boolean | undefined;
5204
5376
  } | undefined;
5205
- readonly "sourceControlWriterModelSelection"?: Objects_104 | null | undefined;
5377
+ readonly "sourceControlWriterModelSelection"?: Objects_110 | null | undefined;
5206
5378
  readonly "defaultProxyId"?: string | null | undefined;
5207
5379
  readonly "wallpaper"?: {
5208
- readonly "base": Objects_118;
5209
- readonly "sidebar": Objects_118 | null;
5210
- readonly "workspace": Objects_118 | null;
5211
- readonly "chat": Objects_118 | null;
5380
+ readonly "base": Objects_124;
5381
+ readonly "sidebar": Objects_124 | null;
5382
+ readonly "workspace": Objects_124 | null;
5383
+ readonly "chat": Objects_124 | null;
5212
5384
  } | undefined;
5213
5385
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
5214
5386
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -5337,7 +5509,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
5337
5509
  };
5338
5510
  readonly "runtimeMaintenanceRoot"?: string;
5339
5511
  };
5340
- export type ProvidersRoutingGetEncodedOutput = Objects_117;
5512
+ export type ProvidersRoutingGetEncodedOutput = Objects_123;
5341
5513
  export type ProvidersSelectionResolveEncodedOutput = {
5342
5514
  readonly "modelSelection": Objects_44;
5343
5515
  };
@@ -5509,6 +5681,22 @@ export type PluginsInstalledListEncodedOutput = {
5509
5681
  readonly "executors"?: ReadonlyArray<unknown> | undefined;
5510
5682
  }>;
5511
5683
  };
5684
+ export type ThreadsArtifactsListEncodedOutput = {
5685
+ readonly "items": ReadonlyArray<{
5686
+ readonly "attachmentId": string;
5687
+ readonly "name": string;
5688
+ readonly "mimeType": string;
5689
+ readonly "sizeBytes": number;
5690
+ readonly "title"?: string | undefined;
5691
+ readonly "note"?: string | undefined;
5692
+ readonly "sourcePath": string;
5693
+ readonly "turnId": string | null;
5694
+ readonly "messageId": string;
5695
+ readonly "deliveredAt": string;
5696
+ readonly "modelSelection"?: Objects_110;
5697
+ }>;
5698
+ readonly "nextCursor": string | null;
5699
+ };
5512
5700
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
5513
5701
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
5514
5702
  export declare const THREAD_MESSAGES_LIST_LIMIT = 100;
@@ -5537,6 +5725,7 @@ export interface PluginDataPorts {
5537
5725
  readonly list: (input: ThreadsAgentsListInput) => Promise<ThreadsAgentsListOutput>;
5538
5726
  readonly get: (input: ThreadsAgentsGetInput) => Promise<ThreadsAgentsGetOutput>;
5539
5727
  };
5728
+ readonly getTurnChanges?: (input: ThreadsTurnChangesGetInput) => Promise<ThreadsTurnChangesGetOutput>;
5540
5729
  readonly toolCall: {
5541
5730
  readonly get: (input: ThreadsToolCallGetInput) => Promise<ThreadsToolCallGetOutput>;
5542
5731
  };
@@ -5561,6 +5750,10 @@ export interface PluginDataPorts {
5561
5750
  readonly activities: {
5562
5751
  readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
5563
5752
  };
5753
+ readonly artifacts: {
5754
+ readonly list: (input: ThreadsArtifactsListInput) => Promise<ThreadsArtifactsListOutput>;
5755
+ readonly deliver: (input: ThreadsArtifactsDeliverInput) => Promise<ThreadsArtifactsDeliverOutput>;
5756
+ };
5564
5757
  readonly interactionMode: {
5565
5758
  readonly set: (input: ThreadsInteractionModeSetInput) => Promise<ThreadsInteractionModeSetOutput>;
5566
5759
  };
@@ -5873,6 +6066,11 @@ export interface PluginViewerPorts {
5873
6066
  }
5874
6067
  /** 本次本机会话 agent 工具调用的代领端口(`invocation.asCaller`)。 */
5875
6068
  export interface PluginAsCallerPorts {
6069
+ readonly threads: {
6070
+ readonly artifacts: {
6071
+ readonly deliver: (input: ThreadsArtifactsDeliverInput) => Promise<ThreadsArtifactsDeliverOutput>;
6072
+ };
6073
+ };
5876
6074
  readonly work: {
5877
6075
  readonly items: {
5878
6076
  readonly claim: (input: Omit<WorkItemsClaimInput, "projectId"> & {
@@ -5919,6 +6117,10 @@ export interface PluginUiDataReads {
5919
6117
  readonly input: ThreadsAgentsGetInput;
5920
6118
  readonly output: ThreadsAgentsGetOutput;
5921
6119
  };
6120
+ readonly "threads.turn.changes.get": {
6121
+ readonly input: ThreadsTurnChangesGetInput;
6122
+ readonly output: ThreadsTurnChangesGetOutput;
6123
+ };
5922
6124
  readonly "threads.toolCall.get": {
5923
6125
  readonly input: ThreadsToolCallGetInput;
5924
6126
  readonly output: ThreadsToolCallGetOutput;
@@ -6131,6 +6333,10 @@ export interface PluginUiDataReads {
6131
6333
  readonly input: MemoryPageRevisionsGetInput;
6132
6334
  readonly output: MemoryPageRevisionsGetOutput;
6133
6335
  };
6336
+ readonly "threads.artifacts.list": {
6337
+ readonly input: ThreadsArtifactsListInput;
6338
+ readonly output: ThreadsArtifactsListEncodedOutput;
6339
+ };
6134
6340
  readonly "memory.handbook.get": {
6135
6341
  readonly input: MemoryHandbookGetInput;
6136
6342
  readonly output: MemoryHandbookGetOutput;