@kilocode/sdk 7.3.21 → 7.3.28
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 +13 -3
- package/dist/v2/gen/sdk.gen.js +21 -0
- package/dist/v2/gen/types.gen.d.ts +178 -109
- package/package.json +2 -2
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, AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BackgroundProcessGetErrors, BackgroundProcessGetResponses, BackgroundProcessListResponses, BackgroundProcessLogsErrors, BackgroundProcessLogsResponses, BackgroundProcessRestartErrors, BackgroundProcessRestartResponses, BackgroundProcessStopErrors, BackgroundProcessStopResponses, BackgroundProcessStopSessionResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config4, ConfigEffectiveResponses, ConfigGetResponses, ConfigModelStateResponses, ConfigModelStateUpdateResponses, ConfigOverlayResponses, ConfigOverlayUpdateResponses, ConfigProvidersResponses, ConfigRulesResponses, ConfigRulesUpdateResponses, ConfigSourcesResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingStatusResponses, InstanceDisposeResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloClawChatCredentialsResponses, KiloClawStatusErrors, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KiloEditErrors, KiloEditResponses, KiloFimErrors, KiloFimResponses, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, ProjectCurrentResponses, ProjectInitGitResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, Prompt, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDelivery, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, 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, SessionViewedResponses, SubtaskPartInput, SuggestionAcceptErrors, SuggestionAcceptResponses, SuggestionDismissErrors, SuggestionDismissResponses, SuggestionListResponses, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartResponses, SyncStealErrors, SyncStealResponses, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiConfigGetResponses, TuiConfigUpdateErrors, TuiConfigUpdateResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiKeybindListResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, V2SessionCompactResponses, V2SessionContextResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPromptResponses, V2SessionWaitResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffRawResponses, VcsDiffResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentBuilderPreviewErrors, AgentBuilderPreviewResponses, AgentBuilderSaveErrors, AgentBuilderSaveResponses, AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BackgroundProcessGetErrors, BackgroundProcessGetResponses, BackgroundProcessListResponses, BackgroundProcessLogsErrors, BackgroundProcessLogsResponses, BackgroundProcessRestartErrors, BackgroundProcessRestartResponses, BackgroundProcessStopErrors, BackgroundProcessStopResponses, BackgroundProcessStopSessionResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config4, ConfigEffectiveResponses, ConfigGetResponses, ConfigModelStateResponses, ConfigModelStateUpdateResponses, ConfigOverlayResponses, ConfigOverlayUpdateResponses, ConfigProvidersResponses, ConfigRulesResponses, ConfigRulesUpdateResponses, ConfigSourcesResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, ExperimentalConsoleGetErrors, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsErrors, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceSyncListResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingStatusResponses, InstanceDisposeResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloClawChatCredentialsResponses, KiloClawStatusErrors, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KiloEditErrors, KiloEditResponses, KiloFimErrors, KiloFimResponses, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, ProjectCurrentResponses, ProjectInitGitResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, Prompt, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDelivery, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, 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, SessionViewedResponses, SubtaskPartInput, SuggestionAcceptErrors, SuggestionAcceptResponses, SuggestionDismissErrors, SuggestionDismissResponses, SuggestionListResponses, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartResponses, SyncStealErrors, SyncStealResponses, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiConfigGetResponses, TuiConfigUpdateErrors, TuiConfigUpdateResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiKeybindListResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, V2SessionCompactResponses, V2SessionContextResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPromptResponses, V2SessionWaitResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffRawResponses, VcsDiffResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, 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
|
|
@@ -269,7 +269,7 @@ export declare class Console extends HeyApiClient {
|
|
|
269
269
|
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
270
270
|
directory?: string;
|
|
271
271
|
workspace?: string;
|
|
272
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleGetResponses,
|
|
272
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleGetResponses, ExperimentalConsoleGetErrors, ThrowOnError, "fields">;
|
|
273
273
|
/**
|
|
274
274
|
* List switchable Console orgs
|
|
275
275
|
*
|
|
@@ -278,7 +278,7 @@ export declare class Console extends HeyApiClient {
|
|
|
278
278
|
listOrgs<ThrowOnError extends boolean = false>(parameters?: {
|
|
279
279
|
directory?: string;
|
|
280
280
|
workspace?: string;
|
|
281
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleListOrgsResponses,
|
|
281
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleListOrgsResponses, ExperimentalConsoleListOrgsErrors, ThrowOnError, "fields">;
|
|
282
282
|
/**
|
|
283
283
|
* Switch active Console org
|
|
284
284
|
*
|
|
@@ -355,6 +355,15 @@ export declare class Workspace extends HeyApiClient {
|
|
|
355
355
|
branch?: string | null;
|
|
356
356
|
extra?: unknown | null;
|
|
357
357
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceCreateErrors, ThrowOnError, "fields">;
|
|
358
|
+
/**
|
|
359
|
+
* Sync workspace list
|
|
360
|
+
*
|
|
361
|
+
* Register missing workspaces returned by workspace adapters.
|
|
362
|
+
*/
|
|
363
|
+
syncList<ThrowOnError extends boolean = false>(parameters?: {
|
|
364
|
+
directory?: string;
|
|
365
|
+
workspace?: string;
|
|
366
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceSyncListResponses, unknown, ThrowOnError, "fields">;
|
|
358
367
|
/**
|
|
359
368
|
* Workspace status
|
|
360
369
|
*
|
|
@@ -1884,6 +1893,7 @@ export declare class Audio extends HeyApiClient {
|
|
|
1884
1893
|
format: string;
|
|
1885
1894
|
};
|
|
1886
1895
|
language?: string;
|
|
1896
|
+
prompt?: string;
|
|
1887
1897
|
temperature?: number;
|
|
1888
1898
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloAudioTranscriptionsResponses, KiloAudioTranscriptionsErrors, ThrowOnError, "fields">;
|
|
1889
1899
|
}
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -706,6 +706,26 @@ export class Workspace extends HeyApiClient {
|
|
|
706
706
|
},
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
|
+
/**
|
|
710
|
+
* Sync workspace list
|
|
711
|
+
*
|
|
712
|
+
* Register missing workspaces returned by workspace adapters.
|
|
713
|
+
*/
|
|
714
|
+
syncList(parameters, options) {
|
|
715
|
+
const params = buildClientParams([parameters], [
|
|
716
|
+
{
|
|
717
|
+
args: [
|
|
718
|
+
{ in: "query", key: "directory" },
|
|
719
|
+
{ in: "query", key: "workspace" },
|
|
720
|
+
],
|
|
721
|
+
},
|
|
722
|
+
]);
|
|
723
|
+
return (options?.client ?? this.client).post({
|
|
724
|
+
url: "/experimental/workspace/sync-list",
|
|
725
|
+
...options,
|
|
726
|
+
...params,
|
|
727
|
+
});
|
|
728
|
+
}
|
|
709
729
|
/**
|
|
710
730
|
* Workspace status
|
|
711
731
|
*
|
|
@@ -3779,6 +3799,7 @@ export class Audio extends HeyApiClient {
|
|
|
3779
3799
|
{ in: "body", key: "model" },
|
|
3780
3800
|
{ in: "body", key: "input_audio" },
|
|
3781
3801
|
{ in: "body", key: "language" },
|
|
3802
|
+
{ in: "body", key: "prompt" },
|
|
3782
3803
|
{ in: "body", key: "temperature" },
|
|
3783
3804
|
],
|
|
3784
3805
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated |
|
|
4
|
+
export type Event = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded;
|
|
5
5
|
export type OAuth = {
|
|
6
6
|
type: "oauth";
|
|
7
7
|
refresh: string;
|
|
@@ -23,6 +23,48 @@ export type WellKnownAuth = {
|
|
|
23
23
|
token: string;
|
|
24
24
|
};
|
|
25
25
|
export type Auth = OAuth | ApiAuth | WellKnownAuth;
|
|
26
|
+
export type EventTuiPromptAppend = {
|
|
27
|
+
id: string;
|
|
28
|
+
type: "tui.prompt.append";
|
|
29
|
+
properties: {
|
|
30
|
+
text: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export type EventTuiCommandExecute = {
|
|
34
|
+
id: string;
|
|
35
|
+
type: "tui.command.execute";
|
|
36
|
+
properties: {
|
|
37
|
+
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.line.up" | "session.line.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type EventTuiToastShow = {
|
|
41
|
+
id: string;
|
|
42
|
+
type: "tui.toast.show";
|
|
43
|
+
properties: {
|
|
44
|
+
title?: string;
|
|
45
|
+
message: string;
|
|
46
|
+
variant: "info" | "success" | "warning" | "error";
|
|
47
|
+
duration?: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export type EventTuiSessionSelect = {
|
|
51
|
+
id: string;
|
|
52
|
+
type: "tui.session.select";
|
|
53
|
+
properties: {
|
|
54
|
+
/**
|
|
55
|
+
* Session ID to navigate to
|
|
56
|
+
*/
|
|
57
|
+
sessionID: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export type IndexingStatusState = "Disabled" | "In Progress" | "Complete" | "Error" | "Standby";
|
|
61
|
+
export type IndexingStatus = {
|
|
62
|
+
state: IndexingStatusState;
|
|
63
|
+
message: string;
|
|
64
|
+
processedFiles: number;
|
|
65
|
+
totalFiles: number;
|
|
66
|
+
percent: number;
|
|
67
|
+
};
|
|
26
68
|
export type QuestionOption = {
|
|
27
69
|
/**
|
|
28
70
|
* Display text (1-5 words, concise)
|
|
@@ -78,40 +120,6 @@ export type QuestionRejected = {
|
|
|
78
120
|
sessionID: string;
|
|
79
121
|
requestID: string;
|
|
80
122
|
};
|
|
81
|
-
export type EventTuiPromptAppend = {
|
|
82
|
-
id: string;
|
|
83
|
-
type: "tui.prompt.append";
|
|
84
|
-
properties: {
|
|
85
|
-
text: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export type EventTuiCommandExecute = {
|
|
89
|
-
id: string;
|
|
90
|
-
type: "tui.command.execute";
|
|
91
|
-
properties: {
|
|
92
|
-
command: "session.list" | "session.new" | "session.share" | "session.interrupt" | "session.compact" | "session.page.up" | "session.page.down" | "session.line.up" | "session.line.down" | "session.half.page.up" | "session.half.page.down" | "session.first" | "session.last" | "prompt.clear" | "prompt.submit" | "agent.cycle" | string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
export type EventTuiToastShow = {
|
|
96
|
-
id: string;
|
|
97
|
-
type: "tui.toast.show";
|
|
98
|
-
properties: {
|
|
99
|
-
title?: string;
|
|
100
|
-
message: string;
|
|
101
|
-
variant: "info" | "success" | "warning" | "error";
|
|
102
|
-
duration?: number;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
export type EventTuiSessionSelect = {
|
|
106
|
-
id: string;
|
|
107
|
-
type: "tui.session.select";
|
|
108
|
-
properties: {
|
|
109
|
-
/**
|
|
110
|
-
* Session ID to navigate to
|
|
111
|
-
*/
|
|
112
|
-
sessionID: string;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
123
|
export type SessionNetworkWait = {
|
|
116
124
|
id: string;
|
|
117
125
|
sessionID: string;
|
|
@@ -236,6 +244,14 @@ export type SessionStatus = {
|
|
|
236
244
|
type: "retry";
|
|
237
245
|
attempt: number;
|
|
238
246
|
message: string;
|
|
247
|
+
action?: {
|
|
248
|
+
reason: string;
|
|
249
|
+
provider: string;
|
|
250
|
+
title: string;
|
|
251
|
+
message: string;
|
|
252
|
+
label: string;
|
|
253
|
+
link?: string;
|
|
254
|
+
};
|
|
239
255
|
next: number;
|
|
240
256
|
} | {
|
|
241
257
|
type: "busy";
|
|
@@ -659,19 +675,11 @@ export type Prompt = {
|
|
|
659
675
|
files?: Array<PromptFileAttachment>;
|
|
660
676
|
agents?: Array<PromptAgentAttachment>;
|
|
661
677
|
};
|
|
662
|
-
export type IndexingStatusState = "Disabled" | "In Progress" | "Complete" | "Error" | "Standby";
|
|
663
|
-
export type IndexingStatus = {
|
|
664
|
-
state: IndexingStatusState;
|
|
665
|
-
message: string;
|
|
666
|
-
processedFiles: number;
|
|
667
|
-
totalFiles: number;
|
|
668
|
-
percent: number;
|
|
669
|
-
};
|
|
670
678
|
export type GlobalEvent = {
|
|
671
679
|
directory: string;
|
|
672
680
|
project?: string;
|
|
673
681
|
workspace?: string;
|
|
674
|
-
payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated |
|
|
682
|
+
payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextDelta | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningDelta | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputDelta | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
675
683
|
};
|
|
676
684
|
/**
|
|
677
685
|
* Log level
|
|
@@ -687,6 +695,21 @@ export type ServerConfig = {
|
|
|
687
695
|
mdnsDomain?: string;
|
|
688
696
|
cors?: Array<string>;
|
|
689
697
|
};
|
|
698
|
+
export type ReferenceConfigEntry = string | {
|
|
699
|
+
/**
|
|
700
|
+
* Git repository URL, host/path reference, or GitHub owner/repo shorthand
|
|
701
|
+
*/
|
|
702
|
+
repository: string;
|
|
703
|
+
branch?: string;
|
|
704
|
+
} | {
|
|
705
|
+
/**
|
|
706
|
+
* Absolute path, ~/ path, or workspace-relative path to a local reference directory
|
|
707
|
+
*/
|
|
708
|
+
path: string;
|
|
709
|
+
};
|
|
710
|
+
export type ReferenceConfig = {
|
|
711
|
+
[key: string]: ReferenceConfigEntry;
|
|
712
|
+
};
|
|
690
713
|
export type IndexingConfig = {
|
|
691
714
|
enabled?: boolean;
|
|
692
715
|
provider?: "kilo" | "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | "vercel-ai-gateway" | "bedrock" | "openrouter" | "voyage";
|
|
@@ -758,6 +781,9 @@ export type PermissionConfig = PermissionActionConfig | {
|
|
|
758
781
|
question?: PermissionActionConfig;
|
|
759
782
|
webfetch?: PermissionActionConfig;
|
|
760
783
|
websearch?: PermissionActionConfig;
|
|
784
|
+
codesearch?: PermissionActionConfig;
|
|
785
|
+
repo_clone?: PermissionRuleConfig;
|
|
786
|
+
repo_overview?: PermissionRuleConfig;
|
|
761
787
|
lsp?: PermissionRuleConfig;
|
|
762
788
|
doom_loop?: PermissionActionConfig;
|
|
763
789
|
skill?: PermissionRuleConfig;
|
|
@@ -819,6 +845,8 @@ export type ProviderConfig = {
|
|
|
819
845
|
name?: string;
|
|
820
846
|
family?: string;
|
|
821
847
|
prompt?: "codex" | "gemini" | "beast" | "anthropic" | "trinity" | "anthropic_without_todo" | "ling" | "gpt55";
|
|
848
|
+
isFree?: boolean;
|
|
849
|
+
ai_sdk_provider?: "alibaba" | "anthropic" | "openai" | "openai-compatible" | "openrouter";
|
|
822
850
|
release_date?: string;
|
|
823
851
|
attachment?: boolean;
|
|
824
852
|
reasoning?: boolean;
|
|
@@ -931,6 +959,7 @@ export type Config = {
|
|
|
931
959
|
paths?: Array<string>;
|
|
932
960
|
urls?: Array<string>;
|
|
933
961
|
};
|
|
962
|
+
reference?: ReferenceConfig;
|
|
934
963
|
watcher?: {
|
|
935
964
|
ignore?: Array<string>;
|
|
936
965
|
};
|
|
@@ -972,6 +1001,7 @@ export type Config = {
|
|
|
972
1001
|
ask?: AgentConfig;
|
|
973
1002
|
general?: AgentConfig;
|
|
974
1003
|
explore?: AgentConfig;
|
|
1004
|
+
scout?: AgentConfig;
|
|
975
1005
|
title?: AgentConfig;
|
|
976
1006
|
summary?: AgentConfig;
|
|
977
1007
|
compaction?: AgentConfig;
|
|
@@ -1144,6 +1174,9 @@ export type ConsoleState = {
|
|
|
1144
1174
|
activeOrgName?: string;
|
|
1145
1175
|
switchableOrgCount: number;
|
|
1146
1176
|
};
|
|
1177
|
+
export type EffectHttpApiErrorInternalServerError = {
|
|
1178
|
+
_tag: "InternalServerError";
|
|
1179
|
+
};
|
|
1147
1180
|
export type ToolListItem = {
|
|
1148
1181
|
id: string;
|
|
1149
1182
|
description: string;
|
|
@@ -1512,6 +1545,7 @@ export type Workspace = {
|
|
|
1512
1545
|
directory: string | null;
|
|
1513
1546
|
extra: unknown | null;
|
|
1514
1547
|
projectID: string;
|
|
1548
|
+
timeUsed: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
1515
1549
|
};
|
|
1516
1550
|
export type WorkspaceWarpError = {
|
|
1517
1551
|
name: "WorkspaceWarpError";
|
|
@@ -2176,6 +2210,28 @@ export type EventGlobalConfigUpdated = {
|
|
|
2176
2210
|
[key: string]: unknown;
|
|
2177
2211
|
};
|
|
2178
2212
|
};
|
|
2213
|
+
export type EventKilocodeAgentManagerStart = {
|
|
2214
|
+
id: string;
|
|
2215
|
+
type: "kilocode.agent_manager.start";
|
|
2216
|
+
properties: {
|
|
2217
|
+
requestID: string;
|
|
2218
|
+
sessionID: string;
|
|
2219
|
+
mode: "worktree" | "local";
|
|
2220
|
+
versions?: boolean;
|
|
2221
|
+
tasks: Array<{
|
|
2222
|
+
prompt?: string;
|
|
2223
|
+
name?: string;
|
|
2224
|
+
branchName?: string;
|
|
2225
|
+
}>;
|
|
2226
|
+
};
|
|
2227
|
+
};
|
|
2228
|
+
export type EventIndexingStatus = {
|
|
2229
|
+
id: string;
|
|
2230
|
+
type: "indexing.status";
|
|
2231
|
+
properties: {
|
|
2232
|
+
status: IndexingStatus;
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2179
2235
|
export type EventServerInstanceDisposed = {
|
|
2180
2236
|
id: string;
|
|
2181
2237
|
type: "server.instance.disposed";
|
|
@@ -2183,19 +2239,19 @@ export type EventServerInstanceDisposed = {
|
|
|
2183
2239
|
directory: string;
|
|
2184
2240
|
};
|
|
2185
2241
|
};
|
|
2186
|
-
export type
|
|
2242
|
+
export type EventFileEdited = {
|
|
2187
2243
|
id: string;
|
|
2188
|
-
type: "
|
|
2244
|
+
type: "file.edited";
|
|
2189
2245
|
properties: {
|
|
2190
|
-
|
|
2191
|
-
path: string;
|
|
2246
|
+
file: string;
|
|
2192
2247
|
};
|
|
2193
2248
|
};
|
|
2194
|
-
export type
|
|
2249
|
+
export type EventFileWatcherUpdated = {
|
|
2195
2250
|
id: string;
|
|
2196
|
-
type: "
|
|
2251
|
+
type: "file.watcher.updated";
|
|
2197
2252
|
properties: {
|
|
2198
|
-
|
|
2253
|
+
file: string;
|
|
2254
|
+
event: "add" | "change" | "unlink";
|
|
2199
2255
|
};
|
|
2200
2256
|
};
|
|
2201
2257
|
export type EventQuestionAsked = {
|
|
@@ -2213,6 +2269,21 @@ export type EventQuestionRejected = {
|
|
|
2213
2269
|
type: "question.rejected";
|
|
2214
2270
|
properties: QuestionRejected;
|
|
2215
2271
|
};
|
|
2272
|
+
export type EventLspClientDiagnostics = {
|
|
2273
|
+
id: string;
|
|
2274
|
+
type: "lsp.client.diagnostics";
|
|
2275
|
+
properties: {
|
|
2276
|
+
serverID: string;
|
|
2277
|
+
path: string;
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
export type EventLspUpdated = {
|
|
2281
|
+
id: string;
|
|
2282
|
+
type: "lsp.updated";
|
|
2283
|
+
properties: {
|
|
2284
|
+
[key: string]: unknown;
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2216
2287
|
export type EventMcpToolsChanged = {
|
|
2217
2288
|
id: string;
|
|
2218
2289
|
type: "mcp.tools.changed";
|
|
@@ -2343,21 +2414,6 @@ export type EventInstallationUpdateAvailable = {
|
|
|
2343
2414
|
version: string;
|
|
2344
2415
|
};
|
|
2345
2416
|
};
|
|
2346
|
-
export type EventFileEdited = {
|
|
2347
|
-
id: string;
|
|
2348
|
-
type: "file.edited";
|
|
2349
|
-
properties: {
|
|
2350
|
-
file: string;
|
|
2351
|
-
};
|
|
2352
|
-
};
|
|
2353
|
-
export type EventFileWatcherUpdated = {
|
|
2354
|
-
id: string;
|
|
2355
|
-
type: "file.watcher.updated";
|
|
2356
|
-
properties: {
|
|
2357
|
-
file: string;
|
|
2358
|
-
event: "add" | "change" | "unlink";
|
|
2359
|
-
};
|
|
2360
|
-
};
|
|
2361
2417
|
export type EventTodoUpdated = {
|
|
2362
2418
|
id: string;
|
|
2363
2419
|
type: "todo.updated";
|
|
@@ -2436,21 +2492,6 @@ export type EventProjectUpdated = {
|
|
|
2436
2492
|
type: "project.updated";
|
|
2437
2493
|
properties: Project;
|
|
2438
2494
|
};
|
|
2439
|
-
export type EventKilocodeAgentManagerStart = {
|
|
2440
|
-
id: string;
|
|
2441
|
-
type: "kilocode.agent_manager.start";
|
|
2442
|
-
properties: {
|
|
2443
|
-
requestID: string;
|
|
2444
|
-
sessionID: string;
|
|
2445
|
-
mode: "worktree" | "local";
|
|
2446
|
-
versions?: boolean;
|
|
2447
|
-
tasks: Array<{
|
|
2448
|
-
prompt?: string;
|
|
2449
|
-
name?: string;
|
|
2450
|
-
branchName?: string;
|
|
2451
|
-
}>;
|
|
2452
|
-
};
|
|
2453
|
-
};
|
|
2454
2495
|
export type EventVcsBranchUpdated = {
|
|
2455
2496
|
id: string;
|
|
2456
2497
|
type: "vcs.branch.updated";
|
|
@@ -2926,13 +2967,6 @@ export type EventSessionNextCompactionEnded = {
|
|
|
2926
2967
|
include?: string;
|
|
2927
2968
|
};
|
|
2928
2969
|
};
|
|
2929
|
-
export type EventIndexingStatus = {
|
|
2930
|
-
id: string;
|
|
2931
|
-
type: "indexing.status";
|
|
2932
|
-
properties: {
|
|
2933
|
-
status: IndexingStatus;
|
|
2934
|
-
};
|
|
2935
|
-
};
|
|
2936
2970
|
export type SessionInfo = {
|
|
2937
2971
|
id: string;
|
|
2938
2972
|
parentID?: string;
|
|
@@ -3437,6 +3471,13 @@ export type ExperimentalConsoleGetData = {
|
|
|
3437
3471
|
};
|
|
3438
3472
|
url: "/experimental/console";
|
|
3439
3473
|
};
|
|
3474
|
+
export type ExperimentalConsoleGetErrors = {
|
|
3475
|
+
/**
|
|
3476
|
+
* InternalServerError
|
|
3477
|
+
*/
|
|
3478
|
+
500: EffectHttpApiErrorInternalServerError;
|
|
3479
|
+
};
|
|
3480
|
+
export type ExperimentalConsoleGetError = ExperimentalConsoleGetErrors[keyof ExperimentalConsoleGetErrors];
|
|
3440
3481
|
export type ExperimentalConsoleGetResponses = {
|
|
3441
3482
|
/**
|
|
3442
3483
|
* Active Console provider metadata
|
|
@@ -3453,6 +3494,13 @@ export type ExperimentalConsoleListOrgsData = {
|
|
|
3453
3494
|
};
|
|
3454
3495
|
url: "/experimental/console/orgs";
|
|
3455
3496
|
};
|
|
3497
|
+
export type ExperimentalConsoleListOrgsErrors = {
|
|
3498
|
+
/**
|
|
3499
|
+
* InternalServerError
|
|
3500
|
+
*/
|
|
3501
|
+
500: EffectHttpApiErrorInternalServerError;
|
|
3502
|
+
};
|
|
3503
|
+
export type ExperimentalConsoleListOrgsError = ExperimentalConsoleListOrgsErrors[keyof ExperimentalConsoleListOrgsErrors];
|
|
3456
3504
|
export type ExperimentalConsoleListOrgsResponses = {
|
|
3457
3505
|
/**
|
|
3458
3506
|
* Switchable Console orgs
|
|
@@ -4027,7 +4075,7 @@ export type AppSkillsResponses = {
|
|
|
4027
4075
|
*/
|
|
4028
4076
|
200: Array<{
|
|
4029
4077
|
name: string;
|
|
4030
|
-
description
|
|
4078
|
+
description?: string;
|
|
4031
4079
|
location: string;
|
|
4032
4080
|
content: string;
|
|
4033
4081
|
}>;
|
|
@@ -4652,7 +4700,7 @@ export type PermissionReplyErrors = {
|
|
|
4652
4700
|
*/
|
|
4653
4701
|
400: BadRequestError;
|
|
4654
4702
|
/**
|
|
4655
|
-
*
|
|
4703
|
+
* NotFoundError
|
|
4656
4704
|
*/
|
|
4657
4705
|
404: NotFoundError;
|
|
4658
4706
|
};
|
|
@@ -4680,7 +4728,7 @@ export type PermissionSaveAlwaysRulesData = {
|
|
|
4680
4728
|
};
|
|
4681
4729
|
export type PermissionSaveAlwaysRulesErrors = {
|
|
4682
4730
|
/**
|
|
4683
|
-
*
|
|
4731
|
+
* NotFoundError
|
|
4684
4732
|
*/
|
|
4685
4733
|
404: NotFoundError;
|
|
4686
4734
|
};
|
|
@@ -5245,6 +5293,10 @@ export type SessionForkData = {
|
|
|
5245
5293
|
url: "/session/{sessionID}/fork";
|
|
5246
5294
|
};
|
|
5247
5295
|
export type SessionForkErrors = {
|
|
5296
|
+
/**
|
|
5297
|
+
* Bad request
|
|
5298
|
+
*/
|
|
5299
|
+
400: BadRequestError;
|
|
5248
5300
|
/**
|
|
5249
5301
|
* NotFoundError
|
|
5250
5302
|
*/
|
|
@@ -5332,14 +5384,14 @@ export type SessionUnshareData = {
|
|
|
5332
5384
|
url: "/session/{sessionID}/share";
|
|
5333
5385
|
};
|
|
5334
5386
|
export type SessionUnshareErrors = {
|
|
5335
|
-
/**
|
|
5336
|
-
* Bad request
|
|
5337
|
-
*/
|
|
5338
|
-
400: BadRequestError;
|
|
5339
5387
|
/**
|
|
5340
5388
|
* NotFoundError
|
|
5341
5389
|
*/
|
|
5342
5390
|
404: NotFoundError;
|
|
5391
|
+
/**
|
|
5392
|
+
* InternalServerError
|
|
5393
|
+
*/
|
|
5394
|
+
500: EffectHttpApiErrorInternalServerError;
|
|
5343
5395
|
};
|
|
5344
5396
|
export type SessionUnshareError = SessionUnshareErrors[keyof SessionUnshareErrors];
|
|
5345
5397
|
export type SessionUnshareResponses = {
|
|
@@ -5361,14 +5413,14 @@ export type SessionShareData = {
|
|
|
5361
5413
|
url: "/session/{sessionID}/share";
|
|
5362
5414
|
};
|
|
5363
5415
|
export type SessionShareErrors = {
|
|
5364
|
-
/**
|
|
5365
|
-
* Bad request
|
|
5366
|
-
*/
|
|
5367
|
-
400: BadRequestError;
|
|
5368
5416
|
/**
|
|
5369
5417
|
* NotFoundError
|
|
5370
5418
|
*/
|
|
5371
5419
|
404: NotFoundError;
|
|
5420
|
+
/**
|
|
5421
|
+
* InternalServerError
|
|
5422
|
+
*/
|
|
5423
|
+
500: EffectHttpApiErrorInternalServerError;
|
|
5372
5424
|
};
|
|
5373
5425
|
export type SessionShareError = SessionShareErrors[keyof SessionShareErrors];
|
|
5374
5426
|
export type SessionShareResponses = {
|
|
@@ -6280,6 +6332,22 @@ export type ExperimentalWorkspaceCreateResponses = {
|
|
|
6280
6332
|
200: Workspace;
|
|
6281
6333
|
};
|
|
6282
6334
|
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
6335
|
+
export type ExperimentalWorkspaceSyncListData = {
|
|
6336
|
+
body?: never;
|
|
6337
|
+
path?: never;
|
|
6338
|
+
query?: {
|
|
6339
|
+
directory?: string;
|
|
6340
|
+
workspace?: string;
|
|
6341
|
+
};
|
|
6342
|
+
url: "/experimental/workspace/sync-list";
|
|
6343
|
+
};
|
|
6344
|
+
export type ExperimentalWorkspaceSyncListResponses = {
|
|
6345
|
+
/**
|
|
6346
|
+
* Workspace list synced
|
|
6347
|
+
*/
|
|
6348
|
+
204: void;
|
|
6349
|
+
};
|
|
6350
|
+
export type ExperimentalWorkspaceSyncListResponse = ExperimentalWorkspaceSyncListResponses[keyof ExperimentalWorkspaceSyncListResponses];
|
|
6283
6351
|
export type ExperimentalWorkspaceStatusData = {
|
|
6284
6352
|
body?: never;
|
|
6285
6353
|
path?: never;
|
|
@@ -6906,8 +6974,8 @@ export type KiloProfileResponses = {
|
|
|
6906
6974
|
};
|
|
6907
6975
|
balance: {
|
|
6908
6976
|
balance: number;
|
|
6909
|
-
};
|
|
6910
|
-
currentOrgId: string;
|
|
6977
|
+
} | null;
|
|
6978
|
+
currentOrgId: string | null;
|
|
6911
6979
|
};
|
|
6912
6980
|
};
|
|
6913
6981
|
export type KiloProfileResponse = KiloProfileResponses[keyof KiloProfileResponses];
|
|
@@ -7044,6 +7112,7 @@ export type KiloAudioTranscriptionsData = {
|
|
|
7044
7112
|
format: string;
|
|
7045
7113
|
};
|
|
7046
7114
|
language?: string;
|
|
7115
|
+
prompt?: string;
|
|
7047
7116
|
temperature?: number;
|
|
7048
7117
|
};
|
|
7049
7118
|
path?: never;
|
|
@@ -7149,20 +7218,20 @@ export type KiloClawStatusResponses = {
|
|
|
7149
7218
|
* Instance status
|
|
7150
7219
|
*/
|
|
7151
7220
|
200: {
|
|
7152
|
-
status: "provisioned" | "starting" | "restarting" | "recovering" | "running" | "stopped" | "destroying" | "restoring";
|
|
7221
|
+
status: "provisioned" | "starting" | "restarting" | "recovering" | "running" | "stopped" | "destroying" | "restoring" | null;
|
|
7153
7222
|
sandboxId?: string;
|
|
7154
7223
|
flyRegion?: string;
|
|
7155
7224
|
machineSize?: {
|
|
7156
7225
|
cpus: number;
|
|
7157
7226
|
memory_mb: number;
|
|
7158
7227
|
};
|
|
7159
|
-
openclawVersion?: string;
|
|
7160
|
-
lastStartedAt?: string;
|
|
7161
|
-
lastStoppedAt?: string;
|
|
7228
|
+
openclawVersion?: string | null;
|
|
7229
|
+
lastStartedAt?: string | null;
|
|
7230
|
+
lastStoppedAt?: string | null;
|
|
7162
7231
|
channelCount?: number;
|
|
7163
7232
|
secretCount?: number;
|
|
7164
7233
|
userId?: string;
|
|
7165
|
-
botName?: string;
|
|
7234
|
+
botName?: string | null;
|
|
7166
7235
|
};
|
|
7167
7236
|
};
|
|
7168
7237
|
export type KiloClawStatusResponse = KiloClawStatusResponses[keyof KiloClawStatusResponses];
|
|
@@ -7184,7 +7253,7 @@ export type KiloClawChatCredentialsResponses = {
|
|
|
7184
7253
|
expiresAt: string;
|
|
7185
7254
|
kiloChatUrl: string;
|
|
7186
7255
|
eventServiceUrl: string;
|
|
7187
|
-
};
|
|
7256
|
+
} | null;
|
|
7188
7257
|
};
|
|
7189
7258
|
export type KiloClawChatCredentialsResponse = KiloClawChatCredentialsResponses[keyof KiloClawChatCredentialsResponses];
|
|
7190
7259
|
export type KiloCloudSessionsData = {
|
|
@@ -7213,12 +7282,12 @@ export type KiloCloudSessionsResponses = {
|
|
|
7213
7282
|
200: {
|
|
7214
7283
|
cliSessions: Array<{
|
|
7215
7284
|
session_id: string;
|
|
7216
|
-
title: string;
|
|
7285
|
+
title: string | null;
|
|
7217
7286
|
created_at: string;
|
|
7218
7287
|
updated_at: string;
|
|
7219
7288
|
version: number;
|
|
7220
7289
|
}>;
|
|
7221
|
-
nextCursor: string;
|
|
7290
|
+
nextCursor: string | null;
|
|
7222
7291
|
};
|
|
7223
7292
|
};
|
|
7224
7293
|
export type KiloCloudSessionsResponse = KiloCloudSessionsResponses[keyof KiloCloudSessionsResponses];
|
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.3.
|
|
4
|
+
"version": "7.3.28",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@hey-api/openapi-ts": "0.90.10",
|
|
46
46
|
"@tsconfig/node22": "22.0.2",
|
|
47
47
|
"@types/cross-spawn": "6.0.6",
|
|
48
|
-
"@types/node": "24.12.
|
|
48
|
+
"@types/node": "24.12.4",
|
|
49
49
|
"@typescript/native-preview": "7.0.0-dev.20260316.1",
|
|
50
50
|
"typescript": "5.8.2"
|
|
51
51
|
},
|