@opencode-ai/sdk 0.0.0-next-15175 → 0.0.0-next-15180

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.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
- import type { AgentPartInput, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, FormCreatePayloadV2, FormReply, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstructionEntryKeyV2, LocationRefV2, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply, PermissionV2SourceV2, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptAgentAttachment, PromptInput, PromptInputFileAttachment, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2DebugLocationEvictErrors, V2DebugLocationEvictResponses, V2DebugLocationListErrors, V2DebugLocationListResponses, V2EventSubscribeResponses, V2FormRequestListErrors, V2FormRequestListResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2GenerateTextErrors, V2GenerateTextResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2McpListErrors, V2McpListResponses, V2McpResourceCatalogErrors, V2McpResourceCatalogResponses, V2MessageListErrors, V2MessageListResponses, V2ModelDefaultErrors, V2ModelDefaultResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2PluginListErrors, V2PluginListResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProjectCurrentErrors, V2ProjectCurrentResponses, V2ProjectDirectoriesErrors, V2ProjectDirectoriesResponses, V2ProjectListErrors, V2ProjectListResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2ServerGetErrors, V2ServerGetResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionBackgroundErrors, V2SessionBackgroundResponses, V2SessionCommandErrors, V2SessionCommandResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionForkErrors, V2SessionForkResponses, V2SessionFormCancelErrors, V2SessionFormCancelResponses, V2SessionFormCreateErrors, V2SessionFormCreateResponses, V2SessionFormGetErrors, V2SessionFormGetResponses, V2SessionFormListErrors, V2SessionFormListResponses, V2SessionFormReplyErrors, V2SessionFormReplyResponses, V2SessionFormStateErrors, V2SessionFormStateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInstructionsEntryListErrors, V2SessionInstructionsEntryListResponses, V2SessionInstructionsEntryPutErrors, V2SessionInstructionsEntryPutResponses, V2SessionInstructionsEntryRemoveErrors, V2SessionInstructionsEntryRemoveResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionLogResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMoveErrors, V2SessionMoveResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRemoveErrors, V2SessionRemoveResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionShellErrors, V2SessionShellResponses, V2SessionSkillErrors, V2SessionSkillResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionSyntheticErrors, V2SessionSyntheticResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2ShellCreateErrors, V2ShellCreateResponses, V2ShellGetErrors, V2ShellGetResponses, V2ShellListErrors, V2ShellListResponses, V2ShellOutputErrors, V2ShellOutputResponses, V2ShellRemoveErrors, V2ShellRemoveResponses, V2ShellTimeoutErrors, V2ShellTimeoutResponses, V2SkillListErrors, V2SkillListResponses, V2VcsDiffErrors, V2VcsDiffResponses, V2VcsStatusErrors, V2VcsStatusResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsMode, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
2
+ import type { AgentPartInput, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListErrors, CommandListResponses, Config as Config3, ConfigGetErrors, ConfigGetResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalCapabilitiesGetErrors, ExperimentalCapabilitiesGetResponses, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalControlPlaneMoveSessionErrors, ExperimentalControlPlaneMoveSessionResponses, ExperimentalProjectCopyGenerateNameErrors, ExperimentalProjectCopyGenerateNameResponses, ExperimentalResourceListErrors, ExperimentalResourceListResponses, ExperimentalSessionBackgroundErrors, ExperimentalSessionBackgroundResponses, ExperimentalSessionListErrors, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListErrors, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListErrors, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusErrors, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListErrors, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListErrors, FileListResponses, FilePartInput, FilePartSource, FileReadErrors, FileReadResponses, FileStatusErrors, FileStatusResponses, FindFilesErrors, FindFilesResponses, FindSymbolsErrors, FindSymbolsResponses, FindTextErrors, FindTextResponses, FormatterStatusErrors, FormatterStatusResponses, FormCreatePayloadV2, FormReply, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstructionEntryKeyV2, LocationRefV2, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply, PermissionV2SourceV2, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptAgentAttachment, PromptInputFileAttachment, ProviderAuthErrors, ProviderAuthResponses, ProviderListErrors, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListErrors, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsErrors, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListErrors, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, QuestionV2Reply, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListErrors, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SubtaskPartInput, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2DebugLocationEvictErrors, V2DebugLocationEvictResponses, V2DebugLocationListErrors, V2DebugLocationListResponses, V2EventSubscribeResponses, V2FormRequestListErrors, V2FormRequestListResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2GenerateTextErrors, V2GenerateTextResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2McpListErrors, V2McpListResponses, V2McpResourceCatalogErrors, V2McpResourceCatalogResponses, V2MessageListErrors, V2MessageListResponses, V2ModelDefaultErrors, V2ModelDefaultResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2PluginListErrors, V2PluginListResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProjectCurrentErrors, V2ProjectCurrentResponses, V2ProjectDirectoriesErrors, V2ProjectDirectoriesResponses, V2ProjectListErrors, V2ProjectListResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2ServerGetErrors, V2ServerGetResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionBackgroundErrors, V2SessionBackgroundResponses, V2SessionCommandErrors, V2SessionCommandResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionForkErrors, V2SessionForkResponses, V2SessionFormCancelErrors, V2SessionFormCancelResponses, V2SessionFormCreateErrors, V2SessionFormCreateResponses, V2SessionFormGetErrors, V2SessionFormGetResponses, V2SessionFormListErrors, V2SessionFormListResponses, V2SessionFormReplyErrors, V2SessionFormReplyResponses, V2SessionFormStateErrors, V2SessionFormStateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInstructionsEntryListErrors, V2SessionInstructionsEntryListResponses, V2SessionInstructionsEntryPutErrors, V2SessionInstructionsEntryPutResponses, V2SessionInstructionsEntryRemoveErrors, V2SessionInstructionsEntryRemoveResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionLogResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMoveErrors, V2SessionMoveResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRemoveErrors, V2SessionRemoveResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionShellErrors, V2SessionShellResponses, V2SessionSkillErrors, V2SessionSkillResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionSyntheticErrors, V2SessionSyntheticResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2ShellCreateErrors, V2ShellCreateResponses, V2ShellGetErrors, V2ShellGetResponses, V2ShellListErrors, V2ShellListResponses, V2ShellOutputErrors, V2ShellOutputResponses, V2ShellRemoveErrors, V2ShellRemoveResponses, V2ShellTimeoutErrors, V2ShellTimeoutResponses, V2SkillListErrors, V2SkillListResponses, V2VcsDiffErrors, V2VcsDiffResponses, V2VcsStatusErrors, V2VcsStatusResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsMode, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
3
3
  export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -1839,7 +1839,12 @@ export declare class Session3 extends HeyApiClient {
1839
1839
  prompt<ThrowOnError extends boolean = false>(parameters: {
1840
1840
  sessionID: string;
1841
1841
  id?: string | null;
1842
- prompt?: PromptInput;
1842
+ text?: string;
1843
+ files?: Array<PromptInputFileAttachment>;
1844
+ agents?: Array<PromptAgentAttachment>;
1845
+ metadata?: {
1846
+ [key: string]: unknown;
1847
+ };
1843
1848
  delivery?: "steer" | "queue" | null;
1844
1849
  resume?: boolean | null;
1845
1850
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPromptResponses, V2SessionPromptErrors, ThrowOnError, "fields">;
@@ -1874,15 +1879,17 @@ export declare class Session3 extends HeyApiClient {
1874
1879
  /**
1875
1880
  * Add synthetic message
1876
1881
  *
1877
- * Append a synthetic message to a session and resume execution.
1882
+ * Durably admit synthetic session input and schedule execution unless resume is false.
1878
1883
  */
1879
1884
  synthetic<ThrowOnError extends boolean = false>(parameters: {
1880
1885
  sessionID: string;
1886
+ id?: string | null;
1881
1887
  text?: string;
1882
1888
  description?: string | null;
1883
1889
  metadata?: {
1884
1890
  [key: string]: unknown;
1885
1891
  };
1892
+ delivery?: "steer" | "queue" | null;
1886
1893
  resume?: boolean | null;
1887
1894
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionSyntheticResponses, V2SessionSyntheticErrors, ThrowOnError, "fields">;
1888
1895
  /**
@@ -3744,7 +3744,10 @@ export class Session3 extends HeyApiClient {
3744
3744
  args: [
3745
3745
  { in: "path", key: "sessionID" },
3746
3746
  { in: "body", key: "id" },
3747
- { in: "body", key: "prompt" },
3747
+ { in: "body", key: "text" },
3748
+ { in: "body", key: "files" },
3749
+ { in: "body", key: "agents" },
3750
+ { in: "body", key: "metadata" },
3748
3751
  { in: "body", key: "delivery" },
3749
3752
  { in: "body", key: "resume" },
3750
3753
  ],
@@ -3824,16 +3827,18 @@ export class Session3 extends HeyApiClient {
3824
3827
  /**
3825
3828
  * Add synthetic message
3826
3829
  *
3827
- * Append a synthetic message to a session and resume execution.
3830
+ * Durably admit synthetic session input and schedule execution unless resume is false.
3828
3831
  */
3829
3832
  synthetic(parameters, options) {
3830
3833
  const params = buildClientParams([parameters], [
3831
3834
  {
3832
3835
  args: [
3833
3836
  { in: "path", key: "sessionID" },
3837
+ { in: "body", key: "id" },
3834
3838
  { in: "body", key: "text" },
3835
3839
  { in: "body", key: "description" },
3836
3840
  { in: "body", key: "metadata" },
3841
+ { in: "body", key: "delivery" },
3837
3842
  { in: "body", key: "resume" },
3838
3843
  ],
3839
3844
  },
@@ -1,7 +1,7 @@
1
1
  export type ClientOptions = {
2
2
  baseUrl: `${string}://${string}` | (string & {});
3
3
  };
4
- export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventAgentUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionAgentSelected | EventSessionModelSelected | EventSessionMoved | EventSessionRenamed | EventSessionUsageUpdated | EventSessionForked | EventSessionPromptPromoted | EventSessionPromptAdmitted | EventSessionExecutionStarted | EventSessionExecutionSucceeded | EventSessionExecutionFailed | EventSessionExecutionInterrupted | EventSessionInstructionsUpdated | EventSessionSynthetic | EventSessionSkillActivated | EventSessionShellStarted | EventSessionShellEnded | EventSessionStepStarted | EventSessionStepEnded | EventSessionStepFailed | EventSessionTextStarted | EventSessionTextDelta | EventSessionTextEnded | EventSessionReasoningStarted | EventSessionReasoningDelta | EventSessionReasoningEnded | EventSessionToolInputStarted | EventSessionToolInputDelta | EventSessionToolInputEnded | EventSessionToolCalled | EventSessionToolProgress | EventSessionToolSuccess | EventSessionToolFailed | EventSessionRetryScheduled | EventSessionCompactionAdmitted | EventSessionCompactionStarted | EventSessionCompactionDelta | EventSessionCompactionEnded | EventSessionCompactionFailed | EventSessionRevertStaged | EventSessionRevertCleared | EventSessionRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFilesystemChanged | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventPluginUpdated | EventProjectDirectoriesUpdated | EventCommandUpdated | EventConfigUpdated | EventSkillUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventShellCreated | EventShellExited | EventShellDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventFormCreated | EventFormReplied | EventFormCancelled | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpResourcesChanged | EventMcpStatusChanged | EventCommandExecuted | EventFileEdited | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
4
+ export type Event = EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventAgentUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionAgentSelected | EventSessionModelSelected | EventSessionMoved | EventSessionRenamed | EventSessionUsageUpdated | EventSessionForked | EventSessionInputPromoted | EventSessionInputAdmitted | EventSessionExecutionStarted | EventSessionExecutionSucceeded | EventSessionExecutionFailed | EventSessionExecutionInterrupted | EventSessionInstructionsUpdated | EventSessionSynthetic | EventSessionSkillActivated | EventSessionShellStarted | EventSessionShellEnded | EventSessionStepStarted | EventSessionStepEnded | EventSessionStepFailed | EventSessionTextStarted | EventSessionTextDelta | EventSessionTextEnded | EventSessionReasoningStarted | EventSessionReasoningDelta | EventSessionReasoningEnded | EventSessionToolInputStarted | EventSessionToolInputDelta | EventSessionToolInputEnded | EventSessionToolCalled | EventSessionToolProgress | EventSessionToolSuccess | EventSessionToolFailed | EventSessionRetryScheduled | EventSessionCompactionAdmitted | EventSessionCompactionStarted | EventSessionCompactionDelta | EventSessionCompactionEnded | EventSessionCompactionFailed | EventSessionRevertStaged | EventSessionRevertCleared | EventSessionRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFilesystemChanged | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventPluginUpdated | EventProjectDirectoriesUpdated | EventCommandUpdated | EventConfigUpdated | EventSkillUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventShellCreated | EventShellExited | EventShellDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventFormCreated | EventFormReplied | EventFormCancelled | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpResourcesChanged | EventMcpStatusChanged | EventCommandExecuted | EventFileEdited | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
5
5
  export type QuestionReplied = {
6
6
  sessionID: string;
7
7
  requestID: string;
@@ -413,11 +413,6 @@ export type CompactionPart = {
413
413
  tail_start_id?: string;
414
414
  };
415
415
  export type Part = TextPart | SubtaskPart | ReasoningPart | FilePart | ToolPart | StepStartPart | StepFinishPart | SnapshotPart | PatchPart | AgentPart | RetryPart | CompactionPart;
416
- export type Prompt = {
417
- text: string;
418
- files?: Array<PromptFileAttachment>;
419
- agents?: Array<PromptAgentAttachment>;
420
- };
421
416
  export type Shell = {
422
417
  id: string;
423
418
  status: "running" | "exited" | "timeout" | "killed";
@@ -639,19 +634,18 @@ export type GlobalEvent = {
639
634
  };
640
635
  } | {
641
636
  id: string;
642
- type: "session.prompt.promoted";
637
+ type: "session.input.promoted";
643
638
  properties: {
644
639
  sessionID: string;
645
640
  inputID: string;
646
641
  };
647
642
  } | {
648
643
  id: string;
649
- type: "session.prompt.admitted";
644
+ type: "session.input.admitted";
650
645
  properties: {
651
646
  sessionID: string;
652
647
  inputID: string;
653
- prompt: Prompt;
654
- delivery: "steer" | "queue";
648
+ input: SessionInputMessage;
655
649
  };
656
650
  } | {
657
651
  id: string;
@@ -1372,7 +1366,7 @@ export type GlobalEvent = {
1372
1366
  properties: {
1373
1367
  [key: string]: unknown;
1374
1368
  };
1375
- } | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionAgentSelected | SyncEventSessionModelSelected | SyncEventSessionMoved | SyncEventSessionRenamed | SyncEventSessionForked | SyncEventSessionPromptPromoted | SyncEventSessionPromptAdmitted | SyncEventSessionExecutionStarted | SyncEventSessionExecutionSucceeded | SyncEventSessionExecutionFailed | SyncEventSessionExecutionInterrupted | SyncEventSessionInstructionsUpdated | SyncEventSessionSynthetic | SyncEventSessionSkillActivated | SyncEventSessionShellStarted | SyncEventSessionShellEnded | SyncEventSessionStepStarted | SyncEventSessionStepEnded | SyncEventSessionStepFailed | SyncEventSessionTextStarted | SyncEventSessionTextEnded | SyncEventSessionReasoningStarted | SyncEventSessionReasoningEnded | SyncEventSessionToolInputStarted | SyncEventSessionToolInputEnded | SyncEventSessionToolCalled | SyncEventSessionToolProgress | SyncEventSessionToolSuccess | SyncEventSessionToolFailed | SyncEventSessionRetryScheduled | SyncEventSessionCompactionAdmitted | SyncEventSessionCompactionStarted | SyncEventSessionCompactionEnded | SyncEventSessionCompactionFailed | SyncEventSessionRevertStaged | SyncEventSessionRevertCleared | SyncEventSessionRevertCommitted;
1369
+ } | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionAgentSelected | SyncEventSessionModelSelected | SyncEventSessionMoved | SyncEventSessionRenamed | SyncEventSessionForked | SyncEventSessionInputPromoted | SyncEventSessionInputAdmitted | SyncEventSessionExecutionStarted | SyncEventSessionExecutionSucceeded | SyncEventSessionExecutionFailed | SyncEventSessionExecutionInterrupted | SyncEventSessionInstructionsUpdated | SyncEventSessionSynthetic | SyncEventSessionSkillActivated | SyncEventSessionShellStarted | SyncEventSessionShellEnded | SyncEventSessionStepStarted | SyncEventSessionStepEnded | SyncEventSessionStepFailed | SyncEventSessionTextStarted | SyncEventSessionTextEnded | SyncEventSessionReasoningStarted | SyncEventSessionReasoningEnded | SyncEventSessionToolInputStarted | SyncEventSessionToolInputEnded | SyncEventSessionToolCalled | SyncEventSessionToolProgress | SyncEventSessionToolSuccess | SyncEventSessionToolFailed | SyncEventSessionRetryScheduled | SyncEventSessionCompactionAdmitted | SyncEventSessionCompactionStarted | SyncEventSessionCompactionEnded | SyncEventSessionCompactionFailed | SyncEventSessionRevertStaged | SyncEventSessionRevertCleared | SyncEventSessionRevertCommitted;
1376
1370
  };
1377
1371
  /**
1378
1372
  * Log level
@@ -2337,11 +2331,6 @@ export type MessageNotFoundError = {
2337
2331
  messageID: string;
2338
2332
  message: string;
2339
2333
  };
2340
- export type PromptInput = {
2341
- text: string;
2342
- files?: Array<PromptInputFileAttachment>;
2343
- agents?: Array<PromptAgentAttachment>;
2344
- };
2345
2334
  export type ConflictError = {
2346
2335
  _tag: "ConflictError";
2347
2336
  message: string;
@@ -2477,7 +2466,7 @@ export type QuestionRejected2 = {
2477
2466
  requestID: string;
2478
2467
  };
2479
2468
  };
2480
- export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionForked | SessionPromptPromoted | SessionPromptAdmitted | 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 | MessagePartDelta | SessionDiff | SessionError | InstallationUpdated | InstallationUpdateAvailable | FilesystemChanged | ReferenceUpdated | PermissionV2Asked | PermissionV2Replied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | FormCreated | FormReplied | FormCancelled | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpResourcesChanged | McpStatusChanged | CommandExecuted | FileEdited | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed;
2469
+ export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionUsageUpdated | SessionForked | SessionInputPromoted | SessionInputAdmitted | 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 | MessagePartDelta | SessionDiff | SessionError | InstallationUpdated | InstallationUpdateAvailable | FilesystemChanged | ReferenceUpdated | PermissionV2Asked | PermissionV2Replied | PluginAdded | PluginUpdated | ProjectDirectoriesUpdated | CommandUpdated | ConfigUpdated | SkillUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | FormCreated | FormReplied | FormCancelled | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpResourcesChanged | McpStatusChanged | CommandExecuted | FileEdited | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed;
2481
2470
  export type V2EventStream = string;
2482
2471
  export type ForbiddenError = {
2483
2472
  _tag: "ForbiddenError";
@@ -2670,6 +2659,32 @@ export type PromptAgentAttachment = {
2670
2659
  name: string;
2671
2660
  mention?: PromptMention;
2672
2661
  };
2662
+ export type SessionInputUserData = {
2663
+ text: string;
2664
+ files?: Array<PromptFileAttachment>;
2665
+ agents?: Array<PromptAgentAttachment>;
2666
+ metadata?: {
2667
+ [key: string]: unknown;
2668
+ };
2669
+ };
2670
+ export type SessionInputUserMessage = {
2671
+ type: "user";
2672
+ data: SessionInputUserData;
2673
+ delivery: "steer" | "queue";
2674
+ };
2675
+ export type SessionInputSyntheticData = {
2676
+ text: string;
2677
+ description?: string;
2678
+ metadata?: {
2679
+ [key: string]: unknown;
2680
+ };
2681
+ };
2682
+ export type SessionInputSyntheticMessage = {
2683
+ type: "synthetic";
2684
+ data: SessionInputSyntheticData;
2685
+ delivery: "steer" | "queue";
2686
+ };
2687
+ export type SessionInputMessage = SessionInputUserMessage | SessionInputSyntheticMessage;
2673
2688
  export type SessionStructuredError = {
2674
2689
  type: string;
2675
2690
  message: string;
@@ -3026,11 +3041,11 @@ export type SyncEventSessionForked = {
3026
3041
  };
3027
3042
  };
3028
3043
  };
3029
- export type SyncEventSessionPromptPromoted = {
3044
+ export type SyncEventSessionInputPromoted = {
3030
3045
  type: "sync";
3031
3046
  id: string;
3032
3047
  syncEvent: {
3033
- type: "session.prompt.promoted.1";
3048
+ type: "session.input.promoted.1";
3034
3049
  id: string;
3035
3050
  seq: number;
3036
3051
  aggregateID: string;
@@ -3040,19 +3055,18 @@ export type SyncEventSessionPromptPromoted = {
3040
3055
  };
3041
3056
  };
3042
3057
  };
3043
- export type SyncEventSessionPromptAdmitted = {
3058
+ export type SyncEventSessionInputAdmitted = {
3044
3059
  type: "sync";
3045
3060
  id: string;
3046
3061
  syncEvent: {
3047
- type: "session.prompt.admitted.1";
3062
+ type: "session.input.admitted.1";
3048
3063
  id: string;
3049
3064
  seq: number;
3050
3065
  aggregateID: string;
3051
3066
  data: {
3052
3067
  sessionID: string;
3053
3068
  inputID: string;
3054
- prompt: Prompt;
3055
- delivery: "steer" | "queue";
3069
+ input: SessionInputMessage;
3056
3070
  };
3057
3071
  };
3058
3072
  };
@@ -3637,21 +3651,32 @@ export type PromptInputFileAttachment = {
3637
3651
  description?: string;
3638
3652
  mention?: PromptMention;
3639
3653
  };
3640
- export type SessionInputAdmitted = {
3654
+ export type SessionInputUser = {
3641
3655
  admittedSeq: number;
3642
3656
  id: string;
3643
3657
  sessionID: string;
3644
- prompt: Prompt;
3658
+ timeCreated: number;
3659
+ promotedSeq?: number;
3660
+ type: "user";
3661
+ data: SessionInputUserData;
3645
3662
  delivery: "steer" | "queue";
3663
+ };
3664
+ export type SessionInputSynthetic = {
3665
+ admittedSeq: number;
3666
+ id: string;
3667
+ sessionID: string;
3646
3668
  timeCreated: number;
3647
3669
  promotedSeq?: number;
3670
+ type: "synthetic";
3671
+ data: SessionInputSyntheticData;
3672
+ delivery: "steer" | "queue";
3648
3673
  };
3649
3674
  export type SessionInputCompaction = {
3650
- type: "compaction";
3651
3675
  admittedSeq: number;
3652
3676
  id: string;
3653
3677
  sessionID: string;
3654
3678
  timeCreated: number;
3679
+ type: "compaction";
3655
3680
  handledSeq?: number;
3656
3681
  };
3657
3682
  export type SessionMessageAgentSelected = {
@@ -3997,13 +4022,13 @@ export type SessionForked = {
3997
4022
  from?: string;
3998
4023
  };
3999
4024
  };
4000
- export type SessionPromptPromoted = {
4025
+ export type SessionInputPromoted = {
4001
4026
  id: string;
4002
4027
  created: number;
4003
4028
  metadata?: {
4004
4029
  [key: string]: unknown;
4005
4030
  };
4006
- type: "session.prompt.promoted";
4031
+ type: "session.input.promoted";
4007
4032
  durable: {
4008
4033
  aggregateID: string;
4009
4034
  seq: number;
@@ -4015,13 +4040,13 @@ export type SessionPromptPromoted = {
4015
4040
  inputID: string;
4016
4041
  };
4017
4042
  };
4018
- export type SessionPromptAdmitted = {
4043
+ export type SessionInputAdmitted = {
4019
4044
  id: string;
4020
4045
  created: number;
4021
4046
  metadata?: {
4022
4047
  [key: string]: unknown;
4023
4048
  };
4024
- type: "session.prompt.admitted";
4049
+ type: "session.input.admitted";
4025
4050
  durable: {
4026
4051
  aggregateID: string;
4027
4052
  seq: number;
@@ -4031,8 +4056,7 @@ export type SessionPromptAdmitted = {
4031
4056
  data: {
4032
4057
  sessionID: string;
4033
4058
  inputID: string;
4034
- prompt: Prompt;
4035
- delivery: "steer" | "queue";
4059
+ input: SessionInputMessage;
4036
4060
  };
4037
4061
  };
4038
4062
  export type SessionExecutionStarted = {
@@ -4640,7 +4664,7 @@ export type SessionRevertCommitted = {
4640
4664
  to: string;
4641
4665
  };
4642
4666
  };
4643
- export type SessionEventDurable = SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionPromptPromoted | SessionPromptAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted;
4667
+ export type SessionEventDurable = SessionAgentSelected | SessionModelSelected | SessionMoved | SessionRenamed | SessionDeleted | SessionForked | SessionInputPromoted | SessionInputAdmitted | SessionExecutionStarted | SessionExecutionSucceeded | SessionExecutionFailed | SessionExecutionInterrupted | SessionInstructionsUpdated | SessionSynthetic | SessionSkillActivated | SessionShellStarted | SessionShellEnded | SessionStepStarted | SessionStepEnded | SessionStepFailed | SessionTextStarted | SessionTextEnded | SessionReasoningStarted | SessionReasoningEnded | SessionToolInputStarted | SessionToolInputEnded | SessionToolCalled | SessionToolProgress | SessionToolSuccess | SessionToolFailed | SessionRetryScheduled | SessionCompactionAdmitted | SessionCompactionStarted | SessionCompactionEnded | SessionCompactionFailed | SessionRevertStaged | SessionRevertCleared | SessionRevertCommitted;
4644
4668
  export type EventLogSynced = {
4645
4669
  type: "log.synced";
4646
4670
  aggregateID: string;
@@ -6067,22 +6091,21 @@ export type EventSessionForked = {
6067
6091
  from?: string;
6068
6092
  };
6069
6093
  };
6070
- export type EventSessionPromptPromoted = {
6094
+ export type EventSessionInputPromoted = {
6071
6095
  id: string;
6072
- type: "session.prompt.promoted";
6096
+ type: "session.input.promoted";
6073
6097
  properties: {
6074
6098
  sessionID: string;
6075
6099
  inputID: string;
6076
6100
  };
6077
6101
  };
6078
- export type EventSessionPromptAdmitted = {
6102
+ export type EventSessionInputAdmitted = {
6079
6103
  id: string;
6080
- type: "session.prompt.admitted";
6104
+ type: "session.input.admitted";
6081
6105
  properties: {
6082
6106
  sessionID: string;
6083
6107
  inputID: string;
6084
- prompt: Prompt;
6085
- delivery: "steer" | "queue";
6108
+ input: SessionInputMessage;
6086
6109
  };
6087
6110
  };
6088
6111
  export type EventSessionExecutionStarted = {
@@ -7351,7 +7374,7 @@ export type QuestionToolV2 = {
7351
7374
  messageID: string;
7352
7375
  callID: string;
7353
7376
  };
7354
- export type V2EventV2 = ModelsDevRefreshedV2 | IntegrationUpdatedV2 | IntegrationConnectionUpdatedV2 | CatalogUpdatedV2 | AgentUpdatedV2 | SessionCreatedV2 | SessionUpdatedV2 | SessionDeleted1 | MessageUpdatedV2 | MessageRemovedV2 | MessagePartUpdatedV2 | MessagePartRemovedV2 | SessionAgentSelectedV2 | SessionModelSelectedV2 | SessionMovedV2 | SessionRenamedV2 | SessionUsageUpdatedV2 | SessionDeletedV2 | SessionForkedV2 | SessionPromptPromotedV2 | SessionPromptAdmittedV2 | SessionExecutionStartedV2 | SessionExecutionSucceededV2 | SessionExecutionFailedV2 | SessionExecutionInterruptedV2 | SessionInstructionsUpdatedV2 | SessionSyntheticV2 | SessionSkillActivatedV2 | SessionShellStartedV2 | SessionShellEndedV2 | SessionStepStartedV2 | SessionStepEndedV2 | SessionStepFailedV2 | SessionTextStartedV2 | SessionTextDeltaV2 | SessionTextEndedV2 | SessionReasoningStartedV2 | SessionReasoningDeltaV2 | SessionReasoningEndedV2 | SessionToolInputStartedV2 | SessionToolInputDeltaV2 | SessionToolInputEndedV2 | SessionToolCalledV2 | SessionToolProgressV2 | SessionToolSuccessV2 | SessionToolFailedV2 | SessionRetryScheduledV2 | SessionCompactionAdmittedV2 | SessionCompactionStartedV2 | SessionCompactionDeltaV2 | SessionCompactionEndedV2 | SessionCompactionFailedV2 | SessionRevertStagedV2 | SessionRevertClearedV2 | SessionRevertCommittedV2 | FilesystemChangedV2 | ReferenceUpdatedV2 | PermissionV2AskedV2 | PermissionV2RepliedV2 | PluginAddedV2 | PluginUpdatedV2 | ProjectDirectoriesUpdatedV2 | CommandUpdatedV2 | ConfigUpdatedV2 | SkillUpdatedV2 | PtyCreatedV2 | PtyUpdatedV2 | PtyExitedV2 | PtyDeletedV2 | ShellCreatedV2 | ShellExitedV2 | ShellDeletedV2 | QuestionV2AskedV2 | QuestionV2RepliedV2 | QuestionV2RejectedV2 | FormCreatedV2 | FormRepliedV2 | FormCancelledV2 | TodoUpdatedV2 | SessionStatusV22 | SessionIdleV2 | TuiPromptAppendV2 | TuiCommandExecuteV2 | TuiToastShowV2 | TuiSessionSelectV2 | InstallationUpdatedV2 | InstallationUpdateAvailableV2 | VcsBranchUpdatedV2 | McpStatusChangedV2 | McpResourcesChangedV2 | PermissionAskedV2 | PermissionRepliedV2 | QuestionAskedV2 | QuestionRepliedV2 | QuestionRejectedV2 | SessionErrorV2 | V2EventServerConnected;
7377
+ export type V2EventV2 = ModelsDevRefreshedV2 | IntegrationUpdatedV2 | IntegrationConnectionUpdatedV2 | CatalogUpdatedV2 | AgentUpdatedV2 | SessionCreatedV2 | SessionUpdatedV2 | SessionDeleted1 | MessageUpdatedV2 | MessageRemovedV2 | MessagePartUpdatedV2 | MessagePartRemovedV2 | SessionAgentSelectedV2 | SessionModelSelectedV2 | SessionMovedV2 | SessionRenamedV2 | SessionUsageUpdatedV2 | SessionDeletedV2 | SessionForkedV2 | SessionInputPromotedV2 | SessionInputAdmittedV2 | SessionExecutionStartedV2 | SessionExecutionSucceededV2 | SessionExecutionFailedV2 | SessionExecutionInterruptedV2 | SessionInstructionsUpdatedV2 | SessionSyntheticV2 | SessionSkillActivatedV2 | SessionShellStartedV2 | SessionShellEndedV2 | SessionStepStartedV2 | SessionStepEndedV2 | SessionStepFailedV2 | SessionTextStartedV2 | SessionTextDeltaV2 | SessionTextEndedV2 | SessionReasoningStartedV2 | SessionReasoningDeltaV2 | SessionReasoningEndedV2 | SessionToolInputStartedV2 | SessionToolInputDeltaV2 | SessionToolInputEndedV2 | SessionToolCalledV2 | SessionToolProgressV2 | SessionToolSuccessV2 | SessionToolFailedV2 | SessionRetryScheduledV2 | SessionCompactionAdmittedV2 | SessionCompactionStartedV2 | SessionCompactionDeltaV2 | SessionCompactionEndedV2 | SessionCompactionFailedV2 | SessionRevertStagedV2 | SessionRevertClearedV2 | SessionRevertCommittedV2 | FilesystemChangedV2 | ReferenceUpdatedV2 | PermissionV2AskedV2 | PermissionV2RepliedV2 | PluginAddedV2 | PluginUpdatedV2 | ProjectDirectoriesUpdatedV2 | CommandUpdatedV2 | ConfigUpdatedV2 | SkillUpdatedV2 | PtyCreatedV2 | PtyUpdatedV2 | PtyExitedV2 | PtyDeletedV2 | ShellCreatedV2 | ShellExitedV2 | ShellDeletedV2 | QuestionV2AskedV2 | QuestionV2RepliedV2 | QuestionV2RejectedV2 | FormCreatedV2 | FormRepliedV2 | FormCancelledV2 | TodoUpdatedV2 | SessionStatusV22 | SessionIdleV2 | TuiPromptAppendV2 | TuiCommandExecuteV2 | TuiToastShowV2 | TuiSessionSelectV2 | InstallationUpdatedV2 | InstallationUpdateAvailableV2 | VcsBranchUpdatedV2 | McpStatusChangedV2 | McpResourcesChangedV2 | PermissionAskedV2 | PermissionRepliedV2 | QuestionAskedV2 | QuestionRepliedV2 | QuestionRejectedV2 | SessionErrorV2 | V2EventServerConnected;
7355
7378
  export type ProjectCopyErrorV2 = {
7356
7379
  name: "ProjectCopyError";
7357
7380
  data: {
@@ -7421,21 +7444,32 @@ export type SessionInfoV2 = {
7421
7444
  revert?: SessionRevertV2;
7422
7445
  };
7423
7446
  export type PromptBase64V2 = string;
7424
- export type SessionInputAdmittedV2 = {
7447
+ export type SessionInputUserV2 = {
7425
7448
  admittedSeq: number;
7426
7449
  id: string;
7427
7450
  sessionID: string;
7428
- prompt: Prompt;
7451
+ timeCreated: number;
7452
+ promotedSeq?: number;
7453
+ type: "user";
7454
+ data: SessionInputUserData;
7429
7455
  delivery: "steer" | "queue";
7456
+ };
7457
+ export type SessionInputSyntheticV2 = {
7458
+ admittedSeq: number;
7459
+ id: string;
7460
+ sessionID: string;
7430
7461
  timeCreated: number;
7431
7462
  promotedSeq?: number;
7463
+ type: "synthetic";
7464
+ data: SessionInputSyntheticData;
7465
+ delivery: "steer" | "queue";
7432
7466
  };
7433
7467
  export type SessionInputCompactionV2 = {
7434
- type: "compaction";
7435
7468
  admittedSeq: number;
7436
7469
  id: string;
7437
7470
  sessionID: string;
7438
7471
  timeCreated: number;
7472
+ type: "compaction";
7439
7473
  handledSeq?: number;
7440
7474
  };
7441
7475
  export type SessionMessageAgentSelectedV2 = {
@@ -7714,13 +7748,13 @@ export type SessionForkedV2 = {
7714
7748
  from?: string;
7715
7749
  };
7716
7750
  };
7717
- export type SessionPromptPromotedV2 = {
7751
+ export type SessionInputPromotedV2 = {
7718
7752
  id: string;
7719
7753
  created: number;
7720
7754
  metadata?: {
7721
7755
  [key: string]: unknown;
7722
7756
  };
7723
- type: "session.prompt.promoted";
7757
+ type: "session.input.promoted";
7724
7758
  durable: {
7725
7759
  aggregateID: string;
7726
7760
  seq: number;
@@ -7732,13 +7766,38 @@ export type SessionPromptPromotedV2 = {
7732
7766
  inputID: string;
7733
7767
  };
7734
7768
  };
7735
- export type SessionPromptAdmittedV2 = {
7769
+ export type SessionInputUserData1 = {
7770
+ text: string;
7771
+ files?: Array<PromptFileAttachment>;
7772
+ agents?: Array<PromptAgentAttachment>;
7773
+ metadata?: {
7774
+ [key: string]: unknown;
7775
+ };
7776
+ };
7777
+ export type SessionInputUserMessageV2 = {
7778
+ type: "user";
7779
+ data: SessionInputUserData1;
7780
+ delivery: "steer" | "queue";
7781
+ };
7782
+ export type SessionInputSyntheticData1 = {
7783
+ text: string;
7784
+ description?: string;
7785
+ metadata?: {
7786
+ [key: string]: unknown;
7787
+ };
7788
+ };
7789
+ export type SessionInputSyntheticMessageV2 = {
7790
+ type: "synthetic";
7791
+ data: SessionInputSyntheticData1;
7792
+ delivery: "steer" | "queue";
7793
+ };
7794
+ export type SessionInputAdmittedV2 = {
7736
7795
  id: string;
7737
7796
  created: number;
7738
7797
  metadata?: {
7739
7798
  [key: string]: unknown;
7740
7799
  };
7741
- type: "session.prompt.admitted";
7800
+ type: "session.input.admitted";
7742
7801
  durable: {
7743
7802
  aggregateID: string;
7744
7803
  seq: number;
@@ -7748,8 +7807,7 @@ export type SessionPromptAdmittedV2 = {
7748
7807
  data: {
7749
7808
  sessionID: string;
7750
7809
  inputID: string;
7751
- prompt: Prompt;
7752
- delivery: "steer" | "queue";
7810
+ input: SessionInputMessage;
7753
7811
  };
7754
7812
  };
7755
7813
  export type SessionExecutionStartedV2 = {
@@ -13366,7 +13424,12 @@ export type V2SessionMoveResponse = V2SessionMoveResponses[keyof V2SessionMoveRe
13366
13424
  export type V2SessionPromptData = {
13367
13425
  body: {
13368
13426
  id?: string | null;
13369
- prompt: PromptInput;
13427
+ text: string;
13428
+ files?: Array<PromptInputFileAttachment>;
13429
+ agents?: Array<PromptAgentAttachment>;
13430
+ metadata?: {
13431
+ [key: string]: unknown;
13432
+ };
13370
13433
  delivery?: "steer" | "queue" | null;
13371
13434
  resume?: boolean | null;
13372
13435
  };
@@ -13400,7 +13463,7 @@ export type V2SessionPromptResponses = {
13400
13463
  * Success
13401
13464
  */
13402
13465
  200: {
13403
- data: SessionInputAdmittedV2;
13466
+ data: SessionInputUserV2;
13404
13467
  };
13405
13468
  };
13406
13469
  export type V2SessionPromptResponse = V2SessionPromptResponses[keyof V2SessionPromptResponses];
@@ -13450,7 +13513,7 @@ export type V2SessionCommandResponses = {
13450
13513
  * Success
13451
13514
  */
13452
13515
  200: {
13453
- data: SessionInputAdmittedV2;
13516
+ data: SessionInputUserV2;
13454
13517
  };
13455
13518
  };
13456
13519
  export type V2SessionCommandResponse = V2SessionCommandResponses[keyof V2SessionCommandResponses];
@@ -13490,11 +13553,13 @@ export type V2SessionSkillResponses = {
13490
13553
  export type V2SessionSkillResponse = V2SessionSkillResponses[keyof V2SessionSkillResponses];
13491
13554
  export type V2SessionSyntheticData = {
13492
13555
  body: {
13556
+ id?: string | null;
13493
13557
  text: string;
13494
13558
  description?: string | null;
13495
13559
  metadata?: {
13496
13560
  [key: string]: unknown;
13497
13561
  };
13562
+ delivery?: "steer" | "queue" | null;
13498
13563
  resume?: boolean | null;
13499
13564
  };
13500
13565
  path: {
@@ -13516,13 +13581,19 @@ export type V2SessionSyntheticErrors = {
13516
13581
  * SessionNotFoundError
13517
13582
  */
13518
13583
  404: SessionNotFoundError;
13584
+ /**
13585
+ * ConflictError
13586
+ */
13587
+ 409: ConflictErrorV2;
13519
13588
  };
13520
13589
  export type V2SessionSyntheticError = V2SessionSyntheticErrors[keyof V2SessionSyntheticErrors];
13521
13590
  export type V2SessionSyntheticResponses = {
13522
13591
  /**
13523
- * <No Content>
13592
+ * Success
13524
13593
  */
13525
- 204: void;
13594
+ 200: {
13595
+ data: SessionInputSyntheticV2;
13596
+ };
13526
13597
  };
13527
13598
  export type V2SessionSyntheticResponse = V2SessionSyntheticResponses[keyof V2SessionSyntheticResponses];
13528
13599
  export type V2SessionShellData = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "0.0.0-next-15175",
4
+ "version": "0.0.0-next-15180",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {