@kilocode/sdk 7.2.4 → 7.2.6
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/client.js +26 -0
- package/dist/process.d.ts +3 -0
- package/dist/process.js +33 -0
- package/dist/server.js +27 -19
- package/dist/v2/client.js +40 -3
- package/dist/v2/gen/sdk.gen.d.ts +647 -581
- package/dist/v2/gen/sdk.gen.js +746 -614
- package/dist/v2/gen/types.gen.d.ts +1802 -1534
- package/dist/v2/server.js +25 -15
- package/package.json +7 -4
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, InstanceDisposeResponses, KiloClawChatCredentialsResponses, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, 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, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffResponses, 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, TelemetryCaptureErrors, TelemetryCaptureResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsGetResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute, EventTuiPromptAppend, EventTuiSessionSelect, EventTuiToastShow, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalSyncEventSubscribeResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, InstanceDisposeResponses, KiloClawChatCredentialsResponses, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, 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, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDiffResponses, 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, TelemetryCaptureErrors, TelemetryCaptureResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, VcsDiffResponses, VcsGetResponses, 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
|
|
@@ -25,6 +25,14 @@ declare class HeyApiRegistry<T> {
|
|
|
25
25
|
get(key?: string): T;
|
|
26
26
|
set(value: T, key?: string): void;
|
|
27
27
|
}
|
|
28
|
+
export declare class SyncEvent extends HeyApiClient {
|
|
29
|
+
/**
|
|
30
|
+
* Subscribe to global sync events
|
|
31
|
+
*
|
|
32
|
+
* Get global sync events
|
|
33
|
+
*/
|
|
34
|
+
subscribe<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<GlobalSyncEventSubscribeResponses, unknown>>;
|
|
35
|
+
}
|
|
28
36
|
export declare class Config extends HeyApiClient {
|
|
29
37
|
/**
|
|
30
38
|
* Get global configuration
|
|
@@ -60,6 +68,16 @@ export declare class Global extends HeyApiClient {
|
|
|
60
68
|
* Clean up and dispose all Kilo instances, releasing all resources.
|
|
61
69
|
*/
|
|
62
70
|
dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
71
|
+
/**
|
|
72
|
+
* Upgrade kilo
|
|
73
|
+
*
|
|
74
|
+
* Upgrade kilo to the specified version or latest if not specified.
|
|
75
|
+
*/
|
|
76
|
+
upgrade<ThrowOnError extends boolean = false>(parameters?: {
|
|
77
|
+
target?: string;
|
|
78
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalUpgradeResponses, GlobalUpgradeErrors, ThrowOnError, "fields">;
|
|
79
|
+
private _syncEvent?;
|
|
80
|
+
get syncEvent(): SyncEvent;
|
|
63
81
|
private _config?;
|
|
64
82
|
get config(): Config;
|
|
65
83
|
}
|
|
@@ -82,6 +100,41 @@ export declare class Auth extends HeyApiClient {
|
|
|
82
100
|
auth?: Auth3;
|
|
83
101
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
|
|
84
102
|
}
|
|
103
|
+
export declare class App extends HeyApiClient {
|
|
104
|
+
/**
|
|
105
|
+
* Write log
|
|
106
|
+
*
|
|
107
|
+
* Write a log entry to the server logs with specified level and metadata.
|
|
108
|
+
*/
|
|
109
|
+
log<ThrowOnError extends boolean = false>(parameters?: {
|
|
110
|
+
directory?: string;
|
|
111
|
+
workspace?: string;
|
|
112
|
+
service?: string;
|
|
113
|
+
level?: "debug" | "info" | "error" | "warn";
|
|
114
|
+
message?: string;
|
|
115
|
+
extra?: {
|
|
116
|
+
[key: string]: unknown;
|
|
117
|
+
};
|
|
118
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
|
|
119
|
+
/**
|
|
120
|
+
* List agents
|
|
121
|
+
*
|
|
122
|
+
* Get a list of all available AI agents in the Kilo system.
|
|
123
|
+
*/
|
|
124
|
+
agents<ThrowOnError extends boolean = false>(parameters?: {
|
|
125
|
+
directory?: string;
|
|
126
|
+
workspace?: string;
|
|
127
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
|
|
128
|
+
/**
|
|
129
|
+
* List skills
|
|
130
|
+
*
|
|
131
|
+
* Get a list of all available skills in the Kilo system.
|
|
132
|
+
*/
|
|
133
|
+
skills<ThrowOnError extends boolean = false>(parameters?: {
|
|
134
|
+
directory?: string;
|
|
135
|
+
workspace?: string;
|
|
136
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillsResponses, unknown, ThrowOnError, "fields">;
|
|
137
|
+
}
|
|
85
138
|
export declare class Project extends HeyApiClient {
|
|
86
139
|
/**
|
|
87
140
|
* List all projects
|
|
@@ -244,27 +297,36 @@ export declare class Config2 extends HeyApiClient {
|
|
|
244
297
|
workspace?: string;
|
|
245
298
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
|
|
246
299
|
}
|
|
247
|
-
export declare class
|
|
300
|
+
export declare class Console extends HeyApiClient {
|
|
248
301
|
/**
|
|
249
|
-
*
|
|
302
|
+
* Get active Console provider metadata
|
|
250
303
|
*
|
|
251
|
-
* Get
|
|
304
|
+
* Get the active Console org name and the set of provider IDs managed by that Console org.
|
|
252
305
|
*/
|
|
253
|
-
|
|
306
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
254
307
|
directory?: string;
|
|
255
308
|
workspace?: string;
|
|
256
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
309
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleGetResponses, unknown, ThrowOnError, "fields">;
|
|
257
310
|
/**
|
|
258
|
-
* List
|
|
311
|
+
* List switchable Console orgs
|
|
259
312
|
*
|
|
260
|
-
* Get
|
|
313
|
+
* Get the available Console orgs across logged-in accounts, including the current active org.
|
|
261
314
|
*/
|
|
262
|
-
|
|
315
|
+
listOrgs<ThrowOnError extends boolean = false>(parameters?: {
|
|
263
316
|
directory?: string;
|
|
264
317
|
workspace?: string;
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
318
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleListOrgsResponses, unknown, ThrowOnError, "fields">;
|
|
319
|
+
/**
|
|
320
|
+
* Switch active Console org
|
|
321
|
+
*
|
|
322
|
+
* Persist a new active Console account/org selection for the current local Kilo state.
|
|
323
|
+
*/
|
|
324
|
+
switchOrg<ThrowOnError extends boolean = false>(parameters?: {
|
|
325
|
+
directory?: string;
|
|
326
|
+
workspace?: string;
|
|
327
|
+
accountID?: string;
|
|
328
|
+
orgID?: string;
|
|
329
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleSwitchOrgResponses, unknown, ThrowOnError, "fields">;
|
|
268
330
|
}
|
|
269
331
|
export declare class Workspace extends HeyApiClient {
|
|
270
332
|
/**
|
|
@@ -331,6 +393,8 @@ export declare class Resource extends HeyApiClient {
|
|
|
331
393
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
|
|
332
394
|
}
|
|
333
395
|
export declare class Experimental extends HeyApiClient {
|
|
396
|
+
private _console?;
|
|
397
|
+
get console(): Console;
|
|
334
398
|
private _workspace?;
|
|
335
399
|
get workspace(): Workspace;
|
|
336
400
|
private _session?;
|
|
@@ -338,6 +402,28 @@ export declare class Experimental extends HeyApiClient {
|
|
|
338
402
|
private _resource?;
|
|
339
403
|
get resource(): Resource;
|
|
340
404
|
}
|
|
405
|
+
export declare class Tool extends HeyApiClient {
|
|
406
|
+
/**
|
|
407
|
+
* List tool IDs
|
|
408
|
+
*
|
|
409
|
+
* Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
|
|
410
|
+
*/
|
|
411
|
+
ids<ThrowOnError extends boolean = false>(parameters?: {
|
|
412
|
+
directory?: string;
|
|
413
|
+
workspace?: string;
|
|
414
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
|
|
415
|
+
/**
|
|
416
|
+
* List tools
|
|
417
|
+
*
|
|
418
|
+
* Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
|
|
419
|
+
*/
|
|
420
|
+
list<ThrowOnError extends boolean = false>(parameters: {
|
|
421
|
+
directory?: string;
|
|
422
|
+
workspace?: string;
|
|
423
|
+
provider: string;
|
|
424
|
+
model: string;
|
|
425
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
|
|
426
|
+
}
|
|
341
427
|
export declare class Worktree extends HeyApiClient {
|
|
342
428
|
/**
|
|
343
429
|
* Remove worktree
|
|
@@ -589,6 +675,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
589
675
|
directory?: string;
|
|
590
676
|
workspace?: string;
|
|
591
677
|
limit?: number;
|
|
678
|
+
before?: string;
|
|
592
679
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessagesResponses, SessionMessagesErrors, ThrowOnError, "fields">;
|
|
593
680
|
/**
|
|
594
681
|
* Send message
|
|
@@ -705,6 +792,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
705
792
|
sessionID: string;
|
|
706
793
|
directory?: string;
|
|
707
794
|
workspace?: string;
|
|
795
|
+
messageID?: string;
|
|
708
796
|
agent?: string;
|
|
709
797
|
model?: {
|
|
710
798
|
providerID: string;
|
|
@@ -862,37 +950,6 @@ export declare class Question extends HeyApiClient {
|
|
|
862
950
|
workspace?: string;
|
|
863
951
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
|
|
864
952
|
}
|
|
865
|
-
export declare class Network extends HeyApiClient {
|
|
866
|
-
/**
|
|
867
|
-
* List pending network waits
|
|
868
|
-
*
|
|
869
|
-
* Get all pending network reconnect requests across all sessions.
|
|
870
|
-
*/
|
|
871
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
872
|
-
directory?: string;
|
|
873
|
-
workspace?: string;
|
|
874
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkListResponses, unknown, ThrowOnError, "fields">;
|
|
875
|
-
/**
|
|
876
|
-
* Resume after network wait
|
|
877
|
-
*
|
|
878
|
-
* Resume a pending session after reconnecting network-dependent services.
|
|
879
|
-
*/
|
|
880
|
-
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
881
|
-
requestID: string;
|
|
882
|
-
directory?: string;
|
|
883
|
-
workspace?: string;
|
|
884
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkReplyResponses, NetworkReplyErrors, ThrowOnError, "fields">;
|
|
885
|
-
/**
|
|
886
|
-
* Reject network resume request
|
|
887
|
-
*
|
|
888
|
-
* Stop a pending session instead of resuming after network reconnect.
|
|
889
|
-
*/
|
|
890
|
-
reject<ThrowOnError extends boolean = false>(parameters: {
|
|
891
|
-
requestID: string;
|
|
892
|
-
directory?: string;
|
|
893
|
-
workspace?: string;
|
|
894
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkRejectResponses, NetworkRejectErrors, ThrowOnError, "fields">;
|
|
895
|
-
}
|
|
896
953
|
export declare class Oauth extends HeyApiClient {
|
|
897
954
|
/**
|
|
898
955
|
* OAuth authorize
|
|
@@ -904,6 +961,9 @@ export declare class Oauth extends HeyApiClient {
|
|
|
904
961
|
directory?: string;
|
|
905
962
|
workspace?: string;
|
|
906
963
|
method?: number;
|
|
964
|
+
inputs?: {
|
|
965
|
+
[key: string]: string;
|
|
966
|
+
};
|
|
907
967
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
|
|
908
968
|
/**
|
|
909
969
|
* OAuth callback
|
|
@@ -940,821 +1000,827 @@ export declare class Provider extends HeyApiClient {
|
|
|
940
1000
|
private _oauth?;
|
|
941
1001
|
get oauth(): Oauth;
|
|
942
1002
|
}
|
|
943
|
-
export declare class
|
|
1003
|
+
export declare class Find extends HeyApiClient {
|
|
944
1004
|
/**
|
|
945
|
-
*
|
|
1005
|
+
* Find text
|
|
946
1006
|
*
|
|
947
|
-
*
|
|
1007
|
+
* Search for text patterns across files in the project using ripgrep.
|
|
948
1008
|
*/
|
|
949
|
-
|
|
1009
|
+
text<ThrowOnError extends boolean = false>(parameters: {
|
|
950
1010
|
directory?: string;
|
|
951
1011
|
workspace?: string;
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
1012
|
+
pattern: string;
|
|
1013
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
|
|
1014
|
+
/**
|
|
1015
|
+
* Find files
|
|
1016
|
+
*
|
|
1017
|
+
* Search for files or directories by name or pattern in the project directory.
|
|
1018
|
+
*/
|
|
1019
|
+
files<ThrowOnError extends boolean = false>(parameters: {
|
|
1020
|
+
directory?: string;
|
|
1021
|
+
workspace?: string;
|
|
1022
|
+
query: string;
|
|
1023
|
+
dirs?: "true" | "false";
|
|
1024
|
+
type?: "file" | "directory";
|
|
1025
|
+
limit?: number;
|
|
1026
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
|
|
1027
|
+
/**
|
|
1028
|
+
* Find symbols
|
|
1029
|
+
*
|
|
1030
|
+
* Search for workspace symbols like functions, classes, and variables using LSP.
|
|
1031
|
+
*/
|
|
1032
|
+
symbols<ThrowOnError extends boolean = false>(parameters: {
|
|
1033
|
+
directory?: string;
|
|
1034
|
+
workspace?: string;
|
|
1035
|
+
query: string;
|
|
1036
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
|
|
957
1037
|
}
|
|
958
|
-
export declare class
|
|
1038
|
+
export declare class File extends HeyApiClient {
|
|
959
1039
|
/**
|
|
960
|
-
*
|
|
1040
|
+
* List files
|
|
961
1041
|
*
|
|
962
|
-
*
|
|
1042
|
+
* List files and directories in a specified path.
|
|
963
1043
|
*/
|
|
964
|
-
|
|
1044
|
+
list<ThrowOnError extends boolean = false>(parameters: {
|
|
965
1045
|
directory?: string;
|
|
966
1046
|
workspace?: string;
|
|
967
|
-
|
|
1047
|
+
path: string;
|
|
1048
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
|
|
968
1049
|
/**
|
|
969
|
-
*
|
|
1050
|
+
* Read file
|
|
970
1051
|
*
|
|
971
|
-
*
|
|
1052
|
+
* Read the content of a specified file.
|
|
972
1053
|
*/
|
|
973
|
-
|
|
1054
|
+
read<ThrowOnError extends boolean = false>(parameters: {
|
|
974
1055
|
directory?: string;
|
|
975
1056
|
workspace?: string;
|
|
976
|
-
|
|
1057
|
+
path: string;
|
|
1058
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
|
|
977
1059
|
/**
|
|
978
|
-
* Get
|
|
1060
|
+
* Get file status
|
|
979
1061
|
*
|
|
980
|
-
* Get the
|
|
1062
|
+
* Get the git status of all files in the project.
|
|
981
1063
|
*/
|
|
982
1064
|
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
983
1065
|
directory?: string;
|
|
984
1066
|
workspace?: string;
|
|
985
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1067
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
|
|
986
1068
|
}
|
|
987
|
-
export declare class
|
|
1069
|
+
export declare class Event extends HeyApiClient {
|
|
988
1070
|
/**
|
|
989
|
-
*
|
|
1071
|
+
* Subscribe to events
|
|
990
1072
|
*
|
|
991
|
-
*
|
|
1073
|
+
* Get events
|
|
992
1074
|
*/
|
|
993
|
-
|
|
1075
|
+
subscribe<ThrowOnError extends boolean = false>(parameters?: {
|
|
994
1076
|
directory?: string;
|
|
995
1077
|
workspace?: string;
|
|
996
|
-
|
|
997
|
-
selectedFiles?: Array<string>;
|
|
998
|
-
previousMessage?: string;
|
|
999
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommitMessageGenerateResponses, CommitMessageGenerateErrors, ThrowOnError, "fields">;
|
|
1078
|
+
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
|
|
1000
1079
|
}
|
|
1001
|
-
export declare class
|
|
1080
|
+
export declare class Auth2 extends HeyApiClient {
|
|
1002
1081
|
/**
|
|
1003
|
-
*
|
|
1082
|
+
* Remove MCP OAuth
|
|
1004
1083
|
*
|
|
1005
|
-
*
|
|
1084
|
+
* Remove OAuth credentials for an MCP server
|
|
1006
1085
|
*/
|
|
1007
|
-
|
|
1086
|
+
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
1087
|
+
name: string;
|
|
1008
1088
|
directory?: string;
|
|
1009
1089
|
workspace?: string;
|
|
1010
|
-
|
|
1011
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EnhancePromptEnhanceResponses, EnhancePromptEnhanceErrors, ThrowOnError, "fields">;
|
|
1012
|
-
}
|
|
1013
|
-
export declare class SessionImport extends HeyApiClient {
|
|
1090
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
|
|
1014
1091
|
/**
|
|
1015
|
-
*
|
|
1092
|
+
* Start MCP OAuth
|
|
1016
1093
|
*
|
|
1017
|
-
*
|
|
1094
|
+
* Start OAuth authentication flow for a Model Context Protocol (MCP) server.
|
|
1018
1095
|
*/
|
|
1019
|
-
|
|
1096
|
+
start<ThrowOnError extends boolean = false>(parameters: {
|
|
1097
|
+
name: string;
|
|
1020
1098
|
directory?: string;
|
|
1021
1099
|
workspace?: string;
|
|
1022
|
-
|
|
1023
|
-
worktree?: string;
|
|
1024
|
-
vcs?: string;
|
|
1025
|
-
name?: string;
|
|
1026
|
-
iconUrl?: string;
|
|
1027
|
-
iconColor?: string;
|
|
1028
|
-
timeCreated?: number;
|
|
1029
|
-
timeUpdated?: number;
|
|
1030
|
-
timeInitialized?: number;
|
|
1031
|
-
sandboxes?: Array<string>;
|
|
1032
|
-
commands?: {
|
|
1033
|
-
start?: string;
|
|
1034
|
-
};
|
|
1035
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportProjectResponses, KilocodeSessionImportProjectErrors, ThrowOnError, "fields">;
|
|
1100
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
|
|
1036
1101
|
/**
|
|
1037
|
-
*
|
|
1102
|
+
* Complete MCP OAuth
|
|
1038
1103
|
*
|
|
1039
|
-
*
|
|
1104
|
+
* Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
|
|
1040
1105
|
*/
|
|
1041
|
-
|
|
1042
|
-
|
|
1106
|
+
callback<ThrowOnError extends boolean = false>(parameters: {
|
|
1107
|
+
name: string;
|
|
1108
|
+
directory?: string;
|
|
1043
1109
|
workspace?: string;
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
force?: boolean;
|
|
1047
|
-
workspaceID?: string;
|
|
1048
|
-
parentID?: string;
|
|
1049
|
-
slug?: string;
|
|
1050
|
-
body_directory?: string;
|
|
1051
|
-
title?: string;
|
|
1052
|
-
version?: string;
|
|
1053
|
-
shareURL?: string;
|
|
1054
|
-
summary?: {
|
|
1055
|
-
additions: number;
|
|
1056
|
-
deletions: number;
|
|
1057
|
-
files: number;
|
|
1058
|
-
diffs?: Array<{
|
|
1059
|
-
[key: string]: unknown;
|
|
1060
|
-
}>;
|
|
1061
|
-
};
|
|
1062
|
-
revert?: {
|
|
1063
|
-
messageID: string;
|
|
1064
|
-
partID?: string;
|
|
1065
|
-
snapshot?: string;
|
|
1066
|
-
diff?: string;
|
|
1067
|
-
};
|
|
1068
|
-
permission?: {
|
|
1069
|
-
[key: string]: unknown;
|
|
1070
|
-
};
|
|
1071
|
-
timeCreated?: number;
|
|
1072
|
-
timeUpdated?: number;
|
|
1073
|
-
timeCompacting?: number;
|
|
1074
|
-
timeArchived?: number;
|
|
1075
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportSessionResponses, KilocodeSessionImportSessionErrors, ThrowOnError, "fields">;
|
|
1076
|
-
/**
|
|
1077
|
-
* Insert message for session import
|
|
1078
|
-
*
|
|
1079
|
-
* Insert or update a message row used by legacy session import.
|
|
1080
|
-
*/
|
|
1081
|
-
message<ThrowOnError extends boolean = false>(parameters?: {
|
|
1082
|
-
directory?: string;
|
|
1083
|
-
workspace?: string;
|
|
1084
|
-
id?: string;
|
|
1085
|
-
sessionID?: string;
|
|
1086
|
-
timeCreated?: number;
|
|
1087
|
-
data?: {
|
|
1088
|
-
role: "user";
|
|
1089
|
-
time: {
|
|
1090
|
-
created: number;
|
|
1091
|
-
};
|
|
1092
|
-
agent: string;
|
|
1093
|
-
model: {
|
|
1094
|
-
providerID: string;
|
|
1095
|
-
modelID: string;
|
|
1096
|
-
};
|
|
1097
|
-
tools?: {
|
|
1098
|
-
[key: string]: boolean;
|
|
1099
|
-
};
|
|
1100
|
-
} | {
|
|
1101
|
-
role: "assistant";
|
|
1102
|
-
time: {
|
|
1103
|
-
created: number;
|
|
1104
|
-
completed?: number;
|
|
1105
|
-
};
|
|
1106
|
-
parentID: string;
|
|
1107
|
-
modelID: string;
|
|
1108
|
-
providerID: string;
|
|
1109
|
-
mode: string;
|
|
1110
|
-
agent: string;
|
|
1111
|
-
path: {
|
|
1112
|
-
cwd: string;
|
|
1113
|
-
root: string;
|
|
1114
|
-
};
|
|
1115
|
-
summary?: boolean;
|
|
1116
|
-
cost: number;
|
|
1117
|
-
tokens: {
|
|
1118
|
-
total?: number;
|
|
1119
|
-
input: number;
|
|
1120
|
-
output: number;
|
|
1121
|
-
reasoning: number;
|
|
1122
|
-
cache: {
|
|
1123
|
-
read: number;
|
|
1124
|
-
write: number;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
1127
|
-
structured?: unknown;
|
|
1128
|
-
variant?: string;
|
|
1129
|
-
finish?: string;
|
|
1130
|
-
};
|
|
1131
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportMessageResponses, KilocodeSessionImportMessageErrors, ThrowOnError, "fields">;
|
|
1110
|
+
code?: string;
|
|
1111
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
|
|
1132
1112
|
/**
|
|
1133
|
-
*
|
|
1113
|
+
* Authenticate MCP OAuth
|
|
1134
1114
|
*
|
|
1135
|
-
*
|
|
1115
|
+
* Start OAuth flow and wait for callback (opens browser)
|
|
1136
1116
|
*/
|
|
1137
|
-
|
|
1117
|
+
authenticate<ThrowOnError extends boolean = false>(parameters: {
|
|
1118
|
+
name: string;
|
|
1138
1119
|
directory?: string;
|
|
1139
1120
|
workspace?: string;
|
|
1140
|
-
|
|
1141
|
-
messageID?: string;
|
|
1142
|
-
sessionID?: string;
|
|
1143
|
-
timeCreated?: number;
|
|
1144
|
-
data?: {
|
|
1145
|
-
type: "text";
|
|
1146
|
-
text: string;
|
|
1147
|
-
synthetic?: boolean;
|
|
1148
|
-
ignored?: boolean;
|
|
1149
|
-
time?: {
|
|
1150
|
-
start: number;
|
|
1151
|
-
end?: number;
|
|
1152
|
-
};
|
|
1153
|
-
metadata?: {
|
|
1154
|
-
[key: string]: unknown;
|
|
1155
|
-
};
|
|
1156
|
-
} | {
|
|
1157
|
-
type: "reasoning";
|
|
1158
|
-
text: string;
|
|
1159
|
-
metadata?: {
|
|
1160
|
-
[key: string]: unknown;
|
|
1161
|
-
};
|
|
1162
|
-
time: {
|
|
1163
|
-
start: number;
|
|
1164
|
-
end?: number;
|
|
1165
|
-
};
|
|
1166
|
-
} | {
|
|
1167
|
-
type: "tool";
|
|
1168
|
-
callID: string;
|
|
1169
|
-
tool: string;
|
|
1170
|
-
state: {
|
|
1171
|
-
status: "pending";
|
|
1172
|
-
input: {
|
|
1173
|
-
[key: string]: unknown;
|
|
1174
|
-
};
|
|
1175
|
-
raw: string;
|
|
1176
|
-
} | {
|
|
1177
|
-
status: "running";
|
|
1178
|
-
input: {
|
|
1179
|
-
[key: string]: unknown;
|
|
1180
|
-
};
|
|
1181
|
-
title?: string;
|
|
1182
|
-
metadata?: {
|
|
1183
|
-
[key: string]: unknown;
|
|
1184
|
-
};
|
|
1185
|
-
time: {
|
|
1186
|
-
start: number;
|
|
1187
|
-
};
|
|
1188
|
-
} | {
|
|
1189
|
-
status: "completed";
|
|
1190
|
-
input: {
|
|
1191
|
-
[key: string]: unknown;
|
|
1192
|
-
};
|
|
1193
|
-
output: string;
|
|
1194
|
-
title: string;
|
|
1195
|
-
metadata: {
|
|
1196
|
-
[key: string]: unknown;
|
|
1197
|
-
};
|
|
1198
|
-
time: {
|
|
1199
|
-
start: number;
|
|
1200
|
-
end: number;
|
|
1201
|
-
compacted?: number;
|
|
1202
|
-
};
|
|
1203
|
-
} | {
|
|
1204
|
-
status: "error";
|
|
1205
|
-
input: {
|
|
1206
|
-
[key: string]: unknown;
|
|
1207
|
-
};
|
|
1208
|
-
error: string;
|
|
1209
|
-
metadata?: {
|
|
1210
|
-
[key: string]: unknown;
|
|
1211
|
-
};
|
|
1212
|
-
time: {
|
|
1213
|
-
start: number;
|
|
1214
|
-
end: number;
|
|
1215
|
-
};
|
|
1216
|
-
};
|
|
1217
|
-
metadata?: {
|
|
1218
|
-
[key: string]: unknown;
|
|
1219
|
-
};
|
|
1220
|
-
};
|
|
1221
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportPartResponses, KilocodeSessionImportPartErrors, ThrowOnError, "fields">;
|
|
1121
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
|
|
1222
1122
|
}
|
|
1223
|
-
export declare class
|
|
1123
|
+
export declare class Mcp extends HeyApiClient {
|
|
1224
1124
|
/**
|
|
1225
|
-
*
|
|
1125
|
+
* Get MCP status
|
|
1226
1126
|
*
|
|
1227
|
-
*
|
|
1127
|
+
* Get the status of all Model Context Protocol (MCP) servers.
|
|
1228
1128
|
*/
|
|
1229
|
-
|
|
1129
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1230
1130
|
directory?: string;
|
|
1231
1131
|
workspace?: string;
|
|
1232
|
-
|
|
1233
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeRemoveSkillResponses, KilocodeRemoveSkillErrors, ThrowOnError, "fields">;
|
|
1132
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1234
1133
|
/**
|
|
1235
|
-
*
|
|
1134
|
+
* Add MCP server
|
|
1236
1135
|
*
|
|
1237
|
-
*
|
|
1136
|
+
* Dynamically add a new Model Context Protocol (MCP) server to the system.
|
|
1238
1137
|
*/
|
|
1239
|
-
|
|
1138
|
+
add<ThrowOnError extends boolean = false>(parameters?: {
|
|
1240
1139
|
directory?: string;
|
|
1241
1140
|
workspace?: string;
|
|
1242
1141
|
name?: string;
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
get sessionImport(): SessionImport;
|
|
1246
|
-
}
|
|
1247
|
-
export declare class Organization extends HeyApiClient {
|
|
1142
|
+
config?: McpLocalConfig | McpRemoteConfig;
|
|
1143
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
|
|
1248
1144
|
/**
|
|
1249
|
-
*
|
|
1250
|
-
*
|
|
1251
|
-
* Switch to a different Kilo Gateway organization
|
|
1145
|
+
* Connect an MCP server
|
|
1252
1146
|
*/
|
|
1253
|
-
|
|
1147
|
+
connect<ThrowOnError extends boolean = false>(parameters: {
|
|
1148
|
+
name: string;
|
|
1254
1149
|
directory?: string;
|
|
1255
1150
|
workspace?: string;
|
|
1256
|
-
|
|
1257
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloOrganizationSetResponses, KiloOrganizationSetErrors, ThrowOnError, "fields">;
|
|
1258
|
-
}
|
|
1259
|
-
export declare class Session3 extends HeyApiClient {
|
|
1151
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
|
|
1260
1152
|
/**
|
|
1261
|
-
*
|
|
1262
|
-
*
|
|
1263
|
-
* Fetch full session data from the Kilo cloud for preview
|
|
1153
|
+
* Disconnect an MCP server
|
|
1264
1154
|
*/
|
|
1265
|
-
|
|
1266
|
-
|
|
1155
|
+
disconnect<ThrowOnError extends boolean = false>(parameters: {
|
|
1156
|
+
name: string;
|
|
1267
1157
|
directory?: string;
|
|
1268
1158
|
workspace?: string;
|
|
1269
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1159
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
|
|
1160
|
+
private _auth?;
|
|
1161
|
+
get auth(): Auth2;
|
|
1162
|
+
}
|
|
1163
|
+
export declare class Control extends HeyApiClient {
|
|
1270
1164
|
/**
|
|
1271
|
-
*
|
|
1165
|
+
* Get next TUI request
|
|
1272
1166
|
*
|
|
1273
|
-
*
|
|
1167
|
+
* Retrieve the next TUI (Terminal User Interface) request from the queue for processing.
|
|
1274
1168
|
*/
|
|
1275
|
-
|
|
1169
|
+
next<ThrowOnError extends boolean = false>(parameters?: {
|
|
1276
1170
|
directory?: string;
|
|
1277
1171
|
workspace?: string;
|
|
1278
|
-
|
|
1279
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionImportResponses, KiloCloudSessionImportErrors, ThrowOnError, "fields">;
|
|
1280
|
-
}
|
|
1281
|
-
export declare class Cloud extends HeyApiClient {
|
|
1282
|
-
private _session?;
|
|
1283
|
-
get session(): Session3;
|
|
1284
|
-
}
|
|
1285
|
-
export declare class Claw extends HeyApiClient {
|
|
1172
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlNextResponses, unknown, ThrowOnError, "fields">;
|
|
1286
1173
|
/**
|
|
1287
|
-
*
|
|
1174
|
+
* Submit TUI response
|
|
1288
1175
|
*
|
|
1289
|
-
*
|
|
1176
|
+
* Submit a response to the TUI request queue to complete a pending request.
|
|
1290
1177
|
*/
|
|
1291
|
-
|
|
1178
|
+
response<ThrowOnError extends boolean = false>(parameters?: {
|
|
1292
1179
|
directory?: string;
|
|
1293
1180
|
workspace?: string;
|
|
1294
|
-
|
|
1181
|
+
body?: unknown;
|
|
1182
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiControlResponseResponses, unknown, ThrowOnError, "fields">;
|
|
1183
|
+
}
|
|
1184
|
+
export declare class Tui extends HeyApiClient {
|
|
1295
1185
|
/**
|
|
1296
|
-
*
|
|
1186
|
+
* Append TUI prompt
|
|
1297
1187
|
*
|
|
1298
|
-
*
|
|
1188
|
+
* Append prompt to the TUI
|
|
1299
1189
|
*/
|
|
1300
|
-
|
|
1190
|
+
appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1301
1191
|
directory?: string;
|
|
1302
1192
|
workspace?: string;
|
|
1303
|
-
|
|
1304
|
-
}
|
|
1305
|
-
export declare class Kilo extends HeyApiClient {
|
|
1193
|
+
text?: string;
|
|
1194
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
|
|
1306
1195
|
/**
|
|
1307
|
-
*
|
|
1196
|
+
* Open help dialog
|
|
1308
1197
|
*
|
|
1309
|
-
*
|
|
1198
|
+
* Open the help dialog in the TUI to display user assistance information.
|
|
1310
1199
|
*/
|
|
1311
|
-
|
|
1200
|
+
openHelp<ThrowOnError extends boolean = false>(parameters?: {
|
|
1312
1201
|
directory?: string;
|
|
1313
1202
|
workspace?: string;
|
|
1314
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1203
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenHelpResponses, unknown, ThrowOnError, "fields">;
|
|
1315
1204
|
/**
|
|
1316
|
-
*
|
|
1205
|
+
* Open sessions dialog
|
|
1317
1206
|
*
|
|
1318
|
-
*
|
|
1207
|
+
* Open the session dialog
|
|
1319
1208
|
*/
|
|
1320
|
-
|
|
1209
|
+
openSessions<ThrowOnError extends boolean = false>(parameters?: {
|
|
1321
1210
|
directory?: string;
|
|
1322
1211
|
workspace?: string;
|
|
1323
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1212
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenSessionsResponses, unknown, ThrowOnError, "fields">;
|
|
1324
1213
|
/**
|
|
1325
|
-
*
|
|
1214
|
+
* Open themes dialog
|
|
1326
1215
|
*
|
|
1327
|
-
*
|
|
1216
|
+
* Open the theme dialog
|
|
1328
1217
|
*/
|
|
1329
|
-
|
|
1218
|
+
openThemes<ThrowOnError extends boolean = false>(parameters?: {
|
|
1330
1219
|
directory?: string;
|
|
1331
1220
|
workspace?: string;
|
|
1332
|
-
|
|
1333
|
-
suffix?: string;
|
|
1334
|
-
model?: string;
|
|
1335
|
-
maxTokens?: number;
|
|
1336
|
-
temperature?: number;
|
|
1337
|
-
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<KiloFimResponses, KiloFimErrors>>;
|
|
1221
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenThemesResponses, unknown, ThrowOnError, "fields">;
|
|
1338
1222
|
/**
|
|
1339
|
-
*
|
|
1223
|
+
* Open models dialog
|
|
1340
1224
|
*
|
|
1341
|
-
*
|
|
1225
|
+
* Open the model dialog
|
|
1342
1226
|
*/
|
|
1343
|
-
|
|
1227
|
+
openModels<ThrowOnError extends boolean = false>(parameters?: {
|
|
1344
1228
|
directory?: string;
|
|
1345
1229
|
workspace?: string;
|
|
1346
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1230
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiOpenModelsResponses, unknown, ThrowOnError, "fields">;
|
|
1347
1231
|
/**
|
|
1348
|
-
*
|
|
1232
|
+
* Submit TUI prompt
|
|
1349
1233
|
*
|
|
1350
|
-
*
|
|
1234
|
+
* Submit the prompt
|
|
1351
1235
|
*/
|
|
1352
|
-
|
|
1236
|
+
submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1353
1237
|
directory?: string;
|
|
1354
1238
|
workspace?: string;
|
|
1355
|
-
|
|
1356
|
-
limit?: number;
|
|
1357
|
-
gitUrl?: string;
|
|
1358
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionsResponses, KiloCloudSessionsErrors, ThrowOnError, "fields">;
|
|
1359
|
-
private _organization?;
|
|
1360
|
-
get organization(): Organization;
|
|
1361
|
-
private _cloud?;
|
|
1362
|
-
get cloud(): Cloud;
|
|
1363
|
-
private _claw?;
|
|
1364
|
-
get claw(): Claw;
|
|
1365
|
-
}
|
|
1366
|
-
export declare class Find extends HeyApiClient {
|
|
1239
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSubmitPromptResponses, unknown, ThrowOnError, "fields">;
|
|
1367
1240
|
/**
|
|
1368
|
-
*
|
|
1241
|
+
* Clear TUI prompt
|
|
1369
1242
|
*
|
|
1370
|
-
*
|
|
1243
|
+
* Clear the prompt
|
|
1371
1244
|
*/
|
|
1372
|
-
|
|
1245
|
+
clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1373
1246
|
directory?: string;
|
|
1374
1247
|
workspace?: string;
|
|
1375
|
-
|
|
1376
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
|
|
1248
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiClearPromptResponses, unknown, ThrowOnError, "fields">;
|
|
1377
1249
|
/**
|
|
1378
|
-
*
|
|
1250
|
+
* Execute TUI command
|
|
1379
1251
|
*
|
|
1380
|
-
*
|
|
1252
|
+
* Execute a TUI command (e.g. agent_cycle)
|
|
1381
1253
|
*/
|
|
1382
|
-
|
|
1254
|
+
executeCommand<ThrowOnError extends boolean = false>(parameters?: {
|
|
1383
1255
|
directory?: string;
|
|
1384
1256
|
workspace?: string;
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
type?: "file" | "directory";
|
|
1388
|
-
limit?: number;
|
|
1389
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
|
|
1257
|
+
command?: string;
|
|
1258
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiExecuteCommandResponses, TuiExecuteCommandErrors, ThrowOnError, "fields">;
|
|
1390
1259
|
/**
|
|
1391
|
-
*
|
|
1260
|
+
* Show TUI toast
|
|
1392
1261
|
*
|
|
1393
|
-
*
|
|
1262
|
+
* Show a toast notification in the TUI
|
|
1394
1263
|
*/
|
|
1395
|
-
|
|
1264
|
+
showToast<ThrowOnError extends boolean = false>(parameters?: {
|
|
1396
1265
|
directory?: string;
|
|
1397
1266
|
workspace?: string;
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1267
|
+
title?: string;
|
|
1268
|
+
message?: string;
|
|
1269
|
+
variant?: "info" | "success" | "warning" | "error";
|
|
1270
|
+
duration?: number;
|
|
1271
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiShowToastResponses, unknown, ThrowOnError, "fields">;
|
|
1402
1272
|
/**
|
|
1403
|
-
*
|
|
1273
|
+
* Publish TUI event
|
|
1404
1274
|
*
|
|
1405
|
-
*
|
|
1275
|
+
* Publish a TUI event
|
|
1406
1276
|
*/
|
|
1407
|
-
|
|
1277
|
+
publish<ThrowOnError extends boolean = false>(parameters?: {
|
|
1408
1278
|
directory?: string;
|
|
1409
1279
|
workspace?: string;
|
|
1410
|
-
|
|
1411
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1280
|
+
body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
|
|
1281
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
|
|
1412
1282
|
/**
|
|
1413
|
-
*
|
|
1283
|
+
* Select session
|
|
1414
1284
|
*
|
|
1415
|
-
*
|
|
1285
|
+
* Navigate the TUI to display the specified session.
|
|
1416
1286
|
*/
|
|
1417
|
-
|
|
1287
|
+
selectSession<ThrowOnError extends boolean = false>(parameters?: {
|
|
1418
1288
|
directory?: string;
|
|
1419
1289
|
workspace?: string;
|
|
1420
|
-
|
|
1421
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1290
|
+
sessionID?: string;
|
|
1291
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiSelectSessionResponses, TuiSelectSessionErrors, ThrowOnError, "fields">;
|
|
1292
|
+
private _control?;
|
|
1293
|
+
get control(): Control;
|
|
1294
|
+
}
|
|
1295
|
+
export declare class Instance extends HeyApiClient {
|
|
1422
1296
|
/**
|
|
1423
|
-
*
|
|
1297
|
+
* Dispose instance
|
|
1424
1298
|
*
|
|
1425
|
-
*
|
|
1299
|
+
* Clean up and dispose the current Kilo instance, releasing all resources.
|
|
1426
1300
|
*/
|
|
1427
|
-
|
|
1301
|
+
dispose<ThrowOnError extends boolean = false>(parameters?: {
|
|
1428
1302
|
directory?: string;
|
|
1429
1303
|
workspace?: string;
|
|
1430
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1304
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
1431
1305
|
}
|
|
1432
|
-
export declare class
|
|
1306
|
+
export declare class Path extends HeyApiClient {
|
|
1433
1307
|
/**
|
|
1434
|
-
*
|
|
1308
|
+
* Get paths
|
|
1435
1309
|
*
|
|
1436
|
-
*
|
|
1310
|
+
* Retrieve the current working directory and related path information for the Kilo instance.
|
|
1437
1311
|
*/
|
|
1438
|
-
|
|
1439
|
-
name: string;
|
|
1312
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
1440
1313
|
directory?: string;
|
|
1441
1314
|
workspace?: string;
|
|
1442
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1315
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
|
|
1316
|
+
}
|
|
1317
|
+
export declare class Vcs extends HeyApiClient {
|
|
1443
1318
|
/**
|
|
1444
|
-
*
|
|
1319
|
+
* Get VCS info
|
|
1445
1320
|
*
|
|
1446
|
-
*
|
|
1321
|
+
* Retrieve version control system (VCS) information for the current project, such as git branch.
|
|
1447
1322
|
*/
|
|
1448
|
-
|
|
1449
|
-
name: string;
|
|
1323
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
1450
1324
|
directory?: string;
|
|
1451
1325
|
workspace?: string;
|
|
1452
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1326
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
|
|
1453
1327
|
/**
|
|
1454
|
-
*
|
|
1328
|
+
* Get VCS diff
|
|
1455
1329
|
*
|
|
1456
|
-
*
|
|
1330
|
+
* Retrieve the current git diff for the working tree or against the default branch.
|
|
1457
1331
|
*/
|
|
1458
|
-
|
|
1459
|
-
name: string;
|
|
1332
|
+
diff<ThrowOnError extends boolean = false>(parameters: {
|
|
1460
1333
|
directory?: string;
|
|
1461
1334
|
workspace?: string;
|
|
1462
|
-
|
|
1463
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1335
|
+
mode: "git" | "branch";
|
|
1336
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffResponses, unknown, ThrowOnError, "fields">;
|
|
1337
|
+
}
|
|
1338
|
+
export declare class Command extends HeyApiClient {
|
|
1464
1339
|
/**
|
|
1465
|
-
*
|
|
1340
|
+
* List commands
|
|
1466
1341
|
*
|
|
1467
|
-
*
|
|
1342
|
+
* Get a list of all available commands in the Kilo system.
|
|
1468
1343
|
*/
|
|
1469
|
-
|
|
1470
|
-
name: string;
|
|
1344
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1471
1345
|
directory?: string;
|
|
1472
1346
|
workspace?: string;
|
|
1473
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1347
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
|
|
1474
1348
|
}
|
|
1475
|
-
export declare class
|
|
1349
|
+
export declare class Lsp extends HeyApiClient {
|
|
1476
1350
|
/**
|
|
1477
|
-
* Get
|
|
1351
|
+
* Get LSP status
|
|
1478
1352
|
*
|
|
1479
|
-
* Get
|
|
1353
|
+
* Get LSP server status
|
|
1480
1354
|
*/
|
|
1481
1355
|
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1482
1356
|
directory?: string;
|
|
1483
1357
|
workspace?: string;
|
|
1484
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1358
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1359
|
+
}
|
|
1360
|
+
export declare class Formatter extends HeyApiClient {
|
|
1485
1361
|
/**
|
|
1486
|
-
*
|
|
1362
|
+
* Get formatter status
|
|
1487
1363
|
*
|
|
1488
|
-
*
|
|
1364
|
+
* Get formatter status
|
|
1489
1365
|
*/
|
|
1490
|
-
|
|
1366
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1491
1367
|
directory?: string;
|
|
1492
1368
|
workspace?: string;
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1369
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1370
|
+
}
|
|
1371
|
+
export declare class Network extends HeyApiClient {
|
|
1496
1372
|
/**
|
|
1497
|
-
*
|
|
1373
|
+
* List pending network waits
|
|
1374
|
+
*
|
|
1375
|
+
* Get all pending network reconnect requests across all sessions.
|
|
1498
1376
|
*/
|
|
1499
|
-
|
|
1500
|
-
name: string;
|
|
1377
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1501
1378
|
directory?: string;
|
|
1502
1379
|
workspace?: string;
|
|
1503
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1380
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkListResponses, unknown, ThrowOnError, "fields">;
|
|
1504
1381
|
/**
|
|
1505
|
-
*
|
|
1382
|
+
* Resume after network wait
|
|
1383
|
+
*
|
|
1384
|
+
* Resume a pending session after reconnecting network-dependent services.
|
|
1506
1385
|
*/
|
|
1507
|
-
|
|
1508
|
-
|
|
1386
|
+
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
1387
|
+
requestID: string;
|
|
1509
1388
|
directory?: string;
|
|
1510
1389
|
workspace?: string;
|
|
1511
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1512
|
-
private _auth?;
|
|
1513
|
-
get auth(): Auth2;
|
|
1514
|
-
}
|
|
1515
|
-
export declare class Control extends HeyApiClient {
|
|
1390
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkReplyResponses, NetworkReplyErrors, ThrowOnError, "fields">;
|
|
1516
1391
|
/**
|
|
1517
|
-
*
|
|
1392
|
+
* Reject network resume request
|
|
1518
1393
|
*
|
|
1519
|
-
*
|
|
1394
|
+
* Stop a pending session instead of resuming after network reconnect.
|
|
1520
1395
|
*/
|
|
1521
|
-
|
|
1396
|
+
reject<ThrowOnError extends boolean = false>(parameters: {
|
|
1397
|
+
requestID: string;
|
|
1522
1398
|
directory?: string;
|
|
1523
1399
|
workspace?: string;
|
|
1524
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1400
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkRejectResponses, NetworkRejectErrors, ThrowOnError, "fields">;
|
|
1401
|
+
}
|
|
1402
|
+
export declare class Telemetry extends HeyApiClient {
|
|
1525
1403
|
/**
|
|
1526
|
-
*
|
|
1404
|
+
* Capture telemetry event
|
|
1527
1405
|
*
|
|
1528
|
-
*
|
|
1406
|
+
* Forward a telemetry event to PostHog via kilo-telemetry.
|
|
1529
1407
|
*/
|
|
1530
|
-
|
|
1408
|
+
capture<ThrowOnError extends boolean = false>(parameters?: {
|
|
1531
1409
|
directory?: string;
|
|
1532
1410
|
workspace?: string;
|
|
1533
|
-
|
|
1534
|
-
|
|
1411
|
+
event?: string;
|
|
1412
|
+
properties?: {
|
|
1413
|
+
[key: string]: unknown;
|
|
1414
|
+
};
|
|
1415
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TelemetryCaptureResponses, TelemetryCaptureErrors, ThrowOnError, "fields">;
|
|
1535
1416
|
}
|
|
1536
|
-
export declare class
|
|
1417
|
+
export declare class Remote extends HeyApiClient {
|
|
1537
1418
|
/**
|
|
1538
|
-
*
|
|
1419
|
+
* Enable remote connection
|
|
1539
1420
|
*
|
|
1540
|
-
*
|
|
1421
|
+
* Enable WebSocket connection to UserConnectionDO for real-time session relay and commands.
|
|
1541
1422
|
*/
|
|
1542
|
-
|
|
1423
|
+
enable<ThrowOnError extends boolean = false>(parameters?: {
|
|
1543
1424
|
directory?: string;
|
|
1544
1425
|
workspace?: string;
|
|
1545
|
-
|
|
1546
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiAppendPromptResponses, TuiAppendPromptErrors, ThrowOnError, "fields">;
|
|
1426
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteEnableResponses, unknown, ThrowOnError, "fields">;
|
|
1547
1427
|
/**
|
|
1548
|
-
*
|
|
1428
|
+
* Disable remote connection
|
|
1549
1429
|
*
|
|
1550
|
-
*
|
|
1430
|
+
* Close the remote WebSocket connection to UserConnectionDO.
|
|
1551
1431
|
*/
|
|
1552
|
-
|
|
1432
|
+
disable<ThrowOnError extends boolean = false>(parameters?: {
|
|
1553
1433
|
directory?: string;
|
|
1554
1434
|
workspace?: string;
|
|
1555
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1435
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteDisableResponses, unknown, ThrowOnError, "fields">;
|
|
1556
1436
|
/**
|
|
1557
|
-
*
|
|
1437
|
+
* Get remote connection status
|
|
1558
1438
|
*
|
|
1559
|
-
*
|
|
1439
|
+
* Get the current state of the remote WebSocket connection.
|
|
1560
1440
|
*/
|
|
1561
|
-
|
|
1441
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1562
1442
|
directory?: string;
|
|
1563
1443
|
workspace?: string;
|
|
1564
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1444
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1445
|
+
}
|
|
1446
|
+
export declare class CommitMessage extends HeyApiClient {
|
|
1565
1447
|
/**
|
|
1566
|
-
*
|
|
1448
|
+
* Generate commit message
|
|
1567
1449
|
*
|
|
1568
|
-
*
|
|
1450
|
+
* Generate a commit message using AI based on the current git diff.
|
|
1569
1451
|
*/
|
|
1570
|
-
|
|
1452
|
+
generate<ThrowOnError extends boolean = false>(parameters?: {
|
|
1571
1453
|
directory?: string;
|
|
1572
1454
|
workspace?: string;
|
|
1573
|
-
|
|
1455
|
+
path?: string;
|
|
1456
|
+
selectedFiles?: Array<string>;
|
|
1457
|
+
previousMessage?: string;
|
|
1458
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommitMessageGenerateResponses, CommitMessageGenerateErrors, ThrowOnError, "fields">;
|
|
1459
|
+
}
|
|
1460
|
+
export declare class EnhancePrompt extends HeyApiClient {
|
|
1574
1461
|
/**
|
|
1575
|
-
*
|
|
1462
|
+
* Enhance prompt
|
|
1576
1463
|
*
|
|
1577
|
-
*
|
|
1464
|
+
* Rewrite a user's draft prompt into a clearer, more specific, and more effective prompt.
|
|
1578
1465
|
*/
|
|
1579
|
-
|
|
1466
|
+
enhance<ThrowOnError extends boolean = false>(parameters?: {
|
|
1580
1467
|
directory?: string;
|
|
1581
1468
|
workspace?: string;
|
|
1582
|
-
|
|
1469
|
+
text?: string;
|
|
1470
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EnhancePromptEnhanceResponses, EnhancePromptEnhanceErrors, ThrowOnError, "fields">;
|
|
1471
|
+
}
|
|
1472
|
+
export declare class SessionImport extends HeyApiClient {
|
|
1583
1473
|
/**
|
|
1584
|
-
*
|
|
1474
|
+
* Insert project for session import
|
|
1585
1475
|
*
|
|
1586
|
-
*
|
|
1476
|
+
* Insert or update a project row used by legacy session import.
|
|
1587
1477
|
*/
|
|
1588
|
-
|
|
1478
|
+
project<ThrowOnError extends boolean = false>(parameters?: {
|
|
1589
1479
|
directory?: string;
|
|
1590
1480
|
workspace?: string;
|
|
1591
|
-
|
|
1481
|
+
id?: string;
|
|
1482
|
+
worktree?: string;
|
|
1483
|
+
vcs?: string;
|
|
1484
|
+
name?: string;
|
|
1485
|
+
iconUrl?: string;
|
|
1486
|
+
iconColor?: string;
|
|
1487
|
+
timeCreated?: number;
|
|
1488
|
+
timeUpdated?: number;
|
|
1489
|
+
timeInitialized?: number;
|
|
1490
|
+
sandboxes?: Array<string>;
|
|
1491
|
+
commands?: {
|
|
1492
|
+
start?: string;
|
|
1493
|
+
};
|
|
1494
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportProjectResponses, KilocodeSessionImportProjectErrors, ThrowOnError, "fields">;
|
|
1592
1495
|
/**
|
|
1593
|
-
*
|
|
1496
|
+
* Insert session for session import
|
|
1594
1497
|
*
|
|
1595
|
-
*
|
|
1498
|
+
* Insert or update a session row used by legacy session import.
|
|
1596
1499
|
*/
|
|
1597
|
-
|
|
1598
|
-
|
|
1500
|
+
session<ThrowOnError extends boolean = false>(parameters?: {
|
|
1501
|
+
query_directory?: string;
|
|
1599
1502
|
workspace?: string;
|
|
1600
|
-
|
|
1503
|
+
id?: string;
|
|
1504
|
+
projectID?: string;
|
|
1505
|
+
force?: boolean;
|
|
1506
|
+
workspaceID?: string;
|
|
1507
|
+
parentID?: string;
|
|
1508
|
+
slug?: string;
|
|
1509
|
+
body_directory?: string;
|
|
1510
|
+
title?: string;
|
|
1511
|
+
version?: string;
|
|
1512
|
+
shareURL?: string;
|
|
1513
|
+
summary?: {
|
|
1514
|
+
additions: number;
|
|
1515
|
+
deletions: number;
|
|
1516
|
+
files: number;
|
|
1517
|
+
diffs?: Array<{
|
|
1518
|
+
[key: string]: unknown;
|
|
1519
|
+
}>;
|
|
1520
|
+
};
|
|
1521
|
+
revert?: {
|
|
1522
|
+
messageID: string;
|
|
1523
|
+
partID?: string;
|
|
1524
|
+
snapshot?: string;
|
|
1525
|
+
diff?: string;
|
|
1526
|
+
};
|
|
1527
|
+
permission?: {
|
|
1528
|
+
[key: string]: unknown;
|
|
1529
|
+
};
|
|
1530
|
+
timeCreated?: number;
|
|
1531
|
+
timeUpdated?: number;
|
|
1532
|
+
timeCompacting?: number;
|
|
1533
|
+
timeArchived?: number;
|
|
1534
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportSessionResponses, KilocodeSessionImportSessionErrors, ThrowOnError, "fields">;
|
|
1601
1535
|
/**
|
|
1602
|
-
*
|
|
1536
|
+
* Insert message for session import
|
|
1603
1537
|
*
|
|
1604
|
-
*
|
|
1538
|
+
* Insert or update a message row used by legacy session import.
|
|
1605
1539
|
*/
|
|
1606
|
-
|
|
1540
|
+
message<ThrowOnError extends boolean = false>(parameters?: {
|
|
1607
1541
|
directory?: string;
|
|
1608
1542
|
workspace?: string;
|
|
1609
|
-
|
|
1610
|
-
|
|
1543
|
+
id?: string;
|
|
1544
|
+
sessionID?: string;
|
|
1545
|
+
timeCreated?: number;
|
|
1546
|
+
data?: {
|
|
1547
|
+
role: "user";
|
|
1548
|
+
time: {
|
|
1549
|
+
created: number;
|
|
1550
|
+
};
|
|
1551
|
+
agent: string;
|
|
1552
|
+
model: {
|
|
1553
|
+
providerID: string;
|
|
1554
|
+
modelID: string;
|
|
1555
|
+
};
|
|
1556
|
+
tools?: {
|
|
1557
|
+
[key: string]: boolean;
|
|
1558
|
+
};
|
|
1559
|
+
} | {
|
|
1560
|
+
role: "assistant";
|
|
1561
|
+
time: {
|
|
1562
|
+
created: number;
|
|
1563
|
+
completed?: number;
|
|
1564
|
+
};
|
|
1565
|
+
parentID: string;
|
|
1566
|
+
modelID: string;
|
|
1567
|
+
providerID: string;
|
|
1568
|
+
mode: string;
|
|
1569
|
+
agent: string;
|
|
1570
|
+
path: {
|
|
1571
|
+
cwd: string;
|
|
1572
|
+
root: string;
|
|
1573
|
+
};
|
|
1574
|
+
summary?: boolean;
|
|
1575
|
+
cost: number;
|
|
1576
|
+
tokens: {
|
|
1577
|
+
total?: number;
|
|
1578
|
+
input: number;
|
|
1579
|
+
output: number;
|
|
1580
|
+
reasoning: number;
|
|
1581
|
+
cache: {
|
|
1582
|
+
read: number;
|
|
1583
|
+
write: number;
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
structured?: unknown;
|
|
1587
|
+
variant?: string;
|
|
1588
|
+
finish?: string;
|
|
1589
|
+
};
|
|
1590
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportMessageResponses, KilocodeSessionImportMessageErrors, ThrowOnError, "fields">;
|
|
1611
1591
|
/**
|
|
1612
|
-
*
|
|
1592
|
+
* Insert part for session import
|
|
1613
1593
|
*
|
|
1614
|
-
*
|
|
1594
|
+
* Insert or update a part row used by legacy session import.
|
|
1615
1595
|
*/
|
|
1616
|
-
|
|
1596
|
+
part<ThrowOnError extends boolean = false>(parameters?: {
|
|
1617
1597
|
directory?: string;
|
|
1618
1598
|
workspace?: string;
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1599
|
+
id?: string;
|
|
1600
|
+
messageID?: string;
|
|
1601
|
+
sessionID?: string;
|
|
1602
|
+
timeCreated?: number;
|
|
1603
|
+
data?: {
|
|
1604
|
+
type: "text";
|
|
1605
|
+
text: string;
|
|
1606
|
+
synthetic?: boolean;
|
|
1607
|
+
ignored?: boolean;
|
|
1608
|
+
time?: {
|
|
1609
|
+
start: number;
|
|
1610
|
+
end?: number;
|
|
1611
|
+
};
|
|
1612
|
+
metadata?: {
|
|
1613
|
+
[key: string]: unknown;
|
|
1614
|
+
};
|
|
1615
|
+
} | {
|
|
1616
|
+
type: "reasoning";
|
|
1617
|
+
text: string;
|
|
1618
|
+
metadata?: {
|
|
1619
|
+
[key: string]: unknown;
|
|
1620
|
+
};
|
|
1621
|
+
time: {
|
|
1622
|
+
start: number;
|
|
1623
|
+
end?: number;
|
|
1624
|
+
};
|
|
1625
|
+
} | {
|
|
1626
|
+
type: "tool";
|
|
1627
|
+
callID: string;
|
|
1628
|
+
tool: string;
|
|
1629
|
+
state: {
|
|
1630
|
+
status: "pending";
|
|
1631
|
+
input: {
|
|
1632
|
+
[key: string]: unknown;
|
|
1633
|
+
};
|
|
1634
|
+
raw: string;
|
|
1635
|
+
} | {
|
|
1636
|
+
status: "running";
|
|
1637
|
+
input: {
|
|
1638
|
+
[key: string]: unknown;
|
|
1639
|
+
};
|
|
1640
|
+
title?: string;
|
|
1641
|
+
metadata?: {
|
|
1642
|
+
[key: string]: unknown;
|
|
1643
|
+
};
|
|
1644
|
+
time: {
|
|
1645
|
+
start: number;
|
|
1646
|
+
};
|
|
1647
|
+
} | {
|
|
1648
|
+
status: "completed";
|
|
1649
|
+
input: {
|
|
1650
|
+
[key: string]: unknown;
|
|
1651
|
+
};
|
|
1652
|
+
output: string;
|
|
1653
|
+
title: string;
|
|
1654
|
+
metadata: {
|
|
1655
|
+
[key: string]: unknown;
|
|
1656
|
+
};
|
|
1657
|
+
time: {
|
|
1658
|
+
start: number;
|
|
1659
|
+
end: number;
|
|
1660
|
+
compacted?: number;
|
|
1661
|
+
};
|
|
1662
|
+
} | {
|
|
1663
|
+
status: "error";
|
|
1664
|
+
input: {
|
|
1665
|
+
[key: string]: unknown;
|
|
1666
|
+
};
|
|
1667
|
+
error: string;
|
|
1668
|
+
metadata?: {
|
|
1669
|
+
[key: string]: unknown;
|
|
1670
|
+
};
|
|
1671
|
+
time: {
|
|
1672
|
+
start: number;
|
|
1673
|
+
end: number;
|
|
1674
|
+
};
|
|
1675
|
+
};
|
|
1676
|
+
metadata?: {
|
|
1677
|
+
[key: string]: unknown;
|
|
1678
|
+
};
|
|
1679
|
+
};
|
|
1680
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportPartResponses, KilocodeSessionImportPartErrors, ThrowOnError, "fields">;
|
|
1681
|
+
}
|
|
1682
|
+
export declare class Kilocode extends HeyApiClient {
|
|
1624
1683
|
/**
|
|
1625
|
-
*
|
|
1684
|
+
* Remove a skill
|
|
1626
1685
|
*
|
|
1627
|
-
*
|
|
1686
|
+
* Remove a skill by deleting its directory from disk and clearing it from cache.
|
|
1628
1687
|
*/
|
|
1629
|
-
|
|
1688
|
+
removeSkill<ThrowOnError extends boolean = false>(parameters?: {
|
|
1630
1689
|
directory?: string;
|
|
1631
1690
|
workspace?: string;
|
|
1632
|
-
|
|
1633
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1691
|
+
location?: string;
|
|
1692
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeRemoveSkillResponses, KilocodeRemoveSkillErrors, ThrowOnError, "fields">;
|
|
1634
1693
|
/**
|
|
1635
|
-
*
|
|
1694
|
+
* Remove a custom agent
|
|
1636
1695
|
*
|
|
1637
|
-
*
|
|
1696
|
+
* Remove a custom (non-native) agent by deleting its markdown file from disk and refreshing state.
|
|
1638
1697
|
*/
|
|
1639
|
-
|
|
1698
|
+
removeAgent<ThrowOnError extends boolean = false>(parameters?: {
|
|
1640
1699
|
directory?: string;
|
|
1641
1700
|
workspace?: string;
|
|
1642
|
-
|
|
1643
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1644
|
-
private
|
|
1645
|
-
get
|
|
1701
|
+
name?: string;
|
|
1702
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeRemoveAgentResponses, KilocodeRemoveAgentErrors, ThrowOnError, "fields">;
|
|
1703
|
+
private _sessionImport?;
|
|
1704
|
+
get sessionImport(): SessionImport;
|
|
1646
1705
|
}
|
|
1647
|
-
export declare class
|
|
1706
|
+
export declare class Organization extends HeyApiClient {
|
|
1648
1707
|
/**
|
|
1649
|
-
*
|
|
1708
|
+
* Update Kilo Gateway organization
|
|
1650
1709
|
*
|
|
1651
|
-
*
|
|
1710
|
+
* Switch to a different Kilo Gateway organization
|
|
1652
1711
|
*/
|
|
1653
|
-
|
|
1712
|
+
set<ThrowOnError extends boolean = false>(parameters?: {
|
|
1654
1713
|
directory?: string;
|
|
1655
1714
|
workspace?: string;
|
|
1656
|
-
|
|
1715
|
+
organizationId?: string | null;
|
|
1716
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloOrganizationSetResponses, KiloOrganizationSetErrors, ThrowOnError, "fields">;
|
|
1657
1717
|
}
|
|
1658
|
-
export declare class
|
|
1718
|
+
export declare class Session3 extends HeyApiClient {
|
|
1659
1719
|
/**
|
|
1660
|
-
* Get
|
|
1720
|
+
* Get cloud session
|
|
1661
1721
|
*
|
|
1662
|
-
*
|
|
1722
|
+
* Fetch full session data from the Kilo cloud for preview
|
|
1663
1723
|
*/
|
|
1664
|
-
get<ThrowOnError extends boolean = false>(parameters
|
|
1724
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
1725
|
+
id: string;
|
|
1665
1726
|
directory?: string;
|
|
1666
1727
|
workspace?: string;
|
|
1667
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1668
|
-
}
|
|
1669
|
-
export declare class Vcs extends HeyApiClient {
|
|
1728
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionGetResponses, KiloCloudSessionGetErrors, ThrowOnError, "fields">;
|
|
1670
1729
|
/**
|
|
1671
|
-
*
|
|
1730
|
+
* Import session from cloud
|
|
1672
1731
|
*
|
|
1673
|
-
*
|
|
1732
|
+
* Download a cloud-synced session and write it to local storage with fresh IDs.
|
|
1674
1733
|
*/
|
|
1675
|
-
|
|
1734
|
+
import<ThrowOnError extends boolean = false>(parameters?: {
|
|
1676
1735
|
directory?: string;
|
|
1677
1736
|
workspace?: string;
|
|
1678
|
-
|
|
1737
|
+
sessionId?: string;
|
|
1738
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionImportResponses, KiloCloudSessionImportErrors, ThrowOnError, "fields">;
|
|
1679
1739
|
}
|
|
1680
|
-
export declare class
|
|
1740
|
+
export declare class Cloud extends HeyApiClient {
|
|
1741
|
+
private _session?;
|
|
1742
|
+
get session(): Session3;
|
|
1743
|
+
}
|
|
1744
|
+
export declare class Claw extends HeyApiClient {
|
|
1681
1745
|
/**
|
|
1682
|
-
*
|
|
1746
|
+
* Get KiloClaw instance status
|
|
1683
1747
|
*
|
|
1684
|
-
*
|
|
1748
|
+
* Fetch the user's KiloClaw instance status via the KiloClaw worker
|
|
1685
1749
|
*/
|
|
1686
|
-
|
|
1750
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1687
1751
|
directory?: string;
|
|
1688
1752
|
workspace?: string;
|
|
1689
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1690
|
-
}
|
|
1691
|
-
export declare class App extends HeyApiClient {
|
|
1753
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloClawStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1692
1754
|
/**
|
|
1693
|
-
*
|
|
1755
|
+
* Get KiloClaw chat credentials
|
|
1694
1756
|
*
|
|
1695
|
-
*
|
|
1757
|
+
* Fetch Stream Chat credentials for the user's KiloClaw instance
|
|
1696
1758
|
*/
|
|
1697
|
-
|
|
1759
|
+
chatCredentials<ThrowOnError extends boolean = false>(parameters?: {
|
|
1698
1760
|
directory?: string;
|
|
1699
1761
|
workspace?: string;
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
extra?: {
|
|
1704
|
-
[key: string]: unknown;
|
|
1705
|
-
};
|
|
1706
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
|
|
1762
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloClawChatCredentialsResponses, unknown, ThrowOnError, "fields">;
|
|
1763
|
+
}
|
|
1764
|
+
export declare class Kilo extends HeyApiClient {
|
|
1707
1765
|
/**
|
|
1708
|
-
*
|
|
1766
|
+
* Get Kilo Gateway profile
|
|
1709
1767
|
*
|
|
1710
|
-
*
|
|
1768
|
+
* Fetch user profile and organizations from Kilo Gateway
|
|
1711
1769
|
*/
|
|
1712
|
-
|
|
1770
|
+
profile<ThrowOnError extends boolean = false>(parameters?: {
|
|
1713
1771
|
directory?: string;
|
|
1714
1772
|
workspace?: string;
|
|
1715
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1773
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloProfileResponses, KiloProfileErrors, ThrowOnError, "fields">;
|
|
1716
1774
|
/**
|
|
1717
|
-
*
|
|
1775
|
+
* Get organization custom modes
|
|
1718
1776
|
*
|
|
1719
|
-
*
|
|
1777
|
+
* Fetch custom modes defined for the current organization
|
|
1720
1778
|
*/
|
|
1721
|
-
|
|
1779
|
+
modes<ThrowOnError extends boolean = false>(parameters?: {
|
|
1722
1780
|
directory?: string;
|
|
1723
1781
|
workspace?: string;
|
|
1724
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1725
|
-
}
|
|
1726
|
-
export declare class Lsp extends HeyApiClient {
|
|
1782
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloModesResponses, unknown, ThrowOnError, "fields">;
|
|
1727
1783
|
/**
|
|
1728
|
-
*
|
|
1784
|
+
* FIM completion
|
|
1729
1785
|
*
|
|
1730
|
-
*
|
|
1786
|
+
* Proxy a Fill-in-the-Middle completion request to the Kilo Gateway
|
|
1731
1787
|
*/
|
|
1732
|
-
|
|
1788
|
+
fim<ThrowOnError extends boolean = false>(parameters?: {
|
|
1733
1789
|
directory?: string;
|
|
1734
1790
|
workspace?: string;
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1791
|
+
prefix?: string;
|
|
1792
|
+
suffix?: string;
|
|
1793
|
+
model?: string;
|
|
1794
|
+
maxTokens?: number;
|
|
1795
|
+
temperature?: number;
|
|
1796
|
+
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<KiloFimResponses, KiloFimErrors>>;
|
|
1738
1797
|
/**
|
|
1739
|
-
* Get
|
|
1798
|
+
* Get Kilo notifications
|
|
1740
1799
|
*
|
|
1741
|
-
*
|
|
1800
|
+
* Fetch notifications from Kilo Gateway for CLI display
|
|
1742
1801
|
*/
|
|
1743
|
-
|
|
1802
|
+
notifications<ThrowOnError extends boolean = false>(parameters?: {
|
|
1744
1803
|
directory?: string;
|
|
1745
1804
|
workspace?: string;
|
|
1746
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1747
|
-
}
|
|
1748
|
-
export declare class Event extends HeyApiClient {
|
|
1805
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloNotificationsResponses, KiloNotificationsErrors, ThrowOnError, "fields">;
|
|
1749
1806
|
/**
|
|
1750
|
-
*
|
|
1807
|
+
* Get cloud sessions
|
|
1751
1808
|
*
|
|
1752
|
-
*
|
|
1809
|
+
* Fetch cloud CLI sessions from Kilo API
|
|
1753
1810
|
*/
|
|
1754
|
-
|
|
1811
|
+
cloudSessions<ThrowOnError extends boolean = false>(parameters?: {
|
|
1755
1812
|
directory?: string;
|
|
1756
1813
|
workspace?: string;
|
|
1757
|
-
|
|
1814
|
+
cursor?: string;
|
|
1815
|
+
limit?: number;
|
|
1816
|
+
gitUrl?: string;
|
|
1817
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionsResponses, KiloCloudSessionsErrors, ThrowOnError, "fields">;
|
|
1818
|
+
private _organization?;
|
|
1819
|
+
get organization(): Organization;
|
|
1820
|
+
private _cloud?;
|
|
1821
|
+
get cloud(): Cloud;
|
|
1822
|
+
private _claw?;
|
|
1823
|
+
get claw(): Claw;
|
|
1758
1824
|
}
|
|
1759
1825
|
export declare class KiloClient extends HeyApiClient {
|
|
1760
1826
|
static readonly __registry: HeyApiRegistry<KiloClient>;
|
|
@@ -1766,16 +1832,18 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
1766
1832
|
get global(): Global;
|
|
1767
1833
|
private _auth?;
|
|
1768
1834
|
get auth(): Auth;
|
|
1835
|
+
private _app?;
|
|
1836
|
+
get app(): App;
|
|
1769
1837
|
private _project?;
|
|
1770
1838
|
get project(): Project;
|
|
1771
1839
|
private _pty?;
|
|
1772
1840
|
get pty(): Pty;
|
|
1773
1841
|
private _config?;
|
|
1774
1842
|
get config(): Config2;
|
|
1775
|
-
private _tool?;
|
|
1776
|
-
get tool(): Tool;
|
|
1777
1843
|
private _experimental?;
|
|
1778
1844
|
get experimental(): Experimental;
|
|
1845
|
+
private _tool?;
|
|
1846
|
+
get tool(): Tool;
|
|
1779
1847
|
private _worktree?;
|
|
1780
1848
|
get worktree(): Worktree;
|
|
1781
1849
|
private _session?;
|
|
@@ -1786,26 +1854,14 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
1786
1854
|
get permission(): Permission;
|
|
1787
1855
|
private _question?;
|
|
1788
1856
|
get question(): Question;
|
|
1789
|
-
private _network?;
|
|
1790
|
-
get network(): Network;
|
|
1791
1857
|
private _provider?;
|
|
1792
1858
|
get provider(): Provider;
|
|
1793
|
-
private _telemetry?;
|
|
1794
|
-
get telemetry(): Telemetry;
|
|
1795
|
-
private _remote?;
|
|
1796
|
-
get remote(): Remote;
|
|
1797
|
-
private _commitMessage?;
|
|
1798
|
-
get commitMessage(): CommitMessage;
|
|
1799
|
-
private _enhancePrompt?;
|
|
1800
|
-
get enhancePrompt(): EnhancePrompt;
|
|
1801
|
-
private _kilocode?;
|
|
1802
|
-
get kilocode(): Kilocode;
|
|
1803
|
-
private _kilo?;
|
|
1804
|
-
get kilo(): Kilo;
|
|
1805
1859
|
private _find?;
|
|
1806
1860
|
get find(): Find;
|
|
1807
1861
|
private _file?;
|
|
1808
1862
|
get file(): File;
|
|
1863
|
+
private _event?;
|
|
1864
|
+
get event(): Event;
|
|
1809
1865
|
private _mcp?;
|
|
1810
1866
|
get mcp(): Mcp;
|
|
1811
1867
|
private _tui?;
|
|
@@ -1818,13 +1874,23 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
1818
1874
|
get vcs(): Vcs;
|
|
1819
1875
|
private _command?;
|
|
1820
1876
|
get command(): Command;
|
|
1821
|
-
private _app?;
|
|
1822
|
-
get app(): App;
|
|
1823
1877
|
private _lsp?;
|
|
1824
1878
|
get lsp(): Lsp;
|
|
1825
1879
|
private _formatter?;
|
|
1826
1880
|
get formatter(): Formatter;
|
|
1827
|
-
private
|
|
1828
|
-
get
|
|
1881
|
+
private _network?;
|
|
1882
|
+
get network(): Network;
|
|
1883
|
+
private _telemetry?;
|
|
1884
|
+
get telemetry(): Telemetry;
|
|
1885
|
+
private _remote?;
|
|
1886
|
+
get remote(): Remote;
|
|
1887
|
+
private _commitMessage?;
|
|
1888
|
+
get commitMessage(): CommitMessage;
|
|
1889
|
+
private _enhancePrompt?;
|
|
1890
|
+
get enhancePrompt(): EnhancePrompt;
|
|
1891
|
+
private _kilocode?;
|
|
1892
|
+
get kilocode(): Kilocode;
|
|
1893
|
+
private _kilo?;
|
|
1894
|
+
get kilo(): Kilo;
|
|
1829
1895
|
}
|
|
1830
1896
|
export {};
|