@kilocode/sdk 7.4.16 → 7.4.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
2
- import type { 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, 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, 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, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeNotebookListErrors, KilocodeNotebookListResponses, KilocodeNotebookRejectErrors, KilocodeNotebookRejectResponses, KilocodeNotebookReplyErrors, KilocodeNotebookReplyResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KilocodeSessionModelUsageErrors, KilocodeSessionModelUsageResponses, KiloEditErrors, KiloEditResponses, KiloFimResponses, KiloModelsImagesErrors, KiloModelsImagesResponses, 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, 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, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, Prompt, 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, V2QuestionRequestListErrors, V2QuestionRequestListResponses, V2ReferenceListErrors, V2ReferenceListResponses, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, 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, 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, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeNotebookListErrors, KilocodeNotebookListResponses, KilocodeNotebookRejectErrors, KilocodeNotebookRejectResponses, KilocodeNotebookReplyErrors, KilocodeNotebookReplyResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KilocodeSessionModelUsageErrors, KilocodeSessionModelUsageResponses, KiloEditErrors, KiloEditResponses, KiloFimResponses, KiloModelsImagesErrors, KiloModelsImagesResponses, 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, 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, ProjectCurrentErrors, ProjectCurrentResponses, ProjectDirectoriesErrors, ProjectDirectoriesResponses, ProjectInitGitErrors, ProjectInitGitResponses, ProjectListErrors, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, Prompt, 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, V2SessionCompactErrors, V2SessionCompactResponses, V2SessionContextErrors, V2SessionContextResponses, V2SessionCreateErrors, V2SessionCreateResponses, V2SessionGetErrors, V2SessionGetResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPermissionListErrors, V2SessionPermissionListResponses, V2SessionPermissionReplyErrors, V2SessionPermissionReplyResponses, V2SessionPromptErrors, V2SessionPromptResponses, V2SessionQuestionListErrors, V2SessionQuestionListResponses, V2SessionQuestionRejectErrors, V2SessionQuestionRejectResponses, V2SessionQuestionReplyErrors, V2SessionQuestionReplyResponses, 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
@@ -91,6 +91,17 @@ export declare class ControlPlane extends HeyApiClient {
91
91
  moveChanges?: boolean;
92
92
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalControlPlaneMoveSessionResponses, ExperimentalControlPlaneMoveSessionErrors, ThrowOnError, "fields">;
93
93
  }
94
+ export declare class Capabilities extends HeyApiClient {
95
+ /**
96
+ * Get experimental capabilities
97
+ *
98
+ * Get experimental features enabled on the Kilo server.
99
+ */
100
+ get<ThrowOnError extends boolean = false>(parameters?: {
101
+ directory?: string;
102
+ workspace?: string;
103
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalCapabilitiesGetResponses, ExperimentalCapabilitiesGetErrors, ThrowOnError, "fields">;
104
+ }
94
105
  export declare class Console extends HeyApiClient {
95
106
  /**
96
107
  * Get active Console provider metadata
@@ -256,6 +267,8 @@ export declare class Workspace extends HeyApiClient {
256
267
  export declare class Experimental extends HeyApiClient {
257
268
  private _controlPlane?;
258
269
  get controlPlane(): ControlPlane;
270
+ private _capabilities?;
271
+ get capabilities(): Capabilities;
259
272
  private _console?;
260
273
  get console(): Console;
261
274
  private _session?;
@@ -3101,6 +3114,10 @@ export declare class Credential extends HeyApiClient {
3101
3114
  */
3102
3115
  remove<ThrowOnError extends boolean = false>(parameters: {
3103
3116
  credentialID: string;
3117
+ location?: {
3118
+ directory?: string;
3119
+ workspace?: string;
3120
+ };
3104
3121
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2CredentialRemoveResponses, V2CredentialRemoveErrors, ThrowOnError, "fields">;
3105
3122
  /**
3106
3123
  * Update credential
@@ -3109,6 +3126,10 @@ export declare class Credential extends HeyApiClient {
3109
3126
  */
3110
3127
  update<ThrowOnError extends boolean = false>(parameters: {
3111
3128
  credentialID: string;
3129
+ location?: {
3130
+ directory?: string;
3131
+ workspace?: string;
3132
+ };
3112
3133
  label?: string;
3113
3134
  }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2CredentialUpdateResponses, V2CredentialUpdateErrors, ThrowOnError, "fields">;
3114
3135
  }
@@ -3228,6 +3249,103 @@ export declare class Event2 extends HeyApiClient {
3228
3249
  };
3229
3250
  }, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<V2EventSubscribeResponses>>;
3230
3251
  }
3252
+ export declare class Pty2 extends HeyApiClient {
3253
+ /**
3254
+ * List PTY sessions
3255
+ *
3256
+ * List PTY sessions for a location, including exited sessions retained until removal.
3257
+ */
3258
+ list<ThrowOnError extends boolean = false>(parameters?: {
3259
+ location?: {
3260
+ directory?: string;
3261
+ workspace?: string;
3262
+ };
3263
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyListResponses, V2PtyListErrors, ThrowOnError, "fields">;
3264
+ /**
3265
+ * Create PTY session
3266
+ *
3267
+ * Create a pseudo-terminal session for a location.
3268
+ */
3269
+ create<ThrowOnError extends boolean = false>(parameters?: {
3270
+ location?: {
3271
+ directory?: string;
3272
+ workspace?: string;
3273
+ };
3274
+ command?: string;
3275
+ args?: Array<string>;
3276
+ cwd?: string;
3277
+ title?: string;
3278
+ env?: {
3279
+ [key: string]: string;
3280
+ };
3281
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyCreateResponses, V2PtyCreateErrors, ThrowOnError, "fields">;
3282
+ /**
3283
+ * Remove PTY session
3284
+ *
3285
+ * Terminate and remove one PTY session.
3286
+ */
3287
+ remove<ThrowOnError extends boolean = false>(parameters: {
3288
+ ptyID: string;
3289
+ location?: {
3290
+ directory?: string;
3291
+ workspace?: string;
3292
+ };
3293
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyRemoveResponses, V2PtyRemoveErrors, ThrowOnError, "fields">;
3294
+ /**
3295
+ * Get PTY session
3296
+ *
3297
+ * Get one PTY session, including its exit code once exited.
3298
+ */
3299
+ get<ThrowOnError extends boolean = false>(parameters: {
3300
+ ptyID: string;
3301
+ location?: {
3302
+ directory?: string;
3303
+ workspace?: string;
3304
+ };
3305
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyGetResponses, V2PtyGetErrors, ThrowOnError, "fields">;
3306
+ /**
3307
+ * Update PTY session
3308
+ *
3309
+ * Update the title or viewport size of one PTY session.
3310
+ */
3311
+ update<ThrowOnError extends boolean = false>(parameters: {
3312
+ ptyID: string;
3313
+ location?: {
3314
+ directory?: string;
3315
+ workspace?: string;
3316
+ };
3317
+ title?: string;
3318
+ sessionID?: string;
3319
+ size?: {
3320
+ rows: number;
3321
+ cols: number;
3322
+ };
3323
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyUpdateResponses, V2PtyUpdateErrors, ThrowOnError, "fields">;
3324
+ /**
3325
+ * Create PTY WebSocket token
3326
+ *
3327
+ * Create a short-lived single-use ticket for opening a PTY WebSocket connection.
3328
+ */
3329
+ connectToken<ThrowOnError extends boolean = false>(parameters: {
3330
+ ptyID: string;
3331
+ location?: {
3332
+ directory?: string;
3333
+ workspace?: string;
3334
+ };
3335
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyConnectTokenResponses, V2PtyConnectTokenErrors, ThrowOnError, "fields">;
3336
+ /**
3337
+ * Connect to PTY session
3338
+ *
3339
+ * Establish a WebSocket connection streaming PTY output and accepting terminal input.
3340
+ */
3341
+ connect<ThrowOnError extends boolean = false>(parameters: {
3342
+ ptyID: string;
3343
+ "location[directory]"?: string;
3344
+ "location[workspace]"?: string;
3345
+ cursor?: string;
3346
+ ticket?: string;
3347
+ }, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2PtyConnectResponses, V2PtyConnectErrors, ThrowOnError, "fields">;
3348
+ }
3231
3349
  export declare class Request2 extends HeyApiClient {
3232
3350
  /**
3233
3351
  * List pending question requests
@@ -3313,6 +3431,8 @@ export declare class V2 extends HeyApiClient {
3313
3431
  get skill(): Skill;
3314
3432
  private _event?;
3315
3433
  get event(): Event2;
3434
+ private _pty?;
3435
+ get pty(): Pty2;
3316
3436
  private _question?;
3317
3437
  get question(): Question3;
3318
3438
  private _reference?;
@@ -160,6 +160,28 @@ export class ControlPlane extends HeyApiClient {
160
160
  });
161
161
  }
162
162
  }
163
+ export class Capabilities extends HeyApiClient {
164
+ /**
165
+ * Get experimental capabilities
166
+ *
167
+ * Get experimental features enabled on the Kilo server.
168
+ */
169
+ get(parameters, options) {
170
+ const params = buildClientParams([parameters], [
171
+ {
172
+ args: [
173
+ { in: "query", key: "directory" },
174
+ { in: "query", key: "workspace" },
175
+ ],
176
+ },
177
+ ]);
178
+ return (options?.client ?? this.client).get({
179
+ url: "/experimental/capabilities",
180
+ ...options,
181
+ ...params,
182
+ });
183
+ }
184
+ }
163
185
  export class Console extends HeyApiClient {
164
186
  /**
165
187
  * Get active Console provider metadata
@@ -503,6 +525,10 @@ export class Experimental extends HeyApiClient {
503
525
  get controlPlane() {
504
526
  return (this._controlPlane ??= new ControlPlane({ client: this.client }));
505
527
  }
528
+ _capabilities;
529
+ get capabilities() {
530
+ return (this._capabilities ??= new Capabilities({ client: this.client }));
531
+ }
506
532
  _console;
507
533
  get console() {
508
534
  return (this._console ??= new Console({ client: this.client }));
@@ -5933,7 +5959,14 @@ export class Credential extends HeyApiClient {
5933
5959
  * Remove a stored integration credential.
5934
5960
  */
5935
5961
  remove(parameters, options) {
5936
- const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "credentialID" }] }]);
5962
+ const params = buildClientParams([parameters], [
5963
+ {
5964
+ args: [
5965
+ { in: "path", key: "credentialID" },
5966
+ { in: "query", key: "location" },
5967
+ ],
5968
+ },
5969
+ ]);
5937
5970
  return (options?.client ?? this.client).delete({
5938
5971
  url: "/api/credential/{credentialID}",
5939
5972
  ...options,
@@ -5950,6 +5983,7 @@ export class Credential extends HeyApiClient {
5950
5983
  {
5951
5984
  args: [
5952
5985
  { in: "path", key: "credentialID" },
5986
+ { in: "query", key: "location" },
5953
5987
  { in: "body", key: "label" },
5954
5988
  ],
5955
5989
  },
@@ -6128,6 +6162,161 @@ export class Event2 extends HeyApiClient {
6128
6162
  });
6129
6163
  }
6130
6164
  }
6165
+ export class Pty2 extends HeyApiClient {
6166
+ /**
6167
+ * List PTY sessions
6168
+ *
6169
+ * List PTY sessions for a location, including exited sessions retained until removal.
6170
+ */
6171
+ list(parameters, options) {
6172
+ const params = buildClientParams([parameters], [{ args: [{ in: "query", key: "location" }] }]);
6173
+ return (options?.client ?? this.client).get({
6174
+ url: "/api/pty",
6175
+ ...options,
6176
+ ...params,
6177
+ });
6178
+ }
6179
+ /**
6180
+ * Create PTY session
6181
+ *
6182
+ * Create a pseudo-terminal session for a location.
6183
+ */
6184
+ create(parameters, options) {
6185
+ const params = buildClientParams([parameters], [
6186
+ {
6187
+ args: [
6188
+ { in: "query", key: "location" },
6189
+ { in: "body", key: "command" },
6190
+ { in: "body", key: "args" },
6191
+ { in: "body", key: "cwd" },
6192
+ { in: "body", key: "title" },
6193
+ { in: "body", key: "env" },
6194
+ ],
6195
+ },
6196
+ ]);
6197
+ return (options?.client ?? this.client).post({
6198
+ url: "/api/pty",
6199
+ ...options,
6200
+ ...params,
6201
+ headers: {
6202
+ "Content-Type": "application/json",
6203
+ ...options?.headers,
6204
+ ...params.headers,
6205
+ },
6206
+ });
6207
+ }
6208
+ /**
6209
+ * Remove PTY session
6210
+ *
6211
+ * Terminate and remove one PTY session.
6212
+ */
6213
+ remove(parameters, options) {
6214
+ const params = buildClientParams([parameters], [
6215
+ {
6216
+ args: [
6217
+ { in: "path", key: "ptyID" },
6218
+ { in: "query", key: "location" },
6219
+ ],
6220
+ },
6221
+ ]);
6222
+ return (options?.client ?? this.client).delete({
6223
+ url: "/api/pty/{ptyID}",
6224
+ ...options,
6225
+ ...params,
6226
+ });
6227
+ }
6228
+ /**
6229
+ * Get PTY session
6230
+ *
6231
+ * Get one PTY session, including its exit code once exited.
6232
+ */
6233
+ get(parameters, options) {
6234
+ const params = buildClientParams([parameters], [
6235
+ {
6236
+ args: [
6237
+ { in: "path", key: "ptyID" },
6238
+ { in: "query", key: "location" },
6239
+ ],
6240
+ },
6241
+ ]);
6242
+ return (options?.client ?? this.client).get({
6243
+ url: "/api/pty/{ptyID}",
6244
+ ...options,
6245
+ ...params,
6246
+ });
6247
+ }
6248
+ /**
6249
+ * Update PTY session
6250
+ *
6251
+ * Update the title or viewport size of one PTY session.
6252
+ */
6253
+ update(parameters, options) {
6254
+ const params = buildClientParams([parameters], [
6255
+ {
6256
+ args: [
6257
+ { in: "path", key: "ptyID" },
6258
+ { in: "query", key: "location" },
6259
+ { in: "body", key: "title" },
6260
+ { in: "body", key: "sessionID" },
6261
+ { in: "body", key: "size" },
6262
+ ],
6263
+ },
6264
+ ]);
6265
+ return (options?.client ?? this.client).put({
6266
+ url: "/api/pty/{ptyID}",
6267
+ ...options,
6268
+ ...params,
6269
+ headers: {
6270
+ "Content-Type": "application/json",
6271
+ ...options?.headers,
6272
+ ...params.headers,
6273
+ },
6274
+ });
6275
+ }
6276
+ /**
6277
+ * Create PTY WebSocket token
6278
+ *
6279
+ * Create a short-lived single-use ticket for opening a PTY WebSocket connection.
6280
+ */
6281
+ connectToken(parameters, options) {
6282
+ const params = buildClientParams([parameters], [
6283
+ {
6284
+ args: [
6285
+ { in: "path", key: "ptyID" },
6286
+ { in: "query", key: "location" },
6287
+ ],
6288
+ },
6289
+ ]);
6290
+ return (options?.client ?? this.client).post({
6291
+ url: "/api/pty/{ptyID}/connect-token",
6292
+ ...options,
6293
+ ...params,
6294
+ });
6295
+ }
6296
+ /**
6297
+ * Connect to PTY session
6298
+ *
6299
+ * Establish a WebSocket connection streaming PTY output and accepting terminal input.
6300
+ */
6301
+ connect(parameters, options) {
6302
+ const params = buildClientParams([parameters], [
6303
+ {
6304
+ args: [
6305
+ { in: "path", key: "ptyID" },
6306
+ { in: "query", key: "location[directory]" },
6307
+ { in: "query", key: "location[workspace]" },
6308
+ { in: "query", key: "cursor" },
6309
+ { in: "query", key: "ticket" },
6310
+ ],
6311
+ },
6312
+ ]);
6313
+ return (options?.client ?? this.client).get({
6314
+ url: "/api/pty/{ptyID}/connect",
6315
+ ...options,
6316
+ ...params,
6317
+ });
6318
+ }
6319
+ }
6131
6320
  export class Request2 extends HeyApiClient {
6132
6321
  /**
6133
6322
  * List pending question requests
@@ -6279,6 +6468,10 @@ export class V2 extends HeyApiClient {
6279
6468
  get event() {
6280
6469
  return (this._event ??= new Event2({ client: this.client }));
6281
6470
  }
6471
+ _pty;
6472
+ get pty() {
6473
+ return (this._pty ??= new Pty2({ client: this.client }));
6474
+ }
6282
6475
  _question;
6283
6476
  get question() {
6284
6477
  return (this._question ??= new Question3({ client: this.client }));
@@ -1,7 +1,7 @@
1
1
  export type ClientOptions = {
2
2
  baseUrl: `${string}://${string}` | (string & {});
3
3
  };
4
- export type Event = EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventCatalogModelUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventIntegrationUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed;
4
+ export type Event = EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventIntegrationUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed;
5
5
  export type QuestionReplied = {
6
6
  sessionID: string;
7
7
  requestID: string;
@@ -764,6 +764,7 @@ export type Pty = {
764
764
  cwd: string;
765
765
  status: "running" | "exited";
766
766
  pid: number;
767
+ exitCode?: number;
767
768
  sessionID?: string | null;
768
769
  };
769
770
  export type Todo = {
@@ -806,7 +807,7 @@ export type GlobalEvent = {
806
807
  directory: string;
807
808
  project?: string;
808
809
  workspace?: string;
809
- payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventCatalogModelUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventIntegrationUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextPromptPromoted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded;
810
+ payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventLspClientDiagnostics | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventIntegrationUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventModelsDevRefreshed | EventInstallationUpdated | EventInstallationUpdateAvailable | EventPermissionAsked | EventPermissionReplied | EventReferenceUpdated | EventPermissionV2Asked | EventPermissionV2Replied | EventProjectDirectoriesUpdated | EventFileEdited | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventLspUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextPromptPromoted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded;
810
811
  };
811
812
  /**
812
813
  * Log level
@@ -1390,6 +1391,9 @@ export type Provider = {
1390
1391
  [key: string]: Model;
1391
1392
  };
1392
1393
  };
1394
+ export type ExperimentalCapabilities = {
1395
+ backgroundSubagents: boolean;
1396
+ };
1393
1397
  export type ConsoleState = {
1394
1398
  consoleManagedProviders: Array<string>;
1395
1399
  activeOrgName?: string;
@@ -2827,6 +2831,10 @@ export type ProviderNotFoundError = {
2827
2831
  providerID: string;
2828
2832
  message: string;
2829
2833
  };
2834
+ export type ForbiddenError = {
2835
+ _tag: "ForbiddenError";
2836
+ message: string;
2837
+ };
2830
2838
  export type ProjectCopyError = {
2831
2839
  name: "ProjectCopyError";
2832
2840
  data: {
@@ -2879,7 +2887,7 @@ export type EventSessionTurnClose = {
2879
2887
  properties: {
2880
2888
  sessionID: string;
2881
2889
  parentID?: string;
2882
- reason: "completed" | "error" | "interrupted";
2890
+ reason: "completed" | "error" | "interrupted" | "superseded";
2883
2891
  };
2884
2892
  };
2885
2893
  export type EventSessionQueueChanged = {
@@ -3220,104 +3228,18 @@ export type EventPluginAdded = {
3220
3228
  id: string;
3221
3229
  };
3222
3230
  };
3223
- export type ModelV2Info = {
3231
+ export type EventIntegrationUpdated = {
3224
3232
  id: string;
3225
- providerID: string;
3226
- family?: string;
3227
- name: string;
3228
- api: {
3229
- id: string;
3230
- type: "aisdk";
3231
- package: string;
3232
- url?: string;
3233
- settings?: {
3234
- [key: string]: unknown;
3235
- };
3236
- } | {
3237
- id: string;
3238
- type: "native";
3239
- url?: string;
3240
- settings: {
3241
- [key: string]: unknown;
3242
- };
3243
- };
3244
- capabilities: {
3245
- tools: boolean;
3246
- input: Array<string>;
3247
- output: Array<string>;
3248
- };
3249
- request: {
3250
- headers: {
3251
- [key: string]: string;
3252
- };
3253
- body: {
3254
- [key: string]: unknown;
3255
- };
3256
- generation?: {
3257
- maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3258
- temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3259
- topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3260
- topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3261
- frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3262
- presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3263
- seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3264
- stop?: Array<string>;
3265
- };
3266
- options?: {
3267
- [key: string]: unknown;
3268
- };
3269
- variant?: string;
3270
- };
3271
- variants: Array<{
3272
- id: string;
3273
- headers: {
3274
- [key: string]: string;
3275
- };
3276
- body: {
3277
- [key: string]: unknown;
3278
- };
3279
- generation?: {
3280
- maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3281
- temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3282
- topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3283
- topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3284
- frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3285
- presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3286
- seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3287
- stop?: Array<string>;
3288
- };
3289
- options?: {
3290
- [key: string]: unknown;
3291
- };
3292
- }>;
3293
- time: {
3294
- released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
3295
- };
3296
- cost: Array<{
3297
- tier?: {
3298
- type: "context";
3299
- size: number;
3300
- };
3301
- input: number;
3302
- output: number;
3303
- cache: {
3304
- read: number;
3305
- write: number;
3306
- };
3307
- }>;
3308
- status: "alpha" | "beta" | "deprecated" | "active";
3309
- enabled: boolean;
3310
- limit: {
3311
- context: number;
3312
- input?: number;
3313
- output: number;
3233
+ type: "integration.updated";
3234
+ properties: {
3235
+ [key: string]: unknown;
3314
3236
  };
3315
3237
  };
3316
- export type EventCatalogModelUpdated = {
3238
+ export type EventCatalogUpdated = {
3317
3239
  id: string;
3318
- type: "catalog.model.updated";
3240
+ type: "catalog.updated";
3319
3241
  properties: {
3320
- model: ModelV2Info;
3242
+ [key: string]: unknown;
3321
3243
  };
3322
3244
  };
3323
3245
  export type EventSessionCreated = {
@@ -3945,13 +3867,6 @@ export type EventReferenceUpdated = {
3945
3867
  [key: string]: unknown;
3946
3868
  };
3947
3869
  };
3948
- export type EventIntegrationUpdated = {
3949
- id: string;
3950
- type: "integration.updated";
3951
- properties: {
3952
- [key: string]: unknown;
3953
- };
3954
- };
3955
3870
  export type PermissionV2Source = {
3956
3871
  type: "tool";
3957
3872
  messageID: string;
@@ -5110,22 +5025,103 @@ export type SessionMessageCompaction = {
5110
5025
  };
5111
5026
  };
5112
5027
  export type SessionMessage = SessionMessageAgentSwitched | SessionMessageModelSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
5113
- export type ProviderV2Info = {
5028
+ export type ModelV2Info = {
5114
5029
  id: string;
5030
+ providerID: string;
5031
+ family?: string;
5115
5032
  name: string;
5116
- enabled: false | {
5117
- via: "env";
5118
- name: string;
5119
- } | {
5120
- via: "credential";
5121
- credentialID: string;
5033
+ api: {
5034
+ id: string;
5035
+ type: "aisdk";
5036
+ package: string;
5037
+ url?: string;
5038
+ settings?: {
5039
+ [key: string]: unknown;
5040
+ };
5122
5041
  } | {
5123
- via: "custom";
5124
- data: {
5042
+ id: string;
5043
+ type: "native";
5044
+ url?: string;
5045
+ settings: {
5125
5046
  [key: string]: unknown;
5126
5047
  };
5127
5048
  };
5128
- env: Array<string>;
5049
+ capabilities: {
5050
+ tools: boolean;
5051
+ input: Array<string>;
5052
+ output: Array<string>;
5053
+ };
5054
+ request: {
5055
+ headers: {
5056
+ [key: string]: string;
5057
+ };
5058
+ body: {
5059
+ [key: string]: unknown;
5060
+ };
5061
+ generation?: {
5062
+ maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5063
+ temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5064
+ topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5065
+ topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5066
+ frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5067
+ presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5068
+ seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5069
+ stop?: Array<string>;
5070
+ };
5071
+ options?: {
5072
+ [key: string]: unknown;
5073
+ };
5074
+ variant?: string;
5075
+ };
5076
+ variants: Array<{
5077
+ id: string;
5078
+ headers: {
5079
+ [key: string]: string;
5080
+ };
5081
+ body: {
5082
+ [key: string]: unknown;
5083
+ };
5084
+ generation?: {
5085
+ maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5086
+ temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5087
+ topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5088
+ topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5089
+ frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5090
+ presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5091
+ seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5092
+ stop?: Array<string>;
5093
+ };
5094
+ options?: {
5095
+ [key: string]: unknown;
5096
+ };
5097
+ }>;
5098
+ time: {
5099
+ released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
5100
+ };
5101
+ cost: Array<{
5102
+ tier?: {
5103
+ type: "context";
5104
+ size: number;
5105
+ };
5106
+ input: number;
5107
+ output: number;
5108
+ cache: {
5109
+ read: number;
5110
+ write: number;
5111
+ };
5112
+ }>;
5113
+ status: "alpha" | "beta" | "deprecated" | "active";
5114
+ enabled: boolean;
5115
+ limit: {
5116
+ context: number;
5117
+ input?: number;
5118
+ output: number;
5119
+ };
5120
+ };
5121
+ export type ProviderV2Info = {
5122
+ id: string;
5123
+ name: string;
5124
+ disabled?: boolean;
5129
5125
  api: {
5130
5126
  type: "aisdk";
5131
5127
  package: string;
@@ -5399,99 +5395,6 @@ export type EventMemoryError1 = {
5399
5395
  };
5400
5396
  };
5401
5397
  };
5402
- export type ModelV2Info1 = {
5403
- id: string;
5404
- providerID: string;
5405
- family?: string;
5406
- name: string;
5407
- api: {
5408
- id: string;
5409
- type: "aisdk";
5410
- package: string;
5411
- url?: string;
5412
- settings?: {
5413
- [key: string]: unknown;
5414
- };
5415
- } | {
5416
- id: string;
5417
- type: "native";
5418
- url?: string;
5419
- settings: {
5420
- [key: string]: unknown;
5421
- };
5422
- };
5423
- capabilities: {
5424
- tools: boolean;
5425
- input: Array<string>;
5426
- output: Array<string>;
5427
- };
5428
- request: {
5429
- headers: {
5430
- [key: string]: string;
5431
- };
5432
- body: {
5433
- [key: string]: unknown;
5434
- };
5435
- generation?: {
5436
- maxTokens?: number | "NaN" | "Infinity" | "-Infinity";
5437
- temperature?: number | "NaN" | "Infinity" | "-Infinity";
5438
- topP?: number | "NaN" | "Infinity" | "-Infinity";
5439
- topK?: number | "NaN" | "Infinity" | "-Infinity";
5440
- frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity";
5441
- presencePenalty?: number | "NaN" | "Infinity" | "-Infinity";
5442
- seed?: number | "NaN" | "Infinity" | "-Infinity";
5443
- stop?: Array<string>;
5444
- };
5445
- options?: {
5446
- [key: string]: unknown;
5447
- };
5448
- variant?: string;
5449
- };
5450
- variants: Array<{
5451
- id: string;
5452
- headers: {
5453
- [key: string]: string;
5454
- };
5455
- body: {
5456
- [key: string]: unknown;
5457
- };
5458
- generation?: {
5459
- maxTokens?: number | "NaN" | "Infinity" | "-Infinity";
5460
- temperature?: number | "NaN" | "Infinity" | "-Infinity";
5461
- topP?: number | "NaN" | "Infinity" | "-Infinity";
5462
- topK?: number | "NaN" | "Infinity" | "-Infinity";
5463
- frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity";
5464
- presencePenalty?: number | "NaN" | "Infinity" | "-Infinity";
5465
- seed?: number | "NaN" | "Infinity" | "-Infinity";
5466
- stop?: Array<string>;
5467
- };
5468
- options?: {
5469
- [key: string]: unknown;
5470
- };
5471
- }>;
5472
- time: {
5473
- released: number | "NaN" | "Infinity" | "-Infinity";
5474
- };
5475
- cost: Array<{
5476
- tier?: {
5477
- type: "context";
5478
- size: number;
5479
- };
5480
- input: number;
5481
- output: number;
5482
- cache: {
5483
- read: number;
5484
- write: number;
5485
- };
5486
- }>;
5487
- status: "alpha" | "beta" | "deprecated" | "active";
5488
- enabled: boolean;
5489
- limit: {
5490
- context: number;
5491
- input?: number;
5492
- output: number;
5493
- };
5494
- };
5495
5398
  export type EventTuiToastShow1 = {
5496
5399
  id: string;
5497
5400
  type: "tui.toast.show";
@@ -5864,6 +5767,29 @@ export type ConfigProvidersResponses = {
5864
5767
  };
5865
5768
  };
5866
5769
  export type ConfigProvidersResponse = ConfigProvidersResponses[keyof ConfigProvidersResponses];
5770
+ export type ExperimentalCapabilitiesGetData = {
5771
+ body?: never;
5772
+ path?: never;
5773
+ query?: {
5774
+ directory?: string;
5775
+ workspace?: string;
5776
+ };
5777
+ url: "/experimental/capabilities";
5778
+ };
5779
+ export type ExperimentalCapabilitiesGetErrors = {
5780
+ /**
5781
+ * Bad request
5782
+ */
5783
+ 400: BadRequestError;
5784
+ };
5785
+ export type ExperimentalCapabilitiesGetError = ExperimentalCapabilitiesGetErrors[keyof ExperimentalCapabilitiesGetErrors];
5786
+ export type ExperimentalCapabilitiesGetResponses = {
5787
+ /**
5788
+ * Experimental capabilities
5789
+ */
5790
+ 200: ExperimentalCapabilities;
5791
+ };
5792
+ export type ExperimentalCapabilitiesGetResponse = ExperimentalCapabilitiesGetResponses[keyof ExperimentalCapabilitiesGetResponses];
5867
5793
  export type ExperimentalConsoleGetData = {
5868
5794
  body?: never;
5869
5795
  path?: never;
@@ -13052,7 +12978,12 @@ export type V2CredentialRemoveData = {
13052
12978
  path: {
13053
12979
  credentialID: string;
13054
12980
  };
13055
- query?: never;
12981
+ query?: {
12982
+ location?: {
12983
+ directory?: string;
12984
+ workspace?: string;
12985
+ };
12986
+ };
13056
12987
  url: "/api/credential/{credentialID}";
13057
12988
  };
13058
12989
  export type V2CredentialRemoveErrors = {
@@ -13080,7 +13011,12 @@ export type V2CredentialUpdateData = {
13080
13011
  path: {
13081
13012
  credentialID: string;
13082
13013
  };
13083
- query?: never;
13014
+ query?: {
13015
+ location?: {
13016
+ directory?: string;
13017
+ workspace?: string;
13018
+ };
13019
+ };
13084
13020
  url: "/api/credential/{credentialID}";
13085
13021
  };
13086
13022
  export type V2CredentialUpdateErrors = {
@@ -13444,6 +13380,280 @@ export type V2EventSubscribeResponses = {
13444
13380
  200: string;
13445
13381
  };
13446
13382
  export type V2EventSubscribeResponse = V2EventSubscribeResponses[keyof V2EventSubscribeResponses];
13383
+ export type V2PtyListData = {
13384
+ body?: never;
13385
+ path?: never;
13386
+ query?: {
13387
+ location?: {
13388
+ directory?: string;
13389
+ workspace?: string;
13390
+ };
13391
+ };
13392
+ url: "/api/pty";
13393
+ };
13394
+ export type V2PtyListErrors = {
13395
+ /**
13396
+ * InvalidRequestError
13397
+ */
13398
+ 400: InvalidRequestError;
13399
+ /**
13400
+ * UnauthorizedError
13401
+ */
13402
+ 401: UnauthorizedError;
13403
+ };
13404
+ export type V2PtyListError = V2PtyListErrors[keyof V2PtyListErrors];
13405
+ export type V2PtyListResponses = {
13406
+ /**
13407
+ * Success
13408
+ */
13409
+ 200: {
13410
+ location: LocationInfo;
13411
+ data: Array<Pty>;
13412
+ };
13413
+ };
13414
+ export type V2PtyListResponse = V2PtyListResponses[keyof V2PtyListResponses];
13415
+ export type V2PtyCreateData = {
13416
+ body: {
13417
+ command?: string;
13418
+ args?: Array<string>;
13419
+ cwd?: string;
13420
+ title?: string;
13421
+ env?: {
13422
+ [key: string]: string;
13423
+ };
13424
+ };
13425
+ path?: never;
13426
+ query?: {
13427
+ location?: {
13428
+ directory?: string;
13429
+ workspace?: string;
13430
+ };
13431
+ };
13432
+ url: "/api/pty";
13433
+ };
13434
+ export type V2PtyCreateErrors = {
13435
+ /**
13436
+ * InvalidRequestError
13437
+ */
13438
+ 400: InvalidRequestError;
13439
+ /**
13440
+ * UnauthorizedError
13441
+ */
13442
+ 401: UnauthorizedError;
13443
+ };
13444
+ export type V2PtyCreateError = V2PtyCreateErrors[keyof V2PtyCreateErrors];
13445
+ export type V2PtyCreateResponses = {
13446
+ /**
13447
+ * Success
13448
+ */
13449
+ 200: {
13450
+ location: LocationInfo;
13451
+ data: Pty;
13452
+ };
13453
+ };
13454
+ export type V2PtyCreateResponse = V2PtyCreateResponses[keyof V2PtyCreateResponses];
13455
+ export type V2PtyRemoveData = {
13456
+ body?: never;
13457
+ path: {
13458
+ ptyID: string;
13459
+ };
13460
+ query?: {
13461
+ location?: {
13462
+ directory?: string;
13463
+ workspace?: string;
13464
+ };
13465
+ };
13466
+ url: "/api/pty/{ptyID}";
13467
+ };
13468
+ export type V2PtyRemoveErrors = {
13469
+ /**
13470
+ * InvalidRequestError
13471
+ */
13472
+ 400: InvalidRequestError;
13473
+ /**
13474
+ * UnauthorizedError
13475
+ */
13476
+ 401: UnauthorizedError;
13477
+ /**
13478
+ * PtyNotFoundError
13479
+ */
13480
+ 404: PtyNotFoundError;
13481
+ };
13482
+ export type V2PtyRemoveError = V2PtyRemoveErrors[keyof V2PtyRemoveErrors];
13483
+ export type V2PtyRemoveResponses = {
13484
+ /**
13485
+ * <No Content>
13486
+ */
13487
+ 204: void;
13488
+ };
13489
+ export type V2PtyRemoveResponse = V2PtyRemoveResponses[keyof V2PtyRemoveResponses];
13490
+ export type V2PtyGetData = {
13491
+ body?: never;
13492
+ path: {
13493
+ ptyID: string;
13494
+ };
13495
+ query?: {
13496
+ location?: {
13497
+ directory?: string;
13498
+ workspace?: string;
13499
+ };
13500
+ };
13501
+ url: "/api/pty/{ptyID}";
13502
+ };
13503
+ export type V2PtyGetErrors = {
13504
+ /**
13505
+ * InvalidRequestError
13506
+ */
13507
+ 400: InvalidRequestError;
13508
+ /**
13509
+ * UnauthorizedError
13510
+ */
13511
+ 401: UnauthorizedError;
13512
+ /**
13513
+ * PtyNotFoundError
13514
+ */
13515
+ 404: PtyNotFoundError;
13516
+ };
13517
+ export type V2PtyGetError = V2PtyGetErrors[keyof V2PtyGetErrors];
13518
+ export type V2PtyGetResponses = {
13519
+ /**
13520
+ * Success
13521
+ */
13522
+ 200: {
13523
+ location: LocationInfo;
13524
+ data: Pty;
13525
+ };
13526
+ };
13527
+ export type V2PtyGetResponse = V2PtyGetResponses[keyof V2PtyGetResponses];
13528
+ export type V2PtyUpdateData = {
13529
+ body: {
13530
+ title?: string;
13531
+ sessionID?: string;
13532
+ size?: {
13533
+ rows: number;
13534
+ cols: number;
13535
+ };
13536
+ };
13537
+ path: {
13538
+ ptyID: string;
13539
+ };
13540
+ query?: {
13541
+ location?: {
13542
+ directory?: string;
13543
+ workspace?: string;
13544
+ };
13545
+ };
13546
+ url: "/api/pty/{ptyID}";
13547
+ };
13548
+ export type V2PtyUpdateErrors = {
13549
+ /**
13550
+ * InvalidRequestError
13551
+ */
13552
+ 400: InvalidRequestError;
13553
+ /**
13554
+ * UnauthorizedError
13555
+ */
13556
+ 401: UnauthorizedError;
13557
+ /**
13558
+ * PtyNotFoundError
13559
+ */
13560
+ 404: PtyNotFoundError;
13561
+ };
13562
+ export type V2PtyUpdateError = V2PtyUpdateErrors[keyof V2PtyUpdateErrors];
13563
+ export type V2PtyUpdateResponses = {
13564
+ /**
13565
+ * Success
13566
+ */
13567
+ 200: {
13568
+ location: LocationInfo;
13569
+ data: Pty;
13570
+ };
13571
+ };
13572
+ export type V2PtyUpdateResponse = V2PtyUpdateResponses[keyof V2PtyUpdateResponses];
13573
+ export type V2PtyConnectTokenData = {
13574
+ body?: never;
13575
+ path: {
13576
+ ptyID: string;
13577
+ };
13578
+ query?: {
13579
+ location?: {
13580
+ directory?: string;
13581
+ workspace?: string;
13582
+ };
13583
+ };
13584
+ url: "/api/pty/{ptyID}/connect-token";
13585
+ };
13586
+ export type V2PtyConnectTokenErrors = {
13587
+ /**
13588
+ * InvalidRequestError
13589
+ */
13590
+ 400: InvalidRequestError;
13591
+ /**
13592
+ * UnauthorizedError
13593
+ */
13594
+ 401: UnauthorizedError;
13595
+ /**
13596
+ * ForbiddenError
13597
+ */
13598
+ 403: ForbiddenError;
13599
+ /**
13600
+ * PtyNotFoundError
13601
+ */
13602
+ 404: PtyNotFoundError;
13603
+ };
13604
+ export type V2PtyConnectTokenError = V2PtyConnectTokenErrors[keyof V2PtyConnectTokenErrors];
13605
+ export type V2PtyConnectTokenResponses = {
13606
+ /**
13607
+ * Success
13608
+ */
13609
+ 200: {
13610
+ location: LocationInfo;
13611
+ data: {
13612
+ ticket: string;
13613
+ expires_in: number;
13614
+ };
13615
+ };
13616
+ };
13617
+ export type V2PtyConnectTokenResponse = V2PtyConnectTokenResponses[keyof V2PtyConnectTokenResponses];
13618
+ export type V2PtyConnectData = {
13619
+ body?: never;
13620
+ path: {
13621
+ ptyID: string;
13622
+ };
13623
+ query?: {
13624
+ "location[directory]"?: string;
13625
+ "location[workspace]"?: string;
13626
+ cursor?: string;
13627
+ ticket?: string;
13628
+ };
13629
+ url: "/api/pty/{ptyID}/connect";
13630
+ };
13631
+ export type V2PtyConnectErrors = {
13632
+ /**
13633
+ * InvalidRequestError
13634
+ */
13635
+ 400: InvalidRequestError;
13636
+ /**
13637
+ * UnauthorizedError
13638
+ */
13639
+ 401: UnauthorizedError;
13640
+ /**
13641
+ * ForbiddenError
13642
+ */
13643
+ 403: ForbiddenError;
13644
+ /**
13645
+ * PtyNotFoundError
13646
+ */
13647
+ 404: PtyNotFoundError;
13648
+ };
13649
+ export type V2PtyConnectError = V2PtyConnectErrors[keyof V2PtyConnectErrors];
13650
+ export type V2PtyConnectResponses = {
13651
+ /**
13652
+ * Success
13653
+ */
13654
+ 200: boolean;
13655
+ };
13656
+ export type V2PtyConnectResponse = V2PtyConnectResponses[keyof V2PtyConnectResponses];
13447
13657
  export type V2QuestionRequestListData = {
13448
13658
  body?: never;
13449
13659
  path?: never;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@kilocode/sdk",
4
- "version": "7.4.16",
4
+ "version": "7.4.17",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {