@ycodium-ai/plugin-api 0.2.3502 → 0.2.3510

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.
@@ -578,25 +578,30 @@ type Objects_106 = {
578
578
  readonly "type": "blocked_by" | "relates_to" | "duplicate" | "start_before" | "finish_before" | "implemented_by" | "blocking" | "start_after" | "finish_after" | "implements";
579
579
  readonly "relatedWorkItemId": string;
580
580
  };
581
+ type Objects_108 = {
582
+ readonly "projectId": string;
583
+ readonly "requestId"?: string;
584
+ readonly "workLineId": string;
585
+ };
581
586
  type Union_48 = {
582
587
  readonly "pattern": string;
583
588
  readonly "color": string;
584
589
  } | null;
585
- type Objects_107 = {
590
+ type Objects_109 = {
586
591
  readonly "pattern": string;
587
592
  readonly "color": string;
588
593
  };
589
- type Objects_108 = {
594
+ type Objects_110 = {
590
595
  readonly "projectId": string;
591
596
  readonly "requestId"?: string;
592
597
  readonly "memberId": string;
593
598
  };
594
- type Objects_109 = {
599
+ type Objects_111 = {
595
600
  readonly "sequence": number;
596
601
  readonly "replayed"?: boolean;
597
602
  readonly "status": "accepted" | "noop";
598
603
  };
599
- type Objects_110 = {
604
+ type Objects_112 = {
600
605
  readonly "_tag": "snap-shot";
601
606
  readonly "capturedAt": string;
602
607
  readonly "appName": string;
@@ -614,12 +619,12 @@ type Objects_110 = {
614
619
  readonly "height": number;
615
620
  };
616
621
  readonly "truncated": boolean;
617
- readonly "root": Objects_111;
622
+ readonly "root": Objects_113;
618
623
  };
619
624
  readonly "appIdentifier"?: string;
620
625
  readonly "appIconDataUrl"?: string;
621
626
  };
622
- type Objects_112 = {
627
+ type Objects_114 = {
623
628
  readonly "_tag": "agent-artifact";
624
629
  readonly "sourcePath": string;
625
630
  readonly "linkBase"?: string;
@@ -629,13 +634,13 @@ type Objects_112 = {
629
634
  readonly "delivered"?: true;
630
635
  readonly "sha256"?: string;
631
636
  };
632
- type Objects_114 = {
637
+ type Objects_116 = {
633
638
  readonly "projectId": string;
634
639
  readonly "repository": string;
635
640
  readonly "number": number;
636
641
  readonly "url": string;
637
642
  };
638
- type Objects_115 = {
643
+ type Objects_117 = {
639
644
  readonly "_tag": "snap-shot";
640
645
  readonly "capturedAt": string;
641
646
  readonly "appName": string;
@@ -653,12 +658,12 @@ type Objects_115 = {
653
658
  readonly "height": number;
654
659
  };
655
660
  readonly "truncated": boolean;
656
- readonly "root": Objects_116;
661
+ readonly "root": Objects_118;
657
662
  };
658
663
  readonly "appIdentifier"?: string;
659
664
  readonly "appIconDataUrl"?: string;
660
665
  };
661
- type Objects_117 = {
666
+ type Objects_119 = {
662
667
  readonly "_tag": "agent-artifact";
663
668
  readonly "sourcePath": string;
664
669
  readonly "linkBase"?: string;
@@ -668,7 +673,7 @@ type Objects_117 = {
668
673
  readonly "delivered"?: true;
669
674
  readonly "sha256"?: string;
670
675
  };
671
- type Objects_119 = {
676
+ type Objects_121 = {
672
677
  readonly "_tag": "agent-artifact";
673
678
  readonly "sourcePath": string;
674
679
  readonly "linkBase"?: string;
@@ -686,47 +691,47 @@ type Union_52 = {
686
691
  readonly "kind": "emoji";
687
692
  readonly "emoji": string;
688
693
  };
689
- type Objects_120 = {
694
+ type Objects_122 = {
690
695
  readonly "projectId": string;
691
696
  readonly "folderId": string;
692
697
  };
693
- type Objects_121 = {
698
+ type Objects_123 = {
694
699
  readonly "applied": boolean;
695
700
  };
696
- type Objects_122 = {
701
+ type Objects_124 = {
697
702
  readonly "sourceThreadId": string;
698
703
  readonly "sourceMessageId": string;
699
704
  readonly "sourceTurnNumber"?: number;
700
705
  };
701
- type Objects_123 = {
706
+ type Objects_125 = {
702
707
  readonly "provider"?: unknown | undefined;
703
708
  readonly "instanceId"?: unknown | undefined;
704
709
  readonly "model": unknown;
705
710
  readonly "options"?: unknown | undefined;
706
711
  };
707
712
  type Union_54 = ReadonlyArray<string> | undefined;
708
- type Objects_124 = {
713
+ type Objects_126 = {
709
714
  readonly "parentThreadId": string;
710
715
  readonly "delegationDepth": number;
711
716
  readonly "requestedBy": "agent" | "continuation";
712
717
  readonly "notificationPolicy"?: "wake" | "activity-only" | undefined;
713
718
  };
714
- type Objects_125 = {
719
+ type Objects_127 = {
715
720
  readonly "userId": string;
716
721
  readonly "displayName": string;
717
722
  };
718
- type Objects_127 = {
723
+ type Objects_129 = {
719
724
  readonly "kind": "approval" | "userInput";
720
725
  readonly "requestId": string;
721
726
  readonly "startedAt": string;
722
727
  readonly "completedAt": string | null;
723
728
  readonly "waitingForYouStartedAt"?: string | null | undefined;
724
729
  };
725
- type Objects_128 = {
730
+ type Objects_130 = {
726
731
  readonly "requestId": string;
727
732
  readonly "startedAt": string;
728
733
  };
729
- type Objects_129 = {
734
+ type Objects_131 = {
730
735
  readonly "source": "manual" | "generated";
731
736
  readonly "version": string;
732
737
  readonly "needsRefinement": boolean;
@@ -751,7 +756,7 @@ type Union_66 = {
751
756
  readonly "turnId"?: string;
752
757
  readonly "generationId"?: string;
753
758
  } | null;
754
- type Objects_134 = {
759
+ type Objects_136 = {
755
760
  readonly "_tag": "agent-artifact";
756
761
  readonly "sourcePath": string;
757
762
  readonly "linkBase"?: string | undefined;
@@ -761,7 +766,7 @@ type Objects_134 = {
761
766
  readonly "delivered"?: true | undefined;
762
767
  readonly "sha256"?: string | undefined;
763
768
  };
764
- type Objects_135 = {
769
+ type Objects_137 = {
765
770
  readonly "kind": "native-session";
766
771
  readonly "provider": "claude" | "codex";
767
772
  readonly "sessionId": string;
@@ -769,7 +774,7 @@ type Objects_135 = {
769
774
  readonly "turnId"?: string | undefined;
770
775
  readonly "order": number;
771
776
  };
772
- type Objects_136 = {
777
+ type Objects_138 = {
773
778
  readonly "roles"?: {
774
779
  readonly [x: string]: {
775
780
  readonly "instanceId": string;
@@ -778,7 +783,7 @@ type Objects_136 = {
778
783
  } | undefined;
779
784
  readonly "allowlistOnly"?: boolean | undefined;
780
785
  };
781
- type Objects_137 = {
786
+ type Objects_139 = {
782
787
  readonly "source": "none" | "custom" | "plugin";
783
788
  readonly "customId": string | null;
784
789
  readonly "pluginId": string | null;
@@ -797,7 +802,7 @@ type Objects_6 = {
797
802
  readonly "optionOverrides": Arrays_3;
798
803
  readonly "expectedRevisions": Objects_7;
799
804
  };
800
- type Objects_113 = {
805
+ type Objects_115 = {
801
806
  readonly "environmentId": string;
802
807
  readonly "runtimeId": string;
803
808
  readonly "sourceId": string;
@@ -829,7 +834,7 @@ type Objects_16 = {
829
834
  readonly "endReason"?: "server-restart" | undefined;
830
835
  readonly "updatedAt": string;
831
836
  };
832
- type Objects_130 = {
837
+ type Objects_132 = {
833
838
  readonly "threadId": string;
834
839
  readonly "status": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error";
835
840
  readonly "providerName": string | null;
@@ -975,9 +980,9 @@ type Objects_97 = {
975
980
  readonly "release": number;
976
981
  readonly "pages": ReadonlyArray<Objects_96>;
977
982
  };
978
- type Union_73 = Objects_107 | null;
979
- type Union_55 = Objects_114 | null | undefined;
980
- type Objects_131 = {
983
+ type Union_73 = Objects_109 | null;
984
+ type Union_55 = Objects_116 | null | undefined;
985
+ type Objects_133 = {
981
986
  readonly "id": string;
982
987
  readonly "title": string;
983
988
  readonly "workspaceRoot": string;
@@ -1012,7 +1017,7 @@ type Objects_131 = {
1012
1017
  readonly "owner"?: string;
1013
1018
  readonly "name"?: string;
1014
1019
  } | null | undefined;
1015
- readonly "defaultModelSelection": Objects_123 | null;
1020
+ readonly "defaultModelSelection": Objects_125 | null;
1016
1021
  readonly "defaultThreadEnvMode"?: "local" | "worktree" | null | undefined;
1017
1022
  readonly "faviconPath"?: string | null | undefined;
1018
1023
  readonly "projectIcon"?: Union_52 | null | undefined;
@@ -1030,13 +1035,13 @@ type Objects_131 = {
1030
1035
  readonly "updatedAt": string;
1031
1036
  readonly "archivedAt"?: string | null | undefined;
1032
1037
  };
1033
- type Union_69 = Objects_123 | undefined;
1034
- type Union_56 = Objects_124 | null | undefined;
1035
- type Union_57 = Objects_125 | null | undefined;
1036
- type Union_68 = Objects_125 | null | undefined;
1037
- type Union_59 = ReadonlyArray<Objects_127> | undefined;
1038
- type Union_60 = Objects_128 | null | undefined;
1039
- type Union_61 = Objects_129 | null | undefined;
1038
+ type Union_69 = Objects_125 | undefined;
1039
+ type Union_56 = Objects_126 | null | undefined;
1040
+ type Union_57 = Objects_127 | null | undefined;
1041
+ type Union_68 = Objects_127 | null | undefined;
1042
+ type Union_59 = ReadonlyArray<Objects_129> | undefined;
1043
+ type Union_60 = Objects_130 | null | undefined;
1044
+ type Union_61 = Objects_131 | null | undefined;
1040
1045
  type Union_67 = {
1041
1046
  readonly "type": "image";
1042
1047
  readonly "id": string;
@@ -1058,29 +1063,29 @@ type Union_67 = {
1058
1063
  readonly "coordinateSpace": "captured-image";
1059
1064
  readonly "imageSize": Objects_22;
1060
1065
  readonly "truncated": boolean;
1061
- readonly "root": Objects_133;
1066
+ readonly "root": Objects_135;
1062
1067
  } | undefined;
1063
1068
  readonly "appIdentifier"?: string | undefined;
1064
1069
  readonly "appIconDataUrl"?: string | undefined;
1065
- } | Objects_134 | undefined;
1070
+ } | Objects_136 | undefined;
1066
1071
  } | {
1067
1072
  readonly "type": "file";
1068
1073
  readonly "id": string;
1069
1074
  readonly "name": string;
1070
1075
  readonly "mimeType": string;
1071
1076
  readonly "sizeBytes": number;
1072
- readonly "source"?: Objects_26 | Objects_134 | {
1077
+ readonly "source"?: Objects_26 | Objects_136 | {
1073
1078
  readonly "_tag": "thread-reference";
1074
1079
  readonly "environmentId": string;
1075
1080
  readonly "threadId": string;
1076
1081
  } | undefined;
1077
1082
  };
1078
- type Union_70 = Objects_135 | undefined;
1083
+ type Union_70 = Objects_137 | undefined;
1079
1084
  type Union_ = Arrays_1 | Arrays_2;
1080
1085
  type Union_1 = Objects_6 | undefined;
1081
- type Union_53 = Objects_113 | undefined;
1086
+ type Union_53 = Objects_115 | undefined;
1082
1087
  type Union_11 = Objects_16 | null;
1083
- type Union_62 = Objects_130 | null;
1088
+ type Union_62 = Objects_132 | null;
1084
1089
  type Union_26 = ReadonlyArray<Union_18> | undefined;
1085
1090
  type Union_45 = Objects_98 | Objects_99 | Objects_100 | {
1086
1091
  readonly "kind": "member";
@@ -1142,7 +1147,7 @@ type Objects_52 = {
1142
1147
  readonly "catalogId"?: string | undefined;
1143
1148
  readonly "oauth"?: Union_32;
1144
1149
  };
1145
- type Objects_126 = {
1150
+ type Objects_128 = {
1146
1151
  readonly "turnId": string;
1147
1152
  readonly "state": "running" | "interrupted" | "completed" | "error";
1148
1153
  readonly "requestedAt": string;
@@ -1150,7 +1155,7 @@ type Objects_126 = {
1150
1155
  readonly "completedAt": string | null;
1151
1156
  readonly "assistantMessageId": string | null;
1152
1157
  readonly "userMessageId"?: string | undefined;
1153
- readonly "modelSelection"?: Objects_123 | undefined;
1158
+ readonly "modelSelection"?: Objects_125 | undefined;
1154
1159
  readonly "sourceProposedPlan"?: {
1155
1160
  readonly "threadId": string;
1156
1161
  readonly "planId": string;
@@ -1226,6 +1231,19 @@ type Objects_95 = {
1226
1231
  readonly "publishedBy": Union_43;
1227
1232
  readonly "publishedAt": string;
1228
1233
  };
1234
+ type Objects_107 = {
1235
+ readonly "workLineId": string;
1236
+ readonly "projectId": string;
1237
+ readonly "name": string;
1238
+ readonly "leadMemberId": string | null;
1239
+ readonly "memberIds": ReadonlyArray<string>;
1240
+ readonly "threadId": string | null;
1241
+ readonly "version": number;
1242
+ readonly "createdBy": Union_43;
1243
+ readonly "createdAt": string;
1244
+ readonly "updatedAt": string;
1245
+ readonly "archivedAt": string | null;
1246
+ };
1229
1247
  type Arrays_20 = ReadonlyArray<Union_46>;
1230
1248
  type Objects_103 = {
1231
1249
  readonly "commentId": string;
@@ -1246,7 +1264,7 @@ type Union_75 = {
1246
1264
  readonly "environmentId": string;
1247
1265
  readonly "modelSelection": Objects_49;
1248
1266
  } | null;
1249
- type Union_58 = Objects_126 | null;
1267
+ type Union_58 = Objects_128 | null;
1250
1268
  type Objects_11 = {
1251
1269
  readonly "turnId": string;
1252
1270
  readonly "state": "running" | "interrupted" | "completed" | "error";
@@ -1429,11 +1447,11 @@ type Union_50 = {
1429
1447
  readonly "environmentId": string;
1430
1448
  readonly "modelSelection": Objects_51;
1431
1449
  } | null;
1432
- type Objects_132 = {
1450
+ type Objects_134 = {
1433
1451
  readonly "id": string;
1434
1452
  readonly "projectId": string;
1435
1453
  readonly "title": string;
1436
- readonly "modelSelection": Objects_123;
1454
+ readonly "modelSelection": Objects_125;
1437
1455
  readonly "executionSelection"?: Union_53;
1438
1456
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
1439
1457
  readonly "nativeModeId"?: string | null | undefined;
@@ -1444,7 +1462,7 @@ type Objects_132 = {
1444
1462
  readonly "folderIds"?: Union_54;
1445
1463
  readonly "linkedPullRequest"?: Union_55;
1446
1464
  readonly "origin"?: Union_56;
1447
- readonly "forkedFrom"?: Objects_122 | null | undefined;
1465
+ readonly "forkedFrom"?: Objects_124 | null | undefined;
1448
1466
  readonly "presetId"?: string | null | undefined;
1449
1467
  readonly "createdBy"?: Union_57;
1450
1468
  readonly "latestTurn": Union_58;
@@ -1623,7 +1641,7 @@ type Union_30 = {
1623
1641
  readonly "left": Union_30;
1624
1642
  readonly "right": Union_30;
1625
1643
  };
1626
- type Objects_111 = {
1644
+ type Objects_113 = {
1627
1645
  readonly "role": string;
1628
1646
  readonly "name"?: string;
1629
1647
  readonly "value"?: string;
@@ -1646,9 +1664,9 @@ type Objects_111 = {
1646
1664
  readonly "visible"?: boolean;
1647
1665
  };
1648
1666
  readonly "actions"?: ReadonlyArray<string>;
1649
- readonly "children": ReadonlyArray<Objects_111>;
1667
+ readonly "children": ReadonlyArray<Objects_113>;
1650
1668
  };
1651
- type Objects_116 = {
1669
+ type Objects_118 = {
1652
1670
  readonly "role": string;
1653
1671
  readonly "name"?: string;
1654
1672
  readonly "value"?: string;
@@ -1671,9 +1689,9 @@ type Objects_116 = {
1671
1689
  readonly "visible"?: boolean;
1672
1690
  };
1673
1691
  readonly "actions"?: ReadonlyArray<string>;
1674
- readonly "children": ReadonlyArray<Objects_116>;
1692
+ readonly "children": ReadonlyArray<Objects_118>;
1675
1693
  };
1676
- type Objects_118 = {
1694
+ type Objects_120 = {
1677
1695
  readonly "role": string;
1678
1696
  readonly "name"?: string;
1679
1697
  readonly "value"?: string;
@@ -1696,9 +1714,9 @@ type Objects_118 = {
1696
1714
  readonly "visible"?: boolean;
1697
1715
  };
1698
1716
  readonly "actions"?: ReadonlyArray<string>;
1699
- readonly "children": ReadonlyArray<Objects_118>;
1717
+ readonly "children": ReadonlyArray<Objects_120>;
1700
1718
  };
1701
- type Objects_133 = {
1719
+ type Objects_135 = {
1702
1720
  readonly "role": string;
1703
1721
  readonly "name"?: string;
1704
1722
  readonly "value"?: string;
@@ -1706,7 +1724,7 @@ type Objects_133 = {
1706
1724
  readonly "bounds": Union_19;
1707
1725
  readonly "state"?: Objects_24;
1708
1726
  readonly "actions"?: ReadonlyArray<string>;
1709
- readonly "children": ReadonlyArray<Objects_133>;
1727
+ readonly "children": ReadonlyArray<Objects_135>;
1710
1728
  };
1711
1729
  export type AuthRemoteAgentsListInput = {
1712
1730
  readonly "projectId": string;
@@ -2270,6 +2288,7 @@ export type ThreadsExecutionSummaryOutput = {
2270
2288
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
2271
2289
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
2272
2290
  readonly "position": number;
2291
+ readonly "waitingForCapacity"?: true;
2273
2292
  }>;
2274
2293
  readonly "truncated": boolean;
2275
2294
  readonly "queuePaused": boolean;
@@ -2728,6 +2747,7 @@ export type MachineSettingsProvidersGetOutput = {
2728
2747
  readonly "requiresNewThreadForModelChange"?: boolean | undefined;
2729
2748
  readonly "supportsContextCompaction"?: boolean | undefined;
2730
2749
  readonly "supportsNativeModeSwitch"?: boolean | undefined;
2750
+ readonly "maxProcesses"?: number;
2731
2751
  readonly "supportsTurnSteering"?: boolean | undefined;
2732
2752
  readonly "runtimeModeSwitch"?: "in-session" | "next-turn";
2733
2753
  readonly "reportsSpawnedAgents"?: boolean;
@@ -3099,6 +3119,7 @@ export type MachineSettingsConfigGetOutput = {
3099
3119
  readonly "projectArchive"?: boolean;
3100
3120
  readonly "projectCloneInBackground"?: boolean;
3101
3121
  readonly "projectMultiFolder"?: boolean;
3122
+ readonly "workLines"?: boolean;
3102
3123
  readonly "worktreeSetupProgress"?: boolean;
3103
3124
  readonly "threadTitleRegeneration"?: boolean;
3104
3125
  readonly "threadPullRequestLinking"?: boolean;
@@ -3366,6 +3387,10 @@ export type ProvidersListOutput = {
3366
3387
  readonly "enabled": boolean;
3367
3388
  readonly "readiness": "ready" | "unchecked" | "checking" | "disabled" | "not-installed" | "unauthenticated" | "error";
3368
3389
  readonly "defaultModel": string | null;
3390
+ readonly "concurrency"?: {
3391
+ readonly "live": number;
3392
+ readonly "max": number;
3393
+ };
3369
3394
  }>;
3370
3395
  readonly "roles"?: {
3371
3396
  readonly [x: string]: {
@@ -4262,6 +4287,7 @@ export type WorkItemsListInput = {
4262
4287
  readonly "stateIds"?: ReadonlyArray<string>;
4263
4288
  readonly "stateGroups"?: ReadonlyArray<"backlog" | "unstarted" | "started" | "completed" | "cancelled">;
4264
4289
  readonly "assignees"?: ReadonlyArray<Union_45 | "me" | "none">;
4290
+ readonly "workLineIds"?: ReadonlyArray<"none" | string>;
4265
4291
  readonly "orderBy"?: "created" | "updated";
4266
4292
  readonly "cursor"?: string | null;
4267
4293
  readonly "limit"?: number;
@@ -4281,6 +4307,7 @@ export type WorkItemsListOutput = {
4281
4307
  readonly "startDate": string | null;
4282
4308
  readonly "targetDate": string | null;
4283
4309
  readonly "sortOrder": number;
4310
+ readonly "workLineId"?: string;
4284
4311
  readonly "completedAt": string | null;
4285
4312
  readonly "archivedAt": string | null;
4286
4313
  readonly "version": number;
@@ -4323,6 +4350,7 @@ export type WorkItemsGetOutput = {
4323
4350
  readonly "startDate": string | null;
4324
4351
  readonly "targetDate": string | null;
4325
4352
  readonly "sortOrder": number;
4353
+ readonly "workLineId"?: string;
4326
4354
  readonly "completedAt": string | null;
4327
4355
  readonly "archivedAt": string | null;
4328
4356
  readonly "version": number;
@@ -4402,10 +4430,10 @@ export type WorkHistoryListOutput = {
4402
4430
  readonly "viaPlugin"?: string;
4403
4431
  readonly "at": string;
4404
4432
  readonly "target": {
4405
- readonly "kind": "item" | "comment" | "state" | "label" | "relation";
4433
+ readonly "kind": "item" | "comment" | "state" | "label" | "relation" | "work-line";
4406
4434
  readonly "id": string;
4407
4435
  };
4408
- readonly "verb": "created" | "updated" | "claimed" | "commented" | "relation-added" | "relation-removed";
4436
+ readonly "verb": "created" | "updated" | "claimed" | "commented" | "relation-added" | "relation-removed" | "archived" | "restored";
4409
4437
  readonly "changes": ReadonlyArray<{
4410
4438
  readonly "field": "title" | "description" | "body";
4411
4439
  readonly "oldRevision": number | null;
@@ -4426,6 +4454,22 @@ export type WorkHistoryListOutput = {
4426
4454
  readonly "field": "completedAt";
4427
4455
  readonly "old": string | null;
4428
4456
  readonly "new": string | null;
4457
+ } | {
4458
+ readonly "field": "workLine";
4459
+ readonly "old": string | null;
4460
+ readonly "new": string | null;
4461
+ } | {
4462
+ readonly "field": "name";
4463
+ readonly "old": string | null;
4464
+ readonly "new": string;
4465
+ } | {
4466
+ readonly "field": "lead";
4467
+ readonly "old": string | null;
4468
+ readonly "new": string | null;
4469
+ } | {
4470
+ readonly "field": "members";
4471
+ readonly "added": ReadonlyArray<string>;
4472
+ readonly "removed": ReadonlyArray<string>;
4429
4473
  }>;
4430
4474
  }>;
4431
4475
  readonly "nextCursor": string | null;
@@ -4439,6 +4483,7 @@ export type WorkItemsCreateInput = {
4439
4483
  readonly "description"?: string;
4440
4484
  readonly "stateId"?: string;
4441
4485
  readonly "assignees"?: ReadonlyArray<Union_45>;
4486
+ readonly "workLineId"?: string;
4442
4487
  };
4443
4488
  export type WorkItemsCreateOutput = {
4444
4489
  readonly "sequence": number;
@@ -4459,6 +4504,7 @@ export type WorkItemsUpdateInput = {
4459
4504
  readonly "description"?: string;
4460
4505
  readonly "stateId"?: string;
4461
4506
  readonly "assignees"?: ReadonlyArray<Union_45>;
4507
+ readonly "workLineId"?: string | null;
4462
4508
  };
4463
4509
  export type WorkItemsUpdateOutput = {
4464
4510
  readonly "sequence": number;
@@ -4513,6 +4559,80 @@ export type WorkCommentsPostOutput = {
4513
4559
  };
4514
4560
  readonly "replayed"?: boolean;
4515
4561
  };
4562
+ export type WorkLinesListInput = {
4563
+ readonly "projectId": string;
4564
+ readonly "includeArchived"?: boolean;
4565
+ readonly "memberId"?: string;
4566
+ readonly "threadId"?: string;
4567
+ readonly "cursor"?: string | null;
4568
+ readonly "limit"?: number;
4569
+ };
4570
+ export type WorkLinesListOutput = {
4571
+ readonly "items": ReadonlyArray<Objects_107>;
4572
+ readonly "nextCursor": string | null;
4573
+ readonly "snapshotSequence": number;
4574
+ };
4575
+ export type WorkLinesGetInput = {
4576
+ readonly "projectId": string;
4577
+ readonly "workLineId": string;
4578
+ };
4579
+ export type WorkLinesGetOutput = {
4580
+ readonly "line": Objects_107;
4581
+ readonly "snapshotSequence": number;
4582
+ };
4583
+ export type WorkLinesCreateInput = {
4584
+ readonly "projectId": string;
4585
+ readonly "requestId"?: string;
4586
+ readonly "workLineId"?: string;
4587
+ readonly "name": string;
4588
+ readonly "leadMemberId"?: string;
4589
+ readonly "members"?: ReadonlyArray<string>;
4590
+ readonly "threadId"?: string;
4591
+ };
4592
+ export type WorkLinesCreateOutput = {
4593
+ readonly "sequence": number;
4594
+ readonly "result": {
4595
+ readonly "workLineId": string;
4596
+ readonly "version": number;
4597
+ };
4598
+ readonly "replayed"?: boolean;
4599
+ };
4600
+ export type WorkLinesUpdateInput = {
4601
+ readonly "projectId": string;
4602
+ readonly "requestId"?: string;
4603
+ readonly "workLineId": string;
4604
+ readonly "expectedVersion": number;
4605
+ readonly "name"?: string;
4606
+ readonly "leadMemberId"?: string | null;
4607
+ readonly "addMemberIds"?: ReadonlyArray<string>;
4608
+ readonly "removeMemberIds"?: ReadonlyArray<string>;
4609
+ };
4610
+ export type WorkLinesUpdateOutput = {
4611
+ readonly "sequence": number;
4612
+ readonly "result": {
4613
+ readonly "workLineId": string;
4614
+ readonly "version": number;
4615
+ };
4616
+ readonly "replayed"?: boolean;
4617
+ };
4618
+ export type WorkLinesArchiveInput = Objects_108;
4619
+ export type WorkLinesArchiveOutput = {
4620
+ readonly "sequence": number;
4621
+ readonly "result": {
4622
+ readonly "workLineId": string;
4623
+ readonly "version": number;
4624
+ };
4625
+ readonly "replayed"?: boolean;
4626
+ };
4627
+ export type WorkLinesRestoreInput = Objects_108;
4628
+ export type WorkLinesRestoreOutput = {
4629
+ readonly "sequence": number;
4630
+ readonly "result": {
4631
+ readonly "workLineId": string;
4632
+ readonly "version": number;
4633
+ };
4634
+ readonly "replayed"?: boolean;
4635
+ };
4516
4636
  export type MembersListInput = {
4517
4637
  readonly "projectId": string;
4518
4638
  readonly "includeRemoved"?: boolean;
@@ -4605,7 +4725,7 @@ export type MembersUpdateInput = {
4605
4725
  readonly "name"?: string;
4606
4726
  readonly "title"?: string;
4607
4727
  readonly "responsibility"?: string;
4608
- readonly "avatar"?: Objects_107 | null;
4728
+ readonly "avatar"?: Objects_109 | null;
4609
4729
  readonly "workInstructions"?: string;
4610
4730
  readonly "identity"?: Union_51 | null;
4611
4731
  readonly "agent"?: {
@@ -4622,7 +4742,7 @@ export type MembersUpdateOutput = {
4622
4742
  };
4623
4743
  readonly "replayed"?: boolean;
4624
4744
  };
4625
- export type MembersRemoveInput = Objects_108;
4745
+ export type MembersRemoveInput = Objects_110;
4626
4746
  export type MembersRemoveOutput = {
4627
4747
  readonly "sequence": number;
4628
4748
  readonly "result": {
@@ -4631,7 +4751,7 @@ export type MembersRemoveOutput = {
4631
4751
  };
4632
4752
  readonly "replayed"?: boolean;
4633
4753
  };
4634
- export type MembersRestoreInput = Objects_108;
4754
+ export type MembersRestoreInput = Objects_110;
4635
4755
  export type MembersRestoreOutput = {
4636
4756
  readonly "sequence": number;
4637
4757
  readonly "result": {
@@ -4645,36 +4765,36 @@ export type ThreadsInteractionModeSetInput = {
4645
4765
  readonly "threadId": string;
4646
4766
  readonly "interactionMode": "default" | "plan";
4647
4767
  };
4648
- export type ThreadsInteractionModeSetOutput = Objects_109;
4768
+ export type ThreadsInteractionModeSetOutput = Objects_111;
4649
4769
  export type ThreadsNativeModeSetInput = {
4650
4770
  readonly "requestId"?: string;
4651
4771
  readonly "threadId": string;
4652
4772
  readonly "nativeModeId": string;
4653
4773
  };
4654
- export type ThreadsNativeModeSetOutput = Objects_109;
4774
+ export type ThreadsNativeModeSetOutput = Objects_111;
4655
4775
  export type ThreadsRuntimeModeSetInput = {
4656
4776
  readonly "requestId"?: string;
4657
4777
  readonly "threadId": string;
4658
4778
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
4659
4779
  };
4660
- export type ThreadsRuntimeModeSetOutput = Objects_109;
4780
+ export type ThreadsRuntimeModeSetOutput = Objects_111;
4661
4781
  export type ThreadsContextCompactInput = {
4662
4782
  readonly "requestId"?: string;
4663
4783
  readonly "threadId": string;
4664
4784
  };
4665
- export type ThreadsContextCompactOutput = Objects_109;
4785
+ export type ThreadsContextCompactOutput = Objects_111;
4666
4786
  export type PluginsSelfdevPromoteInput = {
4667
4787
  readonly "requestId"?: string;
4668
4788
  readonly "threadId": string;
4669
4789
  readonly "pluginId": string;
4670
4790
  };
4671
- export type PluginsSelfdevPromoteOutput = Objects_109;
4791
+ export type PluginsSelfdevPromoteOutput = Objects_111;
4672
4792
  export type PluginsSelfdevStopInput = {
4673
4793
  readonly "requestId"?: string;
4674
4794
  readonly "threadId": string;
4675
4795
  readonly "pluginId": string;
4676
4796
  };
4677
- export type PluginsSelfdevStopOutput = Objects_109;
4797
+ export type PluginsSelfdevStopOutput = Objects_111;
4678
4798
  export type ThreadsShellCommandRecordInput = {
4679
4799
  readonly "requestId"?: string;
4680
4800
  readonly "threadId": string;
@@ -4682,7 +4802,7 @@ export type ThreadsShellCommandRecordInput = {
4682
4802
  readonly "terminalId": string;
4683
4803
  readonly "cwd": string;
4684
4804
  };
4685
- export type ThreadsShellCommandRecordOutput = Objects_109;
4805
+ export type ThreadsShellCommandRecordOutput = Objects_111;
4686
4806
  export type ThreadsTurnIntentsEditInput = {
4687
4807
  readonly "requestId"?: string;
4688
4808
  readonly "threadId": string;
@@ -4696,7 +4816,7 @@ export type ThreadsTurnIntentsEditInput = {
4696
4816
  readonly "mimeType": string;
4697
4817
  readonly "sizeBytes": number;
4698
4818
  readonly "dataUrl": string;
4699
- readonly "source"?: Objects_110;
4819
+ readonly "source"?: Objects_112;
4700
4820
  } | {
4701
4821
  readonly "type": "file";
4702
4822
  readonly "name": string;
@@ -4709,7 +4829,7 @@ export type ThreadsTurnIntentsEditInput = {
4709
4829
  readonly "name": string;
4710
4830
  readonly "mimeType": string;
4711
4831
  readonly "sizeBytes": number;
4712
- readonly "source"?: Objects_110 | Objects_112;
4832
+ readonly "source"?: Objects_112 | Objects_114;
4713
4833
  } | {
4714
4834
  readonly "type": "file";
4715
4835
  readonly "id": string;
@@ -4718,7 +4838,7 @@ export type ThreadsTurnIntentsEditInput = {
4718
4838
  readonly "sizeBytes": number;
4719
4839
  readonly "source"?: {
4720
4840
  readonly "_tag": "pasted-text";
4721
- } | Objects_112 | {
4841
+ } | Objects_114 | {
4722
4842
  readonly "_tag": "thread-reference";
4723
4843
  readonly "environmentId": string;
4724
4844
  readonly "threadId": string;
@@ -4737,18 +4857,18 @@ export type ThreadsTurnIntentsReorderInput = {
4737
4857
  readonly "intentId": string;
4738
4858
  readonly "beforeIntentId": string | null;
4739
4859
  };
4740
- export type ThreadsTurnIntentsReorderOutput = Objects_109;
4860
+ export type ThreadsTurnIntentsReorderOutput = Objects_111;
4741
4861
  export type ThreadsTurnQueuePauseInput = {
4742
4862
  readonly "requestId"?: string;
4743
4863
  readonly "threadId": string;
4744
4864
  };
4745
- export type ThreadsTurnQueuePauseOutput = Objects_109;
4865
+ export type ThreadsTurnQueuePauseOutput = Objects_111;
4746
4866
  export type ThreadsUserInputDismissInput = {
4747
4867
  readonly "requestId"?: string;
4748
4868
  readonly "threadId": string;
4749
4869
  readonly "userInputRequestId": string;
4750
4870
  };
4751
- export type ThreadsUserInputDismissOutput = Objects_109;
4871
+ export type ThreadsUserInputDismissOutput = Objects_111;
4752
4872
  export type ThreadsDecisionsRespondInput = {
4753
4873
  readonly "requestId"?: string;
4754
4874
  readonly "threadId": string;
@@ -4756,52 +4876,52 @@ export type ThreadsDecisionsRespondInput = {
4756
4876
  readonly "optionId": string;
4757
4877
  readonly "reason"?: string;
4758
4878
  };
4759
- export type ThreadsDecisionsRespondOutput = Objects_109;
4879
+ export type ThreadsDecisionsRespondOutput = Objects_111;
4760
4880
  export type ThreadsSnoozeInput = {
4761
4881
  readonly "requestId"?: string;
4762
4882
  readonly "threadId": string;
4763
4883
  readonly "snoozedUntil": string;
4764
4884
  };
4765
- export type ThreadsSnoozeOutput = Objects_109;
4885
+ export type ThreadsSnoozeOutput = Objects_111;
4766
4886
  export type ThreadsUnsnoozeInput = {
4767
4887
  readonly "requestId"?: string;
4768
4888
  readonly "threadId": string;
4769
4889
  readonly "reason": "user";
4770
4890
  };
4771
- export type ThreadsUnsnoozeOutput = Objects_109;
4891
+ export type ThreadsUnsnoozeOutput = Objects_111;
4772
4892
  export type ThreadsReorderInput = {
4773
4893
  readonly "requestId"?: string;
4774
4894
  readonly "threadId": string;
4775
4895
  readonly "orderKey": string;
4776
4896
  };
4777
- export type ThreadsReorderOutput = Objects_109;
4897
+ export type ThreadsReorderOutput = Objects_111;
4778
4898
  export type ThreadsDeleteInput = {
4779
4899
  readonly "requestId"?: string;
4780
4900
  readonly "threadId": string;
4781
4901
  };
4782
- export type ThreadsDeleteOutput = Objects_109;
4902
+ export type ThreadsDeleteOutput = Objects_111;
4783
4903
  export type ThreadsArchiveInput = {
4784
4904
  readonly "requestId"?: string;
4785
4905
  readonly "threadId": string;
4786
4906
  };
4787
- export type ThreadsArchiveOutput = Objects_109;
4907
+ export type ThreadsArchiveOutput = Objects_111;
4788
4908
  export type ThreadsUnarchiveInput = {
4789
4909
  readonly "requestId"?: string;
4790
4910
  readonly "threadId": string;
4791
4911
  };
4792
- export type ThreadsUnarchiveOutput = Objects_109;
4912
+ export type ThreadsUnarchiveOutput = Objects_111;
4793
4913
  export type ThreadsSettleInput = {
4794
4914
  readonly "requestId"?: string;
4795
4915
  readonly "threadId": string;
4796
4916
  readonly "discardQueued"?: boolean;
4797
4917
  };
4798
- export type ThreadsSettleOutput = Objects_109;
4918
+ export type ThreadsSettleOutput = Objects_111;
4799
4919
  export type ThreadsUnsettleInput = {
4800
4920
  readonly "requestId"?: string;
4801
4921
  readonly "threadId": string;
4802
4922
  readonly "reason": "user";
4803
4923
  };
4804
- export type ThreadsUnsettleOutput = Objects_109;
4924
+ export type ThreadsUnsettleOutput = Objects_111;
4805
4925
  export type ThreadsCreateInput = {
4806
4926
  readonly "requestId"?: string;
4807
4927
  readonly "threadId": string;
@@ -4831,7 +4951,7 @@ export type ThreadsCreateInput = {
4831
4951
  };
4832
4952
  readonly "presetId"?: string;
4833
4953
  };
4834
- export type ThreadsCreateOutput = Objects_109;
4954
+ export type ThreadsCreateOutput = Objects_111;
4835
4955
  export type ThreadsForkInput = {
4836
4956
  readonly "requestId"?: string;
4837
4957
  readonly "threadId": string;
@@ -4840,7 +4960,7 @@ export type ThreadsForkInput = {
4840
4960
  readonly "startFolderId"?: string;
4841
4961
  readonly "folderIds"?: ReadonlyArray<string>;
4842
4962
  };
4843
- export type ThreadsForkOutput = Objects_109;
4963
+ export type ThreadsForkOutput = Objects_111;
4844
4964
  export type ThreadsImportInput = {
4845
4965
  readonly "requestId"?: string;
4846
4966
  readonly "threadId": string;
@@ -4884,7 +5004,7 @@ export type ThreadsImportInput = {
4884
5004
  readonly "createdAt": string;
4885
5005
  }>;
4886
5006
  };
4887
- export type ThreadsImportOutput = Objects_109;
5007
+ export type ThreadsImportOutput = Objects_111;
4888
5008
  export type ThreadsExternalMessagesAppendInput = {
4889
5009
  readonly "requestId"?: string;
4890
5010
  readonly "threadId": string;
@@ -4920,7 +5040,7 @@ export type ThreadsExternalMessagesAppendInput = {
4920
5040
  readonly "createdAt": string;
4921
5041
  }>;
4922
5042
  };
4923
- export type ThreadsExternalMessagesAppendOutput = Objects_109;
5043
+ export type ThreadsExternalMessagesAppendOutput = Objects_111;
4924
5044
  export type ThreadsUpdateInput = {
4925
5045
  readonly "threadId": string;
4926
5046
  readonly "requestId"?: string;
@@ -4931,15 +5051,15 @@ export type ThreadsUpdateInput = {
4931
5051
  readonly "model": string;
4932
5052
  readonly "options"?: Union_33;
4933
5053
  };
4934
- readonly "executionSelection"?: Objects_113 | null;
5054
+ readonly "executionSelection"?: Objects_115 | null;
4935
5055
  readonly "branch"?: string | null;
4936
5056
  readonly "expectedBranch"?: string | null;
4937
5057
  readonly "worktreePath"?: string | null;
4938
- readonly "linkedPullRequest"?: Objects_114 | null;
5058
+ readonly "linkedPullRequest"?: Objects_116 | null;
4939
5059
  readonly "presetId"?: string | null;
4940
5060
  readonly "folderIds"?: ReadonlyArray<string>;
4941
5061
  };
4942
- export type ThreadsUpdateOutput = Objects_109;
5062
+ export type ThreadsUpdateOutput = Objects_111;
4943
5063
  export type ThreadsTurnsStartInput = {
4944
5064
  readonly "requestId"?: string;
4945
5065
  readonly "threadId": string;
@@ -4953,7 +5073,7 @@ export type ThreadsTurnsStartInput = {
4953
5073
  readonly "mimeType": string;
4954
5074
  readonly "sizeBytes": number;
4955
5075
  readonly "dataUrl": string;
4956
- readonly "source"?: Objects_115;
5076
+ readonly "source"?: Objects_117;
4957
5077
  } | {
4958
5078
  readonly "type": "file";
4959
5079
  readonly "name": string;
@@ -4966,7 +5086,7 @@ export type ThreadsTurnsStartInput = {
4966
5086
  readonly "name": string;
4967
5087
  readonly "mimeType": string;
4968
5088
  readonly "sizeBytes": number;
4969
- readonly "source"?: Objects_115 | Objects_117;
5089
+ readonly "source"?: Objects_117 | Objects_119;
4970
5090
  } | {
4971
5091
  readonly "type": "file";
4972
5092
  readonly "id": string;
@@ -4975,7 +5095,7 @@ export type ThreadsTurnsStartInput = {
4975
5095
  readonly "sizeBytes": number;
4976
5096
  readonly "source"?: {
4977
5097
  readonly "_tag": "pasted-text";
4978
- } | Objects_117 | {
5098
+ } | Objects_119 | {
4979
5099
  readonly "_tag": "thread-reference";
4980
5100
  readonly "environmentId": string;
4981
5101
  readonly "threadId": string;
@@ -5038,7 +5158,6 @@ export type ThreadsTurnsStartInput = {
5038
5158
  readonly "createdAt": string;
5039
5159
  };
5040
5160
  readonly "prepareWorktree"?: {
5041
- readonly "projectCwd"?: string;
5042
5161
  readonly "baseBranch": string;
5043
5162
  readonly "branch"?: string;
5044
5163
  readonly "startFromOrigin"?: boolean;
@@ -5094,11 +5213,11 @@ export type ThreadsUserInputRespondInput = {
5094
5213
  readonly "height": number;
5095
5214
  };
5096
5215
  readonly "truncated": boolean;
5097
- readonly "root": Objects_118;
5216
+ readonly "root": Objects_120;
5098
5217
  };
5099
5218
  readonly "appIdentifier"?: string;
5100
5219
  readonly "appIconDataUrl"?: string;
5101
- } | Objects_119;
5220
+ } | Objects_121;
5102
5221
  } | {
5103
5222
  readonly "type": "file";
5104
5223
  readonly "id": string;
@@ -5107,7 +5226,7 @@ export type ThreadsUserInputRespondInput = {
5107
5226
  readonly "sizeBytes": number;
5108
5227
  readonly "source"?: {
5109
5228
  readonly "_tag": "pasted-text";
5110
- } | Objects_119 | {
5229
+ } | Objects_121 | {
5111
5230
  readonly "_tag": "thread-reference";
5112
5231
  readonly "environmentId": string;
5113
5232
  readonly "threadId": string;
@@ -5115,20 +5234,20 @@ export type ThreadsUserInputRespondInput = {
5115
5234
  }>;
5116
5235
  };
5117
5236
  };
5118
- export type ThreadsUserInputRespondOutput = Objects_109;
5237
+ export type ThreadsUserInputRespondOutput = Objects_111;
5119
5238
  export type ThreadsTurnsInterruptInput = {
5120
5239
  readonly "requestId"?: string;
5121
5240
  readonly "threadId": string;
5122
5241
  readonly "turnId"?: string;
5123
5242
  };
5124
- export type ThreadsTurnsInterruptOutput = Objects_109;
5243
+ export type ThreadsTurnsInterruptOutput = Objects_111;
5125
5244
  export type ThreadsSessionStopInput = {
5126
5245
  readonly "requestId"?: string;
5127
5246
  readonly "threadId": string;
5128
5247
  readonly "onlyIfSettled"?: boolean;
5129
5248
  readonly "onlyIfNoTurnInFlight"?: boolean;
5130
5249
  };
5131
- export type ThreadsSessionStopOutput = Objects_109;
5250
+ export type ThreadsSessionStopOutput = Objects_111;
5132
5251
  export type ApprovalsRespondInput = {
5133
5252
  readonly "requestId"?: string;
5134
5253
  readonly "threadId": string;
@@ -5136,7 +5255,7 @@ export type ApprovalsRespondInput = {
5136
5255
  readonly "decision": "accept" | "acceptForSession" | "acceptAlways" | "decline" | "cancel";
5137
5256
  readonly "reason"?: string;
5138
5257
  };
5139
- export type ApprovalsRespondOutput = Objects_109;
5258
+ export type ApprovalsRespondOutput = Objects_111;
5140
5259
  export type ThreadsTurnIntentsRunInput = {
5141
5260
  readonly "requestId"?: string;
5142
5261
  readonly "threadId": string;
@@ -5144,7 +5263,7 @@ export type ThreadsTurnIntentsRunInput = {
5144
5263
  readonly "mode": "steer" | "interrupt";
5145
5264
  readonly "expectedTurnId"?: string | null;
5146
5265
  };
5147
- export type ThreadsTurnIntentsRunOutput = Objects_109;
5266
+ export type ThreadsTurnIntentsRunOutput = Objects_111;
5148
5267
  export type ThreadsTurnIntentsCancelInput = {
5149
5268
  readonly "requestId"?: string;
5150
5269
  readonly "threadId": string;
@@ -5152,12 +5271,12 @@ export type ThreadsTurnIntentsCancelInput = {
5152
5271
  readonly "expectedStatus"?: "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5153
5272
  readonly "expectedDeliveryCertainty"?: "not-dispatched" | "confirmed" | "unknown";
5154
5273
  };
5155
- export type ThreadsTurnIntentsCancelOutput = Objects_109;
5274
+ export type ThreadsTurnIntentsCancelOutput = Objects_111;
5156
5275
  export type ThreadsTurnQueueResumeInput = {
5157
5276
  readonly "requestId"?: string;
5158
5277
  readonly "threadId": string;
5159
5278
  };
5160
- export type ThreadsTurnQueueResumeOutput = Objects_109;
5279
+ export type ThreadsTurnQueueResumeOutput = Objects_111;
5161
5280
  export type ProjectsUpdateInput = {
5162
5281
  readonly "requestId"?: string;
5163
5282
  readonly "projectId": string;
@@ -5178,42 +5297,42 @@ export type ProjectsUpdateInput = {
5178
5297
  }>;
5179
5298
  readonly "defaultFolderId"?: string | null;
5180
5299
  };
5181
- export type ProjectsUpdateOutput = Objects_109;
5300
+ export type ProjectsUpdateOutput = Objects_111;
5182
5301
  export type ProjectsArchiveInput = {
5183
5302
  readonly "requestId"?: string;
5184
5303
  readonly "projectId": string;
5185
5304
  };
5186
- export type ProjectsArchiveOutput = Objects_109;
5305
+ export type ProjectsArchiveOutput = Objects_111;
5187
5306
  export type ProjectsUnarchiveInput = {
5188
5307
  readonly "requestId"?: string;
5189
5308
  readonly "projectId": string;
5190
5309
  };
5191
- export type ProjectsUnarchiveOutput = Objects_109;
5310
+ export type ProjectsUnarchiveOutput = Objects_111;
5192
5311
  export type ProjectsDeleteInput = {
5193
5312
  readonly "requestId"?: string;
5194
5313
  readonly "projectId": string;
5195
5314
  readonly "force"?: boolean;
5196
5315
  };
5197
- export type ProjectsDeleteOutput = Objects_109;
5316
+ export type ProjectsDeleteOutput = Objects_111;
5198
5317
  export type ProjectsReorderInput = {
5199
5318
  readonly "requestId"?: string;
5200
5319
  readonly "projectId": string;
5201
5320
  readonly "orderKey": string;
5202
5321
  };
5203
- export type ProjectsReorderOutput = Objects_109;
5322
+ export type ProjectsReorderOutput = Objects_111;
5204
5323
  export type ProjectsFoldersDetachInput = {
5205
5324
  readonly "requestId"?: string;
5206
5325
  readonly "projectId": string;
5207
5326
  readonly "folderId": string;
5208
5327
  };
5209
- export type ProjectsFoldersDetachOutput = Objects_109;
5328
+ export type ProjectsFoldersDetachOutput = Objects_111;
5210
5329
  export type ProjectsFoldersRelocateInput = {
5211
5330
  readonly "requestId"?: string;
5212
5331
  readonly "projectId": string;
5213
5332
  readonly "folderId": string;
5214
5333
  readonly "path": string;
5215
5334
  };
5216
- export type ProjectsFoldersRelocateOutput = Objects_109;
5335
+ export type ProjectsFoldersRelocateOutput = Objects_111;
5217
5336
  export type ProjectsToolkitsSetInput = {
5218
5337
  readonly "projectId": string;
5219
5338
  readonly "toolkit": "board" | "memory" | "messages";
@@ -5259,10 +5378,10 @@ export type ProjectsCloneStartOutput = {
5259
5378
  readonly "projectId": string;
5260
5379
  readonly "folderId": string;
5261
5380
  };
5262
- export type ProjectsCloneRetryInput = Objects_120;
5263
- export type ProjectsCloneRetryOutput = Objects_121;
5264
- export type ProjectsCloneCancelInput = Objects_120;
5265
- export type ProjectsCloneCancelOutput = Objects_121;
5381
+ export type ProjectsCloneRetryInput = Objects_122;
5382
+ export type ProjectsCloneRetryOutput = Objects_123;
5383
+ export type ProjectsCloneCancelInput = Objects_122;
5384
+ export type ProjectsCloneCancelOutput = Objects_123;
5266
5385
  export type ProjectsCreateInput = {
5267
5386
  readonly "requestId"?: string;
5268
5387
  readonly "projectId": string;
@@ -5272,14 +5391,14 @@ export type ProjectsCreateInput = {
5272
5391
  readonly "defaultModelSelection"?: Objects_49 | null;
5273
5392
  readonly "homeEnvironmentId"?: string;
5274
5393
  };
5275
- export type ProjectsCreateOutput = Objects_109;
5394
+ export type ProjectsCreateOutput = Objects_111;
5276
5395
  export type ProjectsFoldersAttachInput = {
5277
5396
  readonly "requestId"?: string;
5278
5397
  readonly "projectId": string;
5279
5398
  readonly "path": string;
5280
5399
  readonly "threadId"?: string;
5281
5400
  };
5282
- export type ProjectsFoldersAttachOutput = Objects_109;
5401
+ export type ProjectsFoldersAttachOutput = Objects_111;
5283
5402
  export type CommunicationPeopleCurrentInput = {};
5284
5403
  export type CommunicationPeopleCurrentOutput = {
5285
5404
  readonly "person": Union_29 | null;
@@ -5293,10 +5412,10 @@ export type ThreadsListEncodedOutput = {
5293
5412
  readonly "updatedAt": string;
5294
5413
  readonly "archivedAt": string | null;
5295
5414
  readonly "parentThreadId": string | null;
5296
- readonly "forkedFrom": Objects_122 | null;
5415
+ readonly "forkedFrom": Objects_124 | null;
5297
5416
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5298
5417
  readonly "interactionMode": "default" | "plan";
5299
- readonly "modelSelection": Objects_123;
5418
+ readonly "modelSelection": Objects_125;
5300
5419
  readonly "sessionStatus": "idle" | "starting" | "running" | "ready" | "interrupted" | "stopped" | "error" | null;
5301
5420
  readonly "sessionFailureCategory"?: string;
5302
5421
  readonly "latestTurnState": "running" | "interrupted" | "completed" | "error" | null;
@@ -5351,8 +5470,8 @@ export type ThreadsListEncodedOutput = {
5351
5470
  };
5352
5471
  export type ThreadsArchivedListEncodedOutput = {
5353
5472
  readonly "snapshotSequence": number;
5354
- readonly "projects": ReadonlyArray<Objects_131>;
5355
- readonly "threads": ReadonlyArray<Objects_132>;
5473
+ readonly "projects": ReadonlyArray<Objects_133>;
5474
+ readonly "threads": ReadonlyArray<Objects_134>;
5356
5475
  readonly "updatedAt": string;
5357
5476
  };
5358
5477
  export type ThreadsHistoryEncodedOutput = {
@@ -5362,7 +5481,7 @@ export type ThreadsHistoryEncodedOutput = {
5362
5481
  readonly "id": string;
5363
5482
  readonly "projectId": string;
5364
5483
  readonly "title": string;
5365
- readonly "modelSelection": Objects_123;
5484
+ readonly "modelSelection": Objects_125;
5366
5485
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5367
5486
  readonly "interactionMode"?: "default" | "plan" | undefined;
5368
5487
  readonly "nativeModeId"?: string | null | undefined;
@@ -5370,12 +5489,12 @@ export type ThreadsHistoryEncodedOutput = {
5370
5489
  readonly "worktreePath": string | null;
5371
5490
  readonly "startFolderId"?: string | null | undefined;
5372
5491
  readonly "folderIds"?: ReadonlyArray<string> | undefined;
5373
- readonly "linkedPullRequest"?: Objects_114 | null | undefined;
5374
- readonly "origin"?: Objects_124 | null | undefined;
5375
- readonly "forkedFrom"?: Objects_122 | null | undefined;
5492
+ readonly "linkedPullRequest"?: Objects_116 | null | undefined;
5493
+ readonly "origin"?: Objects_126 | null | undefined;
5494
+ readonly "forkedFrom"?: Objects_124 | null | undefined;
5376
5495
  readonly "presetId"?: string | null | undefined;
5377
- readonly "createdBy"?: Objects_125 | null | undefined;
5378
- readonly "latestTurn": Objects_126 | null;
5496
+ readonly "createdBy"?: Objects_127 | null | undefined;
5497
+ readonly "latestTurn": Objects_128 | null;
5379
5498
  readonly "stopRequestedAt"?: string | null;
5380
5499
  readonly "createdAt": string;
5381
5500
  readonly "updatedAt": string;
@@ -5389,7 +5508,7 @@ export type ThreadsHistoryEncodedOutput = {
5389
5508
  readonly "pinOrderKey"?: string | null | undefined;
5390
5509
  readonly "sortOrderKey"?: string | null | undefined;
5391
5510
  readonly "pendingNotifications"?: ReadonlyArray<unknown> | undefined;
5392
- readonly "executionSelection"?: Objects_113 | undefined;
5511
+ readonly "executionSelection"?: Objects_115 | undefined;
5393
5512
  readonly "turnIntents"?: ReadonlyArray<{
5394
5513
  readonly "intentId": string;
5395
5514
  readonly "threadId": string;
@@ -5420,7 +5539,7 @@ export type ThreadsHistoryEncodedOutput = {
5420
5539
  readonly "binding"?: {
5421
5540
  readonly "bindingId": string;
5422
5541
  readonly "generation": number;
5423
- readonly "selection": Objects_113;
5542
+ readonly "selection": Objects_115;
5424
5543
  readonly "compatibility": {
5425
5544
  readonly "match": "native" | "via-adapter" | "unsupported" | "unknown";
5426
5545
  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";
@@ -5503,8 +5622,8 @@ export type ThreadsHistoryEncodedOutput = {
5503
5622
  readonly "turnQueuePaused"?: boolean | undefined;
5504
5623
  readonly "turnQueuePauseSource"?: "automatic-failure" | "manual" | "unknown" | undefined;
5505
5624
  readonly "acceptedInteractionRequestIds"?: ReadonlyArray<string> | undefined;
5506
- readonly "titleRegeneration"?: Objects_128 | null | undefined;
5507
- readonly "titleState"?: Objects_129 | null | undefined;
5625
+ readonly "titleRegeneration"?: Objects_130 | null | undefined;
5626
+ readonly "titleState"?: Objects_131 | null | undefined;
5508
5627
  readonly "deletedAt": string | null;
5509
5628
  readonly "messages": ReadonlyArray<{
5510
5629
  readonly "id": string;
@@ -5559,15 +5678,15 @@ export type ThreadsHistoryEncodedOutput = {
5559
5678
  readonly "state": "running" | "interrupted" | "completed" | "error";
5560
5679
  readonly "startedAt": string | null;
5561
5680
  readonly "completedAt": string | null;
5562
- readonly "waitSpans"?: ReadonlyArray<Objects_127>;
5681
+ readonly "waitSpans"?: ReadonlyArray<Objects_129>;
5563
5682
  readonly "runSegments"?: Arrays_4;
5564
5683
  readonly "modelSummary"?: {
5565
5684
  readonly "text": string;
5566
- readonly "modelSelection": Objects_123;
5685
+ readonly "modelSelection": Objects_125;
5567
5686
  readonly "generatedAt": string;
5568
5687
  };
5569
5688
  }> | undefined;
5570
- readonly "session": Objects_130 | null;
5689
+ readonly "session": Objects_132 | null;
5571
5690
  };
5572
5691
  readonly "page"?: {
5573
5692
  readonly "beforeCursor": string | null;
@@ -5591,7 +5710,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5591
5710
  readonly "threadId": string;
5592
5711
  readonly "projectId": string;
5593
5712
  readonly "title": string;
5594
- readonly "modelSelection": Objects_123;
5713
+ readonly "modelSelection": Objects_125;
5595
5714
  readonly "runtimeMode": "approval-required" | "auto-accept-edits" | "auto" | "full-access";
5596
5715
  readonly "interactionMode"?: "default" | "plan" | undefined;
5597
5716
  readonly "branch": string | null;
@@ -5599,7 +5718,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5599
5718
  readonly "createdAt": string;
5600
5719
  readonly "updatedAt": string;
5601
5720
  readonly "archivedAt"?: string | null | undefined;
5602
- readonly "origin": Objects_124 | null;
5721
+ readonly "origin": Objects_126 | null;
5603
5722
  readonly "forkedFrom": {
5604
5723
  readonly "sourceThreadId": string;
5605
5724
  readonly "sourceMessageId": string;
@@ -5642,7 +5761,7 @@ export type ThreadsExecutionGetEncodedOutput = {
5642
5761
  readonly "requestedAt": string;
5643
5762
  readonly "startedAt": string | null;
5644
5763
  readonly "completedAt": string | null;
5645
- readonly "waitSpans": ReadonlyArray<Objects_127>;
5764
+ readonly "waitSpans": ReadonlyArray<Objects_129>;
5646
5765
  } | null;
5647
5766
  readonly "status": "queued" | "preparing" | "dispatching" | "running" | "completed" | "interrupted" | "failed" | "reconciling" | "blocked" | "cancelled" | "abandoned";
5648
5767
  readonly "deliveryCertainty": "not-dispatched" | "confirmed" | "unknown";
@@ -5674,11 +5793,11 @@ export type ThreadsMessagesGetEncodedOutput = {
5674
5793
  readonly "text": string;
5675
5794
  readonly "turnId": string | null;
5676
5795
  readonly "createdAt": string;
5677
- readonly "modelSelection"?: Objects_123 | undefined;
5678
- readonly "source"?: Objects_135 | undefined;
5796
+ readonly "modelSelection"?: Objects_125 | undefined;
5797
+ readonly "source"?: Objects_137 | undefined;
5679
5798
  readonly "attachments": ReadonlyArray<Union_67>;
5680
5799
  } | null;
5681
- export type ThreadsGetEncodedOutput = Objects_132;
5800
+ export type ThreadsGetEncodedOutput = Objects_134;
5682
5801
  export type ThreadsMessagesListEncodedOutput = {
5683
5802
  readonly "items": ReadonlyArray<{
5684
5803
  readonly "id": string;
@@ -5712,8 +5831,8 @@ export type ThreadsMessagesListEncodedOutput = {
5712
5831
  readonly "snapshotSequence": number;
5713
5832
  readonly "total"?: number;
5714
5833
  };
5715
- export type ProjectsListEncodedOutput = ReadonlyArray<Objects_131>;
5716
- export type ProjectsGetEncodedOutput = Objects_131;
5834
+ export type ProjectsListEncodedOutput = ReadonlyArray<Objects_133>;
5835
+ export type ProjectsGetEncodedOutput = Objects_133;
5717
5836
  export type MachineSettingsEditorsGetEncodedOutput = {
5718
5837
  readonly "availableEditors": ReadonlyArray<unknown>;
5719
5838
  readonly "editorDiscovery"?: unknown;
@@ -5733,7 +5852,7 @@ export type MachineSettingsGetEncodedOutput = {
5733
5852
  readonly "enableProviderUpdateChecks"?: boolean | undefined;
5734
5853
  readonly "enableAgentBrowserAccess"?: boolean | undefined;
5735
5854
  readonly "enableAgentThreadDelegation"?: boolean | undefined;
5736
- readonly "agentRouting"?: Objects_136 | undefined;
5855
+ readonly "agentRouting"?: Objects_138 | undefined;
5737
5856
  readonly "enableAgentSelfDevelopment"?: boolean | undefined;
5738
5857
  readonly "recordProviderWire"?: boolean | undefined;
5739
5858
  readonly "enableHeapSnapshot"?: boolean | undefined;
@@ -5746,19 +5865,19 @@ export type MachineSettingsGetEncodedOutput = {
5746
5865
  readonly "newWorktreesStartFromOrigin"?: boolean | undefined;
5747
5866
  readonly "addProjectBaseDirectory"?: string | undefined;
5748
5867
  readonly "autoTurnSummaries"?: boolean | undefined;
5749
- readonly "textGenerationModelSelection"?: Objects_123 | null | undefined;
5868
+ readonly "textGenerationModelSelection"?: Objects_125 | null | undefined;
5750
5869
  readonly "sourceControlWritingStyle"?: {
5751
5870
  readonly "mode"?: "repo_conventions" | "conventional_commits" | "custom" | undefined;
5752
5871
  readonly "customInstructions"?: string | undefined;
5753
5872
  readonly "followChangeRequestTemplates"?: boolean | undefined;
5754
5873
  } | undefined;
5755
- readonly "sourceControlWriterModelSelection"?: Objects_123 | null | undefined;
5874
+ readonly "sourceControlWriterModelSelection"?: Objects_125 | null | undefined;
5756
5875
  readonly "defaultProxyId"?: string | null | undefined;
5757
5876
  readonly "wallpaper"?: {
5758
- readonly "base": Objects_137;
5759
- readonly "sidebar": Objects_137 | null;
5760
- readonly "workspace": Objects_137 | null;
5761
- readonly "chat": Objects_137 | null;
5877
+ readonly "base": Objects_139;
5878
+ readonly "sidebar": Objects_139 | null;
5879
+ readonly "workspace": Objects_139 | null;
5880
+ readonly "chat": Objects_139 | null;
5762
5881
  } | undefined;
5763
5882
  readonly "requireManualPairingForNewDevices"?: boolean | undefined;
5764
5883
  readonly "tunnelForceTcp"?: boolean | undefined;
@@ -5853,6 +5972,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
5853
5972
  readonly "projectArchive"?: boolean;
5854
5973
  readonly "projectCloneInBackground"?: boolean;
5855
5974
  readonly "projectMultiFolder"?: boolean;
5975
+ readonly "workLines"?: boolean;
5856
5976
  readonly "worktreeSetupProgress"?: boolean;
5857
5977
  readonly "threadTitleRegeneration"?: boolean;
5858
5978
  readonly "threadPullRequestLinking"?: boolean;
@@ -5888,7 +6008,7 @@ export type MachineSettingsConfigGetEncodedOutput = {
5888
6008
  };
5889
6009
  readonly "runtimeMaintenanceRoot"?: string;
5890
6010
  };
5891
- export type ProvidersRoutingGetEncodedOutput = Objects_136;
6011
+ export type ProvidersRoutingGetEncodedOutput = Objects_138;
5892
6012
  export type ProvidersSelectionResolveEncodedOutput = {
5893
6013
  readonly "modelSelection": Objects_49;
5894
6014
  };
@@ -6072,7 +6192,7 @@ export type ThreadsArtifactsListEncodedOutput = {
6072
6192
  readonly "turnId": string | null;
6073
6193
  readonly "messageId": string;
6074
6194
  readonly "deliveredAt": string;
6075
- readonly "modelSelection"?: Objects_123;
6195
+ readonly "modelSelection"?: Objects_125;
6076
6196
  }>;
6077
6197
  readonly "nextCursor": string | null;
6078
6198
  };
@@ -6471,6 +6591,14 @@ export interface PluginDataPorts {
6471
6591
  readonly history: {
6472
6592
  readonly list: (input: WorkHistoryListInput) => Promise<WorkHistoryListOutput>;
6473
6593
  };
6594
+ readonly lines: {
6595
+ readonly list: (input: WorkLinesListInput) => Promise<WorkLinesListOutput>;
6596
+ readonly get: (input: WorkLinesGetInput) => Promise<WorkLinesGetOutput>;
6597
+ readonly create: (input: WorkLinesCreateInput) => Promise<WorkLinesCreateOutput>;
6598
+ readonly update: (input: WorkLinesUpdateInput) => Promise<WorkLinesUpdateOutput>;
6599
+ readonly archive: (input: WorkLinesArchiveInput) => Promise<WorkLinesArchiveOutput>;
6600
+ readonly restore: (input: WorkLinesRestoreInput) => Promise<WorkLinesRestoreOutput>;
6601
+ };
6474
6602
  };
6475
6603
  readonly members: {
6476
6604
  readonly list: (input: MembersListInput) => Promise<MembersListOutput>;
@@ -6495,6 +6623,12 @@ export interface PluginAsPersonPorts {
6495
6623
  readonly comments: {
6496
6624
  readonly post: (input: WorkCommentsPostInput) => Promise<WorkCommentsPostOutput>;
6497
6625
  };
6626
+ readonly lines: {
6627
+ readonly create: (input: WorkLinesCreateInput) => Promise<WorkLinesCreateOutput>;
6628
+ readonly update: (input: WorkLinesUpdateInput) => Promise<WorkLinesUpdateOutput>;
6629
+ readonly archive: (input: WorkLinesArchiveInput) => Promise<WorkLinesArchiveOutput>;
6630
+ readonly restore: (input: WorkLinesRestoreInput) => Promise<WorkLinesRestoreOutput>;
6631
+ };
6498
6632
  };
6499
6633
  readonly memory: {
6500
6634
  readonly handbook: {
@@ -6850,6 +6984,14 @@ export interface PluginUiDataReads {
6850
6984
  readonly input: WorkHistoryListInput;
6851
6985
  readonly output: WorkHistoryListOutput;
6852
6986
  };
6987
+ readonly "work.lines.list": {
6988
+ readonly input: WorkLinesListInput;
6989
+ readonly output: WorkLinesListOutput;
6990
+ };
6991
+ readonly "work.lines.get": {
6992
+ readonly input: WorkLinesGetInput;
6993
+ readonly output: WorkLinesGetOutput;
6994
+ };
6853
6995
  readonly "members.list": {
6854
6996
  readonly input: MembersListInput;
6855
6997
  readonly output: MembersListEncodedOutput;