@opencode-ai/sdk 0.0.0-next-14758 → 0.0.0-next-14761
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.
- package/dist/v2/gen/sdk.gen.d.ts +81 -4
- package/dist/v2/gen/sdk.gen.js +158 -3
- package/dist/v2/gen/types.gen.d.ts +730 -3
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -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, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, LocationRef2, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef2, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply2, PermissionV2Source2, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptAgentAttachment2, PromptInputFileAttachment2, PromptInputV2, 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, QuestionV2Reply2, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextEntryKey2, 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, V2EventChangesResponses, V2EventSubscribeResponses, 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, V2ModelDefaultErrors, V2ModelDefaultResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2PluginListErrors, V2PluginListResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProjectCurrentErrors, V2ProjectCurrentResponses, V2ProjectDirectoriesErrors, V2ProjectDirectoriesResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionBackgroundErrors, V2SessionBackgroundResponses, V2SessionCommandErrors, V2SessionCommandResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextEntryListErrors, V2SessionContextEntryListResponses, V2SessionContextEntryPutErrors, V2SessionContextEntryPutResponses, V2SessionContextEntryRemoveErrors, V2SessionContextEntryRemoveResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionForkErrors, V2SessionForkResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionLogResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSkillErrors, V2SessionSkillResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionSyntheticErrors, V2SessionSyntheticResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2ShellCreateErrors, V2ShellCreateResponses, V2ShellGetErrors, V2ShellGetResponses, V2ShellListErrors, V2ShellListResponses, V2ShellOutputErrors, V2ShellOutputResponses, V2ShellRemoveErrors, V2ShellRemoveResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, 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, FormCreatePayload2, FormReply2, GlobalConfigGetErrors, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeErrors, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeErrors, InstanceDisposeResponses, LocationRef2, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusErrors, McpStatusResponses, ModelRef2, MoveSessionDestination, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionV2Reply2, PermissionV2Source2, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptAgentAttachment2, PromptInputFileAttachment2, PromptInputV2, 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, QuestionV2Reply2, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionContextEntryKey2, 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, V2EventChangesResponses, 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, V2ModelDefaultErrors, V2ModelDefaultResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2PluginListErrors, V2PluginListResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProjectCurrentErrors, V2ProjectCurrentResponses, V2ProjectDirectoriesErrors, V2ProjectDirectoriesResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionBackgroundErrors, V2SessionBackgroundResponses, V2SessionCommandErrors, V2SessionCommandResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextEntryListErrors, V2SessionContextEntryListResponses, V2SessionContextEntryPutErrors, V2SessionContextEntryPutResponses, V2SessionContextEntryRemoveErrors, V2SessionContextEntryRemoveResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionForkErrors, V2SessionForkResponses, V2SessionFormCancelErrors, V2SessionFormCancelResponses, V2SessionFormCreateErrors, V2SessionFormCreateResponses, V2SessionFormGetErrors, V2SessionFormGetResponses, V2SessionFormListErrors, V2SessionFormListResponses, V2SessionFormReplyErrors, V2SessionFormReplyResponses, V2SessionFormStateErrors, V2SessionFormStateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionLogResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRenameErrors, V2SessionRenameResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSkillErrors, V2SessionSkillResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionSyntheticErrors, V2SessionSyntheticResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2ShellCreateErrors, V2ShellCreateResponses, V2ShellGetErrors, V2ShellGetResponses, V2ShellListErrors, V2ShellListResponses, V2ShellOutputErrors, V2ShellOutputResponses, V2ShellRemoveErrors, V2ShellRemoveResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, 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
|
|
@@ -1593,6 +1593,62 @@ export declare class Context extends HeyApiClient {
|
|
|
1593
1593
|
private _entry?;
|
|
1594
1594
|
get entry(): Entry;
|
|
1595
1595
|
}
|
|
1596
|
+
export declare class Form extends HeyApiClient {
|
|
1597
|
+
/**
|
|
1598
|
+
* List session forms
|
|
1599
|
+
*
|
|
1600
|
+
* Retrieve pending forms for a session.
|
|
1601
|
+
*/
|
|
1602
|
+
list<ThrowOnError extends boolean = false>(parameters: {
|
|
1603
|
+
sessionID: string;
|
|
1604
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionFormListResponses, V2SessionFormListErrors, ThrowOnError, "fields">;
|
|
1605
|
+
/**
|
|
1606
|
+
* Create session form
|
|
1607
|
+
*
|
|
1608
|
+
* Create a form for a session.
|
|
1609
|
+
*/
|
|
1610
|
+
create<ThrowOnError extends boolean = false>(parameters: {
|
|
1611
|
+
sessionID: string;
|
|
1612
|
+
formCreatePayload: FormCreatePayload2;
|
|
1613
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionFormCreateResponses, V2SessionFormCreateErrors, ThrowOnError, "fields">;
|
|
1614
|
+
/**
|
|
1615
|
+
* Get session form
|
|
1616
|
+
*
|
|
1617
|
+
* Retrieve a form for a session.
|
|
1618
|
+
*/
|
|
1619
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
1620
|
+
sessionID: string;
|
|
1621
|
+
formID: string;
|
|
1622
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionFormGetResponses, V2SessionFormGetErrors, ThrowOnError, "fields">;
|
|
1623
|
+
/**
|
|
1624
|
+
* Get form state
|
|
1625
|
+
*
|
|
1626
|
+
* Retrieve the current state for a form.
|
|
1627
|
+
*/
|
|
1628
|
+
state<ThrowOnError extends boolean = false>(parameters: {
|
|
1629
|
+
sessionID: string;
|
|
1630
|
+
formID: string;
|
|
1631
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionFormStateResponses, V2SessionFormStateErrors, ThrowOnError, "fields">;
|
|
1632
|
+
/**
|
|
1633
|
+
* Reply to form
|
|
1634
|
+
*
|
|
1635
|
+
* Submit an answer to a pending form.
|
|
1636
|
+
*/
|
|
1637
|
+
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
1638
|
+
sessionID: string;
|
|
1639
|
+
formID: string;
|
|
1640
|
+
formReply: FormReply2;
|
|
1641
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionFormReplyResponses, V2SessionFormReplyErrors, ThrowOnError, "fields">;
|
|
1642
|
+
/**
|
|
1643
|
+
* Cancel form
|
|
1644
|
+
*
|
|
1645
|
+
* Cancel a pending form.
|
|
1646
|
+
*/
|
|
1647
|
+
cancel<ThrowOnError extends boolean = false>(parameters: {
|
|
1648
|
+
sessionID: string;
|
|
1649
|
+
formID: string;
|
|
1650
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionFormCancelResponses, V2SessionFormCancelErrors, ThrowOnError, "fields">;
|
|
1651
|
+
}
|
|
1596
1652
|
export declare class Permission2 extends HeyApiClient {
|
|
1597
1653
|
/**
|
|
1598
1654
|
* List session permission requests
|
|
@@ -1874,6 +1930,8 @@ export declare class Session3 extends HeyApiClient {
|
|
|
1874
1930
|
get revert(): Revert;
|
|
1875
1931
|
private _context?;
|
|
1876
1932
|
get context2(): Context;
|
|
1933
|
+
private _form?;
|
|
1934
|
+
get form(): Form;
|
|
1877
1935
|
private _permission?;
|
|
1878
1936
|
get permission(): Permission2;
|
|
1879
1937
|
private _question?;
|
|
@@ -2110,6 +2168,23 @@ export declare class Project2 extends HeyApiClient {
|
|
|
2110
2168
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ProjectDirectoriesResponses, V2ProjectDirectoriesErrors, ThrowOnError, "fields">;
|
|
2111
2169
|
}
|
|
2112
2170
|
export declare class Request extends HeyApiClient {
|
|
2171
|
+
/**
|
|
2172
|
+
* List pending form requests
|
|
2173
|
+
*
|
|
2174
|
+
* Retrieve pending forms for a location.
|
|
2175
|
+
*/
|
|
2176
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
2177
|
+
location?: {
|
|
2178
|
+
directory?: string | null;
|
|
2179
|
+
workspace?: string | null;
|
|
2180
|
+
} | null;
|
|
2181
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2FormRequestListResponses, V2FormRequestListErrors, ThrowOnError, "fields">;
|
|
2182
|
+
}
|
|
2183
|
+
export declare class Form2 extends HeyApiClient {
|
|
2184
|
+
private _request?;
|
|
2185
|
+
get request(): Request;
|
|
2186
|
+
}
|
|
2187
|
+
export declare class Request2 extends HeyApiClient {
|
|
2113
2188
|
/**
|
|
2114
2189
|
* List pending permission requests
|
|
2115
2190
|
*
|
|
@@ -2142,7 +2217,7 @@ export declare class Saved extends HeyApiClient {
|
|
|
2142
2217
|
}
|
|
2143
2218
|
export declare class Permission3 extends HeyApiClient {
|
|
2144
2219
|
private _request?;
|
|
2145
|
-
get request():
|
|
2220
|
+
get request(): Request2;
|
|
2146
2221
|
private _saved?;
|
|
2147
2222
|
get saved(): Saved;
|
|
2148
2223
|
}
|
|
@@ -2389,7 +2464,7 @@ export declare class Shell extends HeyApiClient {
|
|
|
2389
2464
|
limit?: string;
|
|
2390
2465
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2ShellOutputResponses, V2ShellOutputErrors, ThrowOnError, "fields">;
|
|
2391
2466
|
}
|
|
2392
|
-
export declare class
|
|
2467
|
+
export declare class Request3 extends HeyApiClient {
|
|
2393
2468
|
/**
|
|
2394
2469
|
* List pending question requests
|
|
2395
2470
|
*
|
|
@@ -2404,7 +2479,7 @@ export declare class Request2 extends HeyApiClient {
|
|
|
2404
2479
|
}
|
|
2405
2480
|
export declare class Question3 extends HeyApiClient {
|
|
2406
2481
|
private _request?;
|
|
2407
|
-
get request():
|
|
2482
|
+
get request(): Request3;
|
|
2408
2483
|
}
|
|
2409
2484
|
export declare class Reference extends HeyApiClient {
|
|
2410
2485
|
/**
|
|
@@ -2472,6 +2547,8 @@ export declare class V2 extends HeyApiClient {
|
|
|
2472
2547
|
get credential(): Credential;
|
|
2473
2548
|
private _project?;
|
|
2474
2549
|
get project(): Project2;
|
|
2550
|
+
private _form?;
|
|
2551
|
+
get form(): Form2;
|
|
2475
2552
|
private _permission?;
|
|
2476
2553
|
get permission(): Permission3;
|
|
2477
2554
|
private _fs?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3222,6 +3222,132 @@ export class Context extends HeyApiClient {
|
|
|
3222
3222
|
return (this._entry ??= new Entry({ client: this.client }));
|
|
3223
3223
|
}
|
|
3224
3224
|
}
|
|
3225
|
+
export class Form extends HeyApiClient {
|
|
3226
|
+
/**
|
|
3227
|
+
* List session forms
|
|
3228
|
+
*
|
|
3229
|
+
* Retrieve pending forms for a session.
|
|
3230
|
+
*/
|
|
3231
|
+
list(parameters, options) {
|
|
3232
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "sessionID" }] }]);
|
|
3233
|
+
return (options?.client ?? this.client).get({
|
|
3234
|
+
url: "/api/session/{sessionID}/form",
|
|
3235
|
+
...options,
|
|
3236
|
+
...params,
|
|
3237
|
+
});
|
|
3238
|
+
}
|
|
3239
|
+
/**
|
|
3240
|
+
* Create session form
|
|
3241
|
+
*
|
|
3242
|
+
* Create a form for a session.
|
|
3243
|
+
*/
|
|
3244
|
+
create(parameters, options) {
|
|
3245
|
+
const params = buildClientParams([parameters], [
|
|
3246
|
+
{
|
|
3247
|
+
args: [
|
|
3248
|
+
{ in: "path", key: "sessionID" },
|
|
3249
|
+
{ key: "formCreatePayload", map: "body" },
|
|
3250
|
+
],
|
|
3251
|
+
},
|
|
3252
|
+
]);
|
|
3253
|
+
return (options?.client ?? this.client).post({
|
|
3254
|
+
url: "/api/session/{sessionID}/form",
|
|
3255
|
+
...options,
|
|
3256
|
+
...params,
|
|
3257
|
+
headers: {
|
|
3258
|
+
"Content-Type": "application/json",
|
|
3259
|
+
...options?.headers,
|
|
3260
|
+
...params.headers,
|
|
3261
|
+
},
|
|
3262
|
+
});
|
|
3263
|
+
}
|
|
3264
|
+
/**
|
|
3265
|
+
* Get session form
|
|
3266
|
+
*
|
|
3267
|
+
* Retrieve a form for a session.
|
|
3268
|
+
*/
|
|
3269
|
+
get(parameters, options) {
|
|
3270
|
+
const params = buildClientParams([parameters], [
|
|
3271
|
+
{
|
|
3272
|
+
args: [
|
|
3273
|
+
{ in: "path", key: "sessionID" },
|
|
3274
|
+
{ in: "path", key: "formID" },
|
|
3275
|
+
],
|
|
3276
|
+
},
|
|
3277
|
+
]);
|
|
3278
|
+
return (options?.client ?? this.client).get({
|
|
3279
|
+
url: "/api/session/{sessionID}/form/{formID}",
|
|
3280
|
+
...options,
|
|
3281
|
+
...params,
|
|
3282
|
+
});
|
|
3283
|
+
}
|
|
3284
|
+
/**
|
|
3285
|
+
* Get form state
|
|
3286
|
+
*
|
|
3287
|
+
* Retrieve the current state for a form.
|
|
3288
|
+
*/
|
|
3289
|
+
state(parameters, options) {
|
|
3290
|
+
const params = buildClientParams([parameters], [
|
|
3291
|
+
{
|
|
3292
|
+
args: [
|
|
3293
|
+
{ in: "path", key: "sessionID" },
|
|
3294
|
+
{ in: "path", key: "formID" },
|
|
3295
|
+
],
|
|
3296
|
+
},
|
|
3297
|
+
]);
|
|
3298
|
+
return (options?.client ?? this.client).get({
|
|
3299
|
+
url: "/api/session/{sessionID}/form/{formID}/state",
|
|
3300
|
+
...options,
|
|
3301
|
+
...params,
|
|
3302
|
+
});
|
|
3303
|
+
}
|
|
3304
|
+
/**
|
|
3305
|
+
* Reply to form
|
|
3306
|
+
*
|
|
3307
|
+
* Submit an answer to a pending form.
|
|
3308
|
+
*/
|
|
3309
|
+
reply(parameters, options) {
|
|
3310
|
+
const params = buildClientParams([parameters], [
|
|
3311
|
+
{
|
|
3312
|
+
args: [
|
|
3313
|
+
{ in: "path", key: "sessionID" },
|
|
3314
|
+
{ in: "path", key: "formID" },
|
|
3315
|
+
{ key: "formReply", map: "body" },
|
|
3316
|
+
],
|
|
3317
|
+
},
|
|
3318
|
+
]);
|
|
3319
|
+
return (options?.client ?? this.client).post({
|
|
3320
|
+
url: "/api/session/{sessionID}/form/{formID}/reply",
|
|
3321
|
+
...options,
|
|
3322
|
+
...params,
|
|
3323
|
+
headers: {
|
|
3324
|
+
"Content-Type": "application/json",
|
|
3325
|
+
...options?.headers,
|
|
3326
|
+
...params.headers,
|
|
3327
|
+
},
|
|
3328
|
+
});
|
|
3329
|
+
}
|
|
3330
|
+
/**
|
|
3331
|
+
* Cancel form
|
|
3332
|
+
*
|
|
3333
|
+
* Cancel a pending form.
|
|
3334
|
+
*/
|
|
3335
|
+
cancel(parameters, options) {
|
|
3336
|
+
const params = buildClientParams([parameters], [
|
|
3337
|
+
{
|
|
3338
|
+
args: [
|
|
3339
|
+
{ in: "path", key: "sessionID" },
|
|
3340
|
+
{ in: "path", key: "formID" },
|
|
3341
|
+
],
|
|
3342
|
+
},
|
|
3343
|
+
]);
|
|
3344
|
+
return (options?.client ?? this.client).post({
|
|
3345
|
+
url: "/api/session/{sessionID}/form/{formID}/cancel",
|
|
3346
|
+
...options,
|
|
3347
|
+
...params,
|
|
3348
|
+
});
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3225
3351
|
export class Permission2 extends HeyApiClient {
|
|
3226
3352
|
/**
|
|
3227
3353
|
* List session permission requests
|
|
@@ -3806,6 +3932,10 @@ export class Session3 extends HeyApiClient {
|
|
|
3806
3932
|
get context2() {
|
|
3807
3933
|
return (this._context ??= new Context({ client: this.client }));
|
|
3808
3934
|
}
|
|
3935
|
+
_form;
|
|
3936
|
+
get form() {
|
|
3937
|
+
return (this._form ??= new Form({ client: this.client }));
|
|
3938
|
+
}
|
|
3809
3939
|
_permission;
|
|
3810
3940
|
get permission() {
|
|
3811
3941
|
return (this._permission ??= new Permission2({ client: this.client }));
|
|
@@ -4173,6 +4303,27 @@ export class Project2 extends HeyApiClient {
|
|
|
4173
4303
|
}
|
|
4174
4304
|
}
|
|
4175
4305
|
export class Request extends HeyApiClient {
|
|
4306
|
+
/**
|
|
4307
|
+
* List pending form requests
|
|
4308
|
+
*
|
|
4309
|
+
* Retrieve pending forms for a location.
|
|
4310
|
+
*/
|
|
4311
|
+
list(parameters, options) {
|
|
4312
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
|
|
4313
|
+
return (options?.client ?? this.client).get({
|
|
4314
|
+
url: "/api/form/request",
|
|
4315
|
+
...options,
|
|
4316
|
+
...params,
|
|
4317
|
+
});
|
|
4318
|
+
}
|
|
4319
|
+
}
|
|
4320
|
+
export class Form2 extends HeyApiClient {
|
|
4321
|
+
_request;
|
|
4322
|
+
get request() {
|
|
4323
|
+
return (this._request ??= new Request({ client: this.client }));
|
|
4324
|
+
}
|
|
4325
|
+
}
|
|
4326
|
+
export class Request2 extends HeyApiClient {
|
|
4176
4327
|
/**
|
|
4177
4328
|
* List pending permission requests
|
|
4178
4329
|
*
|
|
@@ -4218,7 +4369,7 @@ export class Saved extends HeyApiClient {
|
|
|
4218
4369
|
export class Permission3 extends HeyApiClient {
|
|
4219
4370
|
_request;
|
|
4220
4371
|
get request() {
|
|
4221
|
-
return (this._request ??= new
|
|
4372
|
+
return (this._request ??= new Request2({ client: this.client }));
|
|
4222
4373
|
}
|
|
4223
4374
|
_saved;
|
|
4224
4375
|
get saved() {
|
|
@@ -4595,7 +4746,7 @@ export class Shell extends HeyApiClient {
|
|
|
4595
4746
|
});
|
|
4596
4747
|
}
|
|
4597
4748
|
}
|
|
4598
|
-
export class
|
|
4749
|
+
export class Request3 extends HeyApiClient {
|
|
4599
4750
|
/**
|
|
4600
4751
|
* List pending question requests
|
|
4601
4752
|
*
|
|
@@ -4613,7 +4764,7 @@ export class Request2 extends HeyApiClient {
|
|
|
4613
4764
|
export class Question3 extends HeyApiClient {
|
|
4614
4765
|
_request;
|
|
4615
4766
|
get request() {
|
|
4616
|
-
return (this._request ??= new
|
|
4767
|
+
return (this._request ??= new Request3({ client: this.client }));
|
|
4617
4768
|
}
|
|
4618
4769
|
}
|
|
4619
4770
|
export class Reference extends HeyApiClient {
|
|
@@ -4742,6 +4893,10 @@ export class V2 extends HeyApiClient {
|
|
|
4742
4893
|
get project() {
|
|
4743
4894
|
return (this._project ??= new Project2({ client: this.client }));
|
|
4744
4895
|
}
|
|
4896
|
+
_form;
|
|
4897
|
+
get form() {
|
|
4898
|
+
return (this._form ??= new Form2({ client: this.client }));
|
|
4899
|
+
}
|
|
4745
4900
|
_permission;
|
|
4746
4901
|
get permission() {
|
|
4747
4902
|
return (this._permission ??= new Permission3({ client: this.client }));
|
|
@@ -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 | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextRenamed | EventSessionNextForked | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextExecutionSettled | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextSkillActivated | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventSessionNextRevertStaged | EventSessionNextRevertCleared | EventSessionNextRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventProjectDirectoriesUpdated | EventCommandUpdated | EventSkillUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventShellCreated | EventShellExited | EventShellDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMcpStatusChanged | EventCommandExecuted | 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 | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextRenamed | EventSessionNextForked | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextExecutionSettled | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextSkillActivated | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventSessionNextRevertStaged | EventSessionNextRevertCleared | EventSessionNextRevertCommitted | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventPluginAdded | EventProjectDirectoriesUpdated | EventCommandUpdated | EventSkillUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventShellCreated | EventShellExited | EventShellDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventFormCreated | EventFormReplied | EventFormCancelled | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMcpStatusChanged | EventCommandExecuted | 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;
|
|
@@ -1205,6 +1205,27 @@ export type GlobalEvent = {
|
|
|
1205
1205
|
sessionID: string;
|
|
1206
1206
|
requestID: string;
|
|
1207
1207
|
};
|
|
1208
|
+
} | {
|
|
1209
|
+
id: string;
|
|
1210
|
+
type: "form.created";
|
|
1211
|
+
properties: {
|
|
1212
|
+
form: FormFormInfo | FormUrlInfo;
|
|
1213
|
+
};
|
|
1214
|
+
} | {
|
|
1215
|
+
id: string;
|
|
1216
|
+
type: "form.replied";
|
|
1217
|
+
properties: {
|
|
1218
|
+
id: string;
|
|
1219
|
+
sessionID: string;
|
|
1220
|
+
answer: FormAnswer;
|
|
1221
|
+
};
|
|
1222
|
+
} | {
|
|
1223
|
+
id: string;
|
|
1224
|
+
type: "form.cancelled";
|
|
1225
|
+
properties: {
|
|
1226
|
+
id: string;
|
|
1227
|
+
sessionID: string;
|
|
1228
|
+
};
|
|
1208
1229
|
} | {
|
|
1209
1230
|
id: string;
|
|
1210
1231
|
type: "todo.updated";
|
|
@@ -2384,6 +2405,21 @@ export type ProviderNotFoundError = {
|
|
|
2384
2405
|
providerID: string;
|
|
2385
2406
|
message: string;
|
|
2386
2407
|
};
|
|
2408
|
+
export type FormNotFoundError = {
|
|
2409
|
+
_tag: "FormNotFoundError";
|
|
2410
|
+
id: string;
|
|
2411
|
+
message: string;
|
|
2412
|
+
};
|
|
2413
|
+
export type FormAlreadySettledError = {
|
|
2414
|
+
_tag: "FormAlreadySettledError";
|
|
2415
|
+
id: string;
|
|
2416
|
+
message: string;
|
|
2417
|
+
};
|
|
2418
|
+
export type FormInvalidAnswerError = {
|
|
2419
|
+
_tag: "FormInvalidAnswerError";
|
|
2420
|
+
id: string;
|
|
2421
|
+
message: string;
|
|
2422
|
+
};
|
|
2387
2423
|
export type OutputFormat1 = {
|
|
2388
2424
|
type: "text";
|
|
2389
2425
|
} | {
|
|
@@ -2460,7 +2496,7 @@ export type QuestionRejected2 = {
|
|
|
2460
2496
|
requestID: string;
|
|
2461
2497
|
};
|
|
2462
2498
|
};
|
|
2463
|
-
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionNextAgentSwitched | SessionNextModelSwitched | SessionNextMoved | SessionNextRenamed | SessionNextForked | SessionNextPrompted | SessionNextPromptAdmitted | SessionNextExecutionSettled | SessionNextContextUpdated | SessionNextSynthetic | SessionNextSkillActivated | SessionNextShellStarted | SessionNextShellEnded | SessionNextStepStarted | SessionNextStepEnded | SessionNextStepFailed | SessionNextTextStarted | SessionNextTextDelta | SessionNextTextEnded | SessionNextReasoningStarted | SessionNextReasoningDelta | SessionNextReasoningEnded | SessionNextToolInputStarted | SessionNextToolInputDelta | SessionNextToolInputEnded | SessionNextToolCalled | SessionNextToolProgress | SessionNextToolSuccess | SessionNextToolFailed | SessionNextRetried | SessionNextCompactionStarted | SessionNextCompactionDelta | SessionNextCompactionEnded | SessionNextRevertStaged | SessionNextRevertCleared | SessionNextRevertCommitted | MessagePartDelta | SessionDiff | SessionError | InstallationUpdated | InstallationUpdateAvailable | FileEdited | ReferenceUpdated | PermissionV2Asked | PermissionV2Replied | PluginAdded | ProjectDirectoriesUpdated | CommandUpdated | SkillUpdated | FileWatcherUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpBrowserOpenFailed | McpStatusChanged | CommandExecuted | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed;
|
|
2499
|
+
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | AgentUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionNextAgentSwitched | SessionNextModelSwitched | SessionNextMoved | SessionNextRenamed | SessionNextForked | SessionNextPrompted | SessionNextPromptAdmitted | SessionNextExecutionSettled | SessionNextContextUpdated | SessionNextSynthetic | SessionNextSkillActivated | SessionNextShellStarted | SessionNextShellEnded | SessionNextStepStarted | SessionNextStepEnded | SessionNextStepFailed | SessionNextTextStarted | SessionNextTextDelta | SessionNextTextEnded | SessionNextReasoningStarted | SessionNextReasoningDelta | SessionNextReasoningEnded | SessionNextToolInputStarted | SessionNextToolInputDelta | SessionNextToolInputEnded | SessionNextToolCalled | SessionNextToolProgress | SessionNextToolSuccess | SessionNextToolFailed | SessionNextRetried | SessionNextCompactionStarted | SessionNextCompactionDelta | SessionNextCompactionEnded | SessionNextRevertStaged | SessionNextRevertCleared | SessionNextRevertCommitted | MessagePartDelta | SessionDiff | SessionError | InstallationUpdated | InstallationUpdateAvailable | FileEdited | ReferenceUpdated | PermissionV2Asked | PermissionV2Replied | PluginAdded | ProjectDirectoriesUpdated | CommandUpdated | SkillUpdated | FileWatcherUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | ShellCreated | ShellExited | ShellDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | FormCreated | FormReplied | FormCancelled | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpBrowserOpenFailed | McpStatusChanged | CommandExecuted | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed;
|
|
2464
2500
|
export type V2EventStream = string;
|
|
2465
2501
|
export type ForbiddenError = {
|
|
2466
2502
|
_tag: "ForbiddenError";
|
|
@@ -2653,6 +2689,99 @@ export type QuestionV2Tool = {
|
|
|
2653
2689
|
callID: string;
|
|
2654
2690
|
};
|
|
2655
2691
|
export type QuestionV2Answer = Array<string>;
|
|
2692
|
+
export type FormMetadata = {
|
|
2693
|
+
[key: string]: unknown;
|
|
2694
|
+
};
|
|
2695
|
+
export type FormWhen = {
|
|
2696
|
+
key: string;
|
|
2697
|
+
op: "eq" | "neq";
|
|
2698
|
+
value: string;
|
|
2699
|
+
};
|
|
2700
|
+
export type FormOption = {
|
|
2701
|
+
value: string;
|
|
2702
|
+
label: string;
|
|
2703
|
+
description?: string;
|
|
2704
|
+
};
|
|
2705
|
+
export type FormStringField = {
|
|
2706
|
+
key: string;
|
|
2707
|
+
title?: string;
|
|
2708
|
+
description?: string;
|
|
2709
|
+
required?: boolean;
|
|
2710
|
+
when?: FormWhen;
|
|
2711
|
+
type: "string";
|
|
2712
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
2713
|
+
minLength?: number;
|
|
2714
|
+
maxLength?: number;
|
|
2715
|
+
pattern?: string;
|
|
2716
|
+
placeholder?: string;
|
|
2717
|
+
default?: string;
|
|
2718
|
+
options?: Array<FormOption>;
|
|
2719
|
+
custom?: boolean;
|
|
2720
|
+
};
|
|
2721
|
+
export type FormNumberField = {
|
|
2722
|
+
key: string;
|
|
2723
|
+
title?: string;
|
|
2724
|
+
description?: string;
|
|
2725
|
+
required?: boolean;
|
|
2726
|
+
when?: FormWhen;
|
|
2727
|
+
type: "number";
|
|
2728
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2729
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2730
|
+
default?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2731
|
+
};
|
|
2732
|
+
export type FormIntegerField = {
|
|
2733
|
+
key: string;
|
|
2734
|
+
title?: string;
|
|
2735
|
+
description?: string;
|
|
2736
|
+
required?: boolean;
|
|
2737
|
+
when?: FormWhen;
|
|
2738
|
+
type: "integer";
|
|
2739
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2740
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2741
|
+
default?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
2742
|
+
};
|
|
2743
|
+
export type FormBooleanField = {
|
|
2744
|
+
key: string;
|
|
2745
|
+
title?: string;
|
|
2746
|
+
description?: string;
|
|
2747
|
+
required?: boolean;
|
|
2748
|
+
when?: FormWhen;
|
|
2749
|
+
type: "boolean";
|
|
2750
|
+
default?: boolean;
|
|
2751
|
+
};
|
|
2752
|
+
export type FormMultiselectField = {
|
|
2753
|
+
key: string;
|
|
2754
|
+
title?: string;
|
|
2755
|
+
description?: string;
|
|
2756
|
+
required?: boolean;
|
|
2757
|
+
when?: FormWhen;
|
|
2758
|
+
type: "multiselect";
|
|
2759
|
+
options: Array<FormOption>;
|
|
2760
|
+
minItems?: number;
|
|
2761
|
+
maxItems?: number;
|
|
2762
|
+
custom?: boolean;
|
|
2763
|
+
default?: Array<string>;
|
|
2764
|
+
};
|
|
2765
|
+
export type FormFormInfo = {
|
|
2766
|
+
id: string;
|
|
2767
|
+
sessionID: string;
|
|
2768
|
+
title?: string;
|
|
2769
|
+
metadata?: FormMetadata;
|
|
2770
|
+
mode: "form";
|
|
2771
|
+
fields: Array<FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField>;
|
|
2772
|
+
};
|
|
2773
|
+
export type FormUrlInfo = {
|
|
2774
|
+
id: string;
|
|
2775
|
+
sessionID: string;
|
|
2776
|
+
title?: string;
|
|
2777
|
+
metadata?: FormMetadata;
|
|
2778
|
+
mode: "url";
|
|
2779
|
+
url: string;
|
|
2780
|
+
};
|
|
2781
|
+
export type FormValue = string | number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
|
|
2782
|
+
export type FormAnswer = {
|
|
2783
|
+
[key: string]: FormValue;
|
|
2784
|
+
};
|
|
2656
2785
|
export type ProjectVcs = "git";
|
|
2657
2786
|
export type ProjectIcon = {
|
|
2658
2787
|
url?: string;
|
|
@@ -4507,6 +4636,25 @@ export type ProjectCurrent = {
|
|
|
4507
4636
|
id: string;
|
|
4508
4637
|
directory: string;
|
|
4509
4638
|
};
|
|
4639
|
+
export type FormCreatePayload = {
|
|
4640
|
+
id?: string;
|
|
4641
|
+
title?: string;
|
|
4642
|
+
metadata?: FormMetadata;
|
|
4643
|
+
mode: "form" | "url";
|
|
4644
|
+
fields?: Array<FormStringField | FormNumberField | FormIntegerField | FormBooleanField | FormMultiselectField>;
|
|
4645
|
+
url?: string;
|
|
4646
|
+
};
|
|
4647
|
+
export type FormState = {
|
|
4648
|
+
status: "pending";
|
|
4649
|
+
} | {
|
|
4650
|
+
status: "answered";
|
|
4651
|
+
answer: FormAnswer;
|
|
4652
|
+
} | {
|
|
4653
|
+
status: "cancelled";
|
|
4654
|
+
};
|
|
4655
|
+
export type FormReply = {
|
|
4656
|
+
answer: FormAnswer;
|
|
4657
|
+
};
|
|
4510
4658
|
export type PermissionV2Request = {
|
|
4511
4659
|
id: string;
|
|
4512
4660
|
sessionID: string;
|
|
@@ -5256,6 +5404,80 @@ export type QuestionV2Rejected = {
|
|
|
5256
5404
|
requestID: string;
|
|
5257
5405
|
};
|
|
5258
5406
|
};
|
|
5407
|
+
export type FormNumberField1 = {
|
|
5408
|
+
key: string;
|
|
5409
|
+
title?: string;
|
|
5410
|
+
description?: string;
|
|
5411
|
+
required?: boolean;
|
|
5412
|
+
when?: FormWhen;
|
|
5413
|
+
type: "number";
|
|
5414
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5415
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5416
|
+
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5417
|
+
};
|
|
5418
|
+
export type FormIntegerField1 = {
|
|
5419
|
+
key: string;
|
|
5420
|
+
title?: string;
|
|
5421
|
+
description?: string;
|
|
5422
|
+
required?: boolean;
|
|
5423
|
+
when?: FormWhen;
|
|
5424
|
+
type: "integer";
|
|
5425
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5426
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5427
|
+
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5428
|
+
};
|
|
5429
|
+
export type FormCreated = {
|
|
5430
|
+
id: string;
|
|
5431
|
+
metadata?: {
|
|
5432
|
+
[key: string]: unknown;
|
|
5433
|
+
};
|
|
5434
|
+
type: "form.created";
|
|
5435
|
+
durable?: {
|
|
5436
|
+
aggregateID: string;
|
|
5437
|
+
seq: number;
|
|
5438
|
+
version: number;
|
|
5439
|
+
};
|
|
5440
|
+
location?: LocationRef;
|
|
5441
|
+
data: {
|
|
5442
|
+
form: FormFormInfo | FormUrlInfo;
|
|
5443
|
+
};
|
|
5444
|
+
};
|
|
5445
|
+
export type FormValue1 = string | number | "NaN" | "Infinity" | "-Infinity" | boolean | Array<string>;
|
|
5446
|
+
export type FormReplied = {
|
|
5447
|
+
id: string;
|
|
5448
|
+
metadata?: {
|
|
5449
|
+
[key: string]: unknown;
|
|
5450
|
+
};
|
|
5451
|
+
type: "form.replied";
|
|
5452
|
+
durable?: {
|
|
5453
|
+
aggregateID: string;
|
|
5454
|
+
seq: number;
|
|
5455
|
+
version: number;
|
|
5456
|
+
};
|
|
5457
|
+
location?: LocationRef;
|
|
5458
|
+
data: {
|
|
5459
|
+
id: string;
|
|
5460
|
+
sessionID: string;
|
|
5461
|
+
answer: FormAnswer;
|
|
5462
|
+
};
|
|
5463
|
+
};
|
|
5464
|
+
export type FormCancelled = {
|
|
5465
|
+
id: string;
|
|
5466
|
+
metadata?: {
|
|
5467
|
+
[key: string]: unknown;
|
|
5468
|
+
};
|
|
5469
|
+
type: "form.cancelled";
|
|
5470
|
+
durable?: {
|
|
5471
|
+
aggregateID: string;
|
|
5472
|
+
seq: number;
|
|
5473
|
+
version: number;
|
|
5474
|
+
};
|
|
5475
|
+
location?: LocationRef;
|
|
5476
|
+
data: {
|
|
5477
|
+
id: string;
|
|
5478
|
+
sessionID: string;
|
|
5479
|
+
};
|
|
5480
|
+
};
|
|
5259
5481
|
export type TodoUpdated = {
|
|
5260
5482
|
id: string;
|
|
5261
5483
|
metadata?: {
|
|
@@ -6434,6 +6656,52 @@ export type EventQuestionV2Rejected = {
|
|
|
6434
6656
|
requestID: string;
|
|
6435
6657
|
};
|
|
6436
6658
|
};
|
|
6659
|
+
export type FormNumberField2 = {
|
|
6660
|
+
key: string;
|
|
6661
|
+
title?: string;
|
|
6662
|
+
description?: string;
|
|
6663
|
+
required?: boolean;
|
|
6664
|
+
when?: FormWhen;
|
|
6665
|
+
type: "number";
|
|
6666
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6667
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6668
|
+
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6669
|
+
};
|
|
6670
|
+
export type FormIntegerField2 = {
|
|
6671
|
+
key: string;
|
|
6672
|
+
title?: string;
|
|
6673
|
+
description?: string;
|
|
6674
|
+
required?: boolean;
|
|
6675
|
+
when?: FormWhen;
|
|
6676
|
+
type: "integer";
|
|
6677
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6678
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6679
|
+
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
6680
|
+
};
|
|
6681
|
+
export type EventFormCreated = {
|
|
6682
|
+
id: string;
|
|
6683
|
+
type: "form.created";
|
|
6684
|
+
properties: {
|
|
6685
|
+
form: FormFormInfo | FormUrlInfo;
|
|
6686
|
+
};
|
|
6687
|
+
};
|
|
6688
|
+
export type EventFormReplied = {
|
|
6689
|
+
id: string;
|
|
6690
|
+
type: "form.replied";
|
|
6691
|
+
properties: {
|
|
6692
|
+
id: string;
|
|
6693
|
+
sessionID: string;
|
|
6694
|
+
answer: FormAnswer;
|
|
6695
|
+
};
|
|
6696
|
+
};
|
|
6697
|
+
export type EventFormCancelled = {
|
|
6698
|
+
id: string;
|
|
6699
|
+
type: "form.cancelled";
|
|
6700
|
+
properties: {
|
|
6701
|
+
id: string;
|
|
6702
|
+
sessionID: string;
|
|
6703
|
+
};
|
|
6704
|
+
};
|
|
6437
6705
|
export type EventTodoUpdated = {
|
|
6438
6706
|
id: string;
|
|
6439
6707
|
type: "todo.updated";
|
|
@@ -8041,6 +8309,133 @@ export type ProjectDirectory2 = {
|
|
|
8041
8309
|
strategy?: string;
|
|
8042
8310
|
};
|
|
8043
8311
|
export type ProjectDirectories2 = Array<ProjectDirectory2>;
|
|
8312
|
+
export type FormMetadata2 = {
|
|
8313
|
+
[key: string]: unknown;
|
|
8314
|
+
};
|
|
8315
|
+
export type FormWhen2 = {
|
|
8316
|
+
key: string;
|
|
8317
|
+
op: "eq" | "neq";
|
|
8318
|
+
value: string;
|
|
8319
|
+
};
|
|
8320
|
+
export type FormOption2 = {
|
|
8321
|
+
value: string;
|
|
8322
|
+
label: string;
|
|
8323
|
+
description?: string;
|
|
8324
|
+
};
|
|
8325
|
+
export type FormStringField2 = {
|
|
8326
|
+
key: string;
|
|
8327
|
+
title?: string;
|
|
8328
|
+
description?: string;
|
|
8329
|
+
required?: boolean;
|
|
8330
|
+
when?: FormWhen2;
|
|
8331
|
+
type: "string";
|
|
8332
|
+
format?: "email" | "uri" | "date" | "date-time";
|
|
8333
|
+
minLength?: number;
|
|
8334
|
+
maxLength?: number;
|
|
8335
|
+
pattern?: string;
|
|
8336
|
+
placeholder?: string;
|
|
8337
|
+
default?: string;
|
|
8338
|
+
options?: Array<FormOption2>;
|
|
8339
|
+
custom?: boolean;
|
|
8340
|
+
};
|
|
8341
|
+
export type FormNumberField3 = {
|
|
8342
|
+
key: string;
|
|
8343
|
+
title?: string;
|
|
8344
|
+
description?: string;
|
|
8345
|
+
required?: boolean;
|
|
8346
|
+
when?: FormWhen2;
|
|
8347
|
+
type: "number";
|
|
8348
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8349
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8350
|
+
default?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8351
|
+
};
|
|
8352
|
+
export type FormIntegerField3 = {
|
|
8353
|
+
key: string;
|
|
8354
|
+
title?: string;
|
|
8355
|
+
description?: string;
|
|
8356
|
+
required?: boolean;
|
|
8357
|
+
when?: FormWhen2;
|
|
8358
|
+
type: "integer";
|
|
8359
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8360
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8361
|
+
default?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
8362
|
+
};
|
|
8363
|
+
export type FormBooleanField2 = {
|
|
8364
|
+
key: string;
|
|
8365
|
+
title?: string;
|
|
8366
|
+
description?: string;
|
|
8367
|
+
required?: boolean;
|
|
8368
|
+
when?: FormWhen2;
|
|
8369
|
+
type: "boolean";
|
|
8370
|
+
default?: boolean;
|
|
8371
|
+
};
|
|
8372
|
+
export type FormMultiselectField2 = {
|
|
8373
|
+
key: string;
|
|
8374
|
+
title?: string;
|
|
8375
|
+
description?: string;
|
|
8376
|
+
required?: boolean;
|
|
8377
|
+
when?: FormWhen2;
|
|
8378
|
+
type: "multiselect";
|
|
8379
|
+
options: Array<FormOption2>;
|
|
8380
|
+
minItems?: number;
|
|
8381
|
+
maxItems?: number;
|
|
8382
|
+
custom?: boolean;
|
|
8383
|
+
default?: Array<string>;
|
|
8384
|
+
};
|
|
8385
|
+
export type FormFormInfo2 = {
|
|
8386
|
+
id: string;
|
|
8387
|
+
sessionID: string;
|
|
8388
|
+
title?: string;
|
|
8389
|
+
metadata?: FormMetadata2;
|
|
8390
|
+
mode: "form";
|
|
8391
|
+
fields: Array<FormStringField2 | FormNumberField3 | FormIntegerField3 | FormBooleanField2 | FormMultiselectField2>;
|
|
8392
|
+
};
|
|
8393
|
+
export type FormUrlInfo2 = {
|
|
8394
|
+
id: string;
|
|
8395
|
+
sessionID: string;
|
|
8396
|
+
title?: string;
|
|
8397
|
+
metadata?: FormMetadata2;
|
|
8398
|
+
mode: "url";
|
|
8399
|
+
url: string;
|
|
8400
|
+
};
|
|
8401
|
+
export type FormCreatePayload2 = {
|
|
8402
|
+
id?: string | null;
|
|
8403
|
+
title?: string;
|
|
8404
|
+
metadata?: FormMetadata2;
|
|
8405
|
+
mode: "form" | "url";
|
|
8406
|
+
fields?: Array<FormStringField2 | FormNumberField3 | FormIntegerField3 | FormBooleanField2 | FormMultiselectField2> | null;
|
|
8407
|
+
url?: string | null;
|
|
8408
|
+
};
|
|
8409
|
+
export type FormNotFoundErrorV2 = {
|
|
8410
|
+
_tag: "FormNotFoundError";
|
|
8411
|
+
id: string;
|
|
8412
|
+
message: string;
|
|
8413
|
+
};
|
|
8414
|
+
export type FormValue2 = string | number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN" | boolean | Array<string>;
|
|
8415
|
+
export type FormAnswer2 = {
|
|
8416
|
+
[key: string]: FormValue2;
|
|
8417
|
+
};
|
|
8418
|
+
export type FormState2 = {
|
|
8419
|
+
status: "pending";
|
|
8420
|
+
} | {
|
|
8421
|
+
status: "answered";
|
|
8422
|
+
answer: FormAnswer2;
|
|
8423
|
+
} | {
|
|
8424
|
+
status: "cancelled";
|
|
8425
|
+
};
|
|
8426
|
+
export type FormReply2 = {
|
|
8427
|
+
answer: FormAnswer2;
|
|
8428
|
+
};
|
|
8429
|
+
export type FormAlreadySettledErrorV2 = {
|
|
8430
|
+
_tag: "FormAlreadySettledError";
|
|
8431
|
+
id: string;
|
|
8432
|
+
message: string;
|
|
8433
|
+
};
|
|
8434
|
+
export type FormInvalidAnswerErrorV2 = {
|
|
8435
|
+
_tag: "FormInvalidAnswerError";
|
|
8436
|
+
id: string;
|
|
8437
|
+
message: string;
|
|
8438
|
+
};
|
|
8044
8439
|
export type PermissionV2Source2 = {
|
|
8045
8440
|
type: "tool";
|
|
8046
8441
|
messageID: string;
|
|
@@ -9196,6 +9591,102 @@ export type QuestionV2Rejected2 = {
|
|
|
9196
9591
|
requestID: string;
|
|
9197
9592
|
};
|
|
9198
9593
|
};
|
|
9594
|
+
export type FormMetadata1 = {
|
|
9595
|
+
[key: string]: unknown;
|
|
9596
|
+
};
|
|
9597
|
+
export type FormNumberField12 = {
|
|
9598
|
+
key: string;
|
|
9599
|
+
title?: string;
|
|
9600
|
+
description?: string;
|
|
9601
|
+
required?: boolean;
|
|
9602
|
+
when?: FormWhen2;
|
|
9603
|
+
type: "number";
|
|
9604
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9605
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9606
|
+
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9607
|
+
};
|
|
9608
|
+
export type FormIntegerField12 = {
|
|
9609
|
+
key: string;
|
|
9610
|
+
title?: string;
|
|
9611
|
+
description?: string;
|
|
9612
|
+
required?: boolean;
|
|
9613
|
+
when?: FormWhen2;
|
|
9614
|
+
type: "integer";
|
|
9615
|
+
minimum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9616
|
+
maximum?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9617
|
+
default?: number | "NaN" | "Infinity" | "-Infinity";
|
|
9618
|
+
};
|
|
9619
|
+
export type FormFormInfo1 = {
|
|
9620
|
+
id: string;
|
|
9621
|
+
sessionID: string;
|
|
9622
|
+
title?: string;
|
|
9623
|
+
metadata?: FormMetadata1;
|
|
9624
|
+
mode: "form";
|
|
9625
|
+
fields: Array<FormStringField2 | FormNumberField12 | FormIntegerField12 | FormBooleanField2 | FormMultiselectField2>;
|
|
9626
|
+
};
|
|
9627
|
+
export type FormUrlInfo1 = {
|
|
9628
|
+
id: string;
|
|
9629
|
+
sessionID: string;
|
|
9630
|
+
title?: string;
|
|
9631
|
+
metadata?: FormMetadata1;
|
|
9632
|
+
mode: "url";
|
|
9633
|
+
url: string;
|
|
9634
|
+
};
|
|
9635
|
+
export type FormCreated2 = {
|
|
9636
|
+
id: string;
|
|
9637
|
+
metadata?: {
|
|
9638
|
+
[key: string]: unknown;
|
|
9639
|
+
};
|
|
9640
|
+
type: "form.created";
|
|
9641
|
+
durable?: {
|
|
9642
|
+
aggregateID: string;
|
|
9643
|
+
seq: number;
|
|
9644
|
+
version: number;
|
|
9645
|
+
};
|
|
9646
|
+
location?: LocationRef2;
|
|
9647
|
+
data: {
|
|
9648
|
+
form: FormFormInfo1 | FormUrlInfo1;
|
|
9649
|
+
};
|
|
9650
|
+
};
|
|
9651
|
+
export type FormValue12 = string | number | "NaN" | "Infinity" | "-Infinity" | boolean | Array<string>;
|
|
9652
|
+
export type FormAnswer1 = {
|
|
9653
|
+
[key: string]: FormValue12;
|
|
9654
|
+
};
|
|
9655
|
+
export type FormReplied2 = {
|
|
9656
|
+
id: string;
|
|
9657
|
+
metadata?: {
|
|
9658
|
+
[key: string]: unknown;
|
|
9659
|
+
};
|
|
9660
|
+
type: "form.replied";
|
|
9661
|
+
durable?: {
|
|
9662
|
+
aggregateID: string;
|
|
9663
|
+
seq: number;
|
|
9664
|
+
version: number;
|
|
9665
|
+
};
|
|
9666
|
+
location?: LocationRef2;
|
|
9667
|
+
data: {
|
|
9668
|
+
id: string;
|
|
9669
|
+
sessionID: string;
|
|
9670
|
+
answer: FormAnswer1;
|
|
9671
|
+
};
|
|
9672
|
+
};
|
|
9673
|
+
export type FormCancelled2 = {
|
|
9674
|
+
id: string;
|
|
9675
|
+
metadata?: {
|
|
9676
|
+
[key: string]: unknown;
|
|
9677
|
+
};
|
|
9678
|
+
type: "form.cancelled";
|
|
9679
|
+
durable?: {
|
|
9680
|
+
aggregateID: string;
|
|
9681
|
+
seq: number;
|
|
9682
|
+
version: number;
|
|
9683
|
+
};
|
|
9684
|
+
location?: LocationRef2;
|
|
9685
|
+
data: {
|
|
9686
|
+
id: string;
|
|
9687
|
+
sessionID: string;
|
|
9688
|
+
};
|
|
9689
|
+
};
|
|
9199
9690
|
export type TodoV2 = {
|
|
9200
9691
|
/**
|
|
9201
9692
|
* Brief description of the task
|
|
@@ -9584,7 +10075,7 @@ export type V2EventServerConnected = {
|
|
|
9584
10075
|
[key: string]: unknown;
|
|
9585
10076
|
} | Array<unknown>;
|
|
9586
10077
|
};
|
|
9587
|
-
export type V2EventV2 = ModelsDevRefreshed2 | IntegrationUpdated2 | IntegrationConnectionUpdated2 | CatalogUpdated2 | AgentUpdated2 | SessionCreated2 | SessionUpdated2 | SessionDeleted2 | MessageUpdated2 | MessageRemoved2 | MessagePartUpdated2 | MessagePartRemoved2 | SessionNextAgentSwitched2 | SessionNextModelSwitched2 | SessionNextMoved2 | SessionNextRenamed2 | SessionNextForked2 | SessionNextPrompted2 | SessionNextPromptAdmitted2 | SessionNextExecutionSettled2 | SessionNextContextUpdated2 | SessionNextSynthetic2 | SessionNextSkillActivated2 | SessionNextShellStarted2 | SessionNextShellEnded2 | SessionNextStepStarted2 | SessionNextStepEnded2 | SessionNextStepFailed2 | SessionNextTextStarted2 | SessionNextTextDelta2 | SessionNextTextEnded2 | SessionNextReasoningStarted2 | SessionNextReasoningDelta2 | SessionNextReasoningEnded2 | SessionNextToolInputStarted2 | SessionNextToolInputDelta2 | SessionNextToolInputEnded2 | SessionNextToolCalled2 | SessionNextToolProgress2 | SessionNextToolSuccess2 | SessionNextToolFailed2 | SessionNextRetried2 | SessionNextCompactionStarted2 | SessionNextCompactionDelta2 | SessionNextCompactionEnded2 | SessionNextRevertStaged2 | SessionNextRevertCleared2 | SessionNextRevertCommitted2 | FileEdited2 | ReferenceUpdated2 | PermissionV2Asked2 | PermissionV2Replied2 | PluginAdded2 | ProjectDirectoriesUpdated2 | CommandUpdated2 | SkillUpdated2 | FileWatcherUpdated2 | PtyCreated2 | PtyUpdated2 | PtyExited2 | PtyDeleted2 | ShellCreated2 | ShellExited2 | ShellDeleted2 | QuestionV2Asked2 | QuestionV2Replied2 | QuestionV2Rejected2 | TodoUpdated2 | SessionStatusV22 | SessionIdle2 | TuiPromptAppend2 | TuiCommandExecute2 | TuiToastShow2 | TuiSessionSelect2 | InstallationUpdated2 | InstallationUpdateAvailable2 | VcsBranchUpdated2 | McpStatusChanged2 | PermissionAsked2 | PermissionReplied2 | QuestionAsked2 | QuestionRepliedV2 | QuestionRejectedV2 | SessionError2 | V2EventServerConnected;
|
|
10078
|
+
export type V2EventV2 = ModelsDevRefreshed2 | IntegrationUpdated2 | IntegrationConnectionUpdated2 | CatalogUpdated2 | AgentUpdated2 | SessionCreated2 | SessionUpdated2 | SessionDeleted2 | MessageUpdated2 | MessageRemoved2 | MessagePartUpdated2 | MessagePartRemoved2 | SessionNextAgentSwitched2 | SessionNextModelSwitched2 | SessionNextMoved2 | SessionNextRenamed2 | SessionNextForked2 | SessionNextPrompted2 | SessionNextPromptAdmitted2 | SessionNextExecutionSettled2 | SessionNextContextUpdated2 | SessionNextSynthetic2 | SessionNextSkillActivated2 | SessionNextShellStarted2 | SessionNextShellEnded2 | SessionNextStepStarted2 | SessionNextStepEnded2 | SessionNextStepFailed2 | SessionNextTextStarted2 | SessionNextTextDelta2 | SessionNextTextEnded2 | SessionNextReasoningStarted2 | SessionNextReasoningDelta2 | SessionNextReasoningEnded2 | SessionNextToolInputStarted2 | SessionNextToolInputDelta2 | SessionNextToolInputEnded2 | SessionNextToolCalled2 | SessionNextToolProgress2 | SessionNextToolSuccess2 | SessionNextToolFailed2 | SessionNextRetried2 | SessionNextCompactionStarted2 | SessionNextCompactionDelta2 | SessionNextCompactionEnded2 | SessionNextRevertStaged2 | SessionNextRevertCleared2 | SessionNextRevertCommitted2 | FileEdited2 | ReferenceUpdated2 | PermissionV2Asked2 | PermissionV2Replied2 | PluginAdded2 | ProjectDirectoriesUpdated2 | CommandUpdated2 | SkillUpdated2 | FileWatcherUpdated2 | PtyCreated2 | PtyUpdated2 | PtyExited2 | PtyDeleted2 | ShellCreated2 | ShellExited2 | ShellDeleted2 | QuestionV2Asked2 | QuestionV2Replied2 | QuestionV2Rejected2 | FormCreated2 | FormReplied2 | FormCancelled2 | TodoUpdated2 | SessionStatusV22 | SessionIdle2 | TuiPromptAppend2 | TuiCommandExecute2 | TuiToastShow2 | TuiSessionSelect2 | InstallationUpdated2 | InstallationUpdateAvailable2 | VcsBranchUpdated2 | McpStatusChanged2 | PermissionAsked2 | PermissionReplied2 | QuestionAsked2 | QuestionRepliedV2 | QuestionRejectedV2 | SessionError2 | V2EventServerConnected;
|
|
9588
10079
|
export type V2EventStreamV2 = string;
|
|
9589
10080
|
/**
|
|
9590
10081
|
* Payload-free change hint: the aggregate's durable log advanced to at least seq. Hints coalesce under backpressure (latest per aggregate) and are never a delivery guarantee.
|
|
@@ -14788,6 +15279,242 @@ export type V2ProjectDirectoriesResponses = {
|
|
|
14788
15279
|
200: ProjectDirectories2;
|
|
14789
15280
|
};
|
|
14790
15281
|
export type V2ProjectDirectoriesResponse = V2ProjectDirectoriesResponses[keyof V2ProjectDirectoriesResponses];
|
|
15282
|
+
export type V2FormRequestListData = {
|
|
15283
|
+
body?: never;
|
|
15284
|
+
path?: never;
|
|
15285
|
+
query?: {
|
|
15286
|
+
location?: {
|
|
15287
|
+
directory?: string | null;
|
|
15288
|
+
workspace?: string | null;
|
|
15289
|
+
} | null;
|
|
15290
|
+
};
|
|
15291
|
+
url: "/api/form/request";
|
|
15292
|
+
};
|
|
15293
|
+
export type V2FormRequestListErrors = {
|
|
15294
|
+
/**
|
|
15295
|
+
* InvalidRequestError
|
|
15296
|
+
*/
|
|
15297
|
+
400: InvalidRequestErrorV2;
|
|
15298
|
+
/**
|
|
15299
|
+
* UnauthorizedError
|
|
15300
|
+
*/
|
|
15301
|
+
401: UnauthorizedErrorV2;
|
|
15302
|
+
};
|
|
15303
|
+
export type V2FormRequestListError = V2FormRequestListErrors[keyof V2FormRequestListErrors];
|
|
15304
|
+
export type V2FormRequestListResponses = {
|
|
15305
|
+
/**
|
|
15306
|
+
* Success
|
|
15307
|
+
*/
|
|
15308
|
+
200: {
|
|
15309
|
+
location: LocationInfo2;
|
|
15310
|
+
data: Array<FormFormInfo2 | FormUrlInfo2>;
|
|
15311
|
+
};
|
|
15312
|
+
};
|
|
15313
|
+
export type V2FormRequestListResponse = V2FormRequestListResponses[keyof V2FormRequestListResponses];
|
|
15314
|
+
export type V2SessionFormListData = {
|
|
15315
|
+
body?: never;
|
|
15316
|
+
path: {
|
|
15317
|
+
sessionID: string;
|
|
15318
|
+
};
|
|
15319
|
+
query?: never;
|
|
15320
|
+
url: "/api/session/{sessionID}/form";
|
|
15321
|
+
};
|
|
15322
|
+
export type V2SessionFormListErrors = {
|
|
15323
|
+
/**
|
|
15324
|
+
* InvalidRequestError
|
|
15325
|
+
*/
|
|
15326
|
+
400: InvalidRequestErrorV2;
|
|
15327
|
+
/**
|
|
15328
|
+
* UnauthorizedError
|
|
15329
|
+
*/
|
|
15330
|
+
401: UnauthorizedErrorV2;
|
|
15331
|
+
/**
|
|
15332
|
+
* SessionNotFoundError
|
|
15333
|
+
*/
|
|
15334
|
+
404: SessionNotFoundErrorV2;
|
|
15335
|
+
};
|
|
15336
|
+
export type V2SessionFormListError = V2SessionFormListErrors[keyof V2SessionFormListErrors];
|
|
15337
|
+
export type V2SessionFormListResponses = {
|
|
15338
|
+
/**
|
|
15339
|
+
* Success
|
|
15340
|
+
*/
|
|
15341
|
+
200: {
|
|
15342
|
+
data: Array<FormFormInfo2 | FormUrlInfo2>;
|
|
15343
|
+
};
|
|
15344
|
+
};
|
|
15345
|
+
export type V2SessionFormListResponse = V2SessionFormListResponses[keyof V2SessionFormListResponses];
|
|
15346
|
+
export type V2SessionFormCreateData = {
|
|
15347
|
+
body: FormCreatePayload2;
|
|
15348
|
+
path: {
|
|
15349
|
+
sessionID: string;
|
|
15350
|
+
};
|
|
15351
|
+
query?: never;
|
|
15352
|
+
url: "/api/session/{sessionID}/form";
|
|
15353
|
+
};
|
|
15354
|
+
export type V2SessionFormCreateErrors = {
|
|
15355
|
+
/**
|
|
15356
|
+
* InvalidRequestError
|
|
15357
|
+
*/
|
|
15358
|
+
400: InvalidRequestError1 | InvalidRequestErrorV2;
|
|
15359
|
+
/**
|
|
15360
|
+
* UnauthorizedError
|
|
15361
|
+
*/
|
|
15362
|
+
401: UnauthorizedErrorV2;
|
|
15363
|
+
/**
|
|
15364
|
+
* SessionNotFoundError
|
|
15365
|
+
*/
|
|
15366
|
+
404: SessionNotFoundErrorV2;
|
|
15367
|
+
/**
|
|
15368
|
+
* ConflictError
|
|
15369
|
+
*/
|
|
15370
|
+
409: ConflictErrorV2;
|
|
15371
|
+
};
|
|
15372
|
+
export type V2SessionFormCreateError = V2SessionFormCreateErrors[keyof V2SessionFormCreateErrors];
|
|
15373
|
+
export type V2SessionFormCreateResponses = {
|
|
15374
|
+
/**
|
|
15375
|
+
* Success
|
|
15376
|
+
*/
|
|
15377
|
+
200: {
|
|
15378
|
+
data: FormFormInfo2 | FormUrlInfo2;
|
|
15379
|
+
};
|
|
15380
|
+
};
|
|
15381
|
+
export type V2SessionFormCreateResponse = V2SessionFormCreateResponses[keyof V2SessionFormCreateResponses];
|
|
15382
|
+
export type V2SessionFormGetData = {
|
|
15383
|
+
body?: never;
|
|
15384
|
+
path: {
|
|
15385
|
+
sessionID: string;
|
|
15386
|
+
formID: string;
|
|
15387
|
+
};
|
|
15388
|
+
query?: never;
|
|
15389
|
+
url: "/api/session/{sessionID}/form/{formID}";
|
|
15390
|
+
};
|
|
15391
|
+
export type V2SessionFormGetErrors = {
|
|
15392
|
+
/**
|
|
15393
|
+
* InvalidRequestError
|
|
15394
|
+
*/
|
|
15395
|
+
400: InvalidRequestErrorV2;
|
|
15396
|
+
/**
|
|
15397
|
+
* UnauthorizedError
|
|
15398
|
+
*/
|
|
15399
|
+
401: UnauthorizedErrorV2;
|
|
15400
|
+
/**
|
|
15401
|
+
* SessionNotFoundError | FormNotFoundError
|
|
15402
|
+
*/
|
|
15403
|
+
404: FormNotFoundErrorV2 | SessionNotFoundErrorV2;
|
|
15404
|
+
};
|
|
15405
|
+
export type V2SessionFormGetError = V2SessionFormGetErrors[keyof V2SessionFormGetErrors];
|
|
15406
|
+
export type V2SessionFormGetResponses = {
|
|
15407
|
+
/**
|
|
15408
|
+
* Success
|
|
15409
|
+
*/
|
|
15410
|
+
200: {
|
|
15411
|
+
data: FormFormInfo2 | FormUrlInfo2;
|
|
15412
|
+
};
|
|
15413
|
+
};
|
|
15414
|
+
export type V2SessionFormGetResponse = V2SessionFormGetResponses[keyof V2SessionFormGetResponses];
|
|
15415
|
+
export type V2SessionFormStateData = {
|
|
15416
|
+
body?: never;
|
|
15417
|
+
path: {
|
|
15418
|
+
sessionID: string;
|
|
15419
|
+
formID: string;
|
|
15420
|
+
};
|
|
15421
|
+
query?: never;
|
|
15422
|
+
url: "/api/session/{sessionID}/form/{formID}/state";
|
|
15423
|
+
};
|
|
15424
|
+
export type V2SessionFormStateErrors = {
|
|
15425
|
+
/**
|
|
15426
|
+
* InvalidRequestError
|
|
15427
|
+
*/
|
|
15428
|
+
400: InvalidRequestErrorV2;
|
|
15429
|
+
/**
|
|
15430
|
+
* UnauthorizedError
|
|
15431
|
+
*/
|
|
15432
|
+
401: UnauthorizedErrorV2;
|
|
15433
|
+
/**
|
|
15434
|
+
* SessionNotFoundError | FormNotFoundError
|
|
15435
|
+
*/
|
|
15436
|
+
404: FormNotFoundErrorV2 | SessionNotFoundErrorV2;
|
|
15437
|
+
};
|
|
15438
|
+
export type V2SessionFormStateError = V2SessionFormStateErrors[keyof V2SessionFormStateErrors];
|
|
15439
|
+
export type V2SessionFormStateResponses = {
|
|
15440
|
+
/**
|
|
15441
|
+
* Success
|
|
15442
|
+
*/
|
|
15443
|
+
200: {
|
|
15444
|
+
data: FormState2;
|
|
15445
|
+
};
|
|
15446
|
+
};
|
|
15447
|
+
export type V2SessionFormStateResponse = V2SessionFormStateResponses[keyof V2SessionFormStateResponses];
|
|
15448
|
+
export type V2SessionFormReplyData = {
|
|
15449
|
+
body: FormReply2;
|
|
15450
|
+
path: {
|
|
15451
|
+
sessionID: string;
|
|
15452
|
+
formID: string;
|
|
15453
|
+
};
|
|
15454
|
+
query?: never;
|
|
15455
|
+
url: "/api/session/{sessionID}/form/{formID}/reply";
|
|
15456
|
+
};
|
|
15457
|
+
export type V2SessionFormReplyErrors = {
|
|
15458
|
+
/**
|
|
15459
|
+
* FormInvalidAnswerError | InvalidRequestError
|
|
15460
|
+
*/
|
|
15461
|
+
400: FormInvalidAnswerErrorV2 | InvalidRequestErrorV2;
|
|
15462
|
+
/**
|
|
15463
|
+
* UnauthorizedError
|
|
15464
|
+
*/
|
|
15465
|
+
401: UnauthorizedErrorV2;
|
|
15466
|
+
/**
|
|
15467
|
+
* SessionNotFoundError | FormNotFoundError
|
|
15468
|
+
*/
|
|
15469
|
+
404: FormNotFoundErrorV2 | SessionNotFoundErrorV2;
|
|
15470
|
+
/**
|
|
15471
|
+
* FormAlreadySettledError
|
|
15472
|
+
*/
|
|
15473
|
+
409: FormAlreadySettledErrorV2;
|
|
15474
|
+
};
|
|
15475
|
+
export type V2SessionFormReplyError = V2SessionFormReplyErrors[keyof V2SessionFormReplyErrors];
|
|
15476
|
+
export type V2SessionFormReplyResponses = {
|
|
15477
|
+
/**
|
|
15478
|
+
* <No Content>
|
|
15479
|
+
*/
|
|
15480
|
+
204: void;
|
|
15481
|
+
};
|
|
15482
|
+
export type V2SessionFormReplyResponse = V2SessionFormReplyResponses[keyof V2SessionFormReplyResponses];
|
|
15483
|
+
export type V2SessionFormCancelData = {
|
|
15484
|
+
body?: never;
|
|
15485
|
+
path: {
|
|
15486
|
+
sessionID: string;
|
|
15487
|
+
formID: string;
|
|
15488
|
+
};
|
|
15489
|
+
query?: never;
|
|
15490
|
+
url: "/api/session/{sessionID}/form/{formID}/cancel";
|
|
15491
|
+
};
|
|
15492
|
+
export type V2SessionFormCancelErrors = {
|
|
15493
|
+
/**
|
|
15494
|
+
* InvalidRequestError
|
|
15495
|
+
*/
|
|
15496
|
+
400: InvalidRequestErrorV2;
|
|
15497
|
+
/**
|
|
15498
|
+
* UnauthorizedError
|
|
15499
|
+
*/
|
|
15500
|
+
401: UnauthorizedErrorV2;
|
|
15501
|
+
/**
|
|
15502
|
+
* SessionNotFoundError | FormNotFoundError
|
|
15503
|
+
*/
|
|
15504
|
+
404: FormNotFoundErrorV2 | SessionNotFoundErrorV2;
|
|
15505
|
+
/**
|
|
15506
|
+
* FormAlreadySettledError
|
|
15507
|
+
*/
|
|
15508
|
+
409: FormAlreadySettledErrorV2;
|
|
15509
|
+
};
|
|
15510
|
+
export type V2SessionFormCancelError = V2SessionFormCancelErrors[keyof V2SessionFormCancelErrors];
|
|
15511
|
+
export type V2SessionFormCancelResponses = {
|
|
15512
|
+
/**
|
|
15513
|
+
* <No Content>
|
|
15514
|
+
*/
|
|
15515
|
+
204: void;
|
|
15516
|
+
};
|
|
15517
|
+
export type V2SessionFormCancelResponse = V2SessionFormCancelResponses[keyof V2SessionFormCancelResponses];
|
|
14791
15518
|
export type V2PermissionRequestListData = {
|
|
14792
15519
|
body?: never;
|
|
14793
15520
|
path?: never;
|