@ycodium-ai/plugin-api 0.2.3244 → 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";
@@ -475,16 +480,23 @@ type Objects_79 = {
475
480
  readonly "principalId": string;
476
481
  };
477
482
  type Arrays_15 = ReadonlyArray<string>;
478
- type Objects_81 = {
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 = {
479
491
  readonly "experienceId": string;
480
492
  readonly "revision": number;
481
493
  };
482
- type Objects_82 = {
494
+ type Objects_83 = {
483
495
  readonly "projectId": string;
484
496
  readonly "requestId"?: string;
485
497
  readonly "experienceId": string;
486
498
  };
487
- type Objects_83 = {
499
+ type Objects_84 = {
488
500
  readonly "sequence": number;
489
501
  readonly "result": {
490
502
  readonly "experienceId": string;
@@ -492,11 +504,11 @@ type Objects_83 = {
492
504
  };
493
505
  readonly "replayed"?: boolean;
494
506
  };
495
- type Objects_85 = {
507
+ type Objects_86 = {
496
508
  readonly "pageId": string;
497
509
  readonly "revision": number;
498
510
  };
499
- type Objects_87 = {
511
+ type Objects_88 = {
500
512
  readonly "kind": "handbook_decisions" | "handbook_rules" | "handbook_progress";
501
513
  readonly "pageId": string;
502
514
  readonly "revision": number;
@@ -505,40 +517,40 @@ type Union_42 = {
505
517
  readonly "experienceId": string;
506
518
  readonly "revision": number;
507
519
  } | null;
508
- type Objects_89 = {
520
+ type Objects_90 = {
509
521
  readonly "stateId": string;
510
522
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
511
523
  readonly "name": string;
512
524
  };
513
525
  type Arrays_18 = ReadonlyArray<string>;
514
526
  type Arrays_19 = ReadonlyArray<string>;
515
- type Objects_90 = {
527
+ type Objects_91 = {
516
528
  readonly "total": number;
517
529
  readonly "completed": number;
518
530
  readonly "cancelled": number;
519
531
  };
520
- type Objects_92 = {
532
+ type Objects_93 = {
521
533
  readonly "stateId": string;
522
534
  readonly "group": "backlog" | "unstarted" | "started" | "completed" | "cancelled";
523
535
  };
524
- type Objects_93 = {
536
+ type Objects_94 = {
525
537
  readonly "projectId": string;
526
538
  readonly "requestId"?: string;
527
539
  readonly "workItemId": string;
528
540
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
529
541
  readonly "relatedWorkItemId": string;
530
542
  };
531
- type Objects_94 = {
543
+ type Objects_95 = {
532
544
  readonly "workItemId": string;
533
545
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
534
546
  readonly "relatedWorkItemId": string;
535
547
  };
536
- type Objects_95 = {
548
+ type Objects_96 = {
537
549
  readonly "sequence": number;
538
550
  readonly "replayed"?: boolean;
539
551
  readonly "status": "accepted" | "noop";
540
552
  };
541
- type Objects_96 = {
553
+ type Objects_97 = {
542
554
  readonly "_tag": "snap-shot";
543
555
  readonly "capturedAt": string;
544
556
  readonly "appName": string;
@@ -556,24 +568,28 @@ type Objects_96 = {
556
568
  readonly "height": number;
557
569
  };
558
570
  readonly "truncated": boolean;
559
- readonly "root": Objects_97;
571
+ readonly "root": Objects_98;
560
572
  };
561
573
  readonly "appIdentifier"?: string;
562
574
  readonly "appIconDataUrl"?: string;
563
575
  };
564
- type Objects_98 = {
576
+ type Objects_99 = {
565
577
  readonly "_tag": "agent-artifact";
566
578
  readonly "sourcePath": string;
567
579
  readonly "linkBase"?: string;
568
580
  readonly "toolCallId"?: string;
581
+ readonly "title"?: string;
582
+ readonly "note"?: string;
583
+ readonly "delivered"?: true;
584
+ readonly "sha256"?: string;
569
585
  };
570
- type Objects_100 = {
586
+ type Objects_101 = {
571
587
  readonly "projectId": string;
572
588
  readonly "repository": string;
573
589
  readonly "number": number;
574
590
  readonly "url": string;
575
591
  };
576
- type Objects_101 = {
592
+ type Objects_102 = {
577
593
  readonly "_tag": "snap-shot";
578
594
  readonly "capturedAt": string;
579
595
  readonly "appName": string;
@@ -591,22 +607,30 @@ type Objects_101 = {
591
607
  readonly "height": number;
592
608
  };
593
609
  readonly "truncated": boolean;
594
- readonly "root": Objects_102;
610
+ readonly "root": Objects_103;
595
611
  };
596
612
  readonly "appIdentifier"?: string;
597
613
  readonly "appIconDataUrl"?: string;
598
614
  };
599
- type Objects_103 = {
615
+ type Objects_104 = {
600
616
  readonly "_tag": "agent-artifact";
601
617
  readonly "sourcePath": string;
602
618
  readonly "linkBase"?: string;
603
619
  readonly "toolCallId"?: string;
620
+ readonly "title"?: string;
621
+ readonly "note"?: string;
622
+ readonly "delivered"?: true;
623
+ readonly "sha256"?: string;
604
624
  };
605
- type Objects_105 = {
625
+ type Objects_106 = {
606
626
  readonly "_tag": "agent-artifact";
607
627
  readonly "sourcePath": string;
608
628
  readonly "linkBase"?: string;
609
629
  readonly "toolCallId"?: string;
630
+ readonly "title"?: string;
631
+ readonly "note"?: string;
632
+ readonly "delivered"?: true;
633
+ readonly "sha256"?: string;
610
634
  };
611
635
  type Union_45 = {
612
636
  readonly "kind": "lucide";
@@ -616,45 +640,46 @@ type Union_45 = {
616
640
  readonly "kind": "emoji";
617
641
  readonly "emoji": string;
618
642
  };
619
- type Objects_106 = {
643
+ type Objects_107 = {
620
644
  readonly "projectId": string;
621
645
  readonly "folderId": string;
622
646
  };
623
- type Objects_107 = {
647
+ type Objects_108 = {
624
648
  readonly "applied": boolean;
625
649
  };
626
- type Objects_108 = {
650
+ type Objects_109 = {
627
651
  readonly "sourceThreadId": string;
628
652
  readonly "sourceMessageId": string;
653
+ readonly "sourceTurnNumber"?: number;
629
654
  };
630
- type Objects_109 = {
655
+ type Objects_110 = {
631
656
  readonly "provider"?: unknown | undefined;
632
657
  readonly "instanceId"?: unknown | undefined;
633
658
  readonly "model": unknown;
634
659
  readonly "options"?: unknown | undefined;
635
660
  };
636
661
  type Union_47 = ReadonlyArray<string> | undefined;
637
- type Objects_110 = {
662
+ type Objects_111 = {
638
663
  readonly "parentThreadId": string;
639
664
  readonly "delegationDepth": number;
640
665
  readonly "requestedBy": "agent" | "continuation";
641
666
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
642
667
  };
643
- type Objects_111 = {
668
+ type Objects_112 = {
644
669
  readonly "userId": string;
645
670
  readonly "displayName": string;
646
671
  };
647
- type Objects_113 = {
672
+ type Objects_114 = {
648
673
  readonly "kind": "approval" | "userInput";
649
674
  readonly "requestId": string;
650
675
  readonly "startedAt": string;
651
676
  readonly "completedAt": string | null;
652
677
  };
653
- type Objects_114 = {
678
+ type Objects_115 = {
654
679
  readonly "requestId": string;
655
680
  readonly "startedAt": string;
656
681
  };
657
- type Objects_115 = {
682
+ type Objects_116 = {
658
683
  readonly "source": "manual" | "generated";
659
684
  readonly "version": string;
660
685
  readonly "needsRefinement": boolean;
@@ -675,13 +700,17 @@ type Union_58 = {
675
700
  readonly "turnId"?: string;
676
701
  readonly "generationId"?: string;
677
702
  } | null;
678
- type Objects_120 = {
703
+ type Objects_121 = {
679
704
  readonly "_tag": "agent-artifact";
680
705
  readonly "sourcePath": string;
681
706
  readonly "linkBase"?: string | undefined;
682
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;
683
712
  };
684
- type Objects_121 = {
713
+ type Objects_122 = {
685
714
  readonly "kind": "native-session";
686
715
  readonly "provider": "claude" | "codex";
687
716
  readonly "sessionId": string;
@@ -689,7 +718,7 @@ type Objects_121 = {
689
718
  readonly "turnId"?: string | undefined;
690
719
  readonly "order": number;
691
720
  };
692
- type Objects_122 = {
721
+ type Objects_123 = {
693
722
  readonly "roles"?: {
694
723
  readonly [x: string]: {
695
724
  readonly "instanceId": string;
@@ -698,7 +727,7 @@ type Objects_122 = {
698
727
  } | undefined;
699
728
  readonly "allowlistOnly"?: boolean | undefined;
700
729
  };
701
- type Objects_123 = {
730
+ type Objects_124 = {
702
731
  readonly "source": "none" | "custom" | "plugin";
703
732
  readonly "customId": string | null;
704
733
  readonly "pluginId": string | null;
@@ -717,7 +746,7 @@ type Objects_3 = {
717
746
  readonly "optionOverrides": Arrays_2;
718
747
  readonly "expectedRevisions": Objects_4;
719
748
  };
720
- type Objects_99 = {
749
+ type Objects_100 = {
721
750
  readonly "environmentId": string;
722
751
  readonly "runtimeId": string;
723
752
  readonly "sourceId": string;
@@ -747,7 +776,7 @@ type Objects_12 = {
747
776
  readonly "endReason"?: "server-restart" | undefined;
748
777
  readonly "updatedAt": string;
749
778
  };
750
- type Objects_116 = {
779
+ type Objects_117 = {
751
780
  readonly "threadId": string;
752
781
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
753
782
  readonly "providerName": string | null;
@@ -893,14 +922,14 @@ type Objects_70 = {
893
922
  readonly "redeemable"?: true;
894
923
  readonly "redeeming"?: true;
895
924
  };
896
- type Arrays_16 = ReadonlyArray<Objects_87>;
897
- type Objects_88 = {
925
+ type Arrays_16 = ReadonlyArray<Objects_88>;
926
+ type Objects_89 = {
898
927
  readonly "changed": boolean;
899
928
  readonly "release": number;
900
- readonly "pages": ReadonlyArray<Objects_87>;
929
+ readonly "pages": ReadonlyArray<Objects_88>;
901
930
  };
902
- type Union_48 = Objects_100 | null | undefined;
903
- type Objects_117 = {
931
+ type Union_48 = Objects_101 | null | undefined;
932
+ type Objects_118 = {
904
933
  readonly "id": string;
905
934
  readonly "title": string;
906
935
  readonly "workspaceRoot": string;
@@ -935,7 +964,7 @@ type Objects_117 = {
935
964
  readonly "owner"?: string;
936
965
  readonly "name"?: string;
937
966
  } | null | undefined;
938
- readonly "defaultModelSelection": Objects_109 | null;
967
+ readonly "defaultModelSelection": Objects_110 | null;
939
968
  readonly "defaultThreadEnvMode"?: "local" | "worktree" | null | undefined;
940
969
  readonly "faviconPath"?: string | null | undefined;
941
970
  readonly "projectIcon"?: Union_45 | null | undefined;
@@ -953,13 +982,13 @@ type Objects_117 = {
953
982
  readonly "updatedAt": string;
954
983
  readonly "archivedAt"?: string | null | undefined;
955
984
  };
956
- type Union_61 = Objects_109 | undefined;
957
- type Union_49 = Objects_110 | null | undefined;
958
- type Union_50 = Objects_111 | null | undefined;
959
- type Union_60 = Objects_111 | null | undefined;
960
- type Union_52 = ReadonlyArray<Objects_113> | undefined;
961
- type Union_53 = Objects_114 | null | undefined;
962
- type Union_54 = Objects_115 | 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;
963
992
  type Union_59 = {
964
993
  readonly "type": "image";
965
994
  readonly "id": string;
@@ -981,29 +1010,29 @@ type Union_59 = {
981
1010
  readonly "coordinateSpace": "captured-image";
982
1011
  readonly "imageSize": Objects_17;
983
1012
  readonly "truncated": boolean;
984
- readonly "root": Objects_119;
1013
+ readonly "root": Objects_120;
985
1014
  } | undefined;
986
1015
  readonly "appIdentifier"?: string | undefined;
987
1016
  readonly "appIconDataUrl"?: string | undefined;
988
- } | Objects_120 | undefined;
1017
+ } | Objects_121 | undefined;
989
1018
  } | {
990
1019
  readonly "type": "file";
991
1020
  readonly "id": string;
992
1021
  readonly "name": string;
993
1022
  readonly "mimeType": string;
994
1023
  readonly "sizeBytes": number;
995
- readonly "source"?: Objects_21 | Objects_120 | {
1024
+ readonly "source"?: Objects_21 | Objects_121 | {
996
1025
  readonly "_tag": "thread-reference";
997
1026
  readonly "environmentId": string;
998
1027
  readonly "threadId": string;
999
1028
  } | undefined;
1000
1029
  };
1001
- type Union_62 = Objects_121 | undefined;
1030
+ type Union_62 = Objects_122 | undefined;
1002
1031
  type Union_ = Arrays_ | Arrays_1;
1003
1032
  type Union_1 = Objects_3 | undefined;
1004
- type Union_46 = Objects_99 | undefined;
1033
+ type Union_46 = Objects_100 | undefined;
1005
1034
  type Union_10 = Objects_12 | null;
1006
- type Union_55 = Objects_116 | null;
1035
+ type Union_55 = Objects_117 | null;
1007
1036
  type Union_24 = ReadonlyArray<Union_16> | undefined;
1008
1037
  type Union_41 = Objects_77 | {
1009
1038
  readonly "kind": "local-cli";
@@ -1044,7 +1073,7 @@ type Objects_46 = {
1044
1073
  readonly "catalogId"?: string | undefined;
1045
1074
  readonly "oauth"?: Union_30;
1046
1075
  };
1047
- type Objects_112 = {
1076
+ type Objects_113 = {
1048
1077
  readonly "turnId": string;
1049
1078
  readonly "state": "running" | "interrupted" | "completed" | "error";
1050
1079
  readonly "requestedAt": string;
@@ -1052,7 +1081,7 @@ type Objects_112 = {
1052
1081
  readonly "completedAt": string | null;
1053
1082
  readonly "assistantMessageId": string | null;
1054
1083
  readonly "userMessageId"?: string | undefined;
1055
- readonly "modelSelection"?: Objects_109 | undefined;
1084
+ readonly "modelSelection"?: Objects_110 | undefined;
1056
1085
  readonly "sourceProposedPlan"?: {
1057
1086
  readonly "threadId": string;
1058
1087
  readonly "planId": string;
@@ -1087,7 +1116,7 @@ type Objects_25 = {
1087
1116
  readonly "nextCursor": string | null;
1088
1117
  readonly "snapshotSequence": number;
1089
1118
  };
1090
- type Objects_80 = {
1119
+ type Objects_81 = {
1091
1120
  readonly "experienceId": string;
1092
1121
  readonly "revision": number;
1093
1122
  readonly "baseRevision": number | null;
@@ -1097,7 +1126,7 @@ type Objects_80 = {
1097
1126
  readonly "bodyState": "present" | "erased" | "unavailable";
1098
1127
  readonly "bodyWindow"?: Objects_23;
1099
1128
  };
1100
- type Objects_84 = {
1129
+ type Objects_85 = {
1101
1130
  readonly "pageId": string;
1102
1131
  readonly "revision": number;
1103
1132
  readonly "baseRevision": number | null;
@@ -1110,7 +1139,7 @@ type Objects_84 = {
1110
1139
  readonly "bodyState": "present" | "erased" | "unavailable";
1111
1140
  readonly "bodyWindow"?: Objects_23;
1112
1141
  };
1113
- type Objects_86 = {
1142
+ type Objects_87 = {
1114
1143
  readonly "release": number;
1115
1144
  readonly "pages": Arrays_16;
1116
1145
  readonly "itemCount": number;
@@ -1122,7 +1151,7 @@ type Objects_86 = {
1122
1151
  readonly "publishedAt": string;
1123
1152
  };
1124
1153
  type Arrays_17 = ReadonlyArray<Union_44>;
1125
- type Objects_91 = {
1154
+ type Objects_92 = {
1126
1155
  readonly "commentId": string;
1127
1156
  readonly "workItemId": string;
1128
1157
  readonly "projectId": string;
@@ -1137,7 +1166,7 @@ type Objects_91 = {
1137
1166
  readonly "createdAt": string;
1138
1167
  readonly "editedAt": string | null;
1139
1168
  };
1140
- type Union_51 = Objects_112 | null;
1169
+ type Union_51 = Objects_113 | null;
1141
1170
  type Objects_8 = {
1142
1171
  readonly "turnId": string;
1143
1172
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -1234,6 +1263,7 @@ type Objects_32 = {
1234
1263
  readonly "defaultRuntimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1235
1264
  readonly "newWorktreesStartFromOrigin": boolean;
1236
1265
  readonly "addProjectBaseDirectory": string;
1266
+ readonly "autoTurnSummaries": boolean;
1237
1267
  readonly "textGenerationModelSelection": Objects_1 | null;
1238
1268
  readonly "sourceControlWritingStyle": {
1239
1269
  readonly "mode": "repo_conventions" | "conventional_commits" | "custom";
@@ -1314,11 +1344,11 @@ type Objects_32 = {
1314
1344
  };
1315
1345
  readonly "observability": Objects_42;
1316
1346
  };
1317
- type Objects_118 = {
1347
+ type Objects_119 = {
1318
1348
  readonly "id": string;
1319
1349
  readonly "projectId": string;
1320
1350
  readonly "title": string;
1321
- readonly "modelSelection": Objects_109;
1351
+ readonly "modelSelection": Objects_110;
1322
1352
  readonly "executionSelection"?: Union_46;
1323
1353
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1324
1354
  readonly "nativeModeId"?: string | null | undefined;
@@ -1329,7 +1359,7 @@ type Objects_118 = {
1329
1359
  readonly "folderIds"?: Union_47;
1330
1360
  readonly "linkedPullRequest"?: Union_48;
1331
1361
  readonly "origin"?: Union_49;
1332
- readonly "forkedFrom"?: Objects_108 | null | undefined;
1362
+ readonly "forkedFrom"?: Objects_109 | null | undefined;
1333
1363
  readonly "presetId"?: string | null | undefined;
1334
1364
  readonly "createdBy"?: Union_50;
1335
1365
  readonly "latestTurn": Union_51;
@@ -1354,6 +1384,9 @@ type Objects_118 = {
1354
1384
  readonly "awaitingPersonReplyCount"?: number | undefined;
1355
1385
  readonly "pendingAsyncQuestionCount"?: number | undefined;
1356
1386
  readonly "preview"?: string | null | undefined;
1387
+ readonly "previewDeliveryCount"?: number | undefined;
1388
+ readonly "deliveredFileCount"?: number | undefined;
1389
+ readonly "latestDeliveryAt"?: string | null | undefined;
1357
1390
  readonly "hasPendingApprovals": boolean;
1358
1391
  readonly "hasPendingUserInput": boolean;
1359
1392
  readonly "hasActionableProposedPlan": boolean;
@@ -1402,6 +1435,9 @@ type Objects_14 = {
1402
1435
  readonly "awaitingPersonReplyCount"?: number | undefined;
1403
1436
  readonly "pendingAsyncQuestionCount"?: number | undefined;
1404
1437
  readonly "preview"?: string | null | undefined;
1438
+ readonly "previewDeliveryCount"?: number | undefined;
1439
+ readonly "deliveredFileCount"?: number | undefined;
1440
+ readonly "latestDeliveryAt"?: string | null | undefined;
1405
1441
  readonly "hasPendingApprovals": boolean;
1406
1442
  readonly "hasPendingUserInput": boolean;
1407
1443
  readonly "hasActionableProposedPlan": boolean;
@@ -1434,7 +1470,7 @@ type Union_28 = {
1434
1470
  readonly "left": Union_28;
1435
1471
  readonly "right": Union_28;
1436
1472
  };
1437
- type Objects_97 = {
1473
+ type Objects_98 = {
1438
1474
  readonly "role": string;
1439
1475
  readonly "name"?: string;
1440
1476
  readonly "value"?: string;
@@ -1457,9 +1493,9 @@ type Objects_97 = {
1457
1493
  readonly "visible"?: boolean;
1458
1494
  };
1459
1495
  readonly "actions"?: ReadonlyArray<string>;
1460
- readonly "children": ReadonlyArray<Objects_97>;
1496
+ readonly "children": ReadonlyArray<Objects_98>;
1461
1497
  };
1462
- type Objects_102 = {
1498
+ type Objects_103 = {
1463
1499
  readonly "role": string;
1464
1500
  readonly "name"?: string;
1465
1501
  readonly "value"?: string;
@@ -1482,9 +1518,9 @@ type Objects_102 = {
1482
1518
  readonly "visible"?: boolean;
1483
1519
  };
1484
1520
  readonly "actions"?: ReadonlyArray<string>;
1485
- readonly "children": ReadonlyArray<Objects_102>;
1521
+ readonly "children": ReadonlyArray<Objects_103>;
1486
1522
  };
1487
- type Objects_104 = {
1523
+ type Objects_105 = {
1488
1524
  readonly "role": string;
1489
1525
  readonly "name"?: string;
1490
1526
  readonly "value"?: string;
@@ -1507,9 +1543,9 @@ type Objects_104 = {
1507
1543
  readonly "visible"?: boolean;
1508
1544
  };
1509
1545
  readonly "actions"?: ReadonlyArray<string>;
1510
- readonly "children": ReadonlyArray<Objects_104>;
1546
+ readonly "children": ReadonlyArray<Objects_105>;
1511
1547
  };
1512
- type Objects_119 = {
1548
+ type Objects_120 = {
1513
1549
  readonly "role": string;
1514
1550
  readonly "name"?: string;
1515
1551
  readonly "value"?: string;
@@ -1517,7 +1553,7 @@ type Objects_119 = {
1517
1553
  readonly "bounds": Union_17;
1518
1554
  readonly "state"?: Objects_19;
1519
1555
  readonly "actions"?: ReadonlyArray<string>;
1520
- readonly "children": ReadonlyArray<Objects_119>;
1556
+ readonly "children": ReadonlyArray<Objects_120>;
1521
1557
  };
1522
1558
  export type AuthRemoteAgentsListInput = {
1523
1559
  readonly "projectId": string;
@@ -1539,6 +1575,10 @@ export type ThreadsListInput = {
1539
1575
  readonly "include"?: ReadonlyArray<"summary" | "runtime">;
1540
1576
  readonly "projectId"?: string;
1541
1577
  readonly "parentThreadId"?: string;
1578
+ readonly "forkedFrom"?: {
1579
+ readonly "sourceThreadId": string;
1580
+ readonly "sourceMessageId"?: string;
1581
+ };
1542
1582
  readonly "archived"?: "exclude" | "include" | "only";
1543
1583
  readonly "cursor"?: string | null;
1544
1584
  readonly "limit"?: number;
@@ -1591,6 +1631,9 @@ export type ThreadsListOutput = {
1591
1631
  readonly "awaitingPersonReplyCount"?: number | undefined;
1592
1632
  readonly "pendingAsyncQuestionCount"?: number | undefined;
1593
1633
  readonly "preview"?: string | null | undefined;
1634
+ readonly "previewDeliveryCount"?: number | undefined;
1635
+ readonly "deliveredFileCount"?: number | undefined;
1636
+ readonly "latestDeliveryAt"?: string | null | undefined;
1594
1637
  readonly "hasPendingApprovals": boolean;
1595
1638
  readonly "hasPendingUserInput": boolean;
1596
1639
  readonly "hasActionableProposedPlan": boolean;
@@ -1821,6 +1864,19 @@ export type ThreadsHistoryOutput = {
1821
1864
  readonly "assistantMessageId": string | null;
1822
1865
  readonly "completedAt": string;
1823
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;
1824
1880
  readonly "session": Objects_12 | null;
1825
1881
  };
1826
1882
  readonly "page"?: {
@@ -1962,6 +2018,19 @@ export type ThreadsAgentsGetOutput = {
1962
2018
  readonly "errorWindow"?: Objects_23;
1963
2019
  };
1964
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
+ };
1965
2034
  export type ThreadsToolCallGetInput = {
1966
2035
  readonly "threadId": string;
1967
2036
  readonly "toolCallId": string;
@@ -2044,7 +2113,10 @@ export type ThreadsExecutionGetOutput = {
2044
2113
  readonly "updatedAt": string;
2045
2114
  readonly "archivedAt": string | null;
2046
2115
  readonly "origin": Objects_6 | null;
2047
- readonly "forkedFrom": Objects_ | null;
2116
+ readonly "forkedFrom": {
2117
+ readonly "sourceThreadId": string;
2118
+ readonly "sourceMessageId": string;
2119
+ } | null;
2048
2120
  readonly "session": {
2049
2121
  readonly "activeTurnId": string | null;
2050
2122
  readonly "lastError": string | null;
@@ -2625,6 +2697,7 @@ export type MachineSettingsUpdateInput = {
2625
2697
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2626
2698
  readonly "newWorktreesStartFromOrigin"?: boolean;
2627
2699
  readonly "addProjectBaseDirectory"?: string;
2700
+ readonly "autoTurnSummaries"?: boolean;
2628
2701
  readonly "textGenerationModelSelection"?: {
2629
2702
  readonly "instanceId"?: string;
2630
2703
  readonly "model"?: string;
@@ -3538,6 +3611,7 @@ export type SkillsReadOutput = {
3538
3611
  export type MemoryExperiencesListInput = {
3539
3612
  readonly "projectId": string;
3540
3613
  readonly "status"?: "active" | "forgotten" | "erased";
3614
+ readonly "order"?: "created" | "leastRecentlyUsed";
3541
3615
  readonly "cursor"?: string;
3542
3616
  readonly "limit"?: number;
3543
3617
  };
@@ -3553,6 +3627,7 @@ export type MemoryExperiencesListOutput = {
3553
3627
  readonly "updatedAt": string;
3554
3628
  readonly "supersedes": Arrays_15;
3555
3629
  readonly "bodyState": "present" | "erased" | "unavailable";
3630
+ readonly "usage"?: Objects_80;
3556
3631
  readonly "excerpt": string | null;
3557
3632
  }>;
3558
3633
  readonly "nextCursor": string | null;
@@ -3574,6 +3649,7 @@ export type MemoryExperiencesGetOutput = {
3574
3649
  readonly "updatedAt": string;
3575
3650
  readonly "supersedes": Arrays_15;
3576
3651
  readonly "bodyState": "present" | "erased" | "unavailable";
3652
+ readonly "usage"?: Objects_80;
3577
3653
  readonly "body": string | null;
3578
3654
  readonly "bodyWindow"?: Objects_23;
3579
3655
  readonly "forgottenAt": string | null;
@@ -3590,7 +3666,7 @@ export type MemoryExperiencesHistoryInput = {
3590
3666
  readonly "textLimit"?: number;
3591
3667
  };
3592
3668
  export type MemoryExperiencesHistoryOutput = {
3593
- readonly "items": ReadonlyArray<Objects_80>;
3669
+ readonly "items": ReadonlyArray<Objects_81>;
3594
3670
  readonly "nextCursor": string | null;
3595
3671
  };
3596
3672
  export type MemoryRevisionsGetInput = {
@@ -3600,7 +3676,7 @@ export type MemoryRevisionsGetInput = {
3600
3676
  readonly "textOffset"?: number;
3601
3677
  readonly "textLimit"?: number;
3602
3678
  };
3603
- export type MemoryRevisionsGetOutput = Objects_80;
3679
+ export type MemoryRevisionsGetOutput = Objects_81;
3604
3680
  export type MemorySearchInput = {
3605
3681
  readonly "projectId": string;
3606
3682
  readonly "text": string;
@@ -3636,7 +3712,7 @@ export type MemoryExperiencesRecordInput = {
3636
3712
  };
3637
3713
  export type MemoryExperiencesRecordOutput = {
3638
3714
  readonly "sequence": number;
3639
- readonly "result": Objects_81;
3715
+ readonly "result": Objects_82;
3640
3716
  readonly "replayed"?: boolean;
3641
3717
  };
3642
3718
  export type MemoryExperiencesReviseInput = {
@@ -3648,14 +3724,14 @@ export type MemoryExperiencesReviseInput = {
3648
3724
  };
3649
3725
  export type MemoryExperiencesReviseOutput = {
3650
3726
  readonly "sequence": number;
3651
- readonly "result": Objects_81;
3727
+ readonly "result": Objects_82;
3652
3728
  readonly "replayed"?: boolean;
3653
3729
  };
3654
- export type MemoryExperiencesForgetInput = Objects_82;
3655
- export type MemoryExperiencesForgetOutput = Objects_83;
3656
- export type MemoryExperiencesRestoreInput = Objects_82;
3657
- export type MemoryExperiencesRestoreOutput = Objects_83;
3658
- export type MemoryExperiencesEraseInput = Objects_82;
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;
3659
3735
  export type MemoryExperiencesEraseOutput = {
3660
3736
  readonly "sequence": number;
3661
3737
  readonly "result": {
@@ -3720,7 +3796,7 @@ export type MemoryPagesHistoryInput = {
3720
3796
  readonly "textLimit"?: number;
3721
3797
  };
3722
3798
  export type MemoryPagesHistoryOutput = {
3723
- readonly "items": ReadonlyArray<Objects_84>;
3799
+ readonly "items": ReadonlyArray<Objects_85>;
3724
3800
  readonly "nextCursor": string | null;
3725
3801
  };
3726
3802
  export type MemoryPageRevisionsGetInput = {
@@ -3730,7 +3806,7 @@ export type MemoryPageRevisionsGetInput = {
3730
3806
  readonly "textOffset"?: number;
3731
3807
  readonly "textLimit"?: number;
3732
3808
  };
3733
- export type MemoryPageRevisionsGetOutput = Objects_84;
3809
+ export type MemoryPageRevisionsGetOutput = Objects_85;
3734
3810
  export type MemoryPagesCreateInput = {
3735
3811
  readonly "projectId": string;
3736
3812
  readonly "requestId"?: string;
@@ -3743,7 +3819,7 @@ export type MemoryPagesCreateInput = {
3743
3819
  };
3744
3820
  export type MemoryPagesCreateOutput = {
3745
3821
  readonly "sequence": number;
3746
- readonly "result": Objects_85;
3822
+ readonly "result": Objects_86;
3747
3823
  readonly "replayed"?: boolean;
3748
3824
  };
3749
3825
  export type MemoryPagesEditInput = {
@@ -3757,7 +3833,7 @@ export type MemoryPagesEditInput = {
3757
3833
  };
3758
3834
  export type MemoryPagesEditOutput = {
3759
3835
  readonly "sequence": number;
3760
- readonly "result": Objects_85;
3836
+ readonly "result": Objects_86;
3761
3837
  readonly "replayed"?: boolean;
3762
3838
  };
3763
3839
  export type MemoryPagesRestoreInput = {
@@ -3769,7 +3845,7 @@ export type MemoryPagesRestoreInput = {
3769
3845
  };
3770
3846
  export type MemoryPagesRestoreOutput = {
3771
3847
  readonly "sequence": number;
3772
- readonly "result": Objects_85;
3848
+ readonly "result": Objects_86;
3773
3849
  readonly "replayed"?: boolean;
3774
3850
  };
3775
3851
  export type MemoryPagesEraseInput = {
@@ -3784,6 +3860,55 @@ export type MemoryPagesEraseOutput = {
3784
3860
  };
3785
3861
  readonly "replayed"?: boolean;
3786
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
+ };
3787
3912
  export type MemoryHandbookGetInput = {
3788
3913
  readonly "projectId": string;
3789
3914
  readonly "textOffset"?: number;
@@ -3791,8 +3916,8 @@ export type MemoryHandbookGetInput = {
3791
3916
  };
3792
3917
  export type MemoryHandbookGetOutput = {
3793
3918
  readonly "head": {
3794
- readonly "current": Objects_86;
3795
- readonly "pages": ReadonlyArray<Objects_84>;
3919
+ readonly "current": Objects_87;
3920
+ readonly "pages": ReadonlyArray<Objects_85>;
3796
3921
  } | null;
3797
3922
  };
3798
3923
  export type MemoryHandbookReleasesListInput = {
@@ -3801,7 +3926,7 @@ export type MemoryHandbookReleasesListInput = {
3801
3926
  readonly "limit"?: number;
3802
3927
  };
3803
3928
  export type MemoryHandbookReleasesListOutput = {
3804
- readonly "items": ReadonlyArray<Objects_86>;
3929
+ readonly "items": ReadonlyArray<Objects_87>;
3805
3930
  readonly "nextCursor": string | null;
3806
3931
  };
3807
3932
  export type MemoryHandbookReleasesGetInput = {
@@ -3842,7 +3967,7 @@ export type MemoryHandbookPublishInput = {
3842
3967
  };
3843
3968
  export type MemoryHandbookPublishOutput = {
3844
3969
  readonly "sequence": number;
3845
- readonly "result": Objects_88;
3970
+ readonly "result": Objects_89;
3846
3971
  readonly "replayed"?: boolean;
3847
3972
  };
3848
3973
  export type MemoryHandbookRevertInput = {
@@ -3854,7 +3979,7 @@ export type MemoryHandbookRevertInput = {
3854
3979
  };
3855
3980
  export type MemoryHandbookRevertOutput = {
3856
3981
  readonly "sequence": number;
3857
- readonly "result": Objects_88;
3982
+ readonly "result": Objects_89;
3858
3983
  readonly "replayed"?: boolean;
3859
3984
  };
3860
3985
  export type WorkRemoteAgentPendingGetInput = {
@@ -3915,7 +4040,7 @@ export type WorkItemsListOutput = {
3915
4040
  readonly "sequenceId": number;
3916
4041
  readonly "title": string | null;
3917
4042
  readonly "bodyState": "present" | "erased" | "unavailable";
3918
- readonly "state": Objects_89;
4043
+ readonly "state": Objects_90;
3919
4044
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
3920
4045
  readonly "assignees": Arrays_17;
3921
4046
  readonly "labelIds": Arrays_18;
@@ -3929,7 +4054,7 @@ export type WorkItemsListOutput = {
3929
4054
  readonly "revision": number;
3930
4055
  readonly "blockedBy": Arrays_19;
3931
4056
  readonly "blockedByTotal": number;
3932
- readonly "childCounts": Objects_90;
4057
+ readonly "childCounts": Objects_91;
3933
4058
  readonly "createdBy": Union_41;
3934
4059
  readonly "createdAt": string;
3935
4060
  readonly "updatedAt": string;
@@ -3957,7 +4082,7 @@ export type WorkItemsGetOutput = {
3957
4082
  readonly "sequenceId": number;
3958
4083
  readonly "title": string | null;
3959
4084
  readonly "bodyState": "present" | "erased" | "unavailable";
3960
- readonly "state": Objects_89;
4085
+ readonly "state": Objects_90;
3961
4086
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
3962
4087
  readonly "assignees": Arrays_17;
3963
4088
  readonly "labelIds": Arrays_18;
@@ -3971,7 +4096,7 @@ export type WorkItemsGetOutput = {
3971
4096
  readonly "revision": number;
3972
4097
  readonly "blockedBy": Arrays_19;
3973
4098
  readonly "blockedByTotal": number;
3974
- readonly "childCounts": Objects_90;
4099
+ readonly "childCounts": Objects_91;
3975
4100
  readonly "createdBy": Union_41;
3976
4101
  readonly "createdAt": string;
3977
4102
  readonly "updatedAt": string;
@@ -4015,7 +4140,7 @@ export type WorkCommentsListInput = {
4015
4140
  readonly "textLimit"?: number;
4016
4141
  };
4017
4142
  export type WorkCommentsListOutput = {
4018
- readonly "items": ReadonlyArray<Objects_91>;
4143
+ readonly "items": ReadonlyArray<Objects_92>;
4019
4144
  readonly "nextCursor": string | null;
4020
4145
  readonly "snapshotSequence": number;
4021
4146
  };
@@ -4026,7 +4151,7 @@ export type WorkCommentsGetInput = {
4026
4151
  readonly "textLimit"?: number;
4027
4152
  };
4028
4153
  export type WorkCommentsGetOutput = {
4029
- readonly "comment": Objects_91;
4154
+ readonly "comment": Objects_92;
4030
4155
  readonly "snapshotSequence": number;
4031
4156
  };
4032
4157
  export type WorkHistoryListInput = {
@@ -4054,8 +4179,8 @@ export type WorkHistoryListOutput = {
4054
4179
  readonly "newRevision": number | null;
4055
4180
  } | {
4056
4181
  readonly "field": "state";
4057
- readonly "old": Objects_92 | null;
4058
- readonly "new": Objects_92 | null;
4182
+ readonly "old": Objects_93 | null;
4183
+ readonly "new": Objects_93 | null;
4059
4184
  } | {
4060
4185
  readonly "field": "assignees" | "mentions";
4061
4186
  readonly "old": ReadonlyArray<Union_44>;
@@ -4122,16 +4247,16 @@ export type WorkItemsClaimOutput = {
4122
4247
  };
4123
4248
  readonly "replayed"?: boolean;
4124
4249
  };
4125
- export type WorkRelationsAddInput = Objects_93;
4250
+ export type WorkRelationsAddInput = Objects_94;
4126
4251
  export type WorkRelationsAddOutput = {
4127
4252
  readonly "sequence": number;
4128
- readonly "result": Objects_94;
4253
+ readonly "result": Objects_95;
4129
4254
  readonly "replayed"?: boolean;
4130
4255
  };
4131
- export type WorkRelationsRemoveInput = Objects_93;
4256
+ export type WorkRelationsRemoveInput = Objects_94;
4132
4257
  export type WorkRelationsRemoveOutput = {
4133
4258
  readonly "sequence": number;
4134
- readonly "result": Objects_94;
4259
+ readonly "result": Objects_95;
4135
4260
  readonly "replayed"?: boolean;
4136
4261
  };
4137
4262
  export type WorkCommentsPostInput = {
@@ -4156,36 +4281,36 @@ export type ThreadsInteractionModeSetInput = {
4156
4281
  readonly "threadId": string;
4157
4282
  readonly "interactionMode": "default" | "plan";
4158
4283
  };
4159
- export type ThreadsInteractionModeSetOutput = Objects_95;
4284
+ export type ThreadsInteractionModeSetOutput = Objects_96;
4160
4285
  export type ThreadsNativeModeSetInput = {
4161
4286
  readonly "requestId"?: string;
4162
4287
  readonly "threadId": string;
4163
4288
  readonly "nativeModeId": string;
4164
4289
  };
4165
- export type ThreadsNativeModeSetOutput = Objects_95;
4290
+ export type ThreadsNativeModeSetOutput = Objects_96;
4166
4291
  export type ThreadsRuntimeModeSetInput = {
4167
4292
  readonly "requestId"?: string;
4168
4293
  readonly "threadId": string;
4169
4294
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4170
4295
  };
4171
- export type ThreadsRuntimeModeSetOutput = Objects_95;
4296
+ export type ThreadsRuntimeModeSetOutput = Objects_96;
4172
4297
  export type ThreadsContextCompactInput = {
4173
4298
  readonly "requestId"?: string;
4174
4299
  readonly "threadId": string;
4175
4300
  };
4176
- export type ThreadsContextCompactOutput = Objects_95;
4301
+ export type ThreadsContextCompactOutput = Objects_96;
4177
4302
  export type PluginsSelfdevPromoteInput = {
4178
4303
  readonly "requestId"?: string;
4179
4304
  readonly "threadId": string;
4180
4305
  readonly "pluginId": string;
4181
4306
  };
4182
- export type PluginsSelfdevPromoteOutput = Objects_95;
4307
+ export type PluginsSelfdevPromoteOutput = Objects_96;
4183
4308
  export type PluginsSelfdevStopInput = {
4184
4309
  readonly "requestId"?: string;
4185
4310
  readonly "threadId": string;
4186
4311
  readonly "pluginId": string;
4187
4312
  };
4188
- export type PluginsSelfdevStopOutput = Objects_95;
4313
+ export type PluginsSelfdevStopOutput = Objects_96;
4189
4314
  export type ThreadsShellCommandRecordInput = {
4190
4315
  readonly "requestId"?: string;
4191
4316
  readonly "threadId": string;
@@ -4193,7 +4318,7 @@ export type ThreadsShellCommandRecordInput = {
4193
4318
  readonly "terminalId": string;
4194
4319
  readonly "cwd": string;
4195
4320
  };
4196
- export type ThreadsShellCommandRecordOutput = Objects_95;
4321
+ export type ThreadsShellCommandRecordOutput = Objects_96;
4197
4322
  export type ThreadsTurnIntentsEditInput = {
4198
4323
  readonly "requestId"?: string;
4199
4324
  readonly "threadId": string;
@@ -4207,7 +4332,7 @@ export type ThreadsTurnIntentsEditInput = {
4207
4332
  readonly "mimeType": string;
4208
4333
  readonly "sizeBytes": number;
4209
4334
  readonly "dataUrl": string;
4210
- readonly "source"?: Objects_96;
4335
+ readonly "source"?: Objects_97;
4211
4336
  } | {
4212
4337
  readonly "type": "file";
4213
4338
  readonly "name": string;
@@ -4220,7 +4345,7 @@ export type ThreadsTurnIntentsEditInput = {
4220
4345
  readonly "name": string;
4221
4346
  readonly "mimeType": string;
4222
4347
  readonly "sizeBytes": number;
4223
- readonly "source"?: Objects_96 | Objects_98;
4348
+ readonly "source"?: Objects_97 | Objects_99;
4224
4349
  } | {
4225
4350
  readonly "type": "file";
4226
4351
  readonly "id": string;
@@ -4229,7 +4354,7 @@ export type ThreadsTurnIntentsEditInput = {
4229
4354
  readonly "sizeBytes": number;
4230
4355
  readonly "source"?: {
4231
4356
  readonly "_tag": "pasted-text";
4232
- } | Objects_98 | {
4357
+ } | Objects_99 | {
4233
4358
  readonly "_tag": "thread-reference";
4234
4359
  readonly "environmentId": string;
4235
4360
  readonly "threadId": string;
@@ -4248,18 +4373,18 @@ export type ThreadsTurnIntentsReorderInput = {
4248
4373
  readonly "intentId": string;
4249
4374
  readonly "beforeIntentId": string | null;
4250
4375
  };
4251
- export type ThreadsTurnIntentsReorderOutput = Objects_95;
4376
+ export type ThreadsTurnIntentsReorderOutput = Objects_96;
4252
4377
  export type ThreadsTurnQueuePauseInput = {
4253
4378
  readonly "requestId"?: string;
4254
4379
  readonly "threadId": string;
4255
4380
  };
4256
- export type ThreadsTurnQueuePauseOutput = Objects_95;
4381
+ export type ThreadsTurnQueuePauseOutput = Objects_96;
4257
4382
  export type ThreadsUserInputDismissInput = {
4258
4383
  readonly "requestId"?: string;
4259
4384
  readonly "threadId": string;
4260
4385
  readonly "userInputRequestId": string;
4261
4386
  };
4262
- export type ThreadsUserInputDismissOutput = Objects_95;
4387
+ export type ThreadsUserInputDismissOutput = Objects_96;
4263
4388
  export type ThreadsDecisionsRespondInput = {
4264
4389
  readonly "requestId"?: string;
4265
4390
  readonly "threadId": string;
@@ -4267,52 +4392,52 @@ export type ThreadsDecisionsRespondInput = {
4267
4392
  readonly "optionId": string;
4268
4393
  readonly "reason"?: string;
4269
4394
  };
4270
- export type ThreadsDecisionsRespondOutput = Objects_95;
4395
+ export type ThreadsDecisionsRespondOutput = Objects_96;
4271
4396
  export type ThreadsSnoozeInput = {
4272
4397
  readonly "requestId"?: string;
4273
4398
  readonly "threadId": string;
4274
4399
  readonly "snoozedUntil": string;
4275
4400
  };
4276
- export type ThreadsSnoozeOutput = Objects_95;
4401
+ export type ThreadsSnoozeOutput = Objects_96;
4277
4402
  export type ThreadsUnsnoozeInput = {
4278
4403
  readonly "requestId"?: string;
4279
4404
  readonly "threadId": string;
4280
4405
  readonly "reason": "user";
4281
4406
  };
4282
- export type ThreadsUnsnoozeOutput = Objects_95;
4407
+ export type ThreadsUnsnoozeOutput = Objects_96;
4283
4408
  export type ThreadsReorderInput = {
4284
4409
  readonly "requestId"?: string;
4285
4410
  readonly "threadId": string;
4286
4411
  readonly "orderKey": string;
4287
4412
  };
4288
- export type ThreadsReorderOutput = Objects_95;
4413
+ export type ThreadsReorderOutput = Objects_96;
4289
4414
  export type ThreadsDeleteInput = {
4290
4415
  readonly "requestId"?: string;
4291
4416
  readonly "threadId": string;
4292
4417
  };
4293
- export type ThreadsDeleteOutput = Objects_95;
4418
+ export type ThreadsDeleteOutput = Objects_96;
4294
4419
  export type ThreadsArchiveInput = {
4295
4420
  readonly "requestId"?: string;
4296
4421
  readonly "threadId": string;
4297
4422
  };
4298
- export type ThreadsArchiveOutput = Objects_95;
4423
+ export type ThreadsArchiveOutput = Objects_96;
4299
4424
  export type ThreadsUnarchiveInput = {
4300
4425
  readonly "requestId"?: string;
4301
4426
  readonly "threadId": string;
4302
4427
  };
4303
- export type ThreadsUnarchiveOutput = Objects_95;
4428
+ export type ThreadsUnarchiveOutput = Objects_96;
4304
4429
  export type ThreadsSettleInput = {
4305
4430
  readonly "requestId"?: string;
4306
4431
  readonly "threadId": string;
4307
4432
  readonly "discardQueued"?: boolean;
4308
4433
  };
4309
- export type ThreadsSettleOutput = Objects_95;
4434
+ export type ThreadsSettleOutput = Objects_96;
4310
4435
  export type ThreadsUnsettleInput = {
4311
4436
  readonly "requestId"?: string;
4312
4437
  readonly "threadId": string;
4313
4438
  readonly "reason": "user";
4314
4439
  };
4315
- export type ThreadsUnsettleOutput = Objects_95;
4440
+ export type ThreadsUnsettleOutput = Objects_96;
4316
4441
  export type ThreadsCreateInput = {
4317
4442
  readonly "requestId"?: string;
4318
4443
  readonly "threadId": string;
@@ -4342,7 +4467,7 @@ export type ThreadsCreateInput = {
4342
4467
  };
4343
4468
  readonly "presetId"?: string;
4344
4469
  };
4345
- export type ThreadsCreateOutput = Objects_95;
4470
+ export type ThreadsCreateOutput = Objects_96;
4346
4471
  export type ThreadsForkInput = {
4347
4472
  readonly "requestId"?: string;
4348
4473
  readonly "threadId": string;
@@ -4351,7 +4476,7 @@ export type ThreadsForkInput = {
4351
4476
  readonly "startFolderId"?: string;
4352
4477
  readonly "folderIds"?: ReadonlyArray<string>;
4353
4478
  };
4354
- export type ThreadsForkOutput = Objects_95;
4479
+ export type ThreadsForkOutput = Objects_96;
4355
4480
  export type ThreadsImportInput = {
4356
4481
  readonly "requestId"?: string;
4357
4482
  readonly "threadId": string;
@@ -4395,7 +4520,7 @@ export type ThreadsImportInput = {
4395
4520
  readonly "createdAt": string;
4396
4521
  }>;
4397
4522
  };
4398
- export type ThreadsImportOutput = Objects_95;
4523
+ export type ThreadsImportOutput = Objects_96;
4399
4524
  export type ThreadsExternalMessagesAppendInput = {
4400
4525
  readonly "requestId"?: string;
4401
4526
  readonly "threadId": string;
@@ -4431,7 +4556,7 @@ export type ThreadsExternalMessagesAppendInput = {
4431
4556
  readonly "createdAt": string;
4432
4557
  }>;
4433
4558
  };
4434
- export type ThreadsExternalMessagesAppendOutput = Objects_95;
4559
+ export type ThreadsExternalMessagesAppendOutput = Objects_96;
4435
4560
  export type ThreadsUpdateInput = {
4436
4561
  readonly "threadId": string;
4437
4562
  readonly "requestId"?: string;
@@ -4442,14 +4567,14 @@ export type ThreadsUpdateInput = {
4442
4567
  readonly "model": string;
4443
4568
  readonly "options"?: Union_31;
4444
4569
  };
4445
- readonly "executionSelection"?: Objects_99 | null;
4570
+ readonly "executionSelection"?: Objects_100 | null;
4446
4571
  readonly "branch"?: string | null;
4447
4572
  readonly "expectedBranch"?: string | null;
4448
4573
  readonly "worktreePath"?: string | null;
4449
- readonly "linkedPullRequest"?: Objects_100 | null;
4574
+ readonly "linkedPullRequest"?: Objects_101 | null;
4450
4575
  readonly "presetId"?: string | null;
4451
4576
  };
4452
- export type ThreadsUpdateOutput = Objects_95;
4577
+ export type ThreadsUpdateOutput = Objects_96;
4453
4578
  export type ThreadsTurnsStartInput = {
4454
4579
  readonly "requestId"?: string;
4455
4580
  readonly "threadId": string;
@@ -4463,7 +4588,7 @@ export type ThreadsTurnsStartInput = {
4463
4588
  readonly "mimeType": string;
4464
4589
  readonly "sizeBytes": number;
4465
4590
  readonly "dataUrl": string;
4466
- readonly "source"?: Objects_101;
4591
+ readonly "source"?: Objects_102;
4467
4592
  } | {
4468
4593
  readonly "type": "file";
4469
4594
  readonly "name": string;
@@ -4476,7 +4601,7 @@ export type ThreadsTurnsStartInput = {
4476
4601
  readonly "name": string;
4477
4602
  readonly "mimeType": string;
4478
4603
  readonly "sizeBytes": number;
4479
- readonly "source"?: Objects_101 | Objects_103;
4604
+ readonly "source"?: Objects_102 | Objects_104;
4480
4605
  } | {
4481
4606
  readonly "type": "file";
4482
4607
  readonly "id": string;
@@ -4485,7 +4610,7 @@ export type ThreadsTurnsStartInput = {
4485
4610
  readonly "sizeBytes": number;
4486
4611
  readonly "source"?: {
4487
4612
  readonly "_tag": "pasted-text";
4488
- } | Objects_103 | {
4613
+ } | Objects_104 | {
4489
4614
  readonly "_tag": "thread-reference";
4490
4615
  readonly "environmentId": string;
4491
4616
  readonly "threadId": string;
@@ -4604,11 +4729,11 @@ export type ThreadsUserInputRespondInput = {
4604
4729
  readonly "height": number;
4605
4730
  };
4606
4731
  readonly "truncated": boolean;
4607
- readonly "root": Objects_104;
4732
+ readonly "root": Objects_105;
4608
4733
  };
4609
4734
  readonly "appIdentifier"?: string;
4610
4735
  readonly "appIconDataUrl"?: string;
4611
- } | Objects_105;
4736
+ } | Objects_106;
4612
4737
  } | {
4613
4738
  readonly "type": "file";
4614
4739
  readonly "id": string;
@@ -4617,7 +4742,7 @@ export type ThreadsUserInputRespondInput = {
4617
4742
  readonly "sizeBytes": number;
4618
4743
  readonly "source"?: {
4619
4744
  readonly "_tag": "pasted-text";
4620
- } | Objects_105 | {
4745
+ } | Objects_106 | {
4621
4746
  readonly "_tag": "thread-reference";
4622
4747
  readonly "environmentId": string;
4623
4748
  readonly "threadId": string;
@@ -4625,20 +4750,20 @@ export type ThreadsUserInputRespondInput = {
4625
4750
  }>;
4626
4751
  };
4627
4752
  };
4628
- export type ThreadsUserInputRespondOutput = Objects_95;
4753
+ export type ThreadsUserInputRespondOutput = Objects_96;
4629
4754
  export type ThreadsTurnsInterruptInput = {
4630
4755
  readonly "requestId"?: string;
4631
4756
  readonly "threadId": string;
4632
4757
  readonly "turnId"?: string;
4633
4758
  };
4634
- export type ThreadsTurnsInterruptOutput = Objects_95;
4759
+ export type ThreadsTurnsInterruptOutput = Objects_96;
4635
4760
  export type ThreadsSessionStopInput = {
4636
4761
  readonly "requestId"?: string;
4637
4762
  readonly "threadId": string;
4638
4763
  readonly "onlyIfSettled"?: boolean;
4639
4764
  readonly "onlyIfNoTurnInFlight"?: boolean;
4640
4765
  };
4641
- export type ThreadsSessionStopOutput = Objects_95;
4766
+ export type ThreadsSessionStopOutput = Objects_96;
4642
4767
  export type ApprovalsRespondInput = {
4643
4768
  readonly "requestId"?: string;
4644
4769
  readonly "threadId": string;
@@ -4646,7 +4771,7 @@ export type ApprovalsRespondInput = {
4646
4771
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
4647
4772
  readonly "reason"?: string;
4648
4773
  };
4649
- export type ApprovalsRespondOutput = Objects_95;
4774
+ export type ApprovalsRespondOutput = Objects_96;
4650
4775
  export type ThreadsTurnIntentsRunInput = {
4651
4776
  readonly "requestId"?: string;
4652
4777
  readonly "threadId": string;
@@ -4654,7 +4779,7 @@ export type ThreadsTurnIntentsRunInput = {
4654
4779
  readonly "mode": "steer" | "interrupt";
4655
4780
  readonly "expectedTurnId"?: string | null;
4656
4781
  };
4657
- export type ThreadsTurnIntentsRunOutput = Objects_95;
4782
+ export type ThreadsTurnIntentsRunOutput = Objects_96;
4658
4783
  export type ThreadsTurnIntentsCancelInput = {
4659
4784
  readonly "requestId"?: string;
4660
4785
  readonly "threadId": string;
@@ -4662,12 +4787,12 @@ export type ThreadsTurnIntentsCancelInput = {
4662
4787
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
4663
4788
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
4664
4789
  };
4665
- export type ThreadsTurnIntentsCancelOutput = Objects_95;
4790
+ export type ThreadsTurnIntentsCancelOutput = Objects_96;
4666
4791
  export type ThreadsTurnQueueResumeInput = {
4667
4792
  readonly "requestId"?: string;
4668
4793
  readonly "threadId": string;
4669
4794
  };
4670
- export type ThreadsTurnQueueResumeOutput = Objects_95;
4795
+ export type ThreadsTurnQueueResumeOutput = Objects_96;
4671
4796
  export type ProjectsUpdateInput = {
4672
4797
  readonly "requestId"?: string;
4673
4798
  readonly "projectId": string;
@@ -4687,35 +4812,35 @@ export type ProjectsUpdateInput = {
4687
4812
  readonly "autoOpenPreview"?: boolean;
4688
4813
  }>;
4689
4814
  };
4690
- export type ProjectsUpdateOutput = Objects_95;
4815
+ export type ProjectsUpdateOutput = Objects_96;
4691
4816
  export type ProjectsArchiveInput = {
4692
4817
  readonly "requestId"?: string;
4693
4818
  readonly "projectId": string;
4694
4819
  };
4695
- export type ProjectsArchiveOutput = Objects_95;
4820
+ export type ProjectsArchiveOutput = Objects_96;
4696
4821
  export type ProjectsUnarchiveInput = {
4697
4822
  readonly "requestId"?: string;
4698
4823
  readonly "projectId": string;
4699
4824
  };
4700
- export type ProjectsUnarchiveOutput = Objects_95;
4825
+ export type ProjectsUnarchiveOutput = Objects_96;
4701
4826
  export type ProjectsDeleteInput = {
4702
4827
  readonly "requestId"?: string;
4703
4828
  readonly "projectId": string;
4704
4829
  readonly "force"?: boolean;
4705
4830
  };
4706
- export type ProjectsDeleteOutput = Objects_95;
4831
+ export type ProjectsDeleteOutput = Objects_96;
4707
4832
  export type ProjectsReorderInput = {
4708
4833
  readonly "requestId"?: string;
4709
4834
  readonly "projectId": string;
4710
4835
  readonly "orderKey": string;
4711
4836
  };
4712
- export type ProjectsReorderOutput = Objects_95;
4837
+ export type ProjectsReorderOutput = Objects_96;
4713
4838
  export type ProjectsFoldersDetachInput = {
4714
4839
  readonly "requestId"?: string;
4715
4840
  readonly "projectId": string;
4716
4841
  readonly "folderId": string;
4717
4842
  };
4718
- export type ProjectsFoldersDetachOutput = Objects_95;
4843
+ export type ProjectsFoldersDetachOutput = Objects_96;
4719
4844
  export type ProjectsToolkitsSetInput = {
4720
4845
  readonly "projectId": string;
4721
4846
  readonly "toolkit": "board" | "memory" | "messages";
@@ -4761,10 +4886,10 @@ export type ProjectsCloneStartOutput = {
4761
4886
  readonly "projectId": string;
4762
4887
  readonly "folderId": string;
4763
4888
  };
4764
- export type ProjectsCloneRetryInput = Objects_106;
4765
- export type ProjectsCloneRetryOutput = Objects_107;
4766
- export type ProjectsCloneCancelInput = Objects_106;
4767
- export type ProjectsCloneCancelOutput = Objects_107;
4889
+ export type ProjectsCloneRetryInput = Objects_107;
4890
+ export type ProjectsCloneRetryOutput = Objects_108;
4891
+ export type ProjectsCloneCancelInput = Objects_107;
4892
+ export type ProjectsCloneCancelOutput = Objects_108;
4768
4893
  export type ProjectsCreateInput = {
4769
4894
  readonly "requestId"?: string;
4770
4895
  readonly "projectId": string;
@@ -4774,13 +4899,13 @@ export type ProjectsCreateInput = {
4774
4899
  readonly "defaultModelSelection"?: Objects_44 | null;
4775
4900
  readonly "homeEnvironmentId"?: string;
4776
4901
  };
4777
- export type ProjectsCreateOutput = Objects_95;
4902
+ export type ProjectsCreateOutput = Objects_96;
4778
4903
  export type ProjectsFoldersAttachInput = {
4779
4904
  readonly "requestId"?: string;
4780
4905
  readonly "projectId": string;
4781
4906
  readonly "path": string;
4782
4907
  };
4783
- export type ProjectsFoldersAttachOutput = Objects_95;
4908
+ export type ProjectsFoldersAttachOutput = Objects_96;
4784
4909
  export type CommunicationPeopleCurrentInput = {};
4785
4910
  export type CommunicationPeopleCurrentOutput = {
4786
4911
  readonly "person": Union_27 | null;
@@ -4794,10 +4919,10 @@ export type ThreadsListEncodedOutput = {
4794
4919
  readonly "updatedAt": string;
4795
4920
  readonly "archivedAt": string | null;
4796
4921
  readonly "parentThreadId": string | null;
4797
- readonly "forkedFrom": Objects_108 | null;
4922
+ readonly "forkedFrom": Objects_109 | null;
4798
4923
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4799
4924
  readonly "interactionMode": "default" | "plan";
4800
- readonly "modelSelection": Objects_109;
4925
+ readonly "modelSelection": Objects_110;
4801
4926
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
4802
4927
  readonly "sessionFailureCategory"?: string;
4803
4928
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -4833,6 +4958,9 @@ export type ThreadsListEncodedOutput = {
4833
4958
  readonly "awaitingPersonReplyCount"?: number | undefined;
4834
4959
  readonly "pendingAsyncQuestionCount"?: number | undefined;
4835
4960
  readonly "preview"?: string | null | undefined;
4961
+ readonly "previewDeliveryCount"?: number | undefined;
4962
+ readonly "deliveredFileCount"?: number | undefined;
4963
+ readonly "latestDeliveryAt"?: string | null | undefined;
4836
4964
  readonly "hasPendingApprovals": boolean;
4837
4965
  readonly "hasPendingUserInput": boolean;
4838
4966
  readonly "hasActionableProposedPlan": boolean;
@@ -4848,8 +4976,8 @@ export type ThreadsListEncodedOutput = {
4848
4976
  };
4849
4977
  export type ThreadsArchivedListEncodedOutput = {
4850
4978
  readonly "snapshotSequence": number;
4851
- readonly "projects": ReadonlyArray<Objects_117>;
4852
- readonly "threads": ReadonlyArray<Objects_118>;
4979
+ readonly "projects": ReadonlyArray<Objects_118>;
4980
+ readonly "threads": ReadonlyArray<Objects_119>;
4853
4981
  readonly "updatedAt": string;
4854
4982
  };
4855
4983
  export type ThreadsHistoryEncodedOutput = {
@@ -4859,7 +4987,7 @@ export type ThreadsHistoryEncodedOutput = {
4859
4987
  readonly "id": string;
4860
4988
  readonly "projectId": string;
4861
4989
  readonly "title": string;
4862
- readonly "modelSelection": Objects_109;
4990
+ readonly "modelSelection": Objects_110;
4863
4991
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4864
4992
  readonly "interactionMode"?: "default" | "plan" | undefined;
4865
4993
  readonly "nativeModeId"?: string | null | undefined;
@@ -4867,12 +4995,12 @@ export type ThreadsHistoryEncodedOutput = {
4867
4995
  readonly "worktreePath": string | null;
4868
4996
  readonly "startFolderId"?: string | null | undefined;
4869
4997
  readonly "folderIds"?: ReadonlyArray<string> | undefined;
4870
- readonly "linkedPullRequest"?: Objects_100 | null | undefined;
4871
- readonly "origin"?: Objects_110 | null | undefined;
4872
- readonly "forkedFrom"?: Objects_108 | null | undefined;
4998
+ readonly "linkedPullRequest"?: Objects_101 | null | undefined;
4999
+ readonly "origin"?: Objects_111 | null | undefined;
5000
+ readonly "forkedFrom"?: Objects_109 | null | undefined;
4873
5001
  readonly "presetId"?: string | null | undefined;
4874
- readonly "createdBy"?: Objects_111 | null | undefined;
4875
- readonly "latestTurn": Objects_112 | null;
5002
+ readonly "createdBy"?: Objects_112 | null | undefined;
5003
+ readonly "latestTurn": Objects_113 | null;
4876
5004
  readonly "stopRequestedAt"?: string | null;
4877
5005
  readonly "createdAt": string;
4878
5006
  readonly "updatedAt": string;
@@ -4886,7 +5014,7 @@ export type ThreadsHistoryEncodedOutput = {
4886
5014
  readonly "pinOrderKey"?: string | null | undefined;
4887
5015
  readonly "sortOrderKey"?: string | null | undefined;
4888
5016
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
4889
- readonly "executionSelection"?: Objects_99 | undefined;
5017
+ readonly "executionSelection"?: Objects_100 | undefined;
4890
5018
  readonly "turnIntents"?: ReadonlyArray<{
4891
5019
  readonly "intentId": string;
4892
5020
  readonly "threadId": string;
@@ -4917,7 +5045,7 @@ export type ThreadsHistoryEncodedOutput = {
4917
5045
  readonly "binding"?: {
4918
5046
  readonly "bindingId": string;
4919
5047
  readonly "generation": number;
4920
- readonly "selection": Objects_99;
5048
+ readonly "selection": Objects_100;
4921
5049
  readonly "compatibility": {
4922
5050
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
4923
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";
@@ -4999,8 +5127,8 @@ export type ThreadsHistoryEncodedOutput = {
4999
5127
  }> | undefined;
5000
5128
  readonly "turnQueuePaused"?: boolean | undefined;
5001
5129
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
5002
- readonly "titleRegeneration"?: Objects_114 | null | undefined;
5003
- readonly "titleState"?: Objects_115 | null | undefined;
5130
+ readonly "titleRegeneration"?: Objects_115 | null | undefined;
5131
+ readonly "titleState"?: Objects_116 | null | undefined;
5004
5132
  readonly "deletedAt": string | null;
5005
5133
  readonly "messages": ReadonlyArray<{
5006
5134
  readonly "id": string;
@@ -5049,7 +5177,20 @@ export type ThreadsHistoryEncodedOutput = {
5049
5177
  readonly "assistantMessageId": string | null;
5050
5178
  readonly "completedAt": string;
5051
5179
  }>;
5052
- readonly "session": Objects_116 | 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;
5053
5194
  };
5054
5195
  readonly "page"?: {
5055
5196
  readonly "beforeCursor": string | null;
@@ -5073,7 +5214,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5073
5214
  readonly "threadId": string;
5074
5215
  readonly "projectId": string;
5075
5216
  readonly "title": string;
5076
- readonly "modelSelection": Objects_109;
5217
+ readonly "modelSelection": Objects_110;
5077
5218
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5078
5219
  readonly "interactionMode"?: "default" | "plan" | undefined;
5079
5220
  readonly "branch": string | null;
@@ -5081,8 +5222,11 @@ export type ThreadsExecutionGetEncodedOutput = {
5081
5222
  readonly "createdAt": string;
5082
5223
  readonly "updatedAt": string;
5083
5224
  readonly "archivedAt"?: string | null | undefined;
5084
- readonly "origin": Objects_110 | null;
5085
- readonly "forkedFrom": Objects_108 | null;
5225
+ readonly "origin": Objects_111 | null;
5226
+ readonly "forkedFrom": {
5227
+ readonly "sourceThreadId": string;
5228
+ readonly "sourceMessageId": string;
5229
+ } | null;
5086
5230
  readonly "session": {
5087
5231
  readonly "activeTurnId": string | null;
5088
5232
  readonly "lastError": string | null;
@@ -5120,7 +5264,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5120
5264
  readonly "requestedAt": string;
5121
5265
  readonly "startedAt": string | null;
5122
5266
  readonly "completedAt": string | null;
5123
- readonly "waitSpans": ReadonlyArray<Objects_113>;
5267
+ readonly "waitSpans": ReadonlyArray<Objects_114>;
5124
5268
  } | null;
5125
5269
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5126
5270
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -5152,11 +5296,11 @@ export type ThreadsMessagesGetEncodedOutput = {
5152
5296
  readonly "text": string;
5153
5297
  readonly "turnId": string | null;
5154
5298
  readonly "createdAt": string;
5155
- readonly "modelSelection"?: Objects_109 | undefined;
5156
- readonly "source"?: Objects_121 | undefined;
5299
+ readonly "modelSelection"?: Objects_110 | undefined;
5300
+ readonly "source"?: Objects_122 | undefined;
5157
5301
  readonly "attachments": ReadonlyArray<Union_59>;
5158
5302
  } | null;
5159
- export type ThreadsGetEncodedOutput = Objects_118;
5303
+ export type ThreadsGetEncodedOutput = Objects_119;
5160
5304
  export type ThreadsMessagesListEncodedOutput = {
5161
5305
  readonly "items": ReadonlyArray<{
5162
5306
  readonly "id": string;
@@ -5190,8 +5334,8 @@ export type ThreadsMessagesListEncodedOutput = {
5190
5334
  readonly "snapshotSequence": number;
5191
5335
  readonly "total"?: number;
5192
5336
  };
5193
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_117>;
5194
- export type ProjectsGetEncodedOutput = Objects_117;
5337
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_118>;
5338
+ export type ProjectsGetEncodedOutput = Objects_118;
5195
5339
  export type MachineSettingsEditorsGetEncodedOutput = {
5196
5340
  readonly "availableEditors": ReadonlyArray<unknown>;
5197
5341
  readonly "editorDiscovery"?: unknown;
@@ -5211,7 +5355,7 @@ export type MachineSettingsGetEncodedOutput = {
5211
5355
  readonly "enableProviderUpdateChecks"?: boolean | undefined;
5212
5356
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
5213
5357
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
5214
- readonly "agentRouting"?: Objects_122 | undefined;
5358
+ readonly "agentRouting"?: Objects_123 | undefined;
5215
5359
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
5216
5360
  readonly "recordProviderWire"?: boolean | undefined;
5217
5361
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -5223,19 +5367,20 @@ export type MachineSettingsGetEncodedOutput = {
5223
5367
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined;
5224
5368
  readonly "newWorktreesStartFromOrigin"?: boolean | undefined;
5225
5369
  readonly "addProjectBaseDirectory"?: string | undefined;
5226
- readonly "textGenerationModelSelection"?: Objects_109 | null | undefined;
5370
+ readonly "autoTurnSummaries"?: boolean | undefined;
5371
+ readonly "textGenerationModelSelection"?: Objects_110 | null | undefined;
5227
5372
  readonly "sourceControlWritingStyle"?: {
5228
5373
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
5229
5374
  readonly "customInstructions"?: string | undefined;
5230
5375
  readonly "followChangeRequestTemplates"?: boolean | undefined;
5231
5376
  } | undefined;
5232
- readonly "sourceControlWriterModelSelection"?: Objects_109 | null | undefined;
5377
+ readonly "sourceControlWriterModelSelection"?: Objects_110 | null | undefined;
5233
5378
  readonly "defaultProxyId"?: string | null | undefined;
5234
5379
  readonly "wallpaper"?: {
5235
- readonly "base": Objects_123;
5236
- readonly "sidebar": Objects_123 | null;
5237
- readonly "workspace": Objects_123 | null;
5238
- readonly "chat": Objects_123 | null;
5380
+ readonly "base": Objects_124;
5381
+ readonly "sidebar": Objects_124 | null;
5382
+ readonly "workspace": Objects_124 | null;
5383
+ readonly "chat": Objects_124 | null;
5239
5384
  } | undefined;
5240
5385
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
5241
5386
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -5364,7 +5509,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
5364
5509
  };
5365
5510
  readonly "runtimeMaintenanceRoot"?: string;
5366
5511
  };
5367
- export type ProvidersRoutingGetEncodedOutput = Objects_122;
5512
+ export type ProvidersRoutingGetEncodedOutput = Objects_123;
5368
5513
  export type ProvidersSelectionResolveEncodedOutput = {
5369
5514
  readonly "modelSelection": Objects_44;
5370
5515
  };
@@ -5536,6 +5681,22 @@ export type PluginsInstalledListEncodedOutput = {
5536
5681
  readonly "executors"?: ReadonlyArray<unknown> | undefined;
5537
5682
  }>;
5538
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
+ };
5539
5700
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
5540
5701
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
5541
5702
  export declare const THREAD_MESSAGES_LIST_LIMIT = 100;
@@ -5564,6 +5725,7 @@ export interface PluginDataPorts {
5564
5725
  readonly list: (input: ThreadsAgentsListInput) => Promise<ThreadsAgentsListOutput>;
5565
5726
  readonly get: (input: ThreadsAgentsGetInput) => Promise<ThreadsAgentsGetOutput>;
5566
5727
  };
5728
+ readonly getTurnChanges?: (input: ThreadsTurnChangesGetInput) => Promise<ThreadsTurnChangesGetOutput>;
5567
5729
  readonly toolCall: {
5568
5730
  readonly get: (input: ThreadsToolCallGetInput) => Promise<ThreadsToolCallGetOutput>;
5569
5731
  };
@@ -5588,6 +5750,10 @@ export interface PluginDataPorts {
5588
5750
  readonly activities: {
5589
5751
  readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
5590
5752
  };
5753
+ readonly artifacts: {
5754
+ readonly list: (input: ThreadsArtifactsListInput) => Promise<ThreadsArtifactsListOutput>;
5755
+ readonly deliver: (input: ThreadsArtifactsDeliverInput) => Promise<ThreadsArtifactsDeliverOutput>;
5756
+ };
5591
5757
  readonly interactionMode: {
5592
5758
  readonly set: (input: ThreadsInteractionModeSetInput) => Promise<ThreadsInteractionModeSetOutput>;
5593
5759
  };
@@ -5900,6 +6066,11 @@ export interface PluginViewerPorts {
5900
6066
  }
5901
6067
  /** 本次本机会话 agent 工具调用的代领端口(`invocation.asCaller`)。 */
5902
6068
  export interface PluginAsCallerPorts {
6069
+ readonly threads: {
6070
+ readonly artifacts: {
6071
+ readonly deliver: (input: ThreadsArtifactsDeliverInput) => Promise<ThreadsArtifactsDeliverOutput>;
6072
+ };
6073
+ };
5903
6074
  readonly work: {
5904
6075
  readonly items: {
5905
6076
  readonly claim: (input: Omit<WorkItemsClaimInput, "projectId"> & {
@@ -5946,6 +6117,10 @@ export interface PluginUiDataReads {
5946
6117
  readonly input: ThreadsAgentsGetInput;
5947
6118
  readonly output: ThreadsAgentsGetOutput;
5948
6119
  };
6120
+ readonly "threads.turn.changes.get": {
6121
+ readonly input: ThreadsTurnChangesGetInput;
6122
+ readonly output: ThreadsTurnChangesGetOutput;
6123
+ };
5949
6124
  readonly "threads.toolCall.get": {
5950
6125
  readonly input: ThreadsToolCallGetInput;
5951
6126
  readonly output: ThreadsToolCallGetOutput;
@@ -6158,6 +6333,10 @@ export interface PluginUiDataReads {
6158
6333
  readonly input: MemoryPageRevisionsGetInput;
6159
6334
  readonly output: MemoryPageRevisionsGetOutput;
6160
6335
  };
6336
+ readonly "threads.artifacts.list": {
6337
+ readonly input: ThreadsArtifactsListInput;
6338
+ readonly output: ThreadsArtifactsListEncodedOutput;
6339
+ };
6161
6340
  readonly "memory.handbook.get": {
6162
6341
  readonly input: MemoryHandbookGetInput;
6163
6342
  readonly output: MemoryHandbookGetOutput;