@opencode-ai/client 0.0.0-next-17343 → 0.0.0-next-17352

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.
@@ -194,26 +194,22 @@ export type SessionMessageCompactionCompleted = {
194
194
  export type SessionActive = {
195
195
  type: "running";
196
196
  };
197
- export type SessionPendingSyntheticData = {
197
+ export type SessionInboxDelivery = "steer" | "queue";
198
+ export type SessionInboxSyntheticPayload = {
198
199
  text: string;
199
200
  description?: string;
200
201
  metadata?: {
201
202
  [x: string]: JsonValue;
202
203
  };
203
204
  };
204
- export type SessionPendingCompaction = {
205
- id: string;
206
- sessionID: string;
207
- timeCreated: number;
208
- type: "compaction";
209
- };
205
+ export type SessionInboxCompactionPayload = {};
210
206
  export type InstructionEntryKey = string;
211
207
  export type SessionGenerateResponse = {
212
208
  data: {
213
209
  text: string;
214
210
  };
215
211
  };
216
- export type SessionPendingSyntheticData1 = {
212
+ export type SessionInboxSyntheticPayload1 = {
217
213
  text: string;
218
214
  description?: string;
219
215
  metadata?: {
@@ -637,6 +633,11 @@ export type SessionMessageLocationSwitched = {
637
633
  subpath?: string;
638
634
  };
639
635
  };
636
+ export type SessionInboxMovePayload = {
637
+ location: LocationRef;
638
+ projectID: string;
639
+ subpath?: string;
640
+ };
640
641
  export type SessionCreated = {
641
642
  id: string;
642
643
  created: number;
@@ -717,7 +718,7 @@ export type SessionMoved = {
717
718
  data: {
718
719
  sessionID: string;
719
720
  location: LocationRef;
720
- projectID?: string;
721
+ projectID: string;
721
722
  subpath?: string;
722
723
  };
723
724
  };
@@ -778,31 +779,13 @@ export type SessionForked = {
778
779
  };
779
780
  };
780
781
  };
781
- export type SessionInputPromoted = {
782
- id: string;
783
- created: number;
784
- metadata?: {
785
- [x: string]: any;
786
- };
787
- type: "session.input.promoted";
788
- durable: {
789
- aggregateID: string;
790
- seq: number;
791
- version: 1;
792
- };
793
- location?: LocationRef;
794
- data: {
795
- sessionID: string;
796
- inputID: string;
797
- };
798
- };
799
- export type SessionInputCancelled = {
782
+ export type SessionInboxDelivered = {
800
783
  id: string;
801
784
  created: number;
802
785
  metadata?: {
803
786
  [x: string]: any;
804
787
  };
805
- type: "session.input.cancelled";
788
+ type: "session.inbox.delivered";
806
789
  durable: {
807
790
  aggregateID: string;
808
791
  seq: number;
@@ -811,16 +794,16 @@ export type SessionInputCancelled = {
811
794
  location?: LocationRef;
812
795
  data: {
813
796
  sessionID: string;
814
- inputID: string;
797
+ inboxID: string;
815
798
  };
816
799
  };
817
- export type SessionInputSteered = {
800
+ export type SessionInboxCancelled = {
818
801
  id: string;
819
802
  created: number;
820
803
  metadata?: {
821
804
  [x: string]: any;
822
805
  };
823
- type: "session.input.steered";
806
+ type: "session.inbox.cancelled";
824
807
  durable: {
825
808
  aggregateID: string;
826
809
  seq: number;
@@ -829,25 +812,7 @@ export type SessionInputSteered = {
829
812
  location?: LocationRef;
830
813
  data: {
831
814
  sessionID: string;
832
- inputID: string;
833
- };
834
- };
835
- export type SessionInputQueued = {
836
- id: string;
837
- created: number;
838
- metadata?: {
839
- [x: string]: any;
840
- };
841
- type: "session.input.queued";
842
- durable: {
843
- aggregateID: string;
844
- seq: number;
845
- version: 1;
846
- };
847
- location?: LocationRef;
848
- data: {
849
- sessionID: string;
850
- inputID: string;
815
+ inboxID: string;
851
816
  };
852
817
  };
853
818
  export type SessionExecutionStarted = {
@@ -1068,24 +1033,6 @@ export type SessionToolInputEnded = {
1068
1033
  text: string;
1069
1034
  };
1070
1035
  };
1071
- export type SessionCompactionAdmitted = {
1072
- id: string;
1073
- created: number;
1074
- metadata?: {
1075
- [x: string]: any;
1076
- };
1077
- type: "session.compaction.admitted";
1078
- durable: {
1079
- aggregateID: string;
1080
- seq: number;
1081
- version: 1;
1082
- };
1083
- location?: LocationRef;
1084
- data: {
1085
- sessionID: string;
1086
- inputID: string;
1087
- };
1088
- };
1089
1036
  export type SessionCompactionStarted = {
1090
1037
  id: string;
1091
1038
  created: number;
@@ -1767,23 +1714,45 @@ export type SessionCompactionFailed = {
1767
1714
  inputID?: string;
1768
1715
  };
1769
1716
  };
1770
- export type SessionPendingSynthetic = {
1717
+ export type SessionInboxDeliveryChanged = {
1718
+ id: string;
1719
+ created: number;
1720
+ metadata?: {
1721
+ [x: string]: any;
1722
+ };
1723
+ type: "session.inbox.delivery.changed";
1724
+ durable: {
1725
+ aggregateID: string;
1726
+ seq: number;
1727
+ version: 1;
1728
+ };
1729
+ location?: LocationRef;
1730
+ data: {
1731
+ sessionID: string;
1732
+ inboxID: string;
1733
+ delivery: SessionInboxDelivery;
1734
+ };
1735
+ };
1736
+ export type SessionInboxSynthetic = {
1771
1737
  id: string;
1772
1738
  sessionID: string;
1773
1739
  timeCreated: number;
1774
1740
  type: "synthetic";
1775
- data: SessionPendingSyntheticData;
1776
- delivery: "steer" | "queue";
1741
+ payload: SessionInboxSyntheticPayload;
1742
+ delivery: SessionInboxDelivery;
1743
+ };
1744
+ export type SessionInboxCompaction = {
1745
+ id: string;
1746
+ sessionID: string;
1747
+ timeCreated: number;
1748
+ type: "compaction";
1749
+ payload: SessionInboxCompactionPayload;
1750
+ delivery: SessionInboxDelivery;
1777
1751
  };
1778
1752
  export type InstructionEntryInfo = {
1779
1753
  key: InstructionEntryKey;
1780
1754
  value: JsonValue;
1781
1755
  };
1782
- export type SessionPendingSyntheticMessage = {
1783
- type: "synthetic";
1784
- data: SessionPendingSyntheticData1;
1785
- delivery: "steer" | "queue";
1786
- };
1787
1756
  export type SessionShellStarted = {
1788
1757
  id: string;
1789
1758
  created: number;
@@ -2194,6 +2163,14 @@ export type VcsInfo = {
2194
2163
  branch: VcsBranch;
2195
2164
  };
2196
2165
  export type PermissionRuleset = Array<PermissionRule>;
2166
+ export type SessionInboxMove = {
2167
+ id: string;
2168
+ sessionID: string;
2169
+ timeCreated: number;
2170
+ type: "move";
2171
+ payload: SessionInboxMovePayload;
2172
+ delivery: SessionInboxDelivery;
2173
+ };
2197
2174
  export type SessionInfo = {
2198
2175
  id: string;
2199
2176
  parentID?: string;
@@ -2248,7 +2225,7 @@ export type SessionMessageUser = {
2248
2225
  skills?: Array<PromptSkillAttachment>;
2249
2226
  type: "user";
2250
2227
  };
2251
- export type SessionPendingUserData = {
2228
+ export type SessionInboxUserPayload = {
2252
2229
  text: string;
2253
2230
  files?: Array<PromptFileAttachment>;
2254
2231
  agents?: Array<PromptAgentAttachment>;
@@ -2257,7 +2234,7 @@ export type SessionPendingUserData = {
2257
2234
  [x: string]: JsonValue;
2258
2235
  };
2259
2236
  };
2260
- export type SessionPendingUserData1 = {
2237
+ export type SessionInboxUserPayload1 = {
2261
2238
  text: string;
2262
2239
  files?: Array<PromptFileAttachment>;
2263
2240
  agents?: Array<PromptAgentAttachment>;
@@ -2717,18 +2694,30 @@ export type SessionsResponse = {
2717
2694
  next?: string | null;
2718
2695
  };
2719
2696
  };
2720
- export type SessionPendingUser = {
2697
+ export type SessionInboxUser = {
2721
2698
  id: string;
2722
2699
  sessionID: string;
2723
2700
  timeCreated: number;
2724
2701
  type: "user";
2725
- data: SessionPendingUserData;
2726
- delivery: "steer" | "queue";
2702
+ payload: SessionInboxUserPayload;
2703
+ delivery: SessionInboxDelivery;
2727
2704
  };
2728
- export type SessionPendingUserMessage = {
2705
+ export type SessionInboxItem = {
2729
2706
  type: "user";
2730
- data: SessionPendingUserData1;
2731
- delivery: "steer" | "queue";
2707
+ payload: SessionInboxUserPayload1;
2708
+ delivery: SessionInboxDelivery;
2709
+ } | {
2710
+ type: "synthetic";
2711
+ payload: SessionInboxSyntheticPayload1;
2712
+ delivery: SessionInboxDelivery;
2713
+ } | {
2714
+ type: "compaction";
2715
+ payload: SessionInboxCompactionPayload;
2716
+ delivery: SessionInboxDelivery;
2717
+ } | {
2718
+ type: "move";
2719
+ payload: SessionInboxMovePayload;
2720
+ delivery: SessionInboxDelivery;
2732
2721
  };
2733
2722
  export type SessionMessageAssistantTool = {
2734
2723
  type: "tool";
@@ -2746,8 +2735,26 @@ export type SessionMessageAssistantTool = {
2746
2735
  };
2747
2736
  export type FormFields = [FormField, ...Array<FormField>];
2748
2737
  export type FormFields3 = [FormField1, ...Array<FormField1>];
2749
- export type SessionPendingInfo = SessionPendingUser | SessionPendingSynthetic | SessionPendingCompaction;
2750
- export type SessionPendingMessage = SessionPendingUserMessage | SessionPendingSyntheticMessage;
2738
+ export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
2739
+ export type SessionInboxEnqueued = {
2740
+ id: string;
2741
+ created: number;
2742
+ metadata?: {
2743
+ [x: string]: any;
2744
+ };
2745
+ type: "session.inbox.enqueued";
2746
+ durable: {
2747
+ aggregateID: string;
2748
+ seq: number;
2749
+ version: 1;
2750
+ };
2751
+ location?: LocationRef;
2752
+ data: {
2753
+ sessionID: string;
2754
+ inboxID: string;
2755
+ item: SessionInboxItem;
2756
+ };
2757
+ };
2751
2758
  export type SessionMessageAssistant = {
2752
2759
  id: string;
2753
2760
  metadata?: {
@@ -2797,25 +2804,7 @@ export type FormInfo1 = {
2797
2804
  metadata?: FormMetadata1;
2798
2805
  fields: FormFields3;
2799
2806
  };
2800
- export type SessionInputAdmitted = {
2801
- id: string;
2802
- created: number;
2803
- metadata?: {
2804
- [x: string]: any;
2805
- };
2806
- type: "session.input.admitted";
2807
- durable: {
2808
- aggregateID: string;
2809
- seq: number;
2810
- version: 1;
2811
- };
2812
- location?: LocationRef;
2813
- data: {
2814
- sessionID: string;
2815
- inputID: string;
2816
- input: SessionPendingMessage;
2817
- };
2818
- };
2807
+ 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 | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
2819
2808
  export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
2820
2809
  export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationEnvMethod;
2821
2810
  export type FormCreated = {
@@ -2830,7 +2819,7 @@ export type FormCreated = {
2830
2819
  form: FormInfo1;
2831
2820
  };
2832
2821
  };
2833
- 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 | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted | SessionUsageRecorded;
2822
+ export type SessionLogItem = SessionEventDurable | EventLogSynced;
2834
2823
  export type SessionTransferData = {
2835
2824
  info: SessionInfo;
2836
2825
  messages: Array<SessionMessageInfo>;
@@ -2848,8 +2837,7 @@ export type IntegrationInfo = {
2848
2837
  methods: Array<IntegrationMethod>;
2849
2838
  connections: Array<ConnectionInfo>;
2850
2839
  };
2851
- 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 | 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;
2852
- export type SessionLogItem = SessionEventDurable | EventLogSynced;
2840
+ 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 | SessionToolInputStarted | SessionToolInputDelta | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | 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;
2853
2841
  export type UnauthorizedError = {
2854
2842
  readonly _tag: "UnauthorizedError";
2855
2843
  readonly message: string;
@@ -4574,11 +4562,18 @@ export type SessionMoveInput = {
4574
4562
  readonly directory: {
4575
4563
  readonly directory: string;
4576
4564
  readonly workspaceID?: string;
4565
+ readonly delivery?: ("steer" | "queue") | null;
4577
4566
  }["directory"];
4578
4567
  readonly workspaceID?: {
4579
4568
  readonly directory: string;
4580
4569
  readonly workspaceID?: string;
4570
+ readonly delivery?: ("steer" | "queue") | null;
4581
4571
  }["workspaceID"];
4572
+ readonly delivery?: {
4573
+ readonly directory: string;
4574
+ readonly workspaceID?: string;
4575
+ readonly delivery?: ("steer" | "queue") | null;
4576
+ }["delivery"];
4582
4577
  };
4583
4578
  export type SessionMoveOutput = void;
4584
4579
  export type SessionPromptInput = {
@@ -4617,7 +4612,7 @@ export type SessionPromptInput = {
4617
4612
  readonly metadata?: {
4618
4613
  readonly [x: string]: JsonValue;
4619
4614
  };
4620
- readonly delivery?: "steer" | "queue" | null;
4615
+ readonly delivery?: ("steer" | "queue") | null;
4621
4616
  readonly resume?: boolean | null;
4622
4617
  }["id"];
4623
4618
  readonly text: {
@@ -4652,7 +4647,7 @@ export type SessionPromptInput = {
4652
4647
  readonly metadata?: {
4653
4648
  readonly [x: string]: JsonValue;
4654
4649
  };
4655
- readonly delivery?: "steer" | "queue" | null;
4650
+ readonly delivery?: ("steer" | "queue") | null;
4656
4651
  readonly resume?: boolean | null;
4657
4652
  }["text"];
4658
4653
  readonly files?: {
@@ -4687,7 +4682,7 @@ export type SessionPromptInput = {
4687
4682
  readonly metadata?: {
4688
4683
  readonly [x: string]: JsonValue;
4689
4684
  };
4690
- readonly delivery?: "steer" | "queue" | null;
4685
+ readonly delivery?: ("steer" | "queue") | null;
4691
4686
  readonly resume?: boolean | null;
4692
4687
  }["files"];
4693
4688
  readonly agents?: {
@@ -4722,7 +4717,7 @@ export type SessionPromptInput = {
4722
4717
  readonly metadata?: {
4723
4718
  readonly [x: string]: JsonValue;
4724
4719
  };
4725
- readonly delivery?: "steer" | "queue" | null;
4720
+ readonly delivery?: ("steer" | "queue") | null;
4726
4721
  readonly resume?: boolean | null;
4727
4722
  }["agents"];
4728
4723
  readonly skills?: {
@@ -4757,7 +4752,7 @@ export type SessionPromptInput = {
4757
4752
  readonly metadata?: {
4758
4753
  readonly [x: string]: JsonValue;
4759
4754
  };
4760
- readonly delivery?: "steer" | "queue" | null;
4755
+ readonly delivery?: ("steer" | "queue") | null;
4761
4756
  readonly resume?: boolean | null;
4762
4757
  }["skills"];
4763
4758
  readonly metadata?: {
@@ -4792,7 +4787,7 @@ export type SessionPromptInput = {
4792
4787
  readonly metadata?: {
4793
4788
  readonly [x: string]: JsonValue;
4794
4789
  };
4795
- readonly delivery?: "steer" | "queue" | null;
4790
+ readonly delivery?: ("steer" | "queue") | null;
4796
4791
  readonly resume?: boolean | null;
4797
4792
  }["metadata"];
4798
4793
  readonly delivery?: {
@@ -4827,7 +4822,7 @@ export type SessionPromptInput = {
4827
4822
  readonly metadata?: {
4828
4823
  readonly [x: string]: JsonValue;
4829
4824
  };
4830
- readonly delivery?: "steer" | "queue" | null;
4825
+ readonly delivery?: ("steer" | "queue") | null;
4831
4826
  readonly resume?: boolean | null;
4832
4827
  }["delivery"];
4833
4828
  readonly resume?: {
@@ -4862,12 +4857,12 @@ export type SessionPromptInput = {
4862
4857
  readonly metadata?: {
4863
4858
  readonly [x: string]: JsonValue;
4864
4859
  };
4865
- readonly delivery?: "steer" | "queue" | null;
4860
+ readonly delivery?: ("steer" | "queue") | null;
4866
4861
  readonly resume?: boolean | null;
4867
4862
  }["resume"];
4868
4863
  };
4869
4864
  export type SessionPromptOutput = {
4870
- data: SessionPendingUser;
4865
+ data: SessionInboxUser;
4871
4866
  }["data"];
4872
4867
  export type SessionCommandInput = {
4873
4868
  readonly sessionID: {
@@ -4909,7 +4904,7 @@ export type SessionCommandInput = {
4909
4904
  readonly text: string;
4910
4905
  };
4911
4906
  }>;
4912
- readonly delivery?: "steer" | "queue" | null;
4907
+ readonly delivery?: ("steer" | "queue") | null;
4913
4908
  readonly resume?: boolean | null;
4914
4909
  }["id"];
4915
4910
  readonly command: {
@@ -4948,7 +4943,7 @@ export type SessionCommandInput = {
4948
4943
  readonly text: string;
4949
4944
  };
4950
4945
  }>;
4951
- readonly delivery?: "steer" | "queue" | null;
4946
+ readonly delivery?: ("steer" | "queue") | null;
4952
4947
  readonly resume?: boolean | null;
4953
4948
  }["command"];
4954
4949
  readonly arguments?: {
@@ -4987,7 +4982,7 @@ export type SessionCommandInput = {
4987
4982
  readonly text: string;
4988
4983
  };
4989
4984
  }>;
4990
- readonly delivery?: "steer" | "queue" | null;
4985
+ readonly delivery?: ("steer" | "queue") | null;
4991
4986
  readonly resume?: boolean | null;
4992
4987
  }["arguments"];
4993
4988
  readonly agent?: {
@@ -5026,7 +5021,7 @@ export type SessionCommandInput = {
5026
5021
  readonly text: string;
5027
5022
  };
5028
5023
  }>;
5029
- readonly delivery?: "steer" | "queue" | null;
5024
+ readonly delivery?: ("steer" | "queue") | null;
5030
5025
  readonly resume?: boolean | null;
5031
5026
  }["agent"];
5032
5027
  readonly model?: {
@@ -5065,7 +5060,7 @@ export type SessionCommandInput = {
5065
5060
  readonly text: string;
5066
5061
  };
5067
5062
  }>;
5068
- readonly delivery?: "steer" | "queue" | null;
5063
+ readonly delivery?: ("steer" | "queue") | null;
5069
5064
  readonly resume?: boolean | null;
5070
5065
  }["model"];
5071
5066
  readonly files?: {
@@ -5104,7 +5099,7 @@ export type SessionCommandInput = {
5104
5099
  readonly text: string;
5105
5100
  };
5106
5101
  }>;
5107
- readonly delivery?: "steer" | "queue" | null;
5102
+ readonly delivery?: ("steer" | "queue") | null;
5108
5103
  readonly resume?: boolean | null;
5109
5104
  }["files"];
5110
5105
  readonly agents?: {
@@ -5143,7 +5138,7 @@ export type SessionCommandInput = {
5143
5138
  readonly text: string;
5144
5139
  };
5145
5140
  }>;
5146
- readonly delivery?: "steer" | "queue" | null;
5141
+ readonly delivery?: ("steer" | "queue") | null;
5147
5142
  readonly resume?: boolean | null;
5148
5143
  }["agents"];
5149
5144
  readonly skills?: {
@@ -5182,7 +5177,7 @@ export type SessionCommandInput = {
5182
5177
  readonly text: string;
5183
5178
  };
5184
5179
  }>;
5185
- readonly delivery?: "steer" | "queue" | null;
5180
+ readonly delivery?: ("steer" | "queue") | null;
5186
5181
  readonly resume?: boolean | null;
5187
5182
  }["skills"];
5188
5183
  readonly delivery?: {
@@ -5221,7 +5216,7 @@ export type SessionCommandInput = {
5221
5216
  readonly text: string;
5222
5217
  };
5223
5218
  }>;
5224
- readonly delivery?: "steer" | "queue" | null;
5219
+ readonly delivery?: ("steer" | "queue") | null;
5225
5220
  readonly resume?: boolean | null;
5226
5221
  }["delivery"];
5227
5222
  readonly resume?: {
@@ -5260,12 +5255,12 @@ export type SessionCommandInput = {
5260
5255
  readonly text: string;
5261
5256
  };
5262
5257
  }>;
5263
- readonly delivery?: "steer" | "queue" | null;
5258
+ readonly delivery?: ("steer" | "queue") | null;
5264
5259
  readonly resume?: boolean | null;
5265
5260
  }["resume"];
5266
5261
  };
5267
5262
  export type SessionCommandOutput = {
5268
- data: SessionPendingUser;
5263
+ data: SessionInboxUser;
5269
5264
  }["data"];
5270
5265
  export type SessionSkillInput = {
5271
5266
  readonly sessionID: {
@@ -5299,7 +5294,7 @@ export type SessionSyntheticInput = {
5299
5294
  readonly metadata?: {
5300
5295
  readonly [x: string]: JsonValue;
5301
5296
  };
5302
- readonly delivery?: "steer" | "queue" | null;
5297
+ readonly delivery?: ("steer" | "queue") | null;
5303
5298
  readonly resume?: boolean | null;
5304
5299
  }["id"];
5305
5300
  readonly text: {
@@ -5309,7 +5304,7 @@ export type SessionSyntheticInput = {
5309
5304
  readonly metadata?: {
5310
5305
  readonly [x: string]: JsonValue;
5311
5306
  };
5312
- readonly delivery?: "steer" | "queue" | null;
5307
+ readonly delivery?: ("steer" | "queue") | null;
5313
5308
  readonly resume?: boolean | null;
5314
5309
  }["text"];
5315
5310
  readonly description?: {
@@ -5319,7 +5314,7 @@ export type SessionSyntheticInput = {
5319
5314
  readonly metadata?: {
5320
5315
  readonly [x: string]: JsonValue;
5321
5316
  };
5322
- readonly delivery?: "steer" | "queue" | null;
5317
+ readonly delivery?: ("steer" | "queue") | null;
5323
5318
  readonly resume?: boolean | null;
5324
5319
  }["description"];
5325
5320
  readonly metadata?: {
@@ -5329,7 +5324,7 @@ export type SessionSyntheticInput = {
5329
5324
  readonly metadata?: {
5330
5325
  readonly [x: string]: JsonValue;
5331
5326
  };
5332
- readonly delivery?: "steer" | "queue" | null;
5327
+ readonly delivery?: ("steer" | "queue") | null;
5333
5328
  readonly resume?: boolean | null;
5334
5329
  }["metadata"];
5335
5330
  readonly delivery?: {
@@ -5339,7 +5334,7 @@ export type SessionSyntheticInput = {
5339
5334
  readonly metadata?: {
5340
5335
  readonly [x: string]: JsonValue;
5341
5336
  };
5342
- readonly delivery?: "steer" | "queue" | null;
5337
+ readonly delivery?: ("steer" | "queue") | null;
5343
5338
  readonly resume?: boolean | null;
5344
5339
  }["delivery"];
5345
5340
  readonly resume?: {
@@ -5349,12 +5344,12 @@ export type SessionSyntheticInput = {
5349
5344
  readonly metadata?: {
5350
5345
  readonly [x: string]: JsonValue;
5351
5346
  };
5352
- readonly delivery?: "steer" | "queue" | null;
5347
+ readonly delivery?: ("steer" | "queue") | null;
5353
5348
  readonly resume?: boolean | null;
5354
5349
  }["resume"];
5355
5350
  };
5356
5351
  export type SessionSyntheticOutput = {
5357
- data: SessionPendingSynthetic;
5352
+ data: SessionInboxSynthetic;
5358
5353
  }["data"];
5359
5354
  export type SessionShellInput = {
5360
5355
  readonly sessionID: {
@@ -5376,10 +5371,15 @@ export type SessionCompactInput = {
5376
5371
  }["sessionID"];
5377
5372
  readonly id?: {
5378
5373
  readonly id?: string | undefined;
5374
+ readonly delivery?: ("steer" | "queue") | undefined;
5379
5375
  }["id"];
5376
+ readonly delivery?: {
5377
+ readonly id?: string | undefined;
5378
+ readonly delivery?: ("steer" | "queue") | undefined;
5379
+ }["delivery"];
5380
5380
  };
5381
5381
  export type SessionCompactOutput = {
5382
- data: SessionPendingCompaction;
5382
+ data: SessionInboxCompaction;
5383
5383
  }["data"];
5384
5384
  export type SessionWaitInput = {
5385
5385
  readonly sessionID: {
@@ -5423,47 +5423,47 @@ export type SessionContextInput = {
5423
5423
  export type SessionContextOutput = {
5424
5424
  data: Array<SessionMessageInfo>;
5425
5425
  }["data"];
5426
- export type SessionPendingListInput = {
5426
+ export type SessionInboxListInput = {
5427
5427
  readonly sessionID: {
5428
5428
  readonly sessionID: string;
5429
5429
  }["sessionID"];
5430
5430
  };
5431
- export type SessionPendingListOutput = {
5432
- data: Array<SessionPendingInfo>;
5431
+ export type SessionInboxListOutput = {
5432
+ data: Array<SessionInboxInfo>;
5433
5433
  }["data"];
5434
- export type SessionPendingCancelInput = {
5434
+ export type SessionInboxCancelInput = {
5435
5435
  readonly sessionID: {
5436
5436
  readonly sessionID: string;
5437
- readonly inputID: string;
5437
+ readonly inboxID: string;
5438
5438
  }["sessionID"];
5439
- readonly inputID: {
5439
+ readonly inboxID: {
5440
5440
  readonly sessionID: string;
5441
- readonly inputID: string;
5442
- }["inputID"];
5441
+ readonly inboxID: string;
5442
+ }["inboxID"];
5443
5443
  };
5444
- export type SessionPendingCancelOutput = void;
5445
- export type SessionPendingSteerInput = {
5444
+ export type SessionInboxCancelOutput = void;
5445
+ export type SessionInboxSteerInput = {
5446
5446
  readonly sessionID: {
5447
5447
  readonly sessionID: string;
5448
- readonly inputID: string;
5448
+ readonly inboxID: string;
5449
5449
  }["sessionID"];
5450
- readonly inputID: {
5450
+ readonly inboxID: {
5451
5451
  readonly sessionID: string;
5452
- readonly inputID: string;
5453
- }["inputID"];
5452
+ readonly inboxID: string;
5453
+ }["inboxID"];
5454
5454
  };
5455
- export type SessionPendingSteerOutput = void;
5456
- export type SessionPendingQueueInput = {
5455
+ export type SessionInboxSteerOutput = void;
5456
+ export type SessionInboxQueueInput = {
5457
5457
  readonly sessionID: {
5458
5458
  readonly sessionID: string;
5459
- readonly inputID: string;
5459
+ readonly inboxID: string;
5460
5460
  }["sessionID"];
5461
- readonly inputID: {
5461
+ readonly inboxID: {
5462
5462
  readonly sessionID: string;
5463
- readonly inputID: string;
5464
- }["inputID"];
5463
+ readonly inboxID: string;
5464
+ }["inboxID"];
5465
5465
  };
5466
- export type SessionPendingQueueOutput = void;
5466
+ export type SessionInboxQueueOutput = void;
5467
5467
  export type SessionInstructionsEntryListInput = {
5468
5468
  readonly sessionID: {
5469
5469
  readonly sessionID: string;