shuvcode 2.0.0-alpha-11 → 2.0.0-alpha-12

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.
@@ -61,6 +61,7 @@ export type SessionMessageAgentSelected = {
61
61
  };
62
62
  type: "agent-switched";
63
63
  agent: string;
64
+ previous?: string;
64
65
  };
65
66
  export type PromptBase64 = string;
66
67
  export type PromptFileSource = {
@@ -99,6 +100,7 @@ export type SessionMessageSystem = {
99
100
  };
100
101
  type: "system";
101
102
  text: string;
103
+ description?: string;
102
104
  };
103
105
  export type SessionMessageSkill = {
104
106
  id: string;
@@ -200,26 +202,22 @@ export type SessionMessageCompactionCompleted = {
200
202
  export type SessionActive = {
201
203
  type: "running";
202
204
  };
203
- export type SessionPendingSyntheticData = {
205
+ export type SessionInboxDelivery = "steer" | "queue";
206
+ export type SessionInboxSyntheticPayload = {
204
207
  text: string;
205
208
  description?: string;
206
209
  metadata?: {
207
210
  [x: string]: JsonValue;
208
211
  };
209
212
  };
210
- export type SessionPendingCompaction = {
211
- id: string;
212
- sessionID: string;
213
- timeCreated: number;
214
- type: "compaction";
215
- };
213
+ export type SessionInboxCompactionPayload = {};
216
214
  export type InstructionEntryKey = string;
217
215
  export type SessionGenerateResponse = {
218
216
  data: {
219
217
  text: string;
220
218
  };
221
219
  };
222
- export type SessionPendingSyntheticData1 = {
220
+ export type SessionInboxSyntheticPayload1 = {
223
221
  text: string;
224
222
  description?: string;
225
223
  metadata?: {
@@ -301,7 +299,7 @@ export type ProviderInfo = {
301
299
  id: string;
302
300
  integrationID?: string;
303
301
  name: string;
304
- disabled?: boolean;
302
+ activation: "auto" | "enabled" | "disabled";
305
303
  package: string;
306
304
  settings?: {
307
305
  [x: string]: any;
@@ -466,10 +464,6 @@ export type ProjectCurrent = {
466
464
  directory: string;
467
465
  canonical: string;
468
466
  };
469
- export type ProjectDirectory = {
470
- directory: string;
471
- strategy?: string;
472
- };
473
467
  export type FormMetadata = {
474
468
  [x: string]: JsonValue;
475
469
  };
@@ -509,15 +503,6 @@ export type Pty = {
509
503
  pid: number;
510
504
  exitCode?: number;
511
505
  };
512
- export type QuestionOption = {
513
- label: string;
514
- description: string;
515
- };
516
- export type QuestionTool = {
517
- messageID: string;
518
- id: string;
519
- };
520
- export type QuestionAnswer = Array<string>;
521
506
  export type FormMetadata1 = {
522
507
  [x: string]: any;
523
508
  };
@@ -574,7 +559,11 @@ export type ReferenceGitSource = {
574
559
  description?: string;
575
560
  hidden?: boolean;
576
561
  };
577
- export type ProjectCopyCopy = {
562
+ export type WorktreeDirectory = {
563
+ directory: string;
564
+ strategy?: string;
565
+ };
566
+ export type WorktreeInfo = {
578
567
  directory: string;
579
568
  };
580
569
  export type VcsBranch = {
@@ -633,6 +622,29 @@ export type PermissionRule = {
633
622
  resource: string;
634
623
  effect: PermissionEffect;
635
624
  };
625
+ export type SessionMessageLocationSwitched = {
626
+ id: string;
627
+ metadata?: {
628
+ [x: string]: JsonValue;
629
+ };
630
+ time: {
631
+ created: number;
632
+ };
633
+ type: "location-switched";
634
+ location: LocationRef;
635
+ projectID?: string;
636
+ subpath?: string;
637
+ previous?: {
638
+ location: LocationRef;
639
+ projectID?: string;
640
+ subpath?: string;
641
+ };
642
+ };
643
+ export type SessionInboxMovePayload = {
644
+ location: LocationRef;
645
+ projectID: string;
646
+ subpath?: string;
647
+ };
636
648
  export type SessionAgentSelected = {
637
649
  id: string;
638
650
  created: number;
@@ -649,6 +661,7 @@ export type SessionAgentSelected = {
649
661
  data: {
650
662
  sessionID: string;
651
663
  agent: string;
664
+ previous?: string;
652
665
  };
653
666
  };
654
667
  export type SessionModelSelected = {
@@ -667,6 +680,7 @@ export type SessionModelSelected = {
667
680
  data: {
668
681
  sessionID: string;
669
682
  model: ModelRef;
683
+ previous?: ModelRef;
670
684
  };
671
685
  };
672
686
  export type SessionMoved = {
@@ -685,7 +699,7 @@ export type SessionMoved = {
685
699
  data: {
686
700
  sessionID: string;
687
701
  location: LocationRef;
688
- projectID?: string;
702
+ projectID: string;
689
703
  subpath?: string;
690
704
  };
691
705
  };
@@ -724,31 +738,13 @@ export type SessionDeleted = {
724
738
  sessionID: string;
725
739
  };
726
740
  };
727
- export type SessionInputPromoted = {
728
- id: string;
729
- created: number;
730
- metadata?: {
731
- [x: string]: any;
732
- };
733
- type: "session.input.promoted";
734
- durable: {
735
- aggregateID: string;
736
- seq: number;
737
- version: 1;
738
- };
739
- location?: LocationRef;
740
- data: {
741
- sessionID: string;
742
- inputID: string;
743
- };
744
- };
745
- export type SessionInputCancelled = {
741
+ export type SessionInboxDelivered = {
746
742
  id: string;
747
743
  created: number;
748
744
  metadata?: {
749
745
  [x: string]: any;
750
746
  };
751
- type: "session.input.cancelled";
747
+ type: "session.inbox.delivered";
752
748
  durable: {
753
749
  aggregateID: string;
754
750
  seq: number;
@@ -757,16 +753,16 @@ export type SessionInputCancelled = {
757
753
  location?: LocationRef;
758
754
  data: {
759
755
  sessionID: string;
760
- inputID: string;
756
+ inboxID: string;
761
757
  };
762
758
  };
763
- export type SessionInputSteered = {
759
+ export type SessionInboxCancelled = {
764
760
  id: string;
765
761
  created: number;
766
762
  metadata?: {
767
763
  [x: string]: any;
768
764
  };
769
- type: "session.input.steered";
765
+ type: "session.inbox.cancelled";
770
766
  durable: {
771
767
  aggregateID: string;
772
768
  seq: number;
@@ -775,25 +771,7 @@ export type SessionInputSteered = {
775
771
  location?: LocationRef;
776
772
  data: {
777
773
  sessionID: string;
778
- inputID: string;
779
- };
780
- };
781
- export type SessionInputQueued = {
782
- id: string;
783
- created: number;
784
- metadata?: {
785
- [x: string]: any;
786
- };
787
- type: "session.input.queued";
788
- durable: {
789
- aggregateID: string;
790
- seq: number;
791
- version: 1;
792
- };
793
- location?: LocationRef;
794
- data: {
795
- sessionID: string;
796
- inputID: string;
774
+ inboxID: string;
797
775
  };
798
776
  };
799
777
  export type SessionExecutionStarted = {
@@ -1033,24 +1011,6 @@ export type SessionToolInputEnded = {
1033
1011
  text: string;
1034
1012
  };
1035
1013
  };
1036
- export type SessionCompactionAdmitted = {
1037
- id: string;
1038
- created: number;
1039
- metadata?: {
1040
- [x: string]: any;
1041
- };
1042
- type: "session.compaction.admitted";
1043
- durable: {
1044
- aggregateID: string;
1045
- seq: number;
1046
- version: 1;
1047
- };
1048
- location?: LocationRef;
1049
- data: {
1050
- sessionID: string;
1051
- inputID: string;
1052
- };
1053
- };
1054
1014
  export type SessionCompactionStarted = {
1055
1015
  id: string;
1056
1016
  created: number;
@@ -1332,16 +1292,35 @@ export type PluginUpdated = {
1332
1292
  location?: LocationRef;
1333
1293
  data: {};
1334
1294
  };
1335
- export type ProjectDirectoriesUpdated = {
1295
+ export type WorktreeUpdated = {
1296
+ id: string;
1297
+ created: number;
1298
+ metadata?: {
1299
+ [x: string]: any;
1300
+ };
1301
+ type: "worktree.updated";
1302
+ location?: LocationRef;
1303
+ data: {
1304
+ projectID: string;
1305
+ };
1306
+ };
1307
+ export type WorktreeResolved = {
1336
1308
  id: string;
1337
1309
  created: number;
1338
1310
  metadata?: {
1339
1311
  [x: string]: any;
1340
1312
  };
1341
- type: "project.directories.updated";
1313
+ type: "worktree.resolved";
1314
+ durable: {
1315
+ aggregateID: string;
1316
+ seq: number;
1317
+ version: 1;
1318
+ };
1342
1319
  location?: LocationRef;
1343
1320
  data: {
1344
1321
  projectID: string;
1322
+ directory: string;
1323
+ previous: string;
1345
1324
  };
1346
1325
  };
1347
1326
  export type CommandUpdated = {
@@ -1425,19 +1404,6 @@ export type ShellDeleted = {
1425
1404
  id: string;
1426
1405
  };
1427
1406
  };
1428
- export type QuestionRejected = {
1429
- id: string;
1430
- created: number;
1431
- metadata?: {
1432
- [x: string]: any;
1433
- };
1434
- type: "question.rejected";
1435
- location?: LocationRef;
1436
- data: {
1437
- sessionID: string;
1438
- requestID: string;
1439
- };
1440
- };
1441
1407
  export type FormCancelled = {
1442
1408
  id: string;
1443
1409
  created: number;
@@ -1759,23 +1725,45 @@ export type SessionCompactionFailed = {
1759
1725
  inputID?: string;
1760
1726
  };
1761
1727
  };
1762
- export type SessionPendingSynthetic = {
1728
+ export type SessionInboxDeliveryChanged = {
1729
+ id: string;
1730
+ created: number;
1731
+ metadata?: {
1732
+ [x: string]: any;
1733
+ };
1734
+ type: "session.inbox.delivery.changed";
1735
+ durable: {
1736
+ aggregateID: string;
1737
+ seq: number;
1738
+ version: 1;
1739
+ };
1740
+ location?: LocationRef;
1741
+ data: {
1742
+ sessionID: string;
1743
+ inboxID: string;
1744
+ delivery: SessionInboxDelivery;
1745
+ };
1746
+ };
1747
+ export type SessionInboxSynthetic = {
1763
1748
  id: string;
1764
1749
  sessionID: string;
1765
1750
  timeCreated: number;
1766
1751
  type: "synthetic";
1767
- data: SessionPendingSyntheticData;
1768
- delivery: "steer" | "queue";
1752
+ payload: SessionInboxSyntheticPayload;
1753
+ delivery: SessionInboxDelivery;
1754
+ };
1755
+ export type SessionInboxCompaction = {
1756
+ id: string;
1757
+ sessionID: string;
1758
+ timeCreated: number;
1759
+ type: "compaction";
1760
+ payload: SessionInboxCompactionPayload;
1761
+ delivery: SessionInboxDelivery;
1769
1762
  };
1770
1763
  export type InstructionEntryInfo = {
1771
1764
  key: InstructionEntryKey;
1772
1765
  value: JsonValue;
1773
1766
  };
1774
- export type SessionPendingSyntheticMessage = {
1775
- type: "synthetic";
1776
- data: SessionPendingSyntheticData1;
1777
- delivery: "steer" | "queue";
1778
- };
1779
1767
  export type SessionShellStarted = {
1780
1768
  id: string;
1781
1769
  created: number;
@@ -2020,7 +2008,6 @@ export type Project = {
2020
2008
  time: ProjectTime;
2021
2009
  sandboxes: Array<string>;
2022
2010
  };
2023
- export type ProjectDirectories = Array<ProjectDirectory>;
2024
2011
  export type FormAnswer = {
2025
2012
  [x: string]: FormValue;
2026
2013
  };
@@ -2093,27 +2080,6 @@ export type PtyUpdated = {
2093
2080
  info: Pty;
2094
2081
  };
2095
2082
  };
2096
- export type QuestionInfo = {
2097
- question: string;
2098
- header: string;
2099
- options: Array<QuestionOption>;
2100
- multiple?: boolean;
2101
- custom?: boolean;
2102
- };
2103
- export type QuestionReplied = {
2104
- id: string;
2105
- created: number;
2106
- metadata?: {
2107
- [x: string]: any;
2108
- };
2109
- type: "question.replied";
2110
- location?: LocationRef;
2111
- data: {
2112
- sessionID: string;
2113
- requestID: string;
2114
- answers: Array<QuestionAnswer>;
2115
- };
2116
- };
2117
2083
  export type FormStringField1 = {
2118
2084
  key: string;
2119
2085
  title?: string;
@@ -2188,10 +2154,19 @@ export type SessionStatus2 = {
2188
2154
  };
2189
2155
  };
2190
2156
  export type ReferenceSource = ReferenceLocalSource | ReferenceGitSource;
2157
+ export type WorktreeList = Array<WorktreeDirectory>;
2191
2158
  export type VcsInfo = {
2192
2159
  branch: VcsBranch;
2193
2160
  };
2194
2161
  export type PermissionRuleset = Array<PermissionRule>;
2162
+ export type SessionInboxMove = {
2163
+ id: string;
2164
+ sessionID: string;
2165
+ timeCreated: number;
2166
+ type: "move";
2167
+ payload: SessionInboxMovePayload;
2168
+ delivery: SessionInboxDelivery;
2169
+ };
2195
2170
  export type SessionRevertStaged = {
2196
2171
  id: string;
2197
2172
  created: number;
@@ -2228,7 +2203,7 @@ export type SessionMessageUser = {
2228
2203
  skills?: Array<PromptSkillAttachment>;
2229
2204
  type: "user";
2230
2205
  };
2231
- export type SessionPendingUserData = {
2206
+ export type SessionInboxUserPayload = {
2232
2207
  text: string;
2233
2208
  files?: Array<PromptFileAttachment>;
2234
2209
  agents?: Array<PromptAgentAttachment>;
@@ -2238,7 +2213,7 @@ export type SessionPendingUserData = {
2238
2213
  [x: string]: JsonValue;
2239
2214
  };
2240
2215
  };
2241
- export type SessionPendingUserData1 = {
2216
+ export type SessionInboxUserPayload1 = {
2242
2217
  text: string;
2243
2218
  files?: Array<PromptFileAttachment>;
2244
2219
  agents?: Array<PromptAgentAttachment>;
@@ -2375,27 +2350,6 @@ export type FormReplied = {
2375
2350
  answer: FormAnswer;
2376
2351
  };
2377
2352
  };
2378
- export type QuestionAsked = {
2379
- id: string;
2380
- created: number;
2381
- metadata?: {
2382
- [x: string]: any;
2383
- };
2384
- type: "question.asked";
2385
- location?: LocationRef;
2386
- data: {
2387
- id: string;
2388
- sessionID: string;
2389
- questions: Array<QuestionInfo>;
2390
- tool?: QuestionTool;
2391
- };
2392
- };
2393
- export type QuestionRequest = {
2394
- id: string;
2395
- sessionID: string;
2396
- questions: Array<QuestionInfo>;
2397
- tool?: QuestionTool;
2398
- };
2399
2353
  export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
2400
2354
  export type ReferenceInfo = {
2401
2355
  name: string;
@@ -2585,8 +2539,8 @@ export type ConfigEntry = {
2585
2539
  hidden?: boolean;
2586
2540
  };
2587
2541
  };
2588
- websearch?: {
2589
- provider: string;
2542
+ websearch?: false | {
2543
+ provider: "random" | (string & {});
2590
2544
  };
2591
2545
  plugins?: Array<string | {
2592
2546
  package: string;
@@ -2676,6 +2630,7 @@ export type ConfigEntry = {
2676
2630
  };
2677
2631
  };
2678
2632
  experimental?: {
2633
+ portable_shell_scanner?: boolean;
2679
2634
  subagent_depth?: number;
2680
2635
  policies?: Array<{
2681
2636
  action: "provider.use";
@@ -2687,9 +2642,6 @@ export type ConfigEntry = {
2687
2642
  } | {
2688
2643
  type: "directory";
2689
2644
  path: string;
2690
- } | {
2691
- type: "file";
2692
- path: string;
2693
2645
  } | {
2694
2646
  type: "agents";
2695
2647
  path: string;
@@ -2770,18 +2722,30 @@ export type SessionForked = {
2770
2722
  policy?: SessionPolicy;
2771
2723
  };
2772
2724
  };
2773
- export type SessionPendingUser = {
2725
+ export type SessionInboxUser = {
2774
2726
  id: string;
2775
2727
  sessionID: string;
2776
2728
  timeCreated: number;
2777
2729
  type: "user";
2778
- data: SessionPendingUserData;
2779
- delivery: "steer" | "queue";
2730
+ payload: SessionInboxUserPayload;
2731
+ delivery: SessionInboxDelivery;
2780
2732
  };
2781
- export type SessionPendingUserMessage = {
2733
+ export type SessionInboxItem = {
2782
2734
  type: "user";
2783
- data: SessionPendingUserData1;
2784
- delivery: "steer" | "queue";
2735
+ payload: SessionInboxUserPayload1;
2736
+ delivery: SessionInboxDelivery;
2737
+ } | {
2738
+ type: "synthetic";
2739
+ payload: SessionInboxSyntheticPayload1;
2740
+ delivery: SessionInboxDelivery;
2741
+ } | {
2742
+ type: "compaction";
2743
+ payload: SessionInboxCompactionPayload;
2744
+ delivery: SessionInboxDelivery;
2745
+ } | {
2746
+ type: "move";
2747
+ payload: SessionInboxMovePayload;
2748
+ delivery: SessionInboxDelivery;
2785
2749
  };
2786
2750
  export type SessionMessageAssistantTool = {
2787
2751
  type: "tool";
@@ -2806,8 +2770,26 @@ export type SessionsResponse = {
2806
2770
  next?: string | null;
2807
2771
  };
2808
2772
  };
2809
- export type SessionPendingInfo = SessionPendingUser | SessionPendingSynthetic | SessionPendingCompaction;
2810
- export type SessionPendingMessage = SessionPendingUserMessage | SessionPendingSyntheticMessage;
2773
+ export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
2774
+ export type SessionInboxEnqueued = {
2775
+ id: string;
2776
+ created: number;
2777
+ metadata?: {
2778
+ [x: string]: any;
2779
+ };
2780
+ type: "session.inbox.enqueued";
2781
+ durable: {
2782
+ aggregateID: string;
2783
+ seq: number;
2784
+ version: 1;
2785
+ };
2786
+ location?: LocationRef;
2787
+ data: {
2788
+ sessionID: string;
2789
+ inboxID: string;
2790
+ item: SessionInboxItem;
2791
+ };
2792
+ };
2811
2793
  export type SessionMessageAssistant = {
2812
2794
  id: string;
2813
2795
  metadata?: {
@@ -2857,26 +2839,8 @@ export type FormInfo1 = {
2857
2839
  metadata?: FormMetadata1;
2858
2840
  fields: FormFields3;
2859
2841
  };
2860
- export type SessionInputAdmitted = {
2861
- id: string;
2862
- created: number;
2863
- metadata?: {
2864
- [x: string]: any;
2865
- };
2866
- type: "session.input.admitted";
2867
- durable: {
2868
- aggregateID: string;
2869
- seq: number;
2870
- version: 1;
2871
- };
2872
- location?: LocationRef;
2873
- data: {
2874
- sessionID: string;
2875
- inputID: string;
2876
- input: SessionPendingMessage;
2877
- };
2878
- };
2879
- export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
2842
+ export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
2843
+ export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
2880
2844
  export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2881
2845
  export type FormCreated = {
2882
2846
  id: string;
@@ -2890,7 +2854,7 @@ export type FormCreated = {
2890
2854
  form: FormInfo1;
2891
2855
  };
2892
2856
  };
2893
- export type SessionEventDurable = SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionInputCancelled | SessionInputSteered | SessionInputQueued | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
2857
+ export type SessionLogItem = SessionEventDurable | EventLogSynced;
2894
2858
  export type SessionTransferData = {
2895
2859
  info: SessionInfo;
2896
2860
  messages: Array<SessionMessageInfo>;
@@ -2908,8 +2872,7 @@ export type IntegrationInfo = {
2908
2872
  methods: Array<IntegrationMethod>;
2909
2873
  connections: Array<ConnectionInfo>;
2910
2874
  };
2911
- export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionInputCancelled | SessionInputSteered | SessionInputQueued | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionAsked | QuestionReplied | QuestionRejected | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
2912
- export type SessionLogItem = SessionEventDurable | EventLogSynced;
2875
+ export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionDeleted | SessionForked | SessionInboxDelivered | SessionInboxEnqueued | SessionInboxCancelled | SessionInboxDeliveryChanged | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextDelta | SessionTextEnded | SessionReasoningStarted | SessionReasoningDelta | SessionReasoningEnded | SessionStructuredCompleted | SessionStructuredFailed | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionDelta | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | FilesystemChanged | ReferenceUpdated | PermissionAsked | PermissionReplied | PluginAdded | PluginUpdated | WorktreeUpdated | WorktreeResolved | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | FormCreated | FormReplied | FormCancelled | WebsearchUpdated | SessionStatus2 | SessionIdle | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | InstallationUpdated | InstallationUpdateAvailable | VcsBranchUpdated | McpStatusChanged | McpResourcesChanged | V2EventServerConnected;
2913
2876
  export type UnauthorizedError = {
2914
2877
  readonly _tag: "UnauthorizedError";
2915
2878
  readonly message: string;
@@ -3043,20 +3006,14 @@ export type ShellNotFoundError = {
3043
3006
  readonly message: string;
3044
3007
  };
3045
3008
  export declare const isShellNotFoundError: (value: unknown) => value is ShellNotFoundError;
3046
- export type QuestionNotFoundError = {
3047
- readonly _tag: "QuestionNotFoundError";
3048
- readonly requestID: string;
3049
- readonly message: string;
3050
- };
3051
- export declare const isQuestionNotFoundError: (value: unknown) => value is QuestionNotFoundError;
3052
- export type ProjectCopyError = {
3053
- readonly name: "ProjectCopyError";
3009
+ export type WorktreeError = {
3010
+ readonly name: "WorktreeError";
3054
3011
  readonly data: {
3055
3012
  readonly message: string;
3056
3013
  readonly forceRequired?: boolean | undefined;
3057
3014
  };
3058
3015
  };
3059
- export declare const isProjectCopyError: (value: unknown) => value is ProjectCopyError;
3016
+ export declare const isWorktreeError: (value: unknown) => value is WorktreeError;
3060
3017
  export type HealthGetOutput = ServiceHealth;
3061
3018
  export type HealthStopInput = {
3062
3019
  readonly instanceID: {
@@ -3439,6 +3396,7 @@ export type SessionImportInput = {
3439
3396
  };
3440
3397
  readonly type: "agent-switched";
3441
3398
  readonly agent: string;
3399
+ readonly previous?: string;
3442
3400
  } | {
3443
3401
  readonly id: string;
3444
3402
  readonly metadata?: {
@@ -3458,6 +3416,29 @@ export type SessionImportInput = {
3458
3416
  readonly providerID: string;
3459
3417
  readonly variant?: string;
3460
3418
  };
3419
+ } | {
3420
+ readonly id: string;
3421
+ readonly metadata?: {
3422
+ readonly [x: string]: JsonValue;
3423
+ };
3424
+ readonly time: {
3425
+ readonly created: number;
3426
+ };
3427
+ readonly type: "location-switched";
3428
+ readonly location: {
3429
+ readonly directory: string;
3430
+ readonly workspaceID?: string;
3431
+ };
3432
+ readonly projectID?: string;
3433
+ readonly subpath?: string;
3434
+ readonly previous?: {
3435
+ readonly location: {
3436
+ readonly directory: string;
3437
+ readonly workspaceID?: string;
3438
+ };
3439
+ readonly projectID?: string;
3440
+ readonly subpath?: string;
3441
+ };
3461
3442
  } | {
3462
3443
  readonly id: string;
3463
3444
  readonly metadata?: {
@@ -3531,6 +3512,7 @@ export type SessionImportInput = {
3531
3512
  };
3532
3513
  readonly type: "system";
3533
3514
  readonly text: string;
3515
+ readonly description?: string;
3534
3516
  } | {
3535
3517
  readonly id: string;
3536
3518
  readonly metadata?: {
@@ -3836,6 +3818,7 @@ export type SessionImportInput = {
3836
3818
  };
3837
3819
  readonly type: "agent-switched";
3838
3820
  readonly agent: string;
3821
+ readonly previous?: string;
3839
3822
  } | {
3840
3823
  readonly id: string;
3841
3824
  readonly metadata?: {
@@ -3855,6 +3838,29 @@ export type SessionImportInput = {
3855
3838
  readonly providerID: string;
3856
3839
  readonly variant?: string;
3857
3840
  };
3841
+ } | {
3842
+ readonly id: string;
3843
+ readonly metadata?: {
3844
+ readonly [x: string]: JsonValue;
3845
+ };
3846
+ readonly time: {
3847
+ readonly created: number;
3848
+ };
3849
+ readonly type: "location-switched";
3850
+ readonly location: {
3851
+ readonly directory: string;
3852
+ readonly workspaceID?: string;
3853
+ };
3854
+ readonly projectID?: string;
3855
+ readonly subpath?: string;
3856
+ readonly previous?: {
3857
+ readonly location: {
3858
+ readonly directory: string;
3859
+ readonly workspaceID?: string;
3860
+ };
3861
+ readonly projectID?: string;
3862
+ readonly subpath?: string;
3863
+ };
3858
3864
  } | {
3859
3865
  readonly id: string;
3860
3866
  readonly metadata?: {
@@ -3928,6 +3934,7 @@ export type SessionImportInput = {
3928
3934
  };
3929
3935
  readonly type: "system";
3930
3936
  readonly text: string;
3937
+ readonly description?: string;
3931
3938
  } | {
3932
3939
  readonly id: string;
3933
3940
  readonly metadata?: {
@@ -4233,6 +4240,7 @@ export type SessionImportInput = {
4233
4240
  };
4234
4241
  readonly type: "agent-switched";
4235
4242
  readonly agent: string;
4243
+ readonly previous?: string;
4236
4244
  } | {
4237
4245
  readonly id: string;
4238
4246
  readonly metadata?: {
@@ -4252,6 +4260,29 @@ export type SessionImportInput = {
4252
4260
  readonly providerID: string;
4253
4261
  readonly variant?: string;
4254
4262
  };
4263
+ } | {
4264
+ readonly id: string;
4265
+ readonly metadata?: {
4266
+ readonly [x: string]: JsonValue;
4267
+ };
4268
+ readonly time: {
4269
+ readonly created: number;
4270
+ };
4271
+ readonly type: "location-switched";
4272
+ readonly location: {
4273
+ readonly directory: string;
4274
+ readonly workspaceID?: string;
4275
+ };
4276
+ readonly projectID?: string;
4277
+ readonly subpath?: string;
4278
+ readonly previous?: {
4279
+ readonly location: {
4280
+ readonly directory: string;
4281
+ readonly workspaceID?: string;
4282
+ };
4283
+ readonly projectID?: string;
4284
+ readonly subpath?: string;
4285
+ };
4255
4286
  } | {
4256
4287
  readonly id: string;
4257
4288
  readonly metadata?: {
@@ -4325,6 +4356,7 @@ export type SessionImportInput = {
4325
4356
  };
4326
4357
  readonly type: "system";
4327
4358
  readonly text: string;
4359
+ readonly description?: string;
4328
4360
  } | {
4329
4361
  readonly id: string;
4330
4362
  readonly metadata?: {
@@ -4666,11 +4698,18 @@ export type SessionMoveInput = {
4666
4698
  readonly directory: {
4667
4699
  readonly directory: string;
4668
4700
  readonly workspaceID?: string;
4701
+ readonly delivery?: ("steer" | "queue") | null;
4669
4702
  }["directory"];
4670
4703
  readonly workspaceID?: {
4671
4704
  readonly directory: string;
4672
4705
  readonly workspaceID?: string;
4706
+ readonly delivery?: ("steer" | "queue") | null;
4673
4707
  }["workspaceID"];
4708
+ readonly delivery?: {
4709
+ readonly directory: string;
4710
+ readonly workspaceID?: string;
4711
+ readonly delivery?: ("steer" | "queue") | null;
4712
+ }["delivery"];
4674
4713
  };
4675
4714
  export type SessionMoveOutput = void;
4676
4715
  export type SessionPromptInput = {
@@ -4716,7 +4755,7 @@ export type SessionPromptInput = {
4716
4755
  readonly metadata?: {
4717
4756
  readonly [x: string]: JsonValue;
4718
4757
  };
4719
- readonly delivery?: "steer" | "queue" | null;
4758
+ readonly delivery?: ("steer" | "queue") | null;
4720
4759
  readonly resume?: boolean | null;
4721
4760
  }["id"];
4722
4761
  readonly text: {
@@ -4758,7 +4797,7 @@ export type SessionPromptInput = {
4758
4797
  readonly metadata?: {
4759
4798
  readonly [x: string]: JsonValue;
4760
4799
  };
4761
- readonly delivery?: "steer" | "queue" | null;
4800
+ readonly delivery?: ("steer" | "queue") | null;
4762
4801
  readonly resume?: boolean | null;
4763
4802
  }["text"];
4764
4803
  readonly files?: {
@@ -4800,7 +4839,7 @@ export type SessionPromptInput = {
4800
4839
  readonly metadata?: {
4801
4840
  readonly [x: string]: JsonValue;
4802
4841
  };
4803
- readonly delivery?: "steer" | "queue" | null;
4842
+ readonly delivery?: ("steer" | "queue") | null;
4804
4843
  readonly resume?: boolean | null;
4805
4844
  }["files"];
4806
4845
  readonly agents?: {
@@ -4842,7 +4881,7 @@ export type SessionPromptInput = {
4842
4881
  readonly metadata?: {
4843
4882
  readonly [x: string]: JsonValue;
4844
4883
  };
4845
- readonly delivery?: "steer" | "queue" | null;
4884
+ readonly delivery?: ("steer" | "queue") | null;
4846
4885
  readonly resume?: boolean | null;
4847
4886
  }["agents"];
4848
4887
  readonly output?: {
@@ -4884,7 +4923,7 @@ export type SessionPromptInput = {
4884
4923
  readonly metadata?: {
4885
4924
  readonly [x: string]: JsonValue;
4886
4925
  };
4887
- readonly delivery?: "steer" | "queue" | null;
4926
+ readonly delivery?: ("steer" | "queue") | null;
4888
4927
  readonly resume?: boolean | null;
4889
4928
  }["output"];
4890
4929
  readonly skills?: {
@@ -4926,7 +4965,7 @@ export type SessionPromptInput = {
4926
4965
  readonly metadata?: {
4927
4966
  readonly [x: string]: JsonValue;
4928
4967
  };
4929
- readonly delivery?: "steer" | "queue" | null;
4968
+ readonly delivery?: ("steer" | "queue") | null;
4930
4969
  readonly resume?: boolean | null;
4931
4970
  }["skills"];
4932
4971
  readonly metadata?: {
@@ -4968,7 +5007,7 @@ export type SessionPromptInput = {
4968
5007
  readonly metadata?: {
4969
5008
  readonly [x: string]: JsonValue;
4970
5009
  };
4971
- readonly delivery?: "steer" | "queue" | null;
5010
+ readonly delivery?: ("steer" | "queue") | null;
4972
5011
  readonly resume?: boolean | null;
4973
5012
  }["metadata"];
4974
5013
  readonly delivery?: {
@@ -5010,7 +5049,7 @@ export type SessionPromptInput = {
5010
5049
  readonly metadata?: {
5011
5050
  readonly [x: string]: JsonValue;
5012
5051
  };
5013
- readonly delivery?: "steer" | "queue" | null;
5052
+ readonly delivery?: ("steer" | "queue") | null;
5014
5053
  readonly resume?: boolean | null;
5015
5054
  }["delivery"];
5016
5055
  readonly resume?: {
@@ -5052,12 +5091,12 @@ export type SessionPromptInput = {
5052
5091
  readonly metadata?: {
5053
5092
  readonly [x: string]: JsonValue;
5054
5093
  };
5055
- readonly delivery?: "steer" | "queue" | null;
5094
+ readonly delivery?: ("steer" | "queue") | null;
5056
5095
  readonly resume?: boolean | null;
5057
5096
  }["resume"];
5058
5097
  };
5059
5098
  export type SessionPromptOutput = {
5060
- data: SessionPendingUser;
5099
+ data: SessionInboxUser;
5061
5100
  }["data"];
5062
5101
  export type SessionCommandInput = {
5063
5102
  readonly sessionID: {
@@ -5099,7 +5138,7 @@ export type SessionCommandInput = {
5099
5138
  readonly text: string;
5100
5139
  };
5101
5140
  }>;
5102
- readonly delivery?: "steer" | "queue" | null;
5141
+ readonly delivery?: ("steer" | "queue") | null;
5103
5142
  readonly resume?: boolean | null;
5104
5143
  }["id"];
5105
5144
  readonly command: {
@@ -5138,7 +5177,7 @@ export type SessionCommandInput = {
5138
5177
  readonly text: string;
5139
5178
  };
5140
5179
  }>;
5141
- readonly delivery?: "steer" | "queue" | null;
5180
+ readonly delivery?: ("steer" | "queue") | null;
5142
5181
  readonly resume?: boolean | null;
5143
5182
  }["command"];
5144
5183
  readonly arguments?: {
@@ -5177,7 +5216,7 @@ export type SessionCommandInput = {
5177
5216
  readonly text: string;
5178
5217
  };
5179
5218
  }>;
5180
- readonly delivery?: "steer" | "queue" | null;
5219
+ readonly delivery?: ("steer" | "queue") | null;
5181
5220
  readonly resume?: boolean | null;
5182
5221
  }["arguments"];
5183
5222
  readonly agent?: {
@@ -5216,7 +5255,7 @@ export type SessionCommandInput = {
5216
5255
  readonly text: string;
5217
5256
  };
5218
5257
  }>;
5219
- readonly delivery?: "steer" | "queue" | null;
5258
+ readonly delivery?: ("steer" | "queue") | null;
5220
5259
  readonly resume?: boolean | null;
5221
5260
  }["agent"];
5222
5261
  readonly model?: {
@@ -5255,7 +5294,7 @@ export type SessionCommandInput = {
5255
5294
  readonly text: string;
5256
5295
  };
5257
5296
  }>;
5258
- readonly delivery?: "steer" | "queue" | null;
5297
+ readonly delivery?: ("steer" | "queue") | null;
5259
5298
  readonly resume?: boolean | null;
5260
5299
  }["model"];
5261
5300
  readonly files?: {
@@ -5294,7 +5333,7 @@ export type SessionCommandInput = {
5294
5333
  readonly text: string;
5295
5334
  };
5296
5335
  }>;
5297
- readonly delivery?: "steer" | "queue" | null;
5336
+ readonly delivery?: ("steer" | "queue") | null;
5298
5337
  readonly resume?: boolean | null;
5299
5338
  }["files"];
5300
5339
  readonly agents?: {
@@ -5333,7 +5372,7 @@ export type SessionCommandInput = {
5333
5372
  readonly text: string;
5334
5373
  };
5335
5374
  }>;
5336
- readonly delivery?: "steer" | "queue" | null;
5375
+ readonly delivery?: ("steer" | "queue") | null;
5337
5376
  readonly resume?: boolean | null;
5338
5377
  }["agents"];
5339
5378
  readonly skills?: {
@@ -5372,7 +5411,7 @@ export type SessionCommandInput = {
5372
5411
  readonly text: string;
5373
5412
  };
5374
5413
  }>;
5375
- readonly delivery?: "steer" | "queue" | null;
5414
+ readonly delivery?: ("steer" | "queue") | null;
5376
5415
  readonly resume?: boolean | null;
5377
5416
  }["skills"];
5378
5417
  readonly delivery?: {
@@ -5411,7 +5450,7 @@ export type SessionCommandInput = {
5411
5450
  readonly text: string;
5412
5451
  };
5413
5452
  }>;
5414
- readonly delivery?: "steer" | "queue" | null;
5453
+ readonly delivery?: ("steer" | "queue") | null;
5415
5454
  readonly resume?: boolean | null;
5416
5455
  }["delivery"];
5417
5456
  readonly resume?: {
@@ -5450,12 +5489,12 @@ export type SessionCommandInput = {
5450
5489
  readonly text: string;
5451
5490
  };
5452
5491
  }>;
5453
- readonly delivery?: "steer" | "queue" | null;
5492
+ readonly delivery?: ("steer" | "queue") | null;
5454
5493
  readonly resume?: boolean | null;
5455
5494
  }["resume"];
5456
5495
  };
5457
5496
  export type SessionCommandOutput = {
5458
- data: SessionPendingUser;
5497
+ data: SessionInboxUser;
5459
5498
  }["data"];
5460
5499
  export type SessionSkillInput = {
5461
5500
  readonly sessionID: {
@@ -5489,7 +5528,7 @@ export type SessionSyntheticInput = {
5489
5528
  readonly metadata?: {
5490
5529
  readonly [x: string]: JsonValue;
5491
5530
  };
5492
- readonly delivery?: "steer" | "queue" | null;
5531
+ readonly delivery?: ("steer" | "queue") | null;
5493
5532
  readonly resume?: boolean | null;
5494
5533
  }["id"];
5495
5534
  readonly text: {
@@ -5499,7 +5538,7 @@ export type SessionSyntheticInput = {
5499
5538
  readonly metadata?: {
5500
5539
  readonly [x: string]: JsonValue;
5501
5540
  };
5502
- readonly delivery?: "steer" | "queue" | null;
5541
+ readonly delivery?: ("steer" | "queue") | null;
5503
5542
  readonly resume?: boolean | null;
5504
5543
  }["text"];
5505
5544
  readonly description?: {
@@ -5509,7 +5548,7 @@ export type SessionSyntheticInput = {
5509
5548
  readonly metadata?: {
5510
5549
  readonly [x: string]: JsonValue;
5511
5550
  };
5512
- readonly delivery?: "steer" | "queue" | null;
5551
+ readonly delivery?: ("steer" | "queue") | null;
5513
5552
  readonly resume?: boolean | null;
5514
5553
  }["description"];
5515
5554
  readonly metadata?: {
@@ -5519,7 +5558,7 @@ export type SessionSyntheticInput = {
5519
5558
  readonly metadata?: {
5520
5559
  readonly [x: string]: JsonValue;
5521
5560
  };
5522
- readonly delivery?: "steer" | "queue" | null;
5561
+ readonly delivery?: ("steer" | "queue") | null;
5523
5562
  readonly resume?: boolean | null;
5524
5563
  }["metadata"];
5525
5564
  readonly delivery?: {
@@ -5529,7 +5568,7 @@ export type SessionSyntheticInput = {
5529
5568
  readonly metadata?: {
5530
5569
  readonly [x: string]: JsonValue;
5531
5570
  };
5532
- readonly delivery?: "steer" | "queue" | null;
5571
+ readonly delivery?: ("steer" | "queue") | null;
5533
5572
  readonly resume?: boolean | null;
5534
5573
  }["delivery"];
5535
5574
  readonly resume?: {
@@ -5539,12 +5578,12 @@ export type SessionSyntheticInput = {
5539
5578
  readonly metadata?: {
5540
5579
  readonly [x: string]: JsonValue;
5541
5580
  };
5542
- readonly delivery?: "steer" | "queue" | null;
5581
+ readonly delivery?: ("steer" | "queue") | null;
5543
5582
  readonly resume?: boolean | null;
5544
5583
  }["resume"];
5545
5584
  };
5546
5585
  export type SessionSyntheticOutput = {
5547
- data: SessionPendingSynthetic;
5586
+ data: SessionInboxSynthetic;
5548
5587
  }["data"];
5549
5588
  export type SessionShellInput = {
5550
5589
  readonly sessionID: {
@@ -5566,10 +5605,15 @@ export type SessionCompactInput = {
5566
5605
  }["sessionID"];
5567
5606
  readonly id?: {
5568
5607
  readonly id?: string | undefined;
5608
+ readonly delivery?: ("steer" | "queue") | undefined;
5569
5609
  }["id"];
5610
+ readonly delivery?: {
5611
+ readonly id?: string | undefined;
5612
+ readonly delivery?: ("steer" | "queue") | undefined;
5613
+ }["delivery"];
5570
5614
  };
5571
5615
  export type SessionCompactOutput = {
5572
- data: SessionPendingCompaction;
5616
+ data: SessionInboxCompaction;
5573
5617
  }["data"];
5574
5618
  export type SessionWaitInput = {
5575
5619
  readonly sessionID: {
@@ -5613,47 +5657,47 @@ export type SessionContextInput = {
5613
5657
  export type SessionContextOutput = {
5614
5658
  data: Array<SessionMessageInfo>;
5615
5659
  }["data"];
5616
- export type SessionPendingListInput = {
5660
+ export type SessionInboxListInput = {
5617
5661
  readonly sessionID: {
5618
5662
  readonly sessionID: string;
5619
5663
  }["sessionID"];
5620
5664
  };
5621
- export type SessionPendingListOutput = {
5622
- data: Array<SessionPendingInfo>;
5665
+ export type SessionInboxListOutput = {
5666
+ data: Array<SessionInboxInfo>;
5623
5667
  }["data"];
5624
- export type SessionPendingCancelInput = {
5668
+ export type SessionInboxCancelInput = {
5625
5669
  readonly sessionID: {
5626
5670
  readonly sessionID: string;
5627
- readonly inputID: string;
5671
+ readonly inboxID: string;
5628
5672
  }["sessionID"];
5629
- readonly inputID: {
5673
+ readonly inboxID: {
5630
5674
  readonly sessionID: string;
5631
- readonly inputID: string;
5632
- }["inputID"];
5675
+ readonly inboxID: string;
5676
+ }["inboxID"];
5633
5677
  };
5634
- export type SessionPendingCancelOutput = void;
5635
- export type SessionPendingSteerInput = {
5678
+ export type SessionInboxCancelOutput = void;
5679
+ export type SessionInboxSteerInput = {
5636
5680
  readonly sessionID: {
5637
5681
  readonly sessionID: string;
5638
- readonly inputID: string;
5682
+ readonly inboxID: string;
5639
5683
  }["sessionID"];
5640
- readonly inputID: {
5684
+ readonly inboxID: {
5641
5685
  readonly sessionID: string;
5642
- readonly inputID: string;
5643
- }["inputID"];
5686
+ readonly inboxID: string;
5687
+ }["inboxID"];
5644
5688
  };
5645
- export type SessionPendingSteerOutput = void;
5646
- export type SessionPendingQueueInput = {
5689
+ export type SessionInboxSteerOutput = void;
5690
+ export type SessionInboxQueueInput = {
5647
5691
  readonly sessionID: {
5648
5692
  readonly sessionID: string;
5649
- readonly inputID: string;
5693
+ readonly inboxID: string;
5650
5694
  }["sessionID"];
5651
- readonly inputID: {
5695
+ readonly inboxID: {
5652
5696
  readonly sessionID: string;
5653
- readonly inputID: string;
5654
- }["inputID"];
5697
+ readonly inboxID: string;
5698
+ }["inboxID"];
5655
5699
  };
5656
- export type SessionPendingQueueOutput = void;
5700
+ export type SessionInboxQueueOutput = void;
5657
5701
  export type SessionInstructionsEntryListInput = {
5658
5702
  readonly sessionID: {
5659
5703
  readonly sessionID: string;
@@ -5714,6 +5758,9 @@ export type SessionInterruptInput = {
5714
5758
  readonly sessionID: {
5715
5759
  readonly sessionID: string;
5716
5760
  }["sessionID"];
5761
+ readonly continue?: {
5762
+ readonly continue?: boolean | undefined;
5763
+ }["continue"];
5717
5764
  };
5718
5765
  export type SessionInterruptOutput = void;
5719
5766
  export type SessionBackgroundInput = {
@@ -5735,6 +5782,17 @@ export type SessionMessageInput = {
5735
5782
  export type SessionMessageOutput = {
5736
5783
  data: SessionMessageInfo;
5737
5784
  }["data"];
5785
+ export type SessionEnvironmentInput = {
5786
+ readonly sessionID: {
5787
+ readonly sessionID: string;
5788
+ }["sessionID"];
5789
+ readonly variables: {
5790
+ readonly variables: {
5791
+ readonly [x: string]: string;
5792
+ };
5793
+ }["variables"];
5794
+ };
5795
+ export type SessionEnvironmentOutput = void;
5738
5796
  export type MessageListInput = {
5739
5797
  readonly sessionID: {
5740
5798
  readonly sessionID: string;
@@ -6328,18 +6386,6 @@ export type ProjectCurrentInput = {
6328
6386
  }["location"];
6329
6387
  };
6330
6388
  export type ProjectCurrentOutput = ProjectCurrent;
6331
- export type ProjectDirectoriesInput = {
6332
- readonly projectID: {
6333
- readonly projectID: string;
6334
- }["projectID"];
6335
- readonly location?: {
6336
- readonly location?: {
6337
- readonly directory?: string | undefined;
6338
- readonly workspace?: string | undefined;
6339
- } | undefined;
6340
- }["location"];
6341
- };
6342
- export type ProjectDirectoriesOutput = ProjectDirectories;
6343
6389
  export type FormRequestListInput = {
6344
6390
  readonly location?: {
6345
6391
  readonly location?: {
@@ -7840,59 +7886,6 @@ export type ShellRemoveInput = {
7840
7886
  }["location"];
7841
7887
  };
7842
7888
  export type ShellRemoveOutput = void;
7843
- export type QuestionRequestListInput = {
7844
- readonly location?: {
7845
- readonly location?: {
7846
- readonly directory?: string | undefined;
7847
- readonly workspace?: string | undefined;
7848
- } | undefined;
7849
- }["location"];
7850
- };
7851
- export type QuestionRequestListOutput = {
7852
- location: {
7853
- directory: string;
7854
- workspaceID?: string;
7855
- project: {
7856
- id: string;
7857
- directory: string;
7858
- canonical: string;
7859
- };
7860
- };
7861
- data: Array<QuestionRequest>;
7862
- };
7863
- export type QuestionListInput = {
7864
- readonly sessionID: {
7865
- readonly sessionID: string;
7866
- }["sessionID"];
7867
- };
7868
- export type QuestionListOutput = {
7869
- data: Array<QuestionRequest>;
7870
- }["data"];
7871
- export type QuestionReplyInput = {
7872
- readonly sessionID: {
7873
- readonly sessionID: string;
7874
- readonly requestID: string;
7875
- }["sessionID"];
7876
- readonly requestID: {
7877
- readonly sessionID: string;
7878
- readonly requestID: string;
7879
- }["requestID"];
7880
- readonly answers: {
7881
- readonly answers: ReadonlyArray<ReadonlyArray<string>>;
7882
- }["answers"];
7883
- };
7884
- export type QuestionReplyOutput = void;
7885
- export type QuestionRejectInput = {
7886
- readonly sessionID: {
7887
- readonly sessionID: string;
7888
- readonly requestID: string;
7889
- }["sessionID"];
7890
- readonly requestID: {
7891
- readonly sessionID: string;
7892
- readonly requestID: string;
7893
- }["requestID"];
7894
- };
7895
- export type QuestionRejectOutput = void;
7896
7889
  export type ReferenceListInput = {
7897
7890
  readonly location?: {
7898
7891
  readonly location?: {
@@ -7913,43 +7906,46 @@ export type ReferenceListOutput = {
7913
7906
  };
7914
7907
  data: Array<ReferenceInfo>;
7915
7908
  };
7916
- export type ProjectCopyCreateInput = {
7909
+ export type WorktreeListInput = {
7910
+ readonly projectID: {
7911
+ readonly projectID: string;
7912
+ }["projectID"];
7913
+ };
7914
+ export type WorktreeListOutput = WorktreeList;
7915
+ export type WorktreeCreateInput = {
7917
7916
  readonly projectID: {
7918
7917
  readonly projectID: string;
7919
7918
  }["projectID"];
7920
- readonly location?: {
7921
- readonly location?: {
7922
- readonly directory?: string | undefined;
7923
- readonly workspace?: string | undefined;
7924
- } | undefined;
7925
- }["location"];
7926
7919
  readonly strategy: {
7927
7920
  readonly strategy: string;
7921
+ readonly from?: string;
7928
7922
  readonly directory: string;
7929
7923
  readonly name?: string;
7930
7924
  }["strategy"];
7925
+ readonly from?: {
7926
+ readonly strategy: string;
7927
+ readonly from?: string;
7928
+ readonly directory: string;
7929
+ readonly name?: string;
7930
+ }["from"];
7931
7931
  readonly directory: {
7932
7932
  readonly strategy: string;
7933
+ readonly from?: string;
7933
7934
  readonly directory: string;
7934
7935
  readonly name?: string;
7935
7936
  }["directory"];
7936
7937
  readonly name?: {
7937
7938
  readonly strategy: string;
7939
+ readonly from?: string;
7938
7940
  readonly directory: string;
7939
7941
  readonly name?: string;
7940
7942
  }["name"];
7941
7943
  };
7942
- export type ProjectCopyCreateOutput = ProjectCopyCopy;
7943
- export type ProjectCopyRemoveInput = {
7944
+ export type WorktreeCreateOutput = WorktreeInfo;
7945
+ export type WorktreeRemoveInput = {
7944
7946
  readonly projectID: {
7945
7947
  readonly projectID: string;
7946
7948
  }["projectID"];
7947
- readonly location?: {
7948
- readonly location?: {
7949
- readonly directory?: string | undefined;
7950
- readonly workspace?: string | undefined;
7951
- } | undefined;
7952
- }["location"];
7953
7949
  readonly directory: {
7954
7950
  readonly directory: string;
7955
7951
  readonly force: boolean;
@@ -7959,19 +7955,13 @@ export type ProjectCopyRemoveInput = {
7959
7955
  readonly force: boolean;
7960
7956
  }["force"];
7961
7957
  };
7962
- export type ProjectCopyRemoveOutput = void;
7963
- export type ProjectCopyRefreshInput = {
7958
+ export type WorktreeRemoveOutput = void;
7959
+ export type WorktreeRefreshInput = {
7964
7960
  readonly projectID: {
7965
7961
  readonly projectID: string;
7966
7962
  }["projectID"];
7967
- readonly location?: {
7968
- readonly location?: {
7969
- readonly directory?: string | undefined;
7970
- readonly workspace?: string | undefined;
7971
- } | undefined;
7972
- }["location"];
7973
7963
  };
7974
- export type ProjectCopyRefreshOutput = void;
7964
+ export type WorktreeRefreshOutput = void;
7975
7965
  export type VcsGetInput = {
7976
7966
  readonly location?: {
7977
7967
  readonly location?: {