@kilocode/sdk 7.4.21 → 7.4.23
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 +3 -12
- package/dist/v2/gen/sdk.gen.js +2 -22
- package/dist/v2/gen/types.gen.d.ts +59 -86
- 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, 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, 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, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingConsentErrors, IndexingConsentResponses, IndexingModelsErrors, IndexingModelsResponses, IndexingStatusErrors, IndexingStatusResponses, IndexingWarningsErrors, IndexingWarningsResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstanceReloadErrors, InstanceReloadResponses, InteractiveTerminalCloseErrors, InteractiveTerminalCloseResponses, InteractiveTerminalGetErrors, InteractiveTerminalGetResponses, InteractiveTerminalListErrors, InteractiveTerminalListResponses, InteractiveTerminalResizeErrors, InteractiveTerminalResizeInput, InteractiveTerminalResizeResponses, InteractiveTerminalWriteErrors, InteractiveTerminalWriteInput, InteractiveTerminalWriteResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloAuthStatusErrors, KiloAuthStatusResponses, KiloClawChatCredentialsErrors, KiloClawChatCredentialsResponses, KiloClawStatusErrors, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeAgentManagerListErrors, KilocodeAgentManagerListResponses, KilocodeAgentManagerRejectErrors, KilocodeAgentManagerRejectResponses, KilocodeAgentManagerReplyErrors, KilocodeAgentManagerReplyResponses, KilocodeAgentRequirementsErrors, KilocodeAgentRequirementsResponses, KilocodeCommandFilesErrors, KilocodeCommandFilesResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeNotebookListErrors, KilocodeNotebookListResponses, KilocodeNotebookRejectErrors, KilocodeNotebookRejectResponses, KilocodeNotebookReplyErrors, KilocodeNotebookReplyResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveCommandErrors, KilocodeRemoveCommandResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KilocodeSessionModelUsageErrors, KilocodeSessionModelUsageResponses, KiloEditErrors, KiloEditResponses, KiloFimResponses, KiloModelsImagesErrors, KiloModelsImagesResponses, KiloModelsTranscriptionsErrors, KiloModelsTranscriptionsResponses, KiloModesErrors, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LocationRef, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, 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, 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, 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, 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, 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, GlobalEventResponses, GlobalHealthErrors, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingConsentErrors, IndexingConsentResponses, IndexingModelsErrors, IndexingModelsResponses, IndexingStatusErrors, IndexingStatusResponses, IndexingWarningsErrors, IndexingWarningsResponses, InstanceDisposeErrors, InstanceDisposeResponses, InstanceReloadErrors, InstanceReloadResponses, InteractiveTerminalCloseErrors, InteractiveTerminalCloseResponses, InteractiveTerminalGetErrors, InteractiveTerminalGetResponses, InteractiveTerminalListErrors, InteractiveTerminalListResponses, InteractiveTerminalResizeErrors, InteractiveTerminalResizeInput, InteractiveTerminalResizeResponses, InteractiveTerminalWriteErrors, InteractiveTerminalWriteInput, InteractiveTerminalWriteResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloAuthStatusErrors, KiloAuthStatusResponses, KiloClawChatCredentialsErrors, KiloClawChatCredentialsResponses, KiloClawStatusErrors, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeAgentManagerListErrors, KilocodeAgentManagerListResponses, KilocodeAgentManagerRejectErrors, KilocodeAgentManagerRejectResponses, KilocodeAgentManagerReplyErrors, KilocodeAgentManagerReplyResponses, KilocodeCommandFilesErrors, KilocodeCommandFilesResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeNotebookListErrors, KilocodeNotebookListResponses, KilocodeNotebookRejectErrors, KilocodeNotebookRejectResponses, KilocodeNotebookReplyErrors, KilocodeNotebookReplyResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveCommandErrors, KilocodeRemoveCommandResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KilocodeSessionModelUsageErrors, KilocodeSessionModelUsageResponses, KiloEditErrors, KiloEditResponses, KiloFimResponses, KiloModelsImagesErrors, KiloModelsImagesResponses, KiloModelsTranscriptionsErrors, KiloModelsTranscriptionsResponses, KiloModesErrors, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LocationRef, LspStatusErrors, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectErrors, McpConnectResponses, McpDisconnectErrors, McpDisconnectResponses, McpLocalConfig, 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, 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, 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> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -2485,16 +2485,6 @@ export declare class SessionImport extends HeyApiClient {
|
|
|
2485
2485
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportPartResponses, KilocodeSessionImportPartErrors, ThrowOnError, "fields">;
|
|
2486
2486
|
}
|
|
2487
2487
|
export declare class Kilocode extends HeyApiClient {
|
|
2488
|
-
/**
|
|
2489
|
-
* Check agent requirements
|
|
2490
|
-
*
|
|
2491
|
-
* Check whether the selected agent's requirements are available in the request directory.
|
|
2492
|
-
*/
|
|
2493
|
-
agentRequirements<ThrowOnError extends boolean = false>(parameters: {
|
|
2494
|
-
directory?: string;
|
|
2495
|
-
workspace?: string;
|
|
2496
|
-
agent: string;
|
|
2497
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeAgentRequirementsResponses, KilocodeAgentRequirementsErrors, ThrowOnError, "fields">;
|
|
2498
2488
|
/**
|
|
2499
2489
|
* List command files
|
|
2500
2490
|
*
|
|
@@ -2527,12 +2517,13 @@ export declare class Kilocode extends HeyApiClient {
|
|
|
2527
2517
|
/**
|
|
2528
2518
|
* Remove a custom agent
|
|
2529
2519
|
*
|
|
2530
|
-
* Remove a custom (non-native) agent
|
|
2520
|
+
* Remove a custom (non-native) agent from one writable configuration scope, or every writable scope when omitted, and dispose cached instance state.
|
|
2531
2521
|
*/
|
|
2532
2522
|
removeAgent<ThrowOnError extends boolean = false>(parameters?: {
|
|
2533
2523
|
directory?: string;
|
|
2534
2524
|
workspace?: string;
|
|
2535
2525
|
name?: string;
|
|
2526
|
+
scope?: "global" | "project";
|
|
2536
2527
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeRemoveAgentResponses, KilocodeRemoveAgentErrors, ThrowOnError, "fields">;
|
|
2537
2528
|
/**
|
|
2538
2529
|
* Get session model usage
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -4740,27 +4740,6 @@ export class SessionImport extends HeyApiClient {
|
|
|
4740
4740
|
}
|
|
4741
4741
|
}
|
|
4742
4742
|
export class Kilocode extends HeyApiClient {
|
|
4743
|
-
/**
|
|
4744
|
-
* Check agent requirements
|
|
4745
|
-
*
|
|
4746
|
-
* Check whether the selected agent's requirements are available in the request directory.
|
|
4747
|
-
*/
|
|
4748
|
-
agentRequirements(parameters, options) {
|
|
4749
|
-
const params = buildClientParams([parameters], [
|
|
4750
|
-
{
|
|
4751
|
-
args: [
|
|
4752
|
-
{ in: "query", key: "directory" },
|
|
4753
|
-
{ in: "query", key: "workspace" },
|
|
4754
|
-
{ in: "query", key: "agent" },
|
|
4755
|
-
],
|
|
4756
|
-
},
|
|
4757
|
-
]);
|
|
4758
|
-
return (options?.client ?? this.client).get({
|
|
4759
|
-
url: "/kilocode/agent/requirements",
|
|
4760
|
-
...options,
|
|
4761
|
-
...params,
|
|
4762
|
-
});
|
|
4763
|
-
}
|
|
4764
4743
|
/**
|
|
4765
4744
|
* List command files
|
|
4766
4745
|
*
|
|
@@ -4836,7 +4815,7 @@ export class Kilocode extends HeyApiClient {
|
|
|
4836
4815
|
/**
|
|
4837
4816
|
* Remove a custom agent
|
|
4838
4817
|
*
|
|
4839
|
-
* Remove a custom (non-native) agent
|
|
4818
|
+
* Remove a custom (non-native) agent from one writable configuration scope, or every writable scope when omitted, and dispose cached instance state.
|
|
4840
4819
|
*/
|
|
4841
4820
|
removeAgent(parameters, options) {
|
|
4842
4821
|
const params = buildClientParams([parameters], [
|
|
@@ -4845,6 +4824,7 @@ export class Kilocode extends HeyApiClient {
|
|
|
4845
4824
|
{ in: "query", key: "directory" },
|
|
4846
4825
|
{ in: "query", key: "workspace" },
|
|
4847
4826
|
{ in: "body", key: "name" },
|
|
4827
|
+
{ in: "body", key: "scope" },
|
|
4848
4828
|
],
|
|
4849
4829
|
},
|
|
4850
4830
|
]);
|
|
@@ -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 | EventCommandExecuted1 | EventProjectUpdated1 | EventSessionStatus1 | EventSessionIdle1 | EventQuestionAsked1 | EventQuestionReplied1 | EventQuestionRejected1 | EventSessionCompacted1 | EventVcsBranchUpdated1 | EventWorkspaceReady1 | EventWorkspaceFailed1 | EventWorkspaceStatus1 | EventWorktreeReady1 | EventWorktreeFailed1 | EventServerConnected1 | EventGlobalDisposed1 | EventGlobalConfigUpdated1 | EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventLspClientDiagnostics | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | 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 | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated;
|
|
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 | EventCommandExecuted1 | EventProjectUpdated1 | EventSessionStatus1 | EventSessionIdle1 | EventQuestionAsked1 | EventQuestionReplied1 | EventQuestionRejected1 | EventSessionCompacted1 | EventVcsBranchUpdated1 | EventWorkspaceReady1 | EventWorkspaceFailed1 | EventWorkspaceStatus1 | EventWorktreeReady1 | EventWorktreeFailed1 | EventWorktreeSetupReady1 | EventServerConnected1 | EventGlobalDisposed1 | EventGlobalConfigUpdated1 | EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventLspClientDiagnostics | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | 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 | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventWorktreeSetupReady | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -280,6 +280,7 @@ export type Session = {
|
|
|
280
280
|
partID?: string;
|
|
281
281
|
snapshot?: string;
|
|
282
282
|
diff?: string;
|
|
283
|
+
workspace?: "restored" | "snapshots-disabled" | "unavailable";
|
|
283
284
|
};
|
|
284
285
|
};
|
|
285
286
|
export type OutputFormatText = {
|
|
@@ -792,7 +793,7 @@ export type GlobalEvent = {
|
|
|
792
793
|
directory: string;
|
|
793
794
|
project?: string;
|
|
794
795
|
workspace?: string;
|
|
795
|
-
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventLspClientDiagnostics | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | 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 | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | {
|
|
796
|
+
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventLspClientDiagnostics | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | 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 | EventCommandExecuted | EventProjectUpdated | EventSessionStatus | EventSessionIdle | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventWorktreeSetupReady | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | {
|
|
796
797
|
id: string;
|
|
797
798
|
type: "models-dev.refreshed";
|
|
798
799
|
properties: {
|
|
@@ -1537,6 +1538,13 @@ export type GlobalEvent = {
|
|
|
1537
1538
|
properties: {
|
|
1538
1539
|
message: string;
|
|
1539
1540
|
};
|
|
1541
|
+
} | {
|
|
1542
|
+
id: string;
|
|
1543
|
+
type: "worktree.setup.ready";
|
|
1544
|
+
properties: {
|
|
1545
|
+
name: string;
|
|
1546
|
+
branch?: string;
|
|
1547
|
+
};
|
|
1540
1548
|
} | {
|
|
1541
1549
|
id: string;
|
|
1542
1550
|
type: "server.connected";
|
|
@@ -1678,26 +1686,11 @@ export type AgentConfig = {
|
|
|
1678
1686
|
steps?: number;
|
|
1679
1687
|
maxSteps?: number;
|
|
1680
1688
|
permission?: PermissionConfig;
|
|
1681
|
-
requirements?: {
|
|
1682
|
-
skills?: Array<string>;
|
|
1683
|
-
mcps?: Array<string>;
|
|
1684
|
-
vscode_extensions?: Array<{
|
|
1685
|
-
name: string;
|
|
1686
|
-
id: string;
|
|
1687
|
-
}>;
|
|
1688
|
-
};
|
|
1689
1689
|
[key: string]: unknown | string | number | {
|
|
1690
1690
|
[key: string]: boolean;
|
|
1691
1691
|
} | boolean | "subagent" | "primary" | "all" | {
|
|
1692
1692
|
[key: string]: unknown;
|
|
1693
|
-
} | string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info" | number | PermissionConfig |
|
|
1694
|
-
skills?: Array<string>;
|
|
1695
|
-
mcps?: Array<string>;
|
|
1696
|
-
vscode_extensions?: Array<{
|
|
1697
|
-
name: string;
|
|
1698
|
-
id: string;
|
|
1699
|
-
}>;
|
|
1700
|
-
} | undefined;
|
|
1693
|
+
} | string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info" | number | PermissionConfig | undefined;
|
|
1701
1694
|
};
|
|
1702
1695
|
export type ProviderConfig = {
|
|
1703
1696
|
api?: string;
|
|
@@ -1730,14 +1723,14 @@ export type ProviderConfig = {
|
|
|
1730
1723
|
family?: string;
|
|
1731
1724
|
prompt?: "codex" | "gemini" | "beast" | "anthropic" | "trinity" | "anthropic_without_todo" | "ling" | "gpt55";
|
|
1732
1725
|
isFree?: boolean;
|
|
1733
|
-
ai_sdk_provider?: "
|
|
1726
|
+
ai_sdk_provider?: "anthropic" | "openai" | "openai-compatible" | "openrouter";
|
|
1734
1727
|
release_date?: string;
|
|
1735
1728
|
attachment?: boolean;
|
|
1736
1729
|
reasoning?: boolean;
|
|
1737
1730
|
temperature?: boolean;
|
|
1738
1731
|
tool_call?: boolean;
|
|
1739
|
-
interleaved?:
|
|
1740
|
-
field: "reasoning" | "reasoning_content" | "
|
|
1732
|
+
interleaved?: boolean | "reasoning" | "reasoning_content" | "reasoning_text" | string | {
|
|
1733
|
+
field: "reasoning" | "reasoning_content" | "reasoning_text" | string;
|
|
1741
1734
|
};
|
|
1742
1735
|
cost?: {
|
|
1743
1736
|
input: number;
|
|
@@ -1890,6 +1883,7 @@ export type Config = {
|
|
|
1890
1883
|
};
|
|
1891
1884
|
terminal_command_display?: "expanded" | "collapsed";
|
|
1892
1885
|
code_edit_display?: "expanded" | "collapsed";
|
|
1886
|
+
mcp_tool_display?: "expanded" | "collapsed";
|
|
1893
1887
|
hide_prompt_training_models?: boolean;
|
|
1894
1888
|
privacy_mode?: boolean;
|
|
1895
1889
|
/**
|
|
@@ -1921,6 +1915,7 @@ export type Config = {
|
|
|
1921
1915
|
[key: string]: string;
|
|
1922
1916
|
};
|
|
1923
1917
|
default_agent?: string;
|
|
1918
|
+
subagent_depth?: number;
|
|
1924
1919
|
username?: string;
|
|
1925
1920
|
mode?: {
|
|
1926
1921
|
build?: AgentConfig;
|
|
@@ -2012,10 +2007,8 @@ export type Config = {
|
|
|
2012
2007
|
experimental?: {
|
|
2013
2008
|
disable_paste_summary?: boolean;
|
|
2014
2009
|
batch_tool?: boolean;
|
|
2015
|
-
codebase_search?: boolean;
|
|
2016
2010
|
image_generation?: boolean;
|
|
2017
2011
|
image_generation_model?: string;
|
|
2018
|
-
agent_requirements?: boolean;
|
|
2019
2012
|
native_notebook_tools?: boolean;
|
|
2020
2013
|
speech_to_text_model?: string;
|
|
2021
2014
|
openTelemetry?: boolean;
|
|
@@ -2024,8 +2017,6 @@ export type Config = {
|
|
|
2024
2017
|
sandbox?: boolean;
|
|
2025
2018
|
sandbox_restrict_network?: boolean;
|
|
2026
2019
|
sandbox_writable_paths?: Array<string>;
|
|
2027
|
-
swe_pruner?: boolean;
|
|
2028
|
-
swe_pruner_model?: string;
|
|
2029
2020
|
mcp_timeout?: number;
|
|
2030
2021
|
policies?: Array<ConfigV2ExperimentalPolicy>;
|
|
2031
2022
|
};
|
|
@@ -2060,7 +2051,7 @@ export type Model = {
|
|
|
2060
2051
|
pdf: boolean;
|
|
2061
2052
|
};
|
|
2062
2053
|
interleaved: boolean | {
|
|
2063
|
-
field: "reasoning" | "reasoning_content" | "
|
|
2054
|
+
field: "reasoning" | "reasoning_content" | "reasoning_text" | string;
|
|
2064
2055
|
};
|
|
2065
2056
|
};
|
|
2066
2057
|
cost: {
|
|
@@ -2121,7 +2112,7 @@ export type Model = {
|
|
|
2121
2112
|
autoRouting?: {
|
|
2122
2113
|
models: Array<string>;
|
|
2123
2114
|
};
|
|
2124
|
-
ai_sdk_provider?: "
|
|
2115
|
+
ai_sdk_provider?: "anthropic" | "openai" | "openai-compatible" | "openrouter";
|
|
2125
2116
|
};
|
|
2126
2117
|
export type Provider = {
|
|
2127
2118
|
id: string;
|
|
@@ -2381,14 +2372,6 @@ export type Agent = {
|
|
|
2381
2372
|
options: {
|
|
2382
2373
|
[key: string]: unknown;
|
|
2383
2374
|
};
|
|
2384
|
-
requirements?: {
|
|
2385
|
-
skills?: Array<string>;
|
|
2386
|
-
mcps?: Array<string>;
|
|
2387
|
-
vscode_extensions?: Array<{
|
|
2388
|
-
name: string;
|
|
2389
|
-
id: string;
|
|
2390
|
-
}>;
|
|
2391
|
-
};
|
|
2392
2375
|
steps?: number;
|
|
2393
2376
|
};
|
|
2394
2377
|
export type LspStatus = {
|
|
@@ -3122,6 +3105,9 @@ export type BackgroundProcessLogs = {
|
|
|
3122
3105
|
export type CommitMessageNoChangesError = {
|
|
3123
3106
|
message: string;
|
|
3124
3107
|
};
|
|
3108
|
+
export type CommitMessageFailedError = {
|
|
3109
|
+
message: string;
|
|
3110
|
+
};
|
|
3125
3111
|
export type ConfigOverlayResponse = {
|
|
3126
3112
|
scope: "global" | "project";
|
|
3127
3113
|
effective: Config;
|
|
@@ -3337,30 +3323,6 @@ export type EffectHttpApiErrorServiceUnavailable = {
|
|
|
3337
3323
|
export type CloudSessionImportError = {
|
|
3338
3324
|
error: string;
|
|
3339
3325
|
};
|
|
3340
|
-
export type AgentRequirementResult = {
|
|
3341
|
-
agent: string;
|
|
3342
|
-
directory: string;
|
|
3343
|
-
enabled: boolean;
|
|
3344
|
-
state: "disabled" | "ready" | "blocked" | "error";
|
|
3345
|
-
skills: Array<{
|
|
3346
|
-
name: string;
|
|
3347
|
-
status: "ready" | "missing" | "error";
|
|
3348
|
-
message?: string;
|
|
3349
|
-
}>;
|
|
3350
|
-
mcps: Array<{
|
|
3351
|
-
name: string;
|
|
3352
|
-
status: "ready" | "missing" | "error";
|
|
3353
|
-
message?: string;
|
|
3354
|
-
}>;
|
|
3355
|
-
vscode_extensions: Array<{
|
|
3356
|
-
name: string;
|
|
3357
|
-
id: string;
|
|
3358
|
-
}>;
|
|
3359
|
-
error?: {
|
|
3360
|
-
code: "unknown_agent" | "malformed_declaration" | "discovery_failed" | "mcp_status_failed";
|
|
3361
|
-
message: string;
|
|
3362
|
-
};
|
|
3363
|
-
};
|
|
3364
3326
|
export type CommandFile = {
|
|
3365
3327
|
name: string;
|
|
3366
3328
|
description?: string;
|
|
@@ -3712,7 +3674,7 @@ export type QuestionRejected2 = {
|
|
|
3712
3674
|
requestID: string;
|
|
3713
3675
|
};
|
|
3714
3676
|
};
|
|
3715
|
-
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 | CommandExecuted | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | ServerConnected | GlobalDisposed | GlobalConfigUpdated;
|
|
3677
|
+
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 | CommandExecuted | ProjectUpdated | SessionStatus2 | SessionIdle | QuestionAsked | QuestionReplied2 | QuestionRejected2 | SessionCompacted | VcsBranchUpdated | WorkspaceReady | WorkspaceFailed | WorkspaceStatus | WorktreeReady | WorktreeFailed | WorktreeSetupReady | ServerConnected | GlobalDisposed | GlobalConfigUpdated;
|
|
3716
3678
|
export type V2EventStream = string;
|
|
3717
3679
|
export type ForbiddenError = {
|
|
3718
3680
|
_tag: "ForbiddenError";
|
|
@@ -4596,6 +4558,7 @@ export type RevertState = {
|
|
|
4596
4558
|
snapshot?: string;
|
|
4597
4559
|
diff?: string;
|
|
4598
4560
|
files?: Array<FileDiff>;
|
|
4561
|
+
workspace?: "restored" | "snapshots-disabled" | "unavailable";
|
|
4599
4562
|
};
|
|
4600
4563
|
export type EventSessionNextRevertStaged = {
|
|
4601
4564
|
id: string;
|
|
@@ -5015,6 +4978,14 @@ export type EventWorktreeFailed = {
|
|
|
5015
4978
|
message: string;
|
|
5016
4979
|
};
|
|
5017
4980
|
};
|
|
4981
|
+
export type EventWorktreeSetupReady = {
|
|
4982
|
+
id: string;
|
|
4983
|
+
type: "worktree.setup.ready";
|
|
4984
|
+
properties: {
|
|
4985
|
+
name: string;
|
|
4986
|
+
branch?: string;
|
|
4987
|
+
};
|
|
4988
|
+
};
|
|
5018
4989
|
export type EventServerConnected = {
|
|
5019
4990
|
id: string;
|
|
5020
4991
|
type: "server.connected";
|
|
@@ -7721,6 +7692,23 @@ export type WorktreeFailed = {
|
|
|
7721
7692
|
message: string;
|
|
7722
7693
|
};
|
|
7723
7694
|
};
|
|
7695
|
+
export type WorktreeSetupReady = {
|
|
7696
|
+
id: string;
|
|
7697
|
+
metadata?: {
|
|
7698
|
+
[key: string]: unknown;
|
|
7699
|
+
};
|
|
7700
|
+
type: "worktree.setup.ready";
|
|
7701
|
+
durable?: {
|
|
7702
|
+
aggregateID: string;
|
|
7703
|
+
seq: number;
|
|
7704
|
+
version: number;
|
|
7705
|
+
};
|
|
7706
|
+
location?: LocationRef;
|
|
7707
|
+
data: {
|
|
7708
|
+
name: string;
|
|
7709
|
+
branch?: string;
|
|
7710
|
+
};
|
|
7711
|
+
};
|
|
7724
7712
|
export type ServerConnected = {
|
|
7725
7713
|
id: string;
|
|
7726
7714
|
metadata?: {
|
|
@@ -8639,6 +8627,14 @@ export type EventWorktreeFailed1 = {
|
|
|
8639
8627
|
message: string;
|
|
8640
8628
|
};
|
|
8641
8629
|
};
|
|
8630
|
+
export type EventWorktreeSetupReady1 = {
|
|
8631
|
+
id: string;
|
|
8632
|
+
type: "worktree.setup.ready";
|
|
8633
|
+
properties: {
|
|
8634
|
+
name: string;
|
|
8635
|
+
branch?: string;
|
|
8636
|
+
};
|
|
8637
|
+
};
|
|
8642
8638
|
export type EventServerConnected1 = {
|
|
8643
8639
|
id: string;
|
|
8644
8640
|
type: "server.connected";
|
|
@@ -12824,9 +12820,9 @@ export type CommitMessageGenerateErrors = {
|
|
|
12824
12820
|
*/
|
|
12825
12821
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
12826
12822
|
/**
|
|
12827
|
-
* CommitMessageNoChangesError
|
|
12823
|
+
* CommitMessageNoChangesError | CommitMessageFailedError
|
|
12828
12824
|
*/
|
|
12829
|
-
422: CommitMessageNoChangesError;
|
|
12825
|
+
422: CommitMessageNoChangesError | CommitMessageFailedError;
|
|
12830
12826
|
};
|
|
12831
12827
|
export type CommitMessageGenerateError = CommitMessageGenerateErrors[keyof CommitMessageGenerateErrors];
|
|
12832
12828
|
export type CommitMessageGenerateResponses = {
|
|
@@ -14009,30 +14005,6 @@ export type KilocodeHeapSnapshotResponses = {
|
|
|
14009
14005
|
200: string;
|
|
14010
14006
|
};
|
|
14011
14007
|
export type KilocodeHeapSnapshotResponse = KilocodeHeapSnapshotResponses[keyof KilocodeHeapSnapshotResponses];
|
|
14012
|
-
export type KilocodeAgentRequirementsData = {
|
|
14013
|
-
body?: never;
|
|
14014
|
-
path?: never;
|
|
14015
|
-
query: {
|
|
14016
|
-
directory?: string;
|
|
14017
|
-
workspace?: string;
|
|
14018
|
-
agent: string;
|
|
14019
|
-
};
|
|
14020
|
-
url: "/kilocode/agent/requirements";
|
|
14021
|
-
};
|
|
14022
|
-
export type KilocodeAgentRequirementsErrors = {
|
|
14023
|
-
/**
|
|
14024
|
-
* Bad request
|
|
14025
|
-
*/
|
|
14026
|
-
400: BadRequestError;
|
|
14027
|
-
};
|
|
14028
|
-
export type KilocodeAgentRequirementsError = KilocodeAgentRequirementsErrors[keyof KilocodeAgentRequirementsErrors];
|
|
14029
|
-
export type KilocodeAgentRequirementsResponses = {
|
|
14030
|
-
/**
|
|
14031
|
-
* Agent requirement status
|
|
14032
|
-
*/
|
|
14033
|
-
200: AgentRequirementResult;
|
|
14034
|
-
};
|
|
14035
|
-
export type KilocodeAgentRequirementsResponse = KilocodeAgentRequirementsResponses[keyof KilocodeAgentRequirementsResponses];
|
|
14036
14008
|
export type KilocodeCommandFilesData = {
|
|
14037
14009
|
body?: never;
|
|
14038
14010
|
path?: never;
|
|
@@ -14109,6 +14081,7 @@ export type KilocodeRemoveSkillResponse = KilocodeRemoveSkillResponses[keyof Kil
|
|
|
14109
14081
|
export type KilocodeRemoveAgentData = {
|
|
14110
14082
|
body?: {
|
|
14111
14083
|
name: string;
|
|
14084
|
+
scope?: "global" | "project";
|
|
14112
14085
|
};
|
|
14113
14086
|
path?: never;
|
|
14114
14087
|
query?: {
|