@ycodium-ai/plugin-api 0.2.3244 → 0.2.3252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +32 -5
  2. package/dist/conversation.d.ts +20 -0
  3. package/dist/conversation.d.ts.map +1 -1
  4. package/dist/conversation.js.map +1 -1
  5. package/dist/conversationAttachments.d.ts +9 -8
  6. package/dist/conversationAttachments.d.ts.map +1 -1
  7. package/dist/conversationForks.d.ts +33 -0
  8. package/dist/conversationForks.d.ts.map +1 -0
  9. package/dist/conversationForks.js +2 -0
  10. package/dist/conversationForks.js.map +1 -0
  11. package/dist/conversationRows.d.ts +4 -0
  12. package/dist/conversationRows.d.ts.map +1 -1
  13. package/dist/conversationTrajectory.d.ts +1 -0
  14. package/dist/conversationTrajectory.d.ts.map +1 -1
  15. package/dist/conversationTurnSummaries.d.ts +56 -0
  16. package/dist/conversationTurnSummaries.d.ts.map +1 -0
  17. package/dist/conversationTurnSummaries.js +2 -0
  18. package/dist/conversationTurnSummaries.js.map +1 -0
  19. package/dist/conversationViewProps.d.ts +8 -2
  20. package/dist/conversationViewProps.d.ts.map +1 -1
  21. package/dist/dataPorts.gen.d.ts +374 -189
  22. package/dist/dataPorts.gen.d.ts.map +1 -1
  23. package/dist/dataPorts.gen.js.map +1 -1
  24. package/dist/executor.d.ts +4 -0
  25. package/dist/executor.d.ts.map +1 -1
  26. package/dist/executorSession.d.ts +9 -0
  27. package/dist/executorSession.d.ts.map +1 -1
  28. package/dist/index.d.ts +8 -5
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +7 -4
  31. package/dist/index.js.map +1 -1
  32. package/dist/slots.d.ts +1 -0
  33. package/dist/slots.d.ts.map +1 -1
  34. package/dist/slots.js.map +1 -1
  35. package/dist/ui.d.ts +3 -4
  36. package/dist/ui.d.ts.map +1 -1
  37. package/package.json +1 -1
@@ -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;
@@ -2526,6 +2598,12 @@ export type MachineSettingsProvidersGetOutput = {
2526
2598
  readonly "checkedAt": string | null;
2527
2599
  readonly "message": string | null;
2528
2600
  };
2601
+ readonly "probeNotice"?: {
2602
+ readonly "messageKey": string;
2603
+ readonly "params"?: {
2604
+ readonly [x: string]: string;
2605
+ };
2606
+ };
2529
2607
  readonly "installCommand"?: string;
2530
2608
  readonly "installUrl"?: string;
2531
2609
  readonly "signIn"?: ReadonlyArray<{
@@ -2625,6 +2703,7 @@ export type MachineSettingsUpdateInput = {
2625
2703
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access";
2626
2704
  readonly "newWorktreesStartFromOrigin"?: boolean;
2627
2705
  readonly "addProjectBaseDirectory"?: string;
2706
+ readonly "autoTurnSummaries"?: boolean;
2628
2707
  readonly "textGenerationModelSelection"?: {
2629
2708
  readonly "instanceId"?: string;
2630
2709
  readonly "model"?: string;
@@ -3538,6 +3617,7 @@ export type SkillsReadOutput = {
3538
3617
  export type MemoryExperiencesListInput = {
3539
3618
  readonly "projectId": string;
3540
3619
  readonly "status"?: "active" | "forgotten" | "erased";
3620
+ readonly "order"?: "created" | "leastRecentlyUsed";
3541
3621
  readonly "cursor"?: string;
3542
3622
  readonly "limit"?: number;
3543
3623
  };
@@ -3553,6 +3633,7 @@ export type MemoryExperiencesListOutput = {
3553
3633
  readonly "updatedAt": string;
3554
3634
  readonly "supersedes": Arrays_15;
3555
3635
  readonly "bodyState": "present" | "erased" | "unavailable";
3636
+ readonly "usage"?: Objects_80;
3556
3637
  readonly "excerpt": string | null;
3557
3638
  }>;
3558
3639
  readonly "nextCursor": string | null;
@@ -3574,6 +3655,7 @@ export type MemoryExperiencesGetOutput = {
3574
3655
  readonly "updatedAt": string;
3575
3656
  readonly "supersedes": Arrays_15;
3576
3657
  readonly "bodyState": "present" | "erased" | "unavailable";
3658
+ readonly "usage"?: Objects_80;
3577
3659
  readonly "body": string | null;
3578
3660
  readonly "bodyWindow"?: Objects_23;
3579
3661
  readonly "forgottenAt": string | null;
@@ -3590,7 +3672,7 @@ export type MemoryExperiencesHistoryInput = {
3590
3672
  readonly "textLimit"?: number;
3591
3673
  };
3592
3674
  export type MemoryExperiencesHistoryOutput = {
3593
- readonly "items": ReadonlyArray<Objects_80>;
3675
+ readonly "items": ReadonlyArray<Objects_81>;
3594
3676
  readonly "nextCursor": string | null;
3595
3677
  };
3596
3678
  export type MemoryRevisionsGetInput = {
@@ -3600,7 +3682,7 @@ export type MemoryRevisionsGetInput = {
3600
3682
  readonly "textOffset"?: number;
3601
3683
  readonly "textLimit"?: number;
3602
3684
  };
3603
- export type MemoryRevisionsGetOutput = Objects_80;
3685
+ export type MemoryRevisionsGetOutput = Objects_81;
3604
3686
  export type MemorySearchInput = {
3605
3687
  readonly "projectId": string;
3606
3688
  readonly "text": string;
@@ -3636,7 +3718,7 @@ export type MemoryExperiencesRecordInput = {
3636
3718
  };
3637
3719
  export type MemoryExperiencesRecordOutput = {
3638
3720
  readonly "sequence": number;
3639
- readonly "result": Objects_81;
3721
+ readonly "result": Objects_82;
3640
3722
  readonly "replayed"?: boolean;
3641
3723
  };
3642
3724
  export type MemoryExperiencesReviseInput = {
@@ -3648,14 +3730,14 @@ export type MemoryExperiencesReviseInput = {
3648
3730
  };
3649
3731
  export type MemoryExperiencesReviseOutput = {
3650
3732
  readonly "sequence": number;
3651
- readonly "result": Objects_81;
3733
+ readonly "result": Objects_82;
3652
3734
  readonly "replayed"?: boolean;
3653
3735
  };
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;
3736
+ export type MemoryExperiencesForgetInput = Objects_83;
3737
+ export type MemoryExperiencesForgetOutput = Objects_84;
3738
+ export type MemoryExperiencesRestoreInput = Objects_83;
3739
+ export type MemoryExperiencesRestoreOutput = Objects_84;
3740
+ export type MemoryExperiencesEraseInput = Objects_83;
3659
3741
  export type MemoryExperiencesEraseOutput = {
3660
3742
  readonly "sequence": number;
3661
3743
  readonly "result": {
@@ -3720,7 +3802,7 @@ export type MemoryPagesHistoryInput = {
3720
3802
  readonly "textLimit"?: number;
3721
3803
  };
3722
3804
  export type MemoryPagesHistoryOutput = {
3723
- readonly "items": ReadonlyArray<Objects_84>;
3805
+ readonly "items": ReadonlyArray<Objects_85>;
3724
3806
  readonly "nextCursor": string | null;
3725
3807
  };
3726
3808
  export type MemoryPageRevisionsGetInput = {
@@ -3730,7 +3812,7 @@ export type MemoryPageRevisionsGetInput = {
3730
3812
  readonly "textOffset"?: number;
3731
3813
  readonly "textLimit"?: number;
3732
3814
  };
3733
- export type MemoryPageRevisionsGetOutput = Objects_84;
3815
+ export type MemoryPageRevisionsGetOutput = Objects_85;
3734
3816
  export type MemoryPagesCreateInput = {
3735
3817
  readonly "projectId": string;
3736
3818
  readonly "requestId"?: string;
@@ -3743,7 +3825,7 @@ export type MemoryPagesCreateInput = {
3743
3825
  };
3744
3826
  export type MemoryPagesCreateOutput = {
3745
3827
  readonly "sequence": number;
3746
- readonly "result": Objects_85;
3828
+ readonly "result": Objects_86;
3747
3829
  readonly "replayed"?: boolean;
3748
3830
  };
3749
3831
  export type MemoryPagesEditInput = {
@@ -3757,7 +3839,7 @@ export type MemoryPagesEditInput = {
3757
3839
  };
3758
3840
  export type MemoryPagesEditOutput = {
3759
3841
  readonly "sequence": number;
3760
- readonly "result": Objects_85;
3842
+ readonly "result": Objects_86;
3761
3843
  readonly "replayed"?: boolean;
3762
3844
  };
3763
3845
  export type MemoryPagesRestoreInput = {
@@ -3769,7 +3851,7 @@ export type MemoryPagesRestoreInput = {
3769
3851
  };
3770
3852
  export type MemoryPagesRestoreOutput = {
3771
3853
  readonly "sequence": number;
3772
- readonly "result": Objects_85;
3854
+ readonly "result": Objects_86;
3773
3855
  readonly "replayed"?: boolean;
3774
3856
  };
3775
3857
  export type MemoryPagesEraseInput = {
@@ -3784,6 +3866,55 @@ export type MemoryPagesEraseOutput = {
3784
3866
  };
3785
3867
  readonly "replayed"?: boolean;
3786
3868
  };
3869
+ export type ThreadsArtifactsListInput = {
3870
+ readonly "threadId": string;
3871
+ readonly "cursor"?: string | null;
3872
+ readonly "limit"?: number;
3873
+ };
3874
+ export type ThreadsArtifactsListOutput = {
3875
+ readonly "items": ReadonlyArray<{
3876
+ readonly "attachmentId": string;
3877
+ readonly "name": string;
3878
+ readonly "mimeType": string;
3879
+ readonly "sizeBytes": number;
3880
+ readonly "title"?: string | undefined;
3881
+ readonly "note"?: string | undefined;
3882
+ readonly "sourcePath": string;
3883
+ readonly "turnId": string | null;
3884
+ readonly "messageId": string;
3885
+ readonly "deliveredAt": string;
3886
+ readonly "modelSelection"?: {
3887
+ readonly "instanceId": string;
3888
+ readonly "model": string;
3889
+ readonly "options"?: Union_;
3890
+ };
3891
+ }>;
3892
+ readonly "nextCursor": string | null;
3893
+ };
3894
+ export type ThreadsArtifactsDeliverInput = {
3895
+ readonly "threadId": string;
3896
+ readonly "requestId": string;
3897
+ readonly "path"?: string;
3898
+ readonly "files"?: ReadonlyArray<{
3899
+ readonly "path": string;
3900
+ readonly "title"?: string;
3901
+ readonly "note"?: string;
3902
+ }>;
3903
+ readonly "title"?: string;
3904
+ readonly "note"?: string;
3905
+ };
3906
+ export type ThreadsArtifactsDeliverOutput = {
3907
+ readonly "sequence": number;
3908
+ readonly "result": {
3909
+ readonly "files": ReadonlyArray<{
3910
+ readonly "attachmentId": string;
3911
+ readonly "name": string;
3912
+ readonly "sizeBytes": number;
3913
+ readonly "alreadyDelivered": boolean;
3914
+ }>;
3915
+ };
3916
+ readonly "replayed"?: boolean;
3917
+ };
3787
3918
  export type MemoryHandbookGetInput = {
3788
3919
  readonly "projectId": string;
3789
3920
  readonly "textOffset"?: number;
@@ -3791,8 +3922,8 @@ export type MemoryHandbookGetInput = {
3791
3922
  };
3792
3923
  export type MemoryHandbookGetOutput = {
3793
3924
  readonly "head": {
3794
- readonly "current": Objects_86;
3795
- readonly "pages": ReadonlyArray<Objects_84>;
3925
+ readonly "current": Objects_87;
3926
+ readonly "pages": ReadonlyArray<Objects_85>;
3796
3927
  } | null;
3797
3928
  };
3798
3929
  export type MemoryHandbookReleasesListInput = {
@@ -3801,7 +3932,7 @@ export type MemoryHandbookReleasesListInput = {
3801
3932
  readonly "limit"?: number;
3802
3933
  };
3803
3934
  export type MemoryHandbookReleasesListOutput = {
3804
- readonly "items": ReadonlyArray<Objects_86>;
3935
+ readonly "items": ReadonlyArray<Objects_87>;
3805
3936
  readonly "nextCursor": string | null;
3806
3937
  };
3807
3938
  export type MemoryHandbookReleasesGetInput = {
@@ -3842,7 +3973,7 @@ export type MemoryHandbookPublishInput = {
3842
3973
  };
3843
3974
  export type MemoryHandbookPublishOutput = {
3844
3975
  readonly "sequence": number;
3845
- readonly "result": Objects_88;
3976
+ readonly "result": Objects_89;
3846
3977
  readonly "replayed"?: boolean;
3847
3978
  };
3848
3979
  export type MemoryHandbookRevertInput = {
@@ -3854,7 +3985,7 @@ export type MemoryHandbookRevertInput = {
3854
3985
  };
3855
3986
  export type MemoryHandbookRevertOutput = {
3856
3987
  readonly "sequence": number;
3857
- readonly "result": Objects_88;
3988
+ readonly "result": Objects_89;
3858
3989
  readonly "replayed"?: boolean;
3859
3990
  };
3860
3991
  export type WorkRemoteAgentPendingGetInput = {
@@ -3915,7 +4046,7 @@ export type WorkItemsListOutput = {
3915
4046
  readonly "sequenceId": number;
3916
4047
  readonly "title": string | null;
3917
4048
  readonly "bodyState": "present" | "erased" | "unavailable";
3918
- readonly "state": Objects_89;
4049
+ readonly "state": Objects_90;
3919
4050
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
3920
4051
  readonly "assignees": Arrays_17;
3921
4052
  readonly "labelIds": Arrays_18;
@@ -3929,7 +4060,7 @@ export type WorkItemsListOutput = {
3929
4060
  readonly "revision": number;
3930
4061
  readonly "blockedBy": Arrays_19;
3931
4062
  readonly "blockedByTotal": number;
3932
- readonly "childCounts": Objects_90;
4063
+ readonly "childCounts": Objects_91;
3933
4064
  readonly "createdBy": Union_41;
3934
4065
  readonly "createdAt": string;
3935
4066
  readonly "updatedAt": string;
@@ -3957,7 +4088,7 @@ export type WorkItemsGetOutput = {
3957
4088
  readonly "sequenceId": number;
3958
4089
  readonly "title": string | null;
3959
4090
  readonly "bodyState": "present" | "erased" | "unavailable";
3960
- readonly "state": Objects_89;
4091
+ readonly "state": Objects_90;
3961
4092
  readonly "priority": "urgent" | "high" | "medium" | "low" | "none";
3962
4093
  readonly "assignees": Arrays_17;
3963
4094
  readonly "labelIds": Arrays_18;
@@ -3971,7 +4102,7 @@ export type WorkItemsGetOutput = {
3971
4102
  readonly "revision": number;
3972
4103
  readonly "blockedBy": Arrays_19;
3973
4104
  readonly "blockedByTotal": number;
3974
- readonly "childCounts": Objects_90;
4105
+ readonly "childCounts": Objects_91;
3975
4106
  readonly "createdBy": Union_41;
3976
4107
  readonly "createdAt": string;
3977
4108
  readonly "updatedAt": string;
@@ -4015,7 +4146,7 @@ export type WorkCommentsListInput = {
4015
4146
  readonly "textLimit"?: number;
4016
4147
  };
4017
4148
  export type WorkCommentsListOutput = {
4018
- readonly "items": ReadonlyArray<Objects_91>;
4149
+ readonly "items": ReadonlyArray<Objects_92>;
4019
4150
  readonly "nextCursor": string | null;
4020
4151
  readonly "snapshotSequence": number;
4021
4152
  };
@@ -4026,7 +4157,7 @@ export type WorkCommentsGetInput = {
4026
4157
  readonly "textLimit"?: number;
4027
4158
  };
4028
4159
  export type WorkCommentsGetOutput = {
4029
- readonly "comment": Objects_91;
4160
+ readonly "comment": Objects_92;
4030
4161
  readonly "snapshotSequence": number;
4031
4162
  };
4032
4163
  export type WorkHistoryListInput = {
@@ -4054,8 +4185,8 @@ export type WorkHistoryListOutput = {
4054
4185
  readonly "newRevision": number | null;
4055
4186
  } | {
4056
4187
  readonly "field": "state";
4057
- readonly "old": Objects_92 | null;
4058
- readonly "new": Objects_92 | null;
4188
+ readonly "old": Objects_93 | null;
4189
+ readonly "new": Objects_93 | null;
4059
4190
  } | {
4060
4191
  readonly "field": "assignees" | "mentions";
4061
4192
  readonly "old": ReadonlyArray<Union_44>;
@@ -4122,16 +4253,16 @@ export type WorkItemsClaimOutput = {
4122
4253
  };
4123
4254
  readonly "replayed"?: boolean;
4124
4255
  };
4125
- export type WorkRelationsAddInput = Objects_93;
4256
+ export type WorkRelationsAddInput = Objects_94;
4126
4257
  export type WorkRelationsAddOutput = {
4127
4258
  readonly "sequence": number;
4128
- readonly "result": Objects_94;
4259
+ readonly "result": Objects_95;
4129
4260
  readonly "replayed"?: boolean;
4130
4261
  };
4131
- export type WorkRelationsRemoveInput = Objects_93;
4262
+ export type WorkRelationsRemoveInput = Objects_94;
4132
4263
  export type WorkRelationsRemoveOutput = {
4133
4264
  readonly "sequence": number;
4134
- readonly "result": Objects_94;
4265
+ readonly "result": Objects_95;
4135
4266
  readonly "replayed"?: boolean;
4136
4267
  };
4137
4268
  export type WorkCommentsPostInput = {
@@ -4156,36 +4287,36 @@ export type ThreadsInteractionModeSetInput = {
4156
4287
  readonly "threadId": string;
4157
4288
  readonly "interactionMode": "default" | "plan";
4158
4289
  };
4159
- export type ThreadsInteractionModeSetOutput = Objects_95;
4290
+ export type ThreadsInteractionModeSetOutput = Objects_96;
4160
4291
  export type ThreadsNativeModeSetInput = {
4161
4292
  readonly "requestId"?: string;
4162
4293
  readonly "threadId": string;
4163
4294
  readonly "nativeModeId": string;
4164
4295
  };
4165
- export type ThreadsNativeModeSetOutput = Objects_95;
4296
+ export type ThreadsNativeModeSetOutput = Objects_96;
4166
4297
  export type ThreadsRuntimeModeSetInput = {
4167
4298
  readonly "requestId"?: string;
4168
4299
  readonly "threadId": string;
4169
4300
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4170
4301
  };
4171
- export type ThreadsRuntimeModeSetOutput = Objects_95;
4302
+ export type ThreadsRuntimeModeSetOutput = Objects_96;
4172
4303
  export type ThreadsContextCompactInput = {
4173
4304
  readonly "requestId"?: string;
4174
4305
  readonly "threadId": string;
4175
4306
  };
4176
- export type ThreadsContextCompactOutput = Objects_95;
4307
+ export type ThreadsContextCompactOutput = Objects_96;
4177
4308
  export type PluginsSelfdevPromoteInput = {
4178
4309
  readonly "requestId"?: string;
4179
4310
  readonly "threadId": string;
4180
4311
  readonly "pluginId": string;
4181
4312
  };
4182
- export type PluginsSelfdevPromoteOutput = Objects_95;
4313
+ export type PluginsSelfdevPromoteOutput = Objects_96;
4183
4314
  export type PluginsSelfdevStopInput = {
4184
4315
  readonly "requestId"?: string;
4185
4316
  readonly "threadId": string;
4186
4317
  readonly "pluginId": string;
4187
4318
  };
4188
- export type PluginsSelfdevStopOutput = Objects_95;
4319
+ export type PluginsSelfdevStopOutput = Objects_96;
4189
4320
  export type ThreadsShellCommandRecordInput = {
4190
4321
  readonly "requestId"?: string;
4191
4322
  readonly "threadId": string;
@@ -4193,7 +4324,7 @@ export type ThreadsShellCommandRecordInput = {
4193
4324
  readonly "terminalId": string;
4194
4325
  readonly "cwd": string;
4195
4326
  };
4196
- export type ThreadsShellCommandRecordOutput = Objects_95;
4327
+ export type ThreadsShellCommandRecordOutput = Objects_96;
4197
4328
  export type ThreadsTurnIntentsEditInput = {
4198
4329
  readonly "requestId"?: string;
4199
4330
  readonly "threadId": string;
@@ -4207,7 +4338,7 @@ export type ThreadsTurnIntentsEditInput = {
4207
4338
  readonly "mimeType": string;
4208
4339
  readonly "sizeBytes": number;
4209
4340
  readonly "dataUrl": string;
4210
- readonly "source"?: Objects_96;
4341
+ readonly "source"?: Objects_97;
4211
4342
  } | {
4212
4343
  readonly "type": "file";
4213
4344
  readonly "name": string;
@@ -4220,7 +4351,7 @@ export type ThreadsTurnIntentsEditInput = {
4220
4351
  readonly "name": string;
4221
4352
  readonly "mimeType": string;
4222
4353
  readonly "sizeBytes": number;
4223
- readonly "source"?: Objects_96 | Objects_98;
4354
+ readonly "source"?: Objects_97 | Objects_99;
4224
4355
  } | {
4225
4356
  readonly "type": "file";
4226
4357
  readonly "id": string;
@@ -4229,7 +4360,7 @@ export type ThreadsTurnIntentsEditInput = {
4229
4360
  readonly "sizeBytes": number;
4230
4361
  readonly "source"?: {
4231
4362
  readonly "_tag": "pasted-text";
4232
- } | Objects_98 | {
4363
+ } | Objects_99 | {
4233
4364
  readonly "_tag": "thread-reference";
4234
4365
  readonly "environmentId": string;
4235
4366
  readonly "threadId": string;
@@ -4248,18 +4379,18 @@ export type ThreadsTurnIntentsReorderInput = {
4248
4379
  readonly "intentId": string;
4249
4380
  readonly "beforeIntentId": string | null;
4250
4381
  };
4251
- export type ThreadsTurnIntentsReorderOutput = Objects_95;
4382
+ export type ThreadsTurnIntentsReorderOutput = Objects_96;
4252
4383
  export type ThreadsTurnQueuePauseInput = {
4253
4384
  readonly "requestId"?: string;
4254
4385
  readonly "threadId": string;
4255
4386
  };
4256
- export type ThreadsTurnQueuePauseOutput = Objects_95;
4387
+ export type ThreadsTurnQueuePauseOutput = Objects_96;
4257
4388
  export type ThreadsUserInputDismissInput = {
4258
4389
  readonly "requestId"?: string;
4259
4390
  readonly "threadId": string;
4260
4391
  readonly "userInputRequestId": string;
4261
4392
  };
4262
- export type ThreadsUserInputDismissOutput = Objects_95;
4393
+ export type ThreadsUserInputDismissOutput = Objects_96;
4263
4394
  export type ThreadsDecisionsRespondInput = {
4264
4395
  readonly "requestId"?: string;
4265
4396
  readonly "threadId": string;
@@ -4267,52 +4398,52 @@ export type ThreadsDecisionsRespondInput = {
4267
4398
  readonly "optionId": string;
4268
4399
  readonly "reason"?: string;
4269
4400
  };
4270
- export type ThreadsDecisionsRespondOutput = Objects_95;
4401
+ export type ThreadsDecisionsRespondOutput = Objects_96;
4271
4402
  export type ThreadsSnoozeInput = {
4272
4403
  readonly "requestId"?: string;
4273
4404
  readonly "threadId": string;
4274
4405
  readonly "snoozedUntil": string;
4275
4406
  };
4276
- export type ThreadsSnoozeOutput = Objects_95;
4407
+ export type ThreadsSnoozeOutput = Objects_96;
4277
4408
  export type ThreadsUnsnoozeInput = {
4278
4409
  readonly "requestId"?: string;
4279
4410
  readonly "threadId": string;
4280
4411
  readonly "reason": "user";
4281
4412
  };
4282
- export type ThreadsUnsnoozeOutput = Objects_95;
4413
+ export type ThreadsUnsnoozeOutput = Objects_96;
4283
4414
  export type ThreadsReorderInput = {
4284
4415
  readonly "requestId"?: string;
4285
4416
  readonly "threadId": string;
4286
4417
  readonly "orderKey": string;
4287
4418
  };
4288
- export type ThreadsReorderOutput = Objects_95;
4419
+ export type ThreadsReorderOutput = Objects_96;
4289
4420
  export type ThreadsDeleteInput = {
4290
4421
  readonly "requestId"?: string;
4291
4422
  readonly "threadId": string;
4292
4423
  };
4293
- export type ThreadsDeleteOutput = Objects_95;
4424
+ export type ThreadsDeleteOutput = Objects_96;
4294
4425
  export type ThreadsArchiveInput = {
4295
4426
  readonly "requestId"?: string;
4296
4427
  readonly "threadId": string;
4297
4428
  };
4298
- export type ThreadsArchiveOutput = Objects_95;
4429
+ export type ThreadsArchiveOutput = Objects_96;
4299
4430
  export type ThreadsUnarchiveInput = {
4300
4431
  readonly "requestId"?: string;
4301
4432
  readonly "threadId": string;
4302
4433
  };
4303
- export type ThreadsUnarchiveOutput = Objects_95;
4434
+ export type ThreadsUnarchiveOutput = Objects_96;
4304
4435
  export type ThreadsSettleInput = {
4305
4436
  readonly "requestId"?: string;
4306
4437
  readonly "threadId": string;
4307
4438
  readonly "discardQueued"?: boolean;
4308
4439
  };
4309
- export type ThreadsSettleOutput = Objects_95;
4440
+ export type ThreadsSettleOutput = Objects_96;
4310
4441
  export type ThreadsUnsettleInput = {
4311
4442
  readonly "requestId"?: string;
4312
4443
  readonly "threadId": string;
4313
4444
  readonly "reason": "user";
4314
4445
  };
4315
- export type ThreadsUnsettleOutput = Objects_95;
4446
+ export type ThreadsUnsettleOutput = Objects_96;
4316
4447
  export type ThreadsCreateInput = {
4317
4448
  readonly "requestId"?: string;
4318
4449
  readonly "threadId": string;
@@ -4342,7 +4473,7 @@ export type ThreadsCreateInput = {
4342
4473
  };
4343
4474
  readonly "presetId"?: string;
4344
4475
  };
4345
- export type ThreadsCreateOutput = Objects_95;
4476
+ export type ThreadsCreateOutput = Objects_96;
4346
4477
  export type ThreadsForkInput = {
4347
4478
  readonly "requestId"?: string;
4348
4479
  readonly "threadId": string;
@@ -4351,7 +4482,7 @@ export type ThreadsForkInput = {
4351
4482
  readonly "startFolderId"?: string;
4352
4483
  readonly "folderIds"?: ReadonlyArray<string>;
4353
4484
  };
4354
- export type ThreadsForkOutput = Objects_95;
4485
+ export type ThreadsForkOutput = Objects_96;
4355
4486
  export type ThreadsImportInput = {
4356
4487
  readonly "requestId"?: string;
4357
4488
  readonly "threadId": string;
@@ -4395,7 +4526,7 @@ export type ThreadsImportInput = {
4395
4526
  readonly "createdAt": string;
4396
4527
  }>;
4397
4528
  };
4398
- export type ThreadsImportOutput = Objects_95;
4529
+ export type ThreadsImportOutput = Objects_96;
4399
4530
  export type ThreadsExternalMessagesAppendInput = {
4400
4531
  readonly "requestId"?: string;
4401
4532
  readonly "threadId": string;
@@ -4431,7 +4562,7 @@ export type ThreadsExternalMessagesAppendInput = {
4431
4562
  readonly "createdAt": string;
4432
4563
  }>;
4433
4564
  };
4434
- export type ThreadsExternalMessagesAppendOutput = Objects_95;
4565
+ export type ThreadsExternalMessagesAppendOutput = Objects_96;
4435
4566
  export type ThreadsUpdateInput = {
4436
4567
  readonly "threadId": string;
4437
4568
  readonly "requestId"?: string;
@@ -4442,14 +4573,14 @@ export type ThreadsUpdateInput = {
4442
4573
  readonly "model": string;
4443
4574
  readonly "options"?: Union_31;
4444
4575
  };
4445
- readonly "executionSelection"?: Objects_99 | null;
4576
+ readonly "executionSelection"?: Objects_100 | null;
4446
4577
  readonly "branch"?: string | null;
4447
4578
  readonly "expectedBranch"?: string | null;
4448
4579
  readonly "worktreePath"?: string | null;
4449
- readonly "linkedPullRequest"?: Objects_100 | null;
4580
+ readonly "linkedPullRequest"?: Objects_101 | null;
4450
4581
  readonly "presetId"?: string | null;
4451
4582
  };
4452
- export type ThreadsUpdateOutput = Objects_95;
4583
+ export type ThreadsUpdateOutput = Objects_96;
4453
4584
  export type ThreadsTurnsStartInput = {
4454
4585
  readonly "requestId"?: string;
4455
4586
  readonly "threadId": string;
@@ -4463,7 +4594,7 @@ export type ThreadsTurnsStartInput = {
4463
4594
  readonly "mimeType": string;
4464
4595
  readonly "sizeBytes": number;
4465
4596
  readonly "dataUrl": string;
4466
- readonly "source"?: Objects_101;
4597
+ readonly "source"?: Objects_102;
4467
4598
  } | {
4468
4599
  readonly "type": "file";
4469
4600
  readonly "name": string;
@@ -4476,7 +4607,7 @@ export type ThreadsTurnsStartInput = {
4476
4607
  readonly "name": string;
4477
4608
  readonly "mimeType": string;
4478
4609
  readonly "sizeBytes": number;
4479
- readonly "source"?: Objects_101 | Objects_103;
4610
+ readonly "source"?: Objects_102 | Objects_104;
4480
4611
  } | {
4481
4612
  readonly "type": "file";
4482
4613
  readonly "id": string;
@@ -4485,7 +4616,7 @@ export type ThreadsTurnsStartInput = {
4485
4616
  readonly "sizeBytes": number;
4486
4617
  readonly "source"?: {
4487
4618
  readonly "_tag": "pasted-text";
4488
- } | Objects_103 | {
4619
+ } | Objects_104 | {
4489
4620
  readonly "_tag": "thread-reference";
4490
4621
  readonly "environmentId": string;
4491
4622
  readonly "threadId": string;
@@ -4604,11 +4735,11 @@ export type ThreadsUserInputRespondInput = {
4604
4735
  readonly "height": number;
4605
4736
  };
4606
4737
  readonly "truncated": boolean;
4607
- readonly "root": Objects_104;
4738
+ readonly "root": Objects_105;
4608
4739
  };
4609
4740
  readonly "appIdentifier"?: string;
4610
4741
  readonly "appIconDataUrl"?: string;
4611
- } | Objects_105;
4742
+ } | Objects_106;
4612
4743
  } | {
4613
4744
  readonly "type": "file";
4614
4745
  readonly "id": string;
@@ -4617,7 +4748,7 @@ export type ThreadsUserInputRespondInput = {
4617
4748
  readonly "sizeBytes": number;
4618
4749
  readonly "source"?: {
4619
4750
  readonly "_tag": "pasted-text";
4620
- } | Objects_105 | {
4751
+ } | Objects_106 | {
4621
4752
  readonly "_tag": "thread-reference";
4622
4753
  readonly "environmentId": string;
4623
4754
  readonly "threadId": string;
@@ -4625,20 +4756,20 @@ export type ThreadsUserInputRespondInput = {
4625
4756
  }>;
4626
4757
  };
4627
4758
  };
4628
- export type ThreadsUserInputRespondOutput = Objects_95;
4759
+ export type ThreadsUserInputRespondOutput = Objects_96;
4629
4760
  export type ThreadsTurnsInterruptInput = {
4630
4761
  readonly "requestId"?: string;
4631
4762
  readonly "threadId": string;
4632
4763
  readonly "turnId"?: string;
4633
4764
  };
4634
- export type ThreadsTurnsInterruptOutput = Objects_95;
4765
+ export type ThreadsTurnsInterruptOutput = Objects_96;
4635
4766
  export type ThreadsSessionStopInput = {
4636
4767
  readonly "requestId"?: string;
4637
4768
  readonly "threadId": string;
4638
4769
  readonly "onlyIfSettled"?: boolean;
4639
4770
  readonly "onlyIfNoTurnInFlight"?: boolean;
4640
4771
  };
4641
- export type ThreadsSessionStopOutput = Objects_95;
4772
+ export type ThreadsSessionStopOutput = Objects_96;
4642
4773
  export type ApprovalsRespondInput = {
4643
4774
  readonly "requestId"?: string;
4644
4775
  readonly "threadId": string;
@@ -4646,7 +4777,7 @@ export type ApprovalsRespondInput = {
4646
4777
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
4647
4778
  readonly "reason"?: string;
4648
4779
  };
4649
- export type ApprovalsRespondOutput = Objects_95;
4780
+ export type ApprovalsRespondOutput = Objects_96;
4650
4781
  export type ThreadsTurnIntentsRunInput = {
4651
4782
  readonly "requestId"?: string;
4652
4783
  readonly "threadId": string;
@@ -4654,7 +4785,7 @@ export type ThreadsTurnIntentsRunInput = {
4654
4785
  readonly "mode": "steer" | "interrupt";
4655
4786
  readonly "expectedTurnId"?: string | null;
4656
4787
  };
4657
- export type ThreadsTurnIntentsRunOutput = Objects_95;
4788
+ export type ThreadsTurnIntentsRunOutput = Objects_96;
4658
4789
  export type ThreadsTurnIntentsCancelInput = {
4659
4790
  readonly "requestId"?: string;
4660
4791
  readonly "threadId": string;
@@ -4662,12 +4793,12 @@ export type ThreadsTurnIntentsCancelInput = {
4662
4793
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
4663
4794
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
4664
4795
  };
4665
- export type ThreadsTurnIntentsCancelOutput = Objects_95;
4796
+ export type ThreadsTurnIntentsCancelOutput = Objects_96;
4666
4797
  export type ThreadsTurnQueueResumeInput = {
4667
4798
  readonly "requestId"?: string;
4668
4799
  readonly "threadId": string;
4669
4800
  };
4670
- export type ThreadsTurnQueueResumeOutput = Objects_95;
4801
+ export type ThreadsTurnQueueResumeOutput = Objects_96;
4671
4802
  export type ProjectsUpdateInput = {
4672
4803
  readonly "requestId"?: string;
4673
4804
  readonly "projectId": string;
@@ -4687,35 +4818,35 @@ export type ProjectsUpdateInput = {
4687
4818
  readonly "autoOpenPreview"?: boolean;
4688
4819
  }>;
4689
4820
  };
4690
- export type ProjectsUpdateOutput = Objects_95;
4821
+ export type ProjectsUpdateOutput = Objects_96;
4691
4822
  export type ProjectsArchiveInput = {
4692
4823
  readonly "requestId"?: string;
4693
4824
  readonly "projectId": string;
4694
4825
  };
4695
- export type ProjectsArchiveOutput = Objects_95;
4826
+ export type ProjectsArchiveOutput = Objects_96;
4696
4827
  export type ProjectsUnarchiveInput = {
4697
4828
  readonly "requestId"?: string;
4698
4829
  readonly "projectId": string;
4699
4830
  };
4700
- export type ProjectsUnarchiveOutput = Objects_95;
4831
+ export type ProjectsUnarchiveOutput = Objects_96;
4701
4832
  export type ProjectsDeleteInput = {
4702
4833
  readonly "requestId"?: string;
4703
4834
  readonly "projectId": string;
4704
4835
  readonly "force"?: boolean;
4705
4836
  };
4706
- export type ProjectsDeleteOutput = Objects_95;
4837
+ export type ProjectsDeleteOutput = Objects_96;
4707
4838
  export type ProjectsReorderInput = {
4708
4839
  readonly "requestId"?: string;
4709
4840
  readonly "projectId": string;
4710
4841
  readonly "orderKey": string;
4711
4842
  };
4712
- export type ProjectsReorderOutput = Objects_95;
4843
+ export type ProjectsReorderOutput = Objects_96;
4713
4844
  export type ProjectsFoldersDetachInput = {
4714
4845
  readonly "requestId"?: string;
4715
4846
  readonly "projectId": string;
4716
4847
  readonly "folderId": string;
4717
4848
  };
4718
- export type ProjectsFoldersDetachOutput = Objects_95;
4849
+ export type ProjectsFoldersDetachOutput = Objects_96;
4719
4850
  export type ProjectsToolkitsSetInput = {
4720
4851
  readonly "projectId": string;
4721
4852
  readonly "toolkit": "board" | "memory" | "messages";
@@ -4761,10 +4892,10 @@ export type ProjectsCloneStartOutput = {
4761
4892
  readonly "projectId": string;
4762
4893
  readonly "folderId": string;
4763
4894
  };
4764
- export type ProjectsCloneRetryInput = Objects_106;
4765
- export type ProjectsCloneRetryOutput = Objects_107;
4766
- export type ProjectsCloneCancelInput = Objects_106;
4767
- export type ProjectsCloneCancelOutput = Objects_107;
4895
+ export type ProjectsCloneRetryInput = Objects_107;
4896
+ export type ProjectsCloneRetryOutput = Objects_108;
4897
+ export type ProjectsCloneCancelInput = Objects_107;
4898
+ export type ProjectsCloneCancelOutput = Objects_108;
4768
4899
  export type ProjectsCreateInput = {
4769
4900
  readonly "requestId"?: string;
4770
4901
  readonly "projectId": string;
@@ -4774,13 +4905,13 @@ export type ProjectsCreateInput = {
4774
4905
  readonly "defaultModelSelection"?: Objects_44 | null;
4775
4906
  readonly "homeEnvironmentId"?: string;
4776
4907
  };
4777
- export type ProjectsCreateOutput = Objects_95;
4908
+ export type ProjectsCreateOutput = Objects_96;
4778
4909
  export type ProjectsFoldersAttachInput = {
4779
4910
  readonly "requestId"?: string;
4780
4911
  readonly "projectId": string;
4781
4912
  readonly "path": string;
4782
4913
  };
4783
- export type ProjectsFoldersAttachOutput = Objects_95;
4914
+ export type ProjectsFoldersAttachOutput = Objects_96;
4784
4915
  export type CommunicationPeopleCurrentInput = {};
4785
4916
  export type CommunicationPeopleCurrentOutput = {
4786
4917
  readonly "person": Union_27 | null;
@@ -4794,10 +4925,10 @@ export type ThreadsListEncodedOutput = {
4794
4925
  readonly "updatedAt": string;
4795
4926
  readonly "archivedAt": string | null;
4796
4927
  readonly "parentThreadId": string | null;
4797
- readonly "forkedFrom": Objects_108 | null;
4928
+ readonly "forkedFrom": Objects_109 | null;
4798
4929
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4799
4930
  readonly "interactionMode": "default" | "plan";
4800
- readonly "modelSelection": Objects_109;
4931
+ readonly "modelSelection": Objects_110;
4801
4932
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
4802
4933
  readonly "sessionFailureCategory"?: string;
4803
4934
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -4833,6 +4964,9 @@ export type ThreadsListEncodedOutput = {
4833
4964
  readonly "awaitingPersonReplyCount"?: number | undefined;
4834
4965
  readonly "pendingAsyncQuestionCount"?: number | undefined;
4835
4966
  readonly "preview"?: string | null | undefined;
4967
+ readonly "previewDeliveryCount"?: number | undefined;
4968
+ readonly "deliveredFileCount"?: number | undefined;
4969
+ readonly "latestDeliveryAt"?: string | null | undefined;
4836
4970
  readonly "hasPendingApprovals": boolean;
4837
4971
  readonly "hasPendingUserInput": boolean;
4838
4972
  readonly "hasActionableProposedPlan": boolean;
@@ -4848,8 +4982,8 @@ export type ThreadsListEncodedOutput = {
4848
4982
  };
4849
4983
  export type ThreadsArchivedListEncodedOutput = {
4850
4984
  readonly "snapshotSequence": number;
4851
- readonly "projects": ReadonlyArray<Objects_117>;
4852
- readonly "threads": ReadonlyArray<Objects_118>;
4985
+ readonly "projects": ReadonlyArray<Objects_118>;
4986
+ readonly "threads": ReadonlyArray<Objects_119>;
4853
4987
  readonly "updatedAt": string;
4854
4988
  };
4855
4989
  export type ThreadsHistoryEncodedOutput = {
@@ -4859,7 +4993,7 @@ export type ThreadsHistoryEncodedOutput = {
4859
4993
  readonly "id": string;
4860
4994
  readonly "projectId": string;
4861
4995
  readonly "title": string;
4862
- readonly "modelSelection": Objects_109;
4996
+ readonly "modelSelection": Objects_110;
4863
4997
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4864
4998
  readonly "interactionMode"?: "default" | "plan" | undefined;
4865
4999
  readonly "nativeModeId"?: string | null | undefined;
@@ -4867,12 +5001,12 @@ export type ThreadsHistoryEncodedOutput = {
4867
5001
  readonly "worktreePath": string | null;
4868
5002
  readonly "startFolderId"?: string | null | undefined;
4869
5003
  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;
5004
+ readonly "linkedPullRequest"?: Objects_101 | null | undefined;
5005
+ readonly "origin"?: Objects_111 | null | undefined;
5006
+ readonly "forkedFrom"?: Objects_109 | null | undefined;
4873
5007
  readonly "presetId"?: string | null | undefined;
4874
- readonly "createdBy"?: Objects_111 | null | undefined;
4875
- readonly "latestTurn": Objects_112 | null;
5008
+ readonly "createdBy"?: Objects_112 | null | undefined;
5009
+ readonly "latestTurn": Objects_113 | null;
4876
5010
  readonly "stopRequestedAt"?: string | null;
4877
5011
  readonly "createdAt": string;
4878
5012
  readonly "updatedAt": string;
@@ -4886,7 +5020,7 @@ export type ThreadsHistoryEncodedOutput = {
4886
5020
  readonly "pinOrderKey"?: string | null | undefined;
4887
5021
  readonly "sortOrderKey"?: string | null | undefined;
4888
5022
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
4889
- readonly "executionSelection"?: Objects_99 | undefined;
5023
+ readonly "executionSelection"?: Objects_100 | undefined;
4890
5024
  readonly "turnIntents"?: ReadonlyArray<{
4891
5025
  readonly "intentId": string;
4892
5026
  readonly "threadId": string;
@@ -4917,7 +5051,7 @@ export type ThreadsHistoryEncodedOutput = {
4917
5051
  readonly "binding"?: {
4918
5052
  readonly "bindingId": string;
4919
5053
  readonly "generation": number;
4920
- readonly "selection": Objects_99;
5054
+ readonly "selection": Objects_100;
4921
5055
  readonly "compatibility": {
4922
5056
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
4923
5057
  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 +5133,8 @@ export type ThreadsHistoryEncodedOutput = {
4999
5133
  }> | undefined;
5000
5134
  readonly "turnQueuePaused"?: boolean | undefined;
5001
5135
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
5002
- readonly "titleRegeneration"?: Objects_114 | null | undefined;
5003
- readonly "titleState"?: Objects_115 | null | undefined;
5136
+ readonly "titleRegeneration"?: Objects_115 | null | undefined;
5137
+ readonly "titleState"?: Objects_116 | null | undefined;
5004
5138
  readonly "deletedAt": string | null;
5005
5139
  readonly "messages": ReadonlyArray<{
5006
5140
  readonly "id": string;
@@ -5049,7 +5183,20 @@ export type ThreadsHistoryEncodedOutput = {
5049
5183
  readonly "assistantMessageId": string | null;
5050
5184
  readonly "completedAt": string;
5051
5185
  }>;
5052
- readonly "session": Objects_116 | null;
5186
+ readonly "turnSummaries"?: ReadonlyArray<{
5187
+ readonly "turnId": string;
5188
+ readonly "userMessageId"?: string;
5189
+ readonly "state": "running" | "interrupted" | "completed" | "error";
5190
+ readonly "startedAt": string | null;
5191
+ readonly "completedAt": string | null;
5192
+ readonly "waitSpans"?: ReadonlyArray<Objects_114>;
5193
+ readonly "modelSummary"?: {
5194
+ readonly "text": string;
5195
+ readonly "modelSelection": Objects_110;
5196
+ readonly "generatedAt": string;
5197
+ };
5198
+ }> | undefined;
5199
+ readonly "session": Objects_117 | null;
5053
5200
  };
5054
5201
  readonly "page"?: {
5055
5202
  readonly "beforeCursor": string | null;
@@ -5073,7 +5220,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5073
5220
  readonly "threadId": string;
5074
5221
  readonly "projectId": string;
5075
5222
  readonly "title": string;
5076
- readonly "modelSelection": Objects_109;
5223
+ readonly "modelSelection": Objects_110;
5077
5224
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5078
5225
  readonly "interactionMode"?: "default" | "plan" | undefined;
5079
5226
  readonly "branch": string | null;
@@ -5081,8 +5228,11 @@ export type ThreadsExecutionGetEncodedOutput = {
5081
5228
  readonly "createdAt": string;
5082
5229
  readonly "updatedAt": string;
5083
5230
  readonly "archivedAt"?: string | null | undefined;
5084
- readonly "origin": Objects_110 | null;
5085
- readonly "forkedFrom": Objects_108 | null;
5231
+ readonly "origin": Objects_111 | null;
5232
+ readonly "forkedFrom": {
5233
+ readonly "sourceThreadId": string;
5234
+ readonly "sourceMessageId": string;
5235
+ } | null;
5086
5236
  readonly "session": {
5087
5237
  readonly "activeTurnId": string | null;
5088
5238
  readonly "lastError": string | null;
@@ -5120,7 +5270,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5120
5270
  readonly "requestedAt": string;
5121
5271
  readonly "startedAt": string | null;
5122
5272
  readonly "completedAt": string | null;
5123
- readonly "waitSpans": ReadonlyArray<Objects_113>;
5273
+ readonly "waitSpans": ReadonlyArray<Objects_114>;
5124
5274
  } | null;
5125
5275
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5126
5276
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -5152,11 +5302,11 @@ export type ThreadsMessagesGetEncodedOutput = {
5152
5302
  readonly "text": string;
5153
5303
  readonly "turnId": string | null;
5154
5304
  readonly "createdAt": string;
5155
- readonly "modelSelection"?: Objects_109 | undefined;
5156
- readonly "source"?: Objects_121 | undefined;
5305
+ readonly "modelSelection"?: Objects_110 | undefined;
5306
+ readonly "source"?: Objects_122 | undefined;
5157
5307
  readonly "attachments": ReadonlyArray<Union_59>;
5158
5308
  } | null;
5159
- export type ThreadsGetEncodedOutput = Objects_118;
5309
+ export type ThreadsGetEncodedOutput = Objects_119;
5160
5310
  export type ThreadsMessagesListEncodedOutput = {
5161
5311
  readonly "items": ReadonlyArray<{
5162
5312
  readonly "id": string;
@@ -5190,8 +5340,8 @@ export type ThreadsMessagesListEncodedOutput = {
5190
5340
  readonly "snapshotSequence": number;
5191
5341
  readonly "total"?: number;
5192
5342
  };
5193
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_117>;
5194
- export type ProjectsGetEncodedOutput = Objects_117;
5343
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_118>;
5344
+ export type ProjectsGetEncodedOutput = Objects_118;
5195
5345
  export type MachineSettingsEditorsGetEncodedOutput = {
5196
5346
  readonly "availableEditors": ReadonlyArray<unknown>;
5197
5347
  readonly "editorDiscovery"?: unknown;
@@ -5211,7 +5361,7 @@ export type MachineSettingsGetEncodedOutput = {
5211
5361
  readonly "enableProviderUpdateChecks"?: boolean | undefined;
5212
5362
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
5213
5363
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
5214
- readonly "agentRouting"?: Objects_122 | undefined;
5364
+ readonly "agentRouting"?: Objects_123 | undefined;
5215
5365
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
5216
5366
  readonly "recordProviderWire"?: boolean | undefined;
5217
5367
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -5223,19 +5373,20 @@ export type MachineSettingsGetEncodedOutput = {
5223
5373
  readonly "defaultRuntimeMode"?: "approval-required" | "auto-accept-edits" | "auto" | "full-access" | undefined;
5224
5374
  readonly "newWorktreesStartFromOrigin"?: boolean | undefined;
5225
5375
  readonly "addProjectBaseDirectory"?: string | undefined;
5226
- readonly "textGenerationModelSelection"?: Objects_109 | null | undefined;
5376
+ readonly "autoTurnSummaries"?: boolean | undefined;
5377
+ readonly "textGenerationModelSelection"?: Objects_110 | null | undefined;
5227
5378
  readonly "sourceControlWritingStyle"?: {
5228
5379
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
5229
5380
  readonly "customInstructions"?: string | undefined;
5230
5381
  readonly "followChangeRequestTemplates"?: boolean | undefined;
5231
5382
  } | undefined;
5232
- readonly "sourceControlWriterModelSelection"?: Objects_109 | null | undefined;
5383
+ readonly "sourceControlWriterModelSelection"?: Objects_110 | null | undefined;
5233
5384
  readonly "defaultProxyId"?: string | null | undefined;
5234
5385
  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;
5386
+ readonly "base": Objects_124;
5387
+ readonly "sidebar": Objects_124 | null;
5388
+ readonly "workspace": Objects_124 | null;
5389
+ readonly "chat": Objects_124 | null;
5239
5390
  } | undefined;
5240
5391
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
5241
5392
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -5364,7 +5515,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
5364
5515
  };
5365
5516
  readonly "runtimeMaintenanceRoot"?: string;
5366
5517
  };
5367
- export type ProvidersRoutingGetEncodedOutput = Objects_122;
5518
+ export type ProvidersRoutingGetEncodedOutput = Objects_123;
5368
5519
  export type ProvidersSelectionResolveEncodedOutput = {
5369
5520
  readonly "modelSelection": Objects_44;
5370
5521
  };
@@ -5536,6 +5687,22 @@ export type PluginsInstalledListEncodedOutput = {
5536
5687
  readonly "executors"?: ReadonlyArray<unknown> | undefined;
5537
5688
  }>;
5538
5689
  };
5690
+ export type ThreadsArtifactsListEncodedOutput = {
5691
+ readonly "items": ReadonlyArray<{
5692
+ readonly "attachmentId": string;
5693
+ readonly "name": string;
5694
+ readonly "mimeType": string;
5695
+ readonly "sizeBytes": number;
5696
+ readonly "title"?: string | undefined;
5697
+ readonly "note"?: string | undefined;
5698
+ readonly "sourcePath": string;
5699
+ readonly "turnId": string | null;
5700
+ readonly "messageId": string;
5701
+ readonly "deliveredAt": string;
5702
+ readonly "modelSelection"?: Objects_110;
5703
+ }>;
5704
+ readonly "nextCursor": string | null;
5705
+ };
5539
5706
  export declare const COMMUNICATION_RECORDS_READ_LIMIT = 100;
5540
5707
  export declare const THREAD_ACTIVITIES_LIST_LIMIT = 200;
5541
5708
  export declare const THREAD_MESSAGES_LIST_LIMIT = 100;
@@ -5564,6 +5731,7 @@ export interface PluginDataPorts {
5564
5731
  readonly list: (input: ThreadsAgentsListInput) => Promise<ThreadsAgentsListOutput>;
5565
5732
  readonly get: (input: ThreadsAgentsGetInput) => Promise<ThreadsAgentsGetOutput>;
5566
5733
  };
5734
+ readonly getTurnChanges?: (input: ThreadsTurnChangesGetInput) => Promise<ThreadsTurnChangesGetOutput>;
5567
5735
  readonly toolCall: {
5568
5736
  readonly get: (input: ThreadsToolCallGetInput) => Promise<ThreadsToolCallGetOutput>;
5569
5737
  };
@@ -5588,6 +5756,10 @@ export interface PluginDataPorts {
5588
5756
  readonly activities: {
5589
5757
  readonly list: (input: ThreadsActivitiesListInput) => Promise<ThreadsActivitiesListOutput>;
5590
5758
  };
5759
+ readonly artifacts: {
5760
+ readonly list: (input: ThreadsArtifactsListInput) => Promise<ThreadsArtifactsListOutput>;
5761
+ readonly deliver: (input: ThreadsArtifactsDeliverInput) => Promise<ThreadsArtifactsDeliverOutput>;
5762
+ };
5591
5763
  readonly interactionMode: {
5592
5764
  readonly set: (input: ThreadsInteractionModeSetInput) => Promise<ThreadsInteractionModeSetOutput>;
5593
5765
  };
@@ -5900,6 +6072,11 @@ export interface PluginViewerPorts {
5900
6072
  }
5901
6073
  /** 本次本机会话 agent 工具调用的代领端口(`invocation.asCaller`)。 */
5902
6074
  export interface PluginAsCallerPorts {
6075
+ readonly threads: {
6076
+ readonly artifacts: {
6077
+ readonly deliver: (input: ThreadsArtifactsDeliverInput) => Promise<ThreadsArtifactsDeliverOutput>;
6078
+ };
6079
+ };
5903
6080
  readonly work: {
5904
6081
  readonly items: {
5905
6082
  readonly claim: (input: Omit<WorkItemsClaimInput, "projectId"> & {
@@ -5946,6 +6123,10 @@ export interface PluginUiDataReads {
5946
6123
  readonly input: ThreadsAgentsGetInput;
5947
6124
  readonly output: ThreadsAgentsGetOutput;
5948
6125
  };
6126
+ readonly "threads.turn.changes.get": {
6127
+ readonly input: ThreadsTurnChangesGetInput;
6128
+ readonly output: ThreadsTurnChangesGetOutput;
6129
+ };
5949
6130
  readonly "threads.toolCall.get": {
5950
6131
  readonly input: ThreadsToolCallGetInput;
5951
6132
  readonly output: ThreadsToolCallGetOutput;
@@ -6158,6 +6339,10 @@ export interface PluginUiDataReads {
6158
6339
  readonly input: MemoryPageRevisionsGetInput;
6159
6340
  readonly output: MemoryPageRevisionsGetOutput;
6160
6341
  };
6342
+ readonly "threads.artifacts.list": {
6343
+ readonly input: ThreadsArtifactsListInput;
6344
+ readonly output: ThreadsArtifactsListEncodedOutput;
6345
+ };
6161
6346
  readonly "memory.handbook.get": {
6162
6347
  readonly input: MemoryHandbookGetInput;
6163
6348
  readonly output: MemoryHandbookGetOutput;