@kilocode/sdk 7.8.17 → 7.8.18
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 +65 -1
- package/dist/v2/gen/sdk.gen.js +121 -0
- package/dist/v2/gen/types.gen.d.ts +465 -12
- 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 { AgentBuilderPreviewErrors, AgentBuilderPreviewResponses, AgentBuilderSaveErrors, AgentBuilderSaveResponses, AgentManagerFailure, AgentManagerRequestId, AgentManagerResult, AgentPartInput, AgentUsageRunsErrors, AgentUsageRunsResponses, AgentUsageSummaryErrors, AgentUsageSummaryResponses, AnacondaDesktopOpenErrors, AnacondaDesktopOpenResponses, AnacondaDesktopStatusErrors, AnacondaDesktopStatusResponses, AnacondaDesktopSyncErrors, AnacondaDesktopSyncResponses, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BackgroundProcessGetErrors, BackgroundProcessGetResponses, BackgroundProcessListErrors, BackgroundProcessListResponses, BackgroundProcessLogsErrors, BackgroundProcessLogsResponses, BackgroundProcessRestartErrors, BackgroundProcessRestartResponses, BackgroundProcessStopErrors, BackgroundProcessStopResponses, BackgroundProcessStopSessionErrors, BackgroundProcessStopSessionResponses, BranchNameGenerateErrors, BranchNameGenerateResponses, CommandListErrors, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config4, ConfigEffectiveErrors, ConfigEffectiveResponses, ConfigGetErrors, ConfigGetResponses, ConfigModelStateErrors, ConfigModelStateResponses, ConfigModelStateUpdateErrors, ConfigModelStateUpdateResponses, ConfigOverlayErrors, ConfigOverlayResponses, ConfigOverlayUpdateErrors, ConfigOverlayUpdateResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigRulesErrors, ConfigRulesResponses, ConfigRulesUpdateErrors, ConfigRulesUpdateResponses, ConfigSourcesErrors, ConfigSourcesResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsErrors, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponse, EventSubscribeResponses, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, 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, GlobalEventResponse, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingConsentErrors, IndexingConsentResponses, IndexingModelsErrors, IndexingModelsResponses, IndexingStatusErrors, IndexingStatusResponses, IndexingWarningsErrors, IndexingWarningsResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstanceReloadErrors, InstanceReloadResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloAuthStatusErrors, KiloAuthStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeAgentManagerListErrors, KilocodeAgentManagerListResponses, KilocodeAgentManagerRejectErrors, KilocodeAgentManagerRejectResponses, KilocodeAgentManagerReplyErrors, KilocodeAgentManagerReplyResponses, KilocodeBackgroundJobCancelErrors, KilocodeBackgroundJobCancelResponses, KilocodeBackgroundJobPromoteErrors, KilocodeBackgroundJobPromoteResponses, KilocodeBackgroundJobsErrors, KilocodeBackgroundJobsResponses, KilocodeCommandFilesErrors, KilocodeCommandFilesResponses, KilocodeDrainSessionErrors, KilocodeDrainSessionResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeMarketplaceInstallErrors, KilocodeMarketplaceInstallResponses, KilocodeMarketplaceListErrors, KilocodeMarketplaceListResponses, KilocodeMarketplaceRemoveErrors, KilocodeMarketplaceRemoveResponses, KilocodeMigrateDiscoverErrors, KilocodeMigrateDiscoverResponses, KilocodeMigrateSessionsErrors, KilocodeMigrateSessionsResponses, KilocodeNotebookListErrors, KilocodeNotebookListResponses, KilocodeNotebookRejectErrors, KilocodeNotebookRejectResponses, KilocodeNotebookReplyErrors, KilocodeNotebookReplyResponses, KilocodeProviderUsageGetErrors, KilocodeProviderUsageGetResponses, KilocodeProviderUsageRefreshErrors, KilocodeProviderUsageRefreshResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveCommandErrors, KilocodeRemoveCommandResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeRemoveSnapshotErrors, KilocodeRemoveSnapshotResponses, KilocodeResetSessionBoardErrors, KilocodeResetSessionBoardResponses, KilocodeResumeSessionErrors, KilocodeResumeSessionResponses, KilocodeRetentionCancelErrors, KilocodeRetentionCancelResponses, KilocodeRetentionRunErrors, KilocodeRetentionRunResponses, KilocodeRetentionStatusErrors, KilocodeRetentionStatusResponses, KilocodeSessionBoardErrors, KilocodeSessionBoardResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KilocodeSessionModelUsageErrors, KilocodeSessionModelUsageResponses, KilocodeSnapshotPrepareErrors, KilocodeSnapshotPrepareResponses, KilocodeTeardownWorktreeErrors, KilocodeTeardownWorktreeResponses, KilocodeWakeupsErrors, KilocodeWakeupsResponses, KiloEditErrors, KiloEditResponses, KiloFimResponse, KiloFimResponses, KiloModelsImagesErrors, KiloModelsImagesResponses, KiloModelsTranscriptionsErrors, KiloModelsTranscriptionsResponses, KiloModesErrors, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LocationRef, LspStatusErrors, LspStatusResponses, MarketplaceInstallItem, MarketplaceItemRef, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthCancelErrors, McpAuthCancelResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpCallToolErrors, McpCallToolResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpReadResourceErrors, McpReadResourceResponses, McpRemoteConfig, McpStatusErrors, McpStatusResponses, MemoryConfigureErrors, MemoryConfigureResponses, MemoryCorrectErrors, MemoryCorrectResponses, MemoryDisableErrors, MemoryDisableResponses, MemoryEnableErrors, MemoryEnableResponses, MemoryForgetErrors, MemoryForgetResponses, MemoryPurgeErrors, MemoryPurgeResponses, MemoryRebuildErrors, MemoryRebuildResponses, MemoryRememberErrors, MemoryRememberResponses, MemoryShowErrors, MemoryShowResponses, MemoryStatusErrors, MemoryStatusResponses, ModelRef, MoveSessionDestination, NetworkListErrors, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, NotebookFailure, NotebookRequestId, NotebookResult, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, PermissionV2Reply, PermissionV2Source, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptInput, 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, RemoteDisableErrors, RemoteDisableResponses, RemoteEnableErrors, RemoteEnableResponses, RemoteStatusErrors, RemoteStatusResponses, SandboxStatusErrors, SandboxStatusResponses, SandboxSupportErrors, SandboxSupportResponses, SandboxToggleErrors, SandboxToggleResponses, 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, SessionViewedErrors, SessionViewedResponses, SubtaskPartInput, SuggestionAcceptErrors, SuggestionAcceptResponses, SuggestionDismissErrors, SuggestionDismissResponses, SuggestionListErrors, SuggestionListResponses, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiConfigGetErrors, TuiConfigGetResponses, TuiConfigUpdateErrors, TuiConfigUpdateResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiKeybindListErrors, TuiKeybindListResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2EventSubscribeResponse, V2EventSubscribeResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionEventsResponse, V2SessionEventsResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionHistoryErrors, V2SessionHistoryResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListErrors, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentBuilderPreviewErrors, AgentBuilderPreviewResponses, AgentBuilderSaveErrors, AgentBuilderSaveResponses, AgentManagerFailure, AgentManagerRequestId, AgentManagerResult, AgentPartInput, AgentUsageRunsErrors, AgentUsageRunsResponses, AgentUsageSummaryErrors, AgentUsageSummaryResponses, AnacondaDesktopOpenErrors, AnacondaDesktopOpenResponses, AnacondaDesktopStatusErrors, AnacondaDesktopStatusResponses, AnacondaDesktopSyncErrors, AnacondaDesktopSyncResponses, AppAgentsErrors, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsErrors, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BackgroundProcessGetErrors, BackgroundProcessGetResponses, BackgroundProcessListErrors, BackgroundProcessListResponses, BackgroundProcessLogsErrors, BackgroundProcessLogsResponses, BackgroundProcessRestartErrors, BackgroundProcessRestartResponses, BackgroundProcessStopErrors, BackgroundProcessStopResponses, BackgroundProcessStopSessionErrors, BackgroundProcessStopSessionResponses, BranchNameGenerateErrors, BranchNameGenerateResponses, CommandListErrors, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config4, ConfigEffectiveErrors, ConfigEffectiveResponses, ConfigGetErrors, ConfigGetResponses, ConfigModelStateErrors, ConfigModelStateResponses, ConfigModelStateUpdateErrors, ConfigModelStateUpdateResponses, ConfigOverlayErrors, ConfigOverlayResponses, ConfigOverlayUpdateErrors, ConfigOverlayUpdateResponses, ConfigProvidersErrors, ConfigProvidersResponses, ConfigRulesErrors, ConfigRulesResponses, ConfigRulesUpdateErrors, ConfigRulesUpdateResponses, ConfigSourcesErrors, ConfigSourcesResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsErrors, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponse, EventSubscribeResponses, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, 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, GlobalEventResponse, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingConsentErrors, IndexingConsentResponses, IndexingModelsErrors, IndexingModelsResponses, IndexingStatusErrors, IndexingStatusResponses, IndexingWarningsErrors, IndexingWarningsResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstanceReloadErrors, InstanceReloadResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloAuthStatusErrors, KiloAuthStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeAgentManagerListErrors, KilocodeAgentManagerListResponses, KilocodeAgentManagerRejectErrors, KilocodeAgentManagerRejectResponses, KilocodeAgentManagerReplyErrors, KilocodeAgentManagerReplyResponses, KilocodeBackgroundJobCancelErrors, KilocodeBackgroundJobCancelResponses, KilocodeBackgroundJobPromoteErrors, KilocodeBackgroundJobPromoteResponses, KilocodeBackgroundJobsErrors, KilocodeBackgroundJobsResponses, KilocodeCommandFilesErrors, KilocodeCommandFilesResponses, KilocodeDrainSessionErrors, KilocodeDrainSessionResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeMarketplaceInstallErrors, KilocodeMarketplaceInstallResponses, KilocodeMarketplaceListErrors, KilocodeMarketplaceListResponses, KilocodeMarketplaceRemoveErrors, KilocodeMarketplaceRemoveResponses, KilocodeMigrateDiscoverErrors, KilocodeMigrateDiscoverResponses, KilocodeMigrateSessionsErrors, KilocodeMigrateSessionsResponses, KilocodeNotebookListErrors, KilocodeNotebookListResponses, KilocodeNotebookRejectErrors, KilocodeNotebookRejectResponses, KilocodeNotebookReplyErrors, KilocodeNotebookReplyResponses, KilocodeProviderUsageGetErrors, KilocodeProviderUsageGetResponses, KilocodeProviderUsageRefreshErrors, KilocodeProviderUsageRefreshResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveCommandErrors, KilocodeRemoveCommandResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeRemoveSnapshotErrors, KilocodeRemoveSnapshotResponses, KilocodeResetSessionBoardErrors, KilocodeResetSessionBoardResponses, KilocodeResumeSessionErrors, KilocodeResumeSessionResponses, KilocodeRetentionCancelErrors, KilocodeRetentionCancelResponses, KilocodeRetentionRunErrors, KilocodeRetentionRunResponses, KilocodeRetentionStatusErrors, KilocodeRetentionStatusResponses, KilocodeSessionBoardErrors, KilocodeSessionBoardResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KilocodeSessionModelUsageErrors, KilocodeSessionModelUsageResponses, KilocodeSnapshotPrepareErrors, KilocodeSnapshotPrepareResponses, KilocodeTeardownWorktreeErrors, KilocodeTeardownWorktreeResponses, KilocodeWakeupsErrors, KilocodeWakeupsResponses, KiloEditErrors, KiloEditResponses, KiloFimResponse, KiloFimResponses, KiloModelsImagesErrors, KiloModelsImagesResponses, KiloModelsTranscriptionsErrors, KiloModelsTranscriptionsResponses, KiloModesErrors, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LocationRef, LspStatusErrors, LspStatusResponses, MarketplaceInstallItem, MarketplaceItemRef, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthCancelErrors, McpAuthCancelResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpCallToolErrors, McpCallToolResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, McpReadResourceErrors, McpReadResourceResponses, McpRemoteConfig, McpStatusErrors, McpStatusResponses, MemoryConfigureErrors, MemoryConfigureResponses, MemoryCorrectErrors, MemoryCorrectResponses, MemoryDisableErrors, MemoryDisableResponses, MemoryEnableErrors, MemoryEnableResponses, MemoryForgetErrors, MemoryForgetResponses, MemoryPurgeErrors, MemoryPurgeResponses, MemoryRebuildErrors, MemoryRebuildResponses, MemoryRememberErrors, MemoryRememberResponses, MemoryShowErrors, MemoryShowResponses, MemoryStatusErrors, MemoryStatusResponses, ModelRef, MoveSessionDestination, NetworkListErrors, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, NotebookFailure, NotebookRequestId, NotebookResult, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetErrors, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListErrors, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, PermissionV2Reply, PermissionV2Source, ProjectCommands, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectIcon, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, PromptInput, 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, RemoteDisableErrors, RemoteDisableResponses, RemoteEnableErrors, RemoteEnableResponses, RemoteStatusErrors, RemoteStatusResponses, SandboxStatusErrors, SandboxStatusResponses, SandboxSupportErrors, SandboxSupportResponses, SandboxToggleErrors, SandboxToggleResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffErrors, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionHostAttachErrors, SessionHostAttachResponses, SessionHostDetachErrors, SessionHostDetachResponses, SessionHostGetErrors, SessionHostGetResponses, SessionHostListErrors, SessionHostListResponses, SessionHostOrganizationId, SessionHostProviderId, SessionHostProvidersErrors, SessionHostProvidersResponses, SessionHostStartErrors, SessionHostStartInput, SessionHostStartResponses, SessionHostTranscriptErrors, SessionHostTranscriptResponses, 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, SessionViewedErrors, SessionViewedResponses, SubtaskPartInput, SuggestionAcceptErrors, SuggestionAcceptResponses, SuggestionDismissErrors, SuggestionDismissResponses, SuggestionListErrors, SuggestionListResponses, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartErrors, SyncStartResponses, SyncStealErrors, SyncStealResponses, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptErrors, TuiClearPromptResponses, TuiConfigGetErrors, TuiConfigGetResponses, TuiConfigUpdateErrors, TuiConfigUpdateResponses, TuiControlNextErrors, TuiControlNextResponses, TuiControlResponseErrors, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiKeybindListErrors, TuiKeybindListResponses, TuiOpenHelpErrors, TuiOpenHelpResponses, TuiOpenModelsErrors, TuiOpenModelsResponses, TuiOpenSessionsErrors, TuiOpenSessionsResponses, TuiOpenThemesErrors, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastErrors, TuiShowToastResponses, TuiSubmitPromptErrors, TuiSubmitPromptResponses, V2AgentListErrors, V2AgentListResponses, V2CommandListErrors, V2CommandListResponses, V2CredentialRemoveErrors, V2CredentialRemoveResponses, V2CredentialUpdateErrors, V2CredentialUpdateResponses, V2EventSubscribeResponse, V2EventSubscribeResponses, V2FsFindErrors, V2FsFindResponses, V2FsListErrors, V2FsListResponses, V2FsReadErrors, V2FsReadResponses, V2HealthGetErrors, V2HealthGetResponses, V2IntegrationAttemptCancelErrors, V2IntegrationAttemptCancelResponses, V2IntegrationAttemptCompleteErrors, V2IntegrationAttemptCompleteResponses, V2IntegrationAttemptStatusErrors, V2IntegrationAttemptStatusResponses, V2IntegrationConnectKeyErrors, V2IntegrationConnectKeyResponses, V2IntegrationConnectOauthErrors, V2IntegrationConnectOauthResponses, V2IntegrationGetErrors, V2IntegrationGetResponses, V2IntegrationListErrors, V2IntegrationListResponses, V2LocationGetErrors, V2LocationGetResponses, V2ModelListErrors, V2ModelListResponses, V2PermissionRequestListErrors, V2PermissionRequestListResponses, V2PermissionSavedListErrors, V2PermissionSavedListResponses, V2PermissionSavedRemoveErrors, V2PermissionSavedRemoveResponses, V2ProjectCopyCreateErrors, V2ProjectCopyCreateResponses, V2ProjectCopyRefreshErrors, V2ProjectCopyRefreshResponses, V2ProjectCopyRemoveErrors, V2ProjectCopyRemoveResponses, V2ProviderGetErrors, V2ProviderGetResponses, V2ProviderListErrors, V2ProviderListResponses, V2PtyConnectErrors, V2PtyConnectResponses, V2PtyConnectTokenErrors, V2PtyConnectTokenResponses, V2PtyCreateErrors, V2PtyCreateResponses, V2PtyGetErrors, V2PtyGetResponses, V2PtyListErrors, V2PtyListResponses, V2PtyRemoveErrors, V2PtyRemoveResponses, V2PtyUpdateErrors, V2PtyUpdateResponses, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionActiveErrors, V2SessionActiveResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionEventsResponse, V2SessionEventsResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionHistoryErrors, V2SessionHistoryResponses, V2SessionInterruptErrors, V2SessionInterruptResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessageErrors, V2SessionMessageResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionCreateErrors, V2SessionPermissionCreateResponses, V2SessionPermissionGetErrors, V2SessionPermissionGetResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, V2SessionRevertClearErrors, V2SessionRevertClearResponses, V2SessionRevertCommitErrors, V2SessionRevertCommitResponses, V2SessionRevertStageErrors, V2SessionRevertStageResponses, V2SessionSwitchAgentErrors, V2SessionSwitchAgentResponses, V2SessionSwitchModelErrors, V2SessionSwitchModelResponses, V2SessionWaitErrors, V2SessionWaitResponses, V2SkillListErrors, V2SkillListResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffErrors, VcsDiffRawErrors, VcsDiffRawResponses, VcsDiffResponses, VcsGetErrors, VcsGetResponses, VcsStatusErrors, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, 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, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -2900,6 +2900,68 @@ export declare class Sandbox extends HeyApiClient {
|
|
|
2900
2900
|
workspace?: string;
|
|
2901
2901
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SandboxToggleResponses, SandboxToggleErrors, ThrowOnError, "fields">;
|
|
2902
2902
|
}
|
|
2903
|
+
export declare class SessionHost extends HeyApiClient {
|
|
2904
|
+
/**
|
|
2905
|
+
* List session host providers
|
|
2906
|
+
*
|
|
2907
|
+
* Report every registered session host provider with its availability and transport state.
|
|
2908
|
+
*/
|
|
2909
|
+
providers<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostProvidersResponses, SessionHostProvidersErrors, ThrowOnError, "fields">;
|
|
2910
|
+
/**
|
|
2911
|
+
* List hosted sessions
|
|
2912
|
+
*
|
|
2913
|
+
* List sessions from the authenticated default session host provider.
|
|
2914
|
+
*/
|
|
2915
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
2916
|
+
limit?: string;
|
|
2917
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostListResponses, SessionHostListErrors, ThrowOnError, "fields">;
|
|
2918
|
+
/**
|
|
2919
|
+
* Start a hosted session
|
|
2920
|
+
*
|
|
2921
|
+
* Start a hosted session and deliver the initial message. Reuse the same operation key and message ID to retry safely.
|
|
2922
|
+
*/
|
|
2923
|
+
start<ThrowOnError extends boolean = false>(parameters?: {
|
|
2924
|
+
sessionHostStartInput?: SessionHostStartInput;
|
|
2925
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostStartResponses, SessionHostStartErrors, ThrowOnError, "fields">;
|
|
2926
|
+
/**
|
|
2927
|
+
* Get a hosted session
|
|
2928
|
+
*
|
|
2929
|
+
* Read a hosted session's normalized native detail without waking compute.
|
|
2930
|
+
*/
|
|
2931
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
2932
|
+
providerID: SessionHostProviderId;
|
|
2933
|
+
sessionID: string;
|
|
2934
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostGetResponses, SessionHostGetErrors, ThrowOnError, "fields">;
|
|
2935
|
+
/**
|
|
2936
|
+
* Read a hosted transcript
|
|
2937
|
+
*
|
|
2938
|
+
* Read a bounded page of a hosted session transcript without waking compute.
|
|
2939
|
+
*/
|
|
2940
|
+
transcript<ThrowOnError extends boolean = false>(parameters: {
|
|
2941
|
+
providerID: SessionHostProviderId;
|
|
2942
|
+
sessionID: string;
|
|
2943
|
+
limit?: string;
|
|
2944
|
+
before?: string;
|
|
2945
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostTranscriptResponses, SessionHostTranscriptErrors, ThrowOnError, "fields">;
|
|
2946
|
+
/**
|
|
2947
|
+
* Attach to a hosted session
|
|
2948
|
+
*
|
|
2949
|
+
* Mint an opaque local attachment that routes the proven native API for one hosted session. No provider origin, credential, or selector is exposed.
|
|
2950
|
+
*/
|
|
2951
|
+
attach<ThrowOnError extends boolean = false>(parameters: {
|
|
2952
|
+
providerID: SessionHostProviderId;
|
|
2953
|
+
sessionID: string;
|
|
2954
|
+
organizationID?: SessionHostOrganizationId;
|
|
2955
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostAttachResponses, SessionHostAttachErrors, ThrowOnError, "fields">;
|
|
2956
|
+
/**
|
|
2957
|
+
* Detach a hosted session
|
|
2958
|
+
*
|
|
2959
|
+
* Dispose a local attachment. This never changes Cloud lifecycle.
|
|
2960
|
+
*/
|
|
2961
|
+
detach<ThrowOnError extends boolean = false>(parameters: {
|
|
2962
|
+
attachmentID: string;
|
|
2963
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionHostDetachResponses, SessionHostDetachErrors, ThrowOnError, "fields">;
|
|
2964
|
+
}
|
|
2903
2965
|
export declare class Suggestion extends HeyApiClient {
|
|
2904
2966
|
/**
|
|
2905
2967
|
* List pending suggestions
|
|
@@ -3901,6 +3963,8 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
3901
3963
|
get remote(): Remote;
|
|
3902
3964
|
private _sandbox?;
|
|
3903
3965
|
get sandbox(): Sandbox;
|
|
3966
|
+
private _sessionHost?;
|
|
3967
|
+
get sessionHost(): SessionHost;
|
|
3904
3968
|
private _suggestion?;
|
|
3905
3969
|
get suggestion(): Suggestion;
|
|
3906
3970
|
private _telemetry?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -5640,6 +5640,123 @@ export class Sandbox extends HeyApiClient {
|
|
|
5640
5640
|
});
|
|
5641
5641
|
}
|
|
5642
5642
|
}
|
|
5643
|
+
export class SessionHost extends HeyApiClient {
|
|
5644
|
+
/**
|
|
5645
|
+
* List session host providers
|
|
5646
|
+
*
|
|
5647
|
+
* Report every registered session host provider with its availability and transport state.
|
|
5648
|
+
*/
|
|
5649
|
+
providers(options) {
|
|
5650
|
+
return (options?.client ?? this.client).get({ url: "/kilocode/session-host/provider", ...options });
|
|
5651
|
+
}
|
|
5652
|
+
/**
|
|
5653
|
+
* List hosted sessions
|
|
5654
|
+
*
|
|
5655
|
+
* List sessions from the authenticated default session host provider.
|
|
5656
|
+
*/
|
|
5657
|
+
list(parameters, options) {
|
|
5658
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "limit" }] }]);
|
|
5659
|
+
return (options?.client ?? this.client).get({
|
|
5660
|
+
url: "/kilocode/session-host/session",
|
|
5661
|
+
...options,
|
|
5662
|
+
...params,
|
|
5663
|
+
});
|
|
5664
|
+
}
|
|
5665
|
+
/**
|
|
5666
|
+
* Start a hosted session
|
|
5667
|
+
*
|
|
5668
|
+
* Start a hosted session and deliver the initial message. Reuse the same operation key and message ID to retry safely.
|
|
5669
|
+
*/
|
|
5670
|
+
start(parameters, options) {
|
|
5671
|
+
const params = buildClientParams([parameters], [{ args: [{ key: "sessionHostStartInput", map: "body" }] }]);
|
|
5672
|
+
return (options?.client ?? this.client).post({
|
|
5673
|
+
url: "/kilocode/session-host/session",
|
|
5674
|
+
...options,
|
|
5675
|
+
...params,
|
|
5676
|
+
headers: {
|
|
5677
|
+
"Content-Type": "application/json",
|
|
5678
|
+
...options?.headers,
|
|
5679
|
+
...params.headers,
|
|
5680
|
+
},
|
|
5681
|
+
});
|
|
5682
|
+
}
|
|
5683
|
+
/**
|
|
5684
|
+
* Get a hosted session
|
|
5685
|
+
*
|
|
5686
|
+
* Read a hosted session's normalized native detail without waking compute.
|
|
5687
|
+
*/
|
|
5688
|
+
get(parameters, options) {
|
|
5689
|
+
const params = buildClientParams([parameters], [
|
|
5690
|
+
{
|
|
5691
|
+
args: [
|
|
5692
|
+
{ in: "path", key: "providerID" },
|
|
5693
|
+
{ in: "path", key: "sessionID" },
|
|
5694
|
+
],
|
|
5695
|
+
},
|
|
5696
|
+
]);
|
|
5697
|
+
return (options?.client ?? this.client).get({
|
|
5698
|
+
url: "/kilocode/session-host/session/{providerID}/{sessionID}",
|
|
5699
|
+
...options,
|
|
5700
|
+
...params,
|
|
5701
|
+
});
|
|
5702
|
+
}
|
|
5703
|
+
/**
|
|
5704
|
+
* Read a hosted transcript
|
|
5705
|
+
*
|
|
5706
|
+
* Read a bounded page of a hosted session transcript without waking compute.
|
|
5707
|
+
*/
|
|
5708
|
+
transcript(parameters, options) {
|
|
5709
|
+
const params = buildClientParams([parameters], [
|
|
5710
|
+
{
|
|
5711
|
+
args: [
|
|
5712
|
+
{ in: "path", key: "providerID" },
|
|
5713
|
+
{ in: "path", key: "sessionID" },
|
|
5714
|
+
{ in: "query", key: "limit" },
|
|
5715
|
+
{ in: "query", key: "before" },
|
|
5716
|
+
],
|
|
5717
|
+
},
|
|
5718
|
+
]);
|
|
5719
|
+
return (options?.client ?? this.client).get({
|
|
5720
|
+
url: "/kilocode/session-host/session/{providerID}/{sessionID}/message",
|
|
5721
|
+
...options,
|
|
5722
|
+
...params,
|
|
5723
|
+
});
|
|
5724
|
+
}
|
|
5725
|
+
/**
|
|
5726
|
+
* Attach to a hosted session
|
|
5727
|
+
*
|
|
5728
|
+
* Mint an opaque local attachment that routes the proven native API for one hosted session. No provider origin, credential, or selector is exposed.
|
|
5729
|
+
*/
|
|
5730
|
+
attach(parameters, options) {
|
|
5731
|
+
const params = buildClientParams([parameters], [
|
|
5732
|
+
{
|
|
5733
|
+
args: [
|
|
5734
|
+
{ in: "path", key: "providerID" },
|
|
5735
|
+
{ in: "path", key: "sessionID" },
|
|
5736
|
+
{ in: "query", key: "organizationID" },
|
|
5737
|
+
],
|
|
5738
|
+
},
|
|
5739
|
+
]);
|
|
5740
|
+
return (options?.client ?? this.client).post({
|
|
5741
|
+
url: "/kilocode/session-host/session/{providerID}/{sessionID}/attach",
|
|
5742
|
+
...options,
|
|
5743
|
+
...params,
|
|
5744
|
+
});
|
|
5745
|
+
}
|
|
5746
|
+
/**
|
|
5747
|
+
* Detach a hosted session
|
|
5748
|
+
*
|
|
5749
|
+
* Dispose a local attachment. This never changes Cloud lifecycle.
|
|
5750
|
+
*/
|
|
5751
|
+
detach(parameters, options) {
|
|
5752
|
+
const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "attachmentID" }] }]);
|
|
5753
|
+
return (options?.client ?? this.client).delete({
|
|
5754
|
+
url: "/kilocode/session-host/attachment/{attachmentID}",
|
|
5755
|
+
...options,
|
|
5756
|
+
...params,
|
|
5757
|
+
});
|
|
5758
|
+
}
|
|
5759
|
+
}
|
|
5643
5760
|
export class Suggestion extends HeyApiClient {
|
|
5644
5761
|
/**
|
|
5645
5762
|
* List pending suggestions
|
|
@@ -7468,6 +7585,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
7468
7585
|
get sandbox() {
|
|
7469
7586
|
return (this._sandbox ??= new Sandbox({ client: this.client }));
|
|
7470
7587
|
}
|
|
7588
|
+
_sessionHost;
|
|
7589
|
+
get sessionHost() {
|
|
7590
|
+
return (this._sessionHost ??= new SessionHost({ client: this.client }));
|
|
7591
|
+
}
|
|
7471
7592
|
_suggestion;
|
|
7472
7593
|
get suggestion() {
|
|
7473
7594
|
return (this._suggestion ??= new Suggestion({ client: this.client }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventModelsDevRefreshed1 | EventIntegrationUpdated1 | EventIntegrationConnectionUpdated1 | EventCatalogUpdated1 | EventSessionCreated1 | EventSessionUpdated1 | EventSessionDeleted1 | EventMessageUpdated1 | EventMessageRemoved1 | EventMessagePartUpdated1 | EventMessagePartRemoved1 | EventSessionNextAgentSwitched1 | EventSessionNextModelSwitched1 | EventSessionNextMoved1 | EventSessionNextPrompted1 | EventSessionNextPromptAdmitted1 | EventSessionNextContextUpdated1 | EventSessionNextSynthetic1 | EventSessionNextShellStarted1 | EventSessionNextShellEnded1 | EventSessionNextStepStarted1 | EventSessionNextStepEnded1 | EventSessionNextStepFailed1 | EventSessionNextTextStarted1 | EventSessionNextTextDelta1 | EventSessionNextTextEnded1 | EventSessionNextReasoningStarted1 | EventSessionNextReasoningDelta1 | EventSessionNextReasoningEnded1 | EventSessionNextToolInputStarted1 | EventSessionNextToolInputDelta1 | EventSessionNextToolInputEnded1 | EventSessionNextToolCalled1 | EventSessionNextToolProgress1 | EventSessionNextToolSuccess1 | EventSessionNextToolFailed1 | EventSessionNextRetried1 | EventSessionNextCompactionStarted1 | EventSessionNextCompactionDelta1 | EventSessionNextCompactionEnded1 | EventSessionNextRevertStaged1 | EventSessionNextRevertCleared1 | EventSessionNextRevertCommitted1 | EventMessagePartDelta1 | EventSessionDiff1 | EventSessionError1 | EventInstallationUpdated1 | EventInstallationUpdateAvailable1 | EventFileEdited1 | EventReferenceUpdated1 | EventPermissionV2Asked1 | EventPermissionV2Replied1 | EventPluginAdded1 | EventProjectDirectoriesUpdated1 | EventFileWatcherUpdated1 | EventPtyCreated1 | EventPtyUpdated1 | EventPtyExited1 | EventPtyDeleted1 | EventQuestionV2Asked1 | EventQuestionV2Replied1 | EventQuestionV2Rejected1 | EventTodoUpdated1 | EventLspUpdated1 | EventPermissionAsked1 | EventPermissionReplied1 | EventTuiPromptAppend1 | EventTuiCommandExecute1 | EventTuiToastShow1 | EventTuiSessionSelect1 | EventMcpToolsChanged1 | EventMcpBrowserOpenFailed1 | EventMcpAuthUrl1 | EventCommandExecuted1 | EventProjectUpdated1 | EventSessionStatus1 | EventSessionIdle1 | EventQuestionAsked1 | EventQuestionReplied1 | EventQuestionRejected1 | EventSessionCompacted1 | EventVcsBranchUpdated1 | EventWorkspaceReady1 | EventWorkspaceFailed1 | EventWorkspaceStatus1 | EventWorktreeReady1 | EventWorktreeFailed1 | EventWorktreeSetupReady1 | EventServerConnected1 | EventGlobalDisposed1 | EventGlobalConfigUpdated1 | EventSessionDrained1 | EventSessionDrainInterrupted1 | EventSessionWakeup1 | EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextContextUpdated | EventSessionNextSynthetic | 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 | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow22 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMcpAuthUrl | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventWorktreeSetupReady | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventSessionDrained | EventSessionDrainInterrupted | EventSessionWakeup;
|
|
4
|
+
export type Event = EventModelsDevRefreshed1 | EventIntegrationUpdated1 | EventIntegrationConnectionUpdated1 | EventCatalogUpdated1 | EventSessionCreated1 | EventSessionUpdated1 | EventSessionDeleted1 | EventMessageUpdated1 | EventMessageRemoved1 | EventMessagePartUpdated1 | EventMessagePartRemoved1 | EventSessionNextAgentSwitched1 | EventSessionNextModelSwitched1 | EventSessionNextMoved1 | EventSessionNextPrompted1 | EventSessionNextPromptAdmitted1 | EventSessionNextContextUpdated1 | EventSessionNextSynthetic1 | EventSessionNextShellStarted1 | EventSessionNextShellEnded1 | EventSessionNextStepStarted1 | EventSessionNextStepEnded1 | EventSessionNextStepFailed1 | EventSessionNextTextStarted1 | EventSessionNextTextDelta1 | EventSessionNextTextEnded1 | EventSessionNextReasoningStarted1 | EventSessionNextReasoningDelta1 | EventSessionNextReasoningEnded1 | EventSessionNextToolInputStarted1 | EventSessionNextToolInputDelta1 | EventSessionNextToolInputEnded1 | EventSessionNextToolCalled1 | EventSessionNextToolProgress1 | EventSessionNextToolSuccess1 | EventSessionNextToolFailed1 | EventSessionNextRetried1 | EventSessionNextCompactionStarted1 | EventSessionNextCompactionDelta1 | EventSessionNextCompactionEnded1 | EventSessionNextRevertStaged1 | EventSessionNextRevertCleared1 | EventSessionNextRevertCommitted1 | EventMessagePartDelta1 | EventSessionDiff1 | EventSessionError1 | EventInstallationUpdated1 | EventInstallationUpdateAvailable1 | EventFileEdited1 | EventReferenceUpdated1 | EventPermissionV2Asked1 | EventPermissionV2Replied1 | EventPluginAdded1 | EventProjectDirectoriesUpdated1 | EventFileWatcherUpdated1 | EventPtyCreated1 | EventPtyUpdated1 | EventPtyExited1 | EventPtyDeleted1 | EventQuestionV2Asked1 | EventQuestionV2Replied1 | EventQuestionV2Rejected1 | EventTodoUpdated1 | EventLspUpdated1 | EventPermissionAsked1 | EventPermissionReplied1 | EventTuiPromptAppend1 | EventTuiCommandExecute1 | EventTuiToastShow1 | EventTuiSessionSelect1 | EventMcpToolsChanged1 | EventMcpBrowserOpenFailed1 | EventMcpAuthUrl1 | EventCommandExecuted1 | EventProjectUpdated1 | EventSessionStatus1 | EventSessionIdle1 | EventQuestionAsked1 | EventQuestionReplied1 | EventQuestionRejected1 | EventSessionCompacted1 | EventVcsBranchUpdated1 | EventWorkspaceReady1 | EventWorkspaceFailed1 | EventWorkspaceStatus1 | EventWorktreeReady1 | EventWorktreeFailed1 | EventWorktreeSetupReady1 | EventServerConnected1 | EventGlobalDisposed1 | EventGlobalConfigUpdated1 | EventSessionDrained1 | EventSessionDrainInterrupted1 | EventSessionWakeup1 | EventSessionHostAvailability1 | EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextContextUpdated | EventSessionNextSynthetic | 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 | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow22 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMcpAuthUrl | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventWorktreeSetupReady | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventSessionDrained | EventSessionDrainInterrupted | EventSessionWakeup | EventSessionHostAvailability;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -793,7 +793,7 @@ export type GlobalEvent = {
|
|
|
793
793
|
directory: string;
|
|
794
794
|
project?: string;
|
|
795
795
|
workspace?: string;
|
|
796
|
-
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextContextUpdated | EventSessionNextSynthetic | 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 | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMcpAuthUrl | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventWorktreeSetupReady | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventSessionDrained | EventSessionDrainInterrupted | EventSessionWakeup | {
|
|
796
|
+
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventModelsDevRefreshed | EventIntegrationUpdated | EventIntegrationConnectionUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextContextUpdated | EventSessionNextSynthetic | 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 | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMcpAuthUrl | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventWorktreeSetupReady | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventSessionDrained | EventSessionDrainInterrupted | EventSessionWakeup | EventSessionHostAvailability | {
|
|
797
797
|
id: string;
|
|
798
798
|
type: "models-dev.refreshed";
|
|
799
799
|
properties: {
|
|
@@ -1590,6 +1590,15 @@ export type GlobalEvent = {
|
|
|
1590
1590
|
sessionID: string;
|
|
1591
1591
|
pending: number;
|
|
1592
1592
|
};
|
|
1593
|
+
} | {
|
|
1594
|
+
id: string;
|
|
1595
|
+
type: "session.host.availability";
|
|
1596
|
+
properties: {
|
|
1597
|
+
providerID: string;
|
|
1598
|
+
sessionID?: string;
|
|
1599
|
+
state: "available" | "unavailable";
|
|
1600
|
+
reason?: string;
|
|
1601
|
+
};
|
|
1593
1602
|
} | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded | SyncEventSessionNextRevertStaged | SyncEventSessionNextRevertCleared | SyncEventSessionNextRevertCommitted;
|
|
1594
1603
|
};
|
|
1595
1604
|
/**
|
|
@@ -3912,6 +3921,118 @@ export type KilocodeMigrateSessionsDiscoverResult = {
|
|
|
3912
3921
|
*/
|
|
3913
3922
|
dropped: Array<string>;
|
|
3914
3923
|
};
|
|
3924
|
+
export type SessionHostProviderId = string;
|
|
3925
|
+
export type SessionHostAvailability = {
|
|
3926
|
+
state: "available";
|
|
3927
|
+
} | {
|
|
3928
|
+
state: "unavailable";
|
|
3929
|
+
reason: "signed_out" | "rejected" | "unreachable";
|
|
3930
|
+
message: string;
|
|
3931
|
+
};
|
|
3932
|
+
export type SessionHostTransport = {
|
|
3933
|
+
state: "unknown";
|
|
3934
|
+
} | {
|
|
3935
|
+
state: "reachable";
|
|
3936
|
+
checkedAt: number;
|
|
3937
|
+
} | {
|
|
3938
|
+
state: "unreachable";
|
|
3939
|
+
checkedAt: number;
|
|
3940
|
+
message: string;
|
|
3941
|
+
};
|
|
3942
|
+
export type SessionHostProviderStatus = {
|
|
3943
|
+
id: SessionHostProviderId;
|
|
3944
|
+
default: boolean;
|
|
3945
|
+
availability: SessionHostAvailability;
|
|
3946
|
+
transport: SessionHostTransport;
|
|
3947
|
+
};
|
|
3948
|
+
export type SessionHostProviders = {
|
|
3949
|
+
providers: Array<SessionHostProviderStatus>;
|
|
3950
|
+
};
|
|
3951
|
+
export type UnauthorizedError = {
|
|
3952
|
+
_tag: "UnauthorizedError";
|
|
3953
|
+
message: string;
|
|
3954
|
+
};
|
|
3955
|
+
export type UpstreamError = {
|
|
3956
|
+
_tag: "UpstreamError";
|
|
3957
|
+
message: string;
|
|
3958
|
+
service?: string;
|
|
3959
|
+
status?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3960
|
+
};
|
|
3961
|
+
export type ServiceUnavailableError = {
|
|
3962
|
+
_tag: "ServiceUnavailableError";
|
|
3963
|
+
message: string;
|
|
3964
|
+
service?: string;
|
|
3965
|
+
};
|
|
3966
|
+
export type SessionHostPaymentRequiredError = {
|
|
3967
|
+
code: string;
|
|
3968
|
+
message: string;
|
|
3969
|
+
};
|
|
3970
|
+
export type SessionHostRemoteSessionId = string;
|
|
3971
|
+
export type SessionHostIdentity = {
|
|
3972
|
+
providerID: SessionHostProviderId;
|
|
3973
|
+
sessionID: SessionHostRemoteSessionId;
|
|
3974
|
+
};
|
|
3975
|
+
export type SessionHostSession = {
|
|
3976
|
+
id: SessionHostIdentity;
|
|
3977
|
+
session: Session;
|
|
3978
|
+
};
|
|
3979
|
+
export type SessionHostSessionPage = {
|
|
3980
|
+
items: Array<SessionHostSession>;
|
|
3981
|
+
};
|
|
3982
|
+
export type SessionHostRepository = {
|
|
3983
|
+
type: "github";
|
|
3984
|
+
repo: string;
|
|
3985
|
+
branch?: string;
|
|
3986
|
+
} | {
|
|
3987
|
+
type: "gitlab";
|
|
3988
|
+
url: string;
|
|
3989
|
+
branch?: string;
|
|
3990
|
+
} | {
|
|
3991
|
+
type: "git";
|
|
3992
|
+
url: string;
|
|
3993
|
+
branch?: string;
|
|
3994
|
+
};
|
|
3995
|
+
export type SessionHostOrganizationId = string;
|
|
3996
|
+
export type SessionHostOrigin = "cli" | "desktop";
|
|
3997
|
+
export type SessionHostStartInput = {
|
|
3998
|
+
repository: SessionHostRepository;
|
|
3999
|
+
prompt: string;
|
|
4000
|
+
agent: {
|
|
4001
|
+
mode: string;
|
|
4002
|
+
model: string;
|
|
4003
|
+
};
|
|
4004
|
+
organizationID?: SessionHostOrganizationId;
|
|
4005
|
+
origin?: SessionHostOrigin;
|
|
4006
|
+
operationKey?: string;
|
|
4007
|
+
messageID?: string;
|
|
4008
|
+
};
|
|
4009
|
+
export type SessionHostStartResult = {
|
|
4010
|
+
session: SessionHostIdentity;
|
|
4011
|
+
messageID: string;
|
|
4012
|
+
delivery: "sent" | "queued";
|
|
4013
|
+
replayed: boolean;
|
|
4014
|
+
};
|
|
4015
|
+
export type SessionHostTranscriptPage = {
|
|
4016
|
+
items: Array<{
|
|
4017
|
+
info: Message;
|
|
4018
|
+
parts: Array<Part>;
|
|
4019
|
+
}>;
|
|
4020
|
+
cursor?: string;
|
|
4021
|
+
omitted?: number;
|
|
4022
|
+
};
|
|
4023
|
+
export type SessionHostAttachmentId = string;
|
|
4024
|
+
export type SessionHostAttached = {
|
|
4025
|
+
attachmentID: SessionHostAttachmentId;
|
|
4026
|
+
session: SessionHostIdentity;
|
|
4027
|
+
expiresAt: number;
|
|
4028
|
+
};
|
|
4029
|
+
export type SessionHostDetached = {
|
|
4030
|
+
detached: boolean;
|
|
4031
|
+
};
|
|
4032
|
+
export type SessionHostGoneError = {
|
|
4033
|
+
code: string;
|
|
4034
|
+
message: string;
|
|
4035
|
+
};
|
|
3915
4036
|
export type KilocodeSessionImportResult = {
|
|
3916
4037
|
ok: boolean;
|
|
3917
4038
|
id: string;
|
|
@@ -3931,10 +4052,6 @@ export type MemoryApiServerError = {
|
|
|
3931
4052
|
message: string;
|
|
3932
4053
|
};
|
|
3933
4054
|
};
|
|
3934
|
-
export type UnauthorizedError = {
|
|
3935
|
-
_tag: "UnauthorizedError";
|
|
3936
|
-
message: string;
|
|
3937
|
-
};
|
|
3938
4055
|
export type SessionsResponse = {
|
|
3939
4056
|
data: Array<SessionV2Info>;
|
|
3940
4057
|
cursor: {
|
|
@@ -3959,11 +4076,6 @@ export type PromptInput = {
|
|
|
3959
4076
|
files?: Array<PromptInputFileAttachment>;
|
|
3960
4077
|
agents?: Array<PromptAgentAttachment>;
|
|
3961
4078
|
};
|
|
3962
|
-
export type ServiceUnavailableError = {
|
|
3963
|
-
_tag: "ServiceUnavailableError";
|
|
3964
|
-
message: string;
|
|
3965
|
-
service?: string;
|
|
3966
|
-
};
|
|
3967
4079
|
export type MessageNotFoundError = {
|
|
3968
4080
|
_tag: "MessageNotFoundError";
|
|
3969
4081
|
sessionID: string;
|
|
@@ -4052,7 +4164,26 @@ export type QuestionRejected2 = {
|
|
|
4052
4164
|
requestID: string;
|
|
4053
4165
|
};
|
|
4054
4166
|
};
|
|
4055
|
-
export type
|
|
4167
|
+
export type SessionHostAvailability2 = {
|
|
4168
|
+
id: string;
|
|
4169
|
+
metadata?: {
|
|
4170
|
+
[key: string]: unknown;
|
|
4171
|
+
};
|
|
4172
|
+
type: "session.host.availability";
|
|
4173
|
+
durable?: {
|
|
4174
|
+
aggregateID: string;
|
|
4175
|
+
seq: number;
|
|
4176
|
+
version: number;
|
|
4177
|
+
};
|
|
4178
|
+
location?: LocationRef;
|
|
4179
|
+
data: {
|
|
4180
|
+
providerID: string;
|
|
4181
|
+
sessionID?: string;
|
|
4182
|
+
state: "available" | "unavailable";
|
|
4183
|
+
reason?: string;
|
|
4184
|
+
};
|
|
4185
|
+
};
|
|
4186
|
+
export type V2Event = ModelsDevRefreshed | IntegrationUpdated | IntegrationConnectionUpdated | CatalogUpdated | SessionCreated | SessionUpdated | SessionDeleted | MessageUpdated | MessageRemoved | MessagePartUpdated | MessagePartRemoved | SessionNextAgentSwitched | SessionNextModelSwitched | SessionNextMoved | SessionNextPrompted | SessionNextPromptAdmitted | SessionNextContextUpdated | SessionNextSynthetic | 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 | FileWatcherUpdated | PtyCreated | PtyUpdated | PtyExited | PtyDeleted | QuestionV2Asked | QuestionV2Replied | QuestionV2Rejected | TodoUpdated | LspUpdated | PermissionAsked | PermissionReplied | TuiPromptAppend | TuiCommandExecute | TuiToastShow | TuiSessionSelect | McpToolsChanged | McpBrowserOpenFailed | McpAuthUrl | CommandExecuted | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | WorktreeSetupReady | ServerConnected | GlobalDisposed | GlobalConfigUpdated | SessionDrained | SessionDrainInterrupted | SessionWakeup | SessionHostAvailability2;
|
|
4056
4187
|
export type V2EventStream = string;
|
|
4057
4188
|
export type ForbiddenError = {
|
|
4058
4189
|
_tag: "ForbiddenError";
|
|
@@ -5374,6 +5505,16 @@ export type EventSessionWakeup = {
|
|
|
5374
5505
|
pending: number;
|
|
5375
5506
|
};
|
|
5376
5507
|
};
|
|
5508
|
+
export type EventSessionHostAvailability = {
|
|
5509
|
+
id: string;
|
|
5510
|
+
type: "session.host.availability";
|
|
5511
|
+
properties: {
|
|
5512
|
+
providerID: string;
|
|
5513
|
+
sessionID?: string;
|
|
5514
|
+
state: "available" | "unavailable";
|
|
5515
|
+
reason?: string;
|
|
5516
|
+
};
|
|
5517
|
+
};
|
|
5377
5518
|
export type SyncEventSessionCreated = {
|
|
5378
5519
|
type: "sync";
|
|
5379
5520
|
id: string;
|
|
@@ -9121,6 +9262,16 @@ export type EventSessionWakeup1 = {
|
|
|
9121
9262
|
pending: number;
|
|
9122
9263
|
};
|
|
9123
9264
|
};
|
|
9265
|
+
export type EventSessionHostAvailability1 = {
|
|
9266
|
+
id: string;
|
|
9267
|
+
type: "session.host.availability";
|
|
9268
|
+
properties: {
|
|
9269
|
+
providerID: string;
|
|
9270
|
+
sessionID?: string;
|
|
9271
|
+
state: "available" | "unavailable";
|
|
9272
|
+
reason?: string;
|
|
9273
|
+
};
|
|
9274
|
+
};
|
|
9124
9275
|
export type EventMemoryStatus1 = {
|
|
9125
9276
|
id: string;
|
|
9126
9277
|
type: "memory.status";
|
|
@@ -15809,6 +15960,308 @@ export type SandboxToggleResponses = {
|
|
|
15809
15960
|
};
|
|
15810
15961
|
};
|
|
15811
15962
|
export type SandboxToggleResponse = SandboxToggleResponses[keyof SandboxToggleResponses];
|
|
15963
|
+
export type SessionHostProvidersData = {
|
|
15964
|
+
body?: never;
|
|
15965
|
+
path?: never;
|
|
15966
|
+
query?: never;
|
|
15967
|
+
url: "/kilocode/session-host/provider";
|
|
15968
|
+
};
|
|
15969
|
+
export type SessionHostProvidersErrors = {
|
|
15970
|
+
/**
|
|
15971
|
+
* InvalidRequestError
|
|
15972
|
+
*/
|
|
15973
|
+
400: InvalidRequestError;
|
|
15974
|
+
/**
|
|
15975
|
+
* SessionHostPaymentRequiredError
|
|
15976
|
+
*/
|
|
15977
|
+
402: SessionHostPaymentRequiredError;
|
|
15978
|
+
/**
|
|
15979
|
+
* NotFoundError
|
|
15980
|
+
*/
|
|
15981
|
+
404: NotFoundError;
|
|
15982
|
+
/**
|
|
15983
|
+
* ConflictError
|
|
15984
|
+
*/
|
|
15985
|
+
409: ConflictError;
|
|
15986
|
+
/**
|
|
15987
|
+
* UpstreamError
|
|
15988
|
+
*/
|
|
15989
|
+
502: UpstreamError;
|
|
15990
|
+
/**
|
|
15991
|
+
* ServiceUnavailableError
|
|
15992
|
+
*/
|
|
15993
|
+
503: ServiceUnavailableError;
|
|
15994
|
+
};
|
|
15995
|
+
export type SessionHostProvidersError = SessionHostProvidersErrors[keyof SessionHostProvidersErrors];
|
|
15996
|
+
export type SessionHostProvidersResponses = {
|
|
15997
|
+
/**
|
|
15998
|
+
* Registered session host providers
|
|
15999
|
+
*/
|
|
16000
|
+
200: SessionHostProviders;
|
|
16001
|
+
};
|
|
16002
|
+
export type SessionHostProvidersResponse = SessionHostProvidersResponses[keyof SessionHostProvidersResponses];
|
|
16003
|
+
export type SessionHostListData = {
|
|
16004
|
+
body?: never;
|
|
16005
|
+
path?: never;
|
|
16006
|
+
query?: {
|
|
16007
|
+
limit?: string;
|
|
16008
|
+
};
|
|
16009
|
+
url: "/kilocode/session-host/session";
|
|
16010
|
+
};
|
|
16011
|
+
export type SessionHostListErrors = {
|
|
16012
|
+
/**
|
|
16013
|
+
* InvalidRequestError
|
|
16014
|
+
*/
|
|
16015
|
+
400: InvalidRequestError;
|
|
16016
|
+
/**
|
|
16017
|
+
* SessionHostPaymentRequiredError
|
|
16018
|
+
*/
|
|
16019
|
+
402: SessionHostPaymentRequiredError;
|
|
16020
|
+
/**
|
|
16021
|
+
* NotFoundError
|
|
16022
|
+
*/
|
|
16023
|
+
404: NotFoundError;
|
|
16024
|
+
/**
|
|
16025
|
+
* ConflictError
|
|
16026
|
+
*/
|
|
16027
|
+
409: ConflictError;
|
|
16028
|
+
/**
|
|
16029
|
+
* UpstreamError
|
|
16030
|
+
*/
|
|
16031
|
+
502: UpstreamError;
|
|
16032
|
+
/**
|
|
16033
|
+
* ServiceUnavailableError
|
|
16034
|
+
*/
|
|
16035
|
+
503: ServiceUnavailableError;
|
|
16036
|
+
};
|
|
16037
|
+
export type SessionHostListError = SessionHostListErrors[keyof SessionHostListErrors];
|
|
16038
|
+
export type SessionHostListResponses = {
|
|
16039
|
+
/**
|
|
16040
|
+
* Hosted sessions
|
|
16041
|
+
*/
|
|
16042
|
+
200: SessionHostSessionPage;
|
|
16043
|
+
};
|
|
16044
|
+
export type SessionHostListResponse = SessionHostListResponses[keyof SessionHostListResponses];
|
|
16045
|
+
export type SessionHostStartData = {
|
|
16046
|
+
body?: SessionHostStartInput;
|
|
16047
|
+
path?: never;
|
|
16048
|
+
query?: never;
|
|
16049
|
+
url: "/kilocode/session-host/session";
|
|
16050
|
+
};
|
|
16051
|
+
export type SessionHostStartErrors = {
|
|
16052
|
+
/**
|
|
16053
|
+
* InvalidRequestError
|
|
16054
|
+
*/
|
|
16055
|
+
400: InvalidRequestError;
|
|
16056
|
+
/**
|
|
16057
|
+
* SessionHostPaymentRequiredError
|
|
16058
|
+
*/
|
|
16059
|
+
402: SessionHostPaymentRequiredError;
|
|
16060
|
+
/**
|
|
16061
|
+
* NotFoundError
|
|
16062
|
+
*/
|
|
16063
|
+
404: NotFoundError;
|
|
16064
|
+
/**
|
|
16065
|
+
* ConflictError
|
|
16066
|
+
*/
|
|
16067
|
+
409: ConflictError;
|
|
16068
|
+
/**
|
|
16069
|
+
* UpstreamError
|
|
16070
|
+
*/
|
|
16071
|
+
502: UpstreamError;
|
|
16072
|
+
/**
|
|
16073
|
+
* ServiceUnavailableError
|
|
16074
|
+
*/
|
|
16075
|
+
503: ServiceUnavailableError;
|
|
16076
|
+
};
|
|
16077
|
+
export type SessionHostStartError = SessionHostStartErrors[keyof SessionHostStartErrors];
|
|
16078
|
+
export type SessionHostStartResponses = {
|
|
16079
|
+
/**
|
|
16080
|
+
* Hosted session started
|
|
16081
|
+
*/
|
|
16082
|
+
200: SessionHostStartResult;
|
|
16083
|
+
};
|
|
16084
|
+
export type SessionHostStartResponse = SessionHostStartResponses[keyof SessionHostStartResponses];
|
|
16085
|
+
export type SessionHostGetData = {
|
|
16086
|
+
body?: never;
|
|
16087
|
+
path: {
|
|
16088
|
+
providerID: SessionHostProviderId;
|
|
16089
|
+
sessionID: string;
|
|
16090
|
+
};
|
|
16091
|
+
query?: never;
|
|
16092
|
+
url: "/kilocode/session-host/session/{providerID}/{sessionID}";
|
|
16093
|
+
};
|
|
16094
|
+
export type SessionHostGetErrors = {
|
|
16095
|
+
/**
|
|
16096
|
+
* InvalidRequestError
|
|
16097
|
+
*/
|
|
16098
|
+
400: InvalidRequestError;
|
|
16099
|
+
/**
|
|
16100
|
+
* SessionHostPaymentRequiredError
|
|
16101
|
+
*/
|
|
16102
|
+
402: SessionHostPaymentRequiredError;
|
|
16103
|
+
/**
|
|
16104
|
+
* NotFoundError
|
|
16105
|
+
*/
|
|
16106
|
+
404: NotFoundError;
|
|
16107
|
+
/**
|
|
16108
|
+
* ConflictError
|
|
16109
|
+
*/
|
|
16110
|
+
409: ConflictError;
|
|
16111
|
+
/**
|
|
16112
|
+
* UpstreamError
|
|
16113
|
+
*/
|
|
16114
|
+
502: UpstreamError;
|
|
16115
|
+
/**
|
|
16116
|
+
* ServiceUnavailableError
|
|
16117
|
+
*/
|
|
16118
|
+
503: ServiceUnavailableError;
|
|
16119
|
+
};
|
|
16120
|
+
export type SessionHostGetError = SessionHostGetErrors[keyof SessionHostGetErrors];
|
|
16121
|
+
export type SessionHostGetResponses = {
|
|
16122
|
+
/**
|
|
16123
|
+
* Hosted session
|
|
16124
|
+
*/
|
|
16125
|
+
200: SessionHostSession;
|
|
16126
|
+
};
|
|
16127
|
+
export type SessionHostGetResponse = SessionHostGetResponses[keyof SessionHostGetResponses];
|
|
16128
|
+
export type SessionHostTranscriptData = {
|
|
16129
|
+
body?: never;
|
|
16130
|
+
path: {
|
|
16131
|
+
providerID: SessionHostProviderId;
|
|
16132
|
+
sessionID: string;
|
|
16133
|
+
};
|
|
16134
|
+
query?: {
|
|
16135
|
+
limit?: string;
|
|
16136
|
+
before?: string;
|
|
16137
|
+
};
|
|
16138
|
+
url: "/kilocode/session-host/session/{providerID}/{sessionID}/message";
|
|
16139
|
+
};
|
|
16140
|
+
export type SessionHostTranscriptErrors = {
|
|
16141
|
+
/**
|
|
16142
|
+
* InvalidRequestError
|
|
16143
|
+
*/
|
|
16144
|
+
400: InvalidRequestError;
|
|
16145
|
+
/**
|
|
16146
|
+
* SessionHostPaymentRequiredError
|
|
16147
|
+
*/
|
|
16148
|
+
402: SessionHostPaymentRequiredError;
|
|
16149
|
+
/**
|
|
16150
|
+
* NotFoundError
|
|
16151
|
+
*/
|
|
16152
|
+
404: NotFoundError;
|
|
16153
|
+
/**
|
|
16154
|
+
* ConflictError
|
|
16155
|
+
*/
|
|
16156
|
+
409: ConflictError;
|
|
16157
|
+
/**
|
|
16158
|
+
* UpstreamError
|
|
16159
|
+
*/
|
|
16160
|
+
502: UpstreamError;
|
|
16161
|
+
/**
|
|
16162
|
+
* ServiceUnavailableError
|
|
16163
|
+
*/
|
|
16164
|
+
503: ServiceUnavailableError;
|
|
16165
|
+
};
|
|
16166
|
+
export type SessionHostTranscriptError = SessionHostTranscriptErrors[keyof SessionHostTranscriptErrors];
|
|
16167
|
+
export type SessionHostTranscriptResponses = {
|
|
16168
|
+
/**
|
|
16169
|
+
* Hosted transcript page
|
|
16170
|
+
*/
|
|
16171
|
+
200: SessionHostTranscriptPage;
|
|
16172
|
+
};
|
|
16173
|
+
export type SessionHostTranscriptResponse = SessionHostTranscriptResponses[keyof SessionHostTranscriptResponses];
|
|
16174
|
+
export type SessionHostAttachData = {
|
|
16175
|
+
body?: never;
|
|
16176
|
+
path: {
|
|
16177
|
+
providerID: SessionHostProviderId;
|
|
16178
|
+
sessionID: string;
|
|
16179
|
+
};
|
|
16180
|
+
query?: {
|
|
16181
|
+
organizationID?: SessionHostOrganizationId;
|
|
16182
|
+
};
|
|
16183
|
+
url: "/kilocode/session-host/session/{providerID}/{sessionID}/attach";
|
|
16184
|
+
};
|
|
16185
|
+
export type SessionHostAttachErrors = {
|
|
16186
|
+
/**
|
|
16187
|
+
* InvalidRequestError
|
|
16188
|
+
*/
|
|
16189
|
+
400: InvalidRequestError;
|
|
16190
|
+
/**
|
|
16191
|
+
* SessionHostPaymentRequiredError
|
|
16192
|
+
*/
|
|
16193
|
+
402: SessionHostPaymentRequiredError;
|
|
16194
|
+
/**
|
|
16195
|
+
* NotFoundError
|
|
16196
|
+
*/
|
|
16197
|
+
404: NotFoundError;
|
|
16198
|
+
/**
|
|
16199
|
+
* ConflictError
|
|
16200
|
+
*/
|
|
16201
|
+
409: ConflictError;
|
|
16202
|
+
/**
|
|
16203
|
+
* UpstreamError
|
|
16204
|
+
*/
|
|
16205
|
+
502: UpstreamError;
|
|
16206
|
+
/**
|
|
16207
|
+
* ServiceUnavailableError
|
|
16208
|
+
*/
|
|
16209
|
+
503: ServiceUnavailableError;
|
|
16210
|
+
};
|
|
16211
|
+
export type SessionHostAttachError = SessionHostAttachErrors[keyof SessionHostAttachErrors];
|
|
16212
|
+
export type SessionHostAttachResponses = {
|
|
16213
|
+
/**
|
|
16214
|
+
* Hosted session attached
|
|
16215
|
+
*/
|
|
16216
|
+
200: SessionHostAttached;
|
|
16217
|
+
};
|
|
16218
|
+
export type SessionHostAttachResponse = SessionHostAttachResponses[keyof SessionHostAttachResponses];
|
|
16219
|
+
export type SessionHostDetachData = {
|
|
16220
|
+
body?: never;
|
|
16221
|
+
path: {
|
|
16222
|
+
attachmentID: string;
|
|
16223
|
+
};
|
|
16224
|
+
query?: never;
|
|
16225
|
+
url: "/kilocode/session-host/attachment/{attachmentID}";
|
|
16226
|
+
};
|
|
16227
|
+
export type SessionHostDetachErrors = {
|
|
16228
|
+
/**
|
|
16229
|
+
* InvalidRequestError
|
|
16230
|
+
*/
|
|
16231
|
+
400: InvalidRequestError;
|
|
16232
|
+
/**
|
|
16233
|
+
* SessionHostPaymentRequiredError
|
|
16234
|
+
*/
|
|
16235
|
+
402: SessionHostPaymentRequiredError;
|
|
16236
|
+
/**
|
|
16237
|
+
* NotFoundError
|
|
16238
|
+
*/
|
|
16239
|
+
404: NotFoundError;
|
|
16240
|
+
/**
|
|
16241
|
+
* ConflictError
|
|
16242
|
+
*/
|
|
16243
|
+
409: ConflictError;
|
|
16244
|
+
/**
|
|
16245
|
+
* SessionHostGoneError
|
|
16246
|
+
*/
|
|
16247
|
+
410: SessionHostGoneError;
|
|
16248
|
+
/**
|
|
16249
|
+
* UpstreamError
|
|
16250
|
+
*/
|
|
16251
|
+
502: UpstreamError;
|
|
16252
|
+
/**
|
|
16253
|
+
* ServiceUnavailableError
|
|
16254
|
+
*/
|
|
16255
|
+
503: ServiceUnavailableError;
|
|
16256
|
+
};
|
|
16257
|
+
export type SessionHostDetachError = SessionHostDetachErrors[keyof SessionHostDetachErrors];
|
|
16258
|
+
export type SessionHostDetachResponses = {
|
|
16259
|
+
/**
|
|
16260
|
+
* Attachment disposed
|
|
16261
|
+
*/
|
|
16262
|
+
200: SessionHostDetached;
|
|
16263
|
+
};
|
|
16264
|
+
export type SessionHostDetachResponse = SessionHostDetachResponses[keyof SessionHostDetachResponses];
|
|
15812
16265
|
export type KilocodeSessionImportProjectData = {
|
|
15813
16266
|
body?: {
|
|
15814
16267
|
id: string;
|