@kilocode/sdk 7.3.1 → 7.3.5
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/client.js +20 -0
- package/dist/v2/gen/sdk.gen.d.ts +913 -829
- package/dist/v2/gen/sdk.gen.js +1417 -1251
- package/dist/v2/gen/types.gen.d.ts +3932 -3116
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { 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,
|
|
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, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceSessionRestoreErrors, ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceStatusResponses, 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, 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, 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, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, V2SessionCompactResponses, V2SessionContextResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPromptResponses, V2SessionWaitResponses, 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,60 @@ declare class HeyApiRegistry<T> {
|
|
|
25
25
|
get(key?: string): T;
|
|
26
26
|
set(value: T, key?: string): void;
|
|
27
27
|
}
|
|
28
|
+
export declare class Auth extends HeyApiClient {
|
|
29
|
+
/**
|
|
30
|
+
* Remove auth credentials
|
|
31
|
+
*
|
|
32
|
+
* Remove authentication credentials
|
|
33
|
+
*/
|
|
34
|
+
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
35
|
+
providerID: string;
|
|
36
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthRemoveResponses, AuthRemoveErrors, ThrowOnError, "fields">;
|
|
37
|
+
/**
|
|
38
|
+
* Set auth credentials
|
|
39
|
+
*
|
|
40
|
+
* Set authentication credentials
|
|
41
|
+
*/
|
|
42
|
+
set<ThrowOnError extends boolean = false>(parameters: {
|
|
43
|
+
providerID: string;
|
|
44
|
+
auth?: Auth3;
|
|
45
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AuthSetResponses, AuthSetErrors, ThrowOnError, "fields">;
|
|
46
|
+
}
|
|
47
|
+
export declare class App extends HeyApiClient {
|
|
48
|
+
/**
|
|
49
|
+
* Write log
|
|
50
|
+
*
|
|
51
|
+
* Write a log entry to the server logs with specified level and metadata.
|
|
52
|
+
*/
|
|
53
|
+
log<ThrowOnError extends boolean = false>(parameters?: {
|
|
54
|
+
directory?: string;
|
|
55
|
+
workspace?: string;
|
|
56
|
+
service?: string;
|
|
57
|
+
level?: "debug" | "info" | "error" | "warn";
|
|
58
|
+
message?: string;
|
|
59
|
+
extra?: {
|
|
60
|
+
[key: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
|
|
63
|
+
/**
|
|
64
|
+
* List agents
|
|
65
|
+
*
|
|
66
|
+
* Get a list of all available AI agents in the Kilo system.
|
|
67
|
+
*/
|
|
68
|
+
agents<ThrowOnError extends boolean = false>(parameters?: {
|
|
69
|
+
directory?: string;
|
|
70
|
+
workspace?: string;
|
|
71
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppAgentsResponses, unknown, ThrowOnError, "fields">;
|
|
72
|
+
/**
|
|
73
|
+
* List skills
|
|
74
|
+
*
|
|
75
|
+
* Get a list of all available skills in the Kilo system.
|
|
76
|
+
*/
|
|
77
|
+
skills<ThrowOnError extends boolean = false>(parameters?: {
|
|
78
|
+
directory?: string;
|
|
79
|
+
workspace?: string;
|
|
80
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppSkillsResponses, unknown, ThrowOnError, "fields">;
|
|
81
|
+
}
|
|
28
82
|
export declare class Config extends HeyApiClient {
|
|
29
83
|
/**
|
|
30
84
|
* Get global configuration
|
|
@@ -61,207 +115,522 @@ export declare class Global extends HeyApiClient {
|
|
|
61
115
|
*/
|
|
62
116
|
dispose<ThrowOnError extends boolean = false>(options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
63
117
|
/**
|
|
64
|
-
* Upgrade kilo
|
|
118
|
+
* Upgrade kilo
|
|
119
|
+
*
|
|
120
|
+
* Upgrade kilo to the specified version or latest if not specified.
|
|
121
|
+
*/
|
|
122
|
+
upgrade<ThrowOnError extends boolean = false>(parameters?: {
|
|
123
|
+
target?: string;
|
|
124
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<GlobalUpgradeResponses, GlobalUpgradeErrors, ThrowOnError, "fields">;
|
|
125
|
+
private _config?;
|
|
126
|
+
get config(): Config;
|
|
127
|
+
}
|
|
128
|
+
export declare class Event extends HeyApiClient {
|
|
129
|
+
/**
|
|
130
|
+
* Subscribe to events
|
|
131
|
+
*
|
|
132
|
+
* Get events
|
|
133
|
+
*/
|
|
134
|
+
subscribe<ThrowOnError extends boolean = false>(parameters?: {
|
|
135
|
+
directory?: string;
|
|
136
|
+
workspace?: string;
|
|
137
|
+
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
|
|
138
|
+
}
|
|
139
|
+
export declare class Config2 extends HeyApiClient {
|
|
140
|
+
/**
|
|
141
|
+
* Get configuration
|
|
142
|
+
*
|
|
143
|
+
* Retrieve the current Kilo configuration settings and preferences.
|
|
144
|
+
*/
|
|
145
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
146
|
+
directory?: string;
|
|
147
|
+
workspace?: string;
|
|
148
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigGetResponses, unknown, ThrowOnError, "fields">;
|
|
149
|
+
/**
|
|
150
|
+
* Update configuration
|
|
151
|
+
*
|
|
152
|
+
* Update Kilo configuration settings and preferences.
|
|
153
|
+
*/
|
|
154
|
+
update<ThrowOnError extends boolean = false>(parameters?: {
|
|
155
|
+
directory?: string;
|
|
156
|
+
workspace?: string;
|
|
157
|
+
config?: Config3;
|
|
158
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
|
|
159
|
+
/**
|
|
160
|
+
* Get config warnings
|
|
161
|
+
*
|
|
162
|
+
* Get warnings generated during config loading (e.g., invalid JSON, schema errors).
|
|
163
|
+
*/
|
|
164
|
+
warnings<ThrowOnError extends boolean = false>(parameters?: {
|
|
165
|
+
directory?: string;
|
|
166
|
+
workspace?: string;
|
|
167
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigWarningsResponses, unknown, ThrowOnError, "fields">;
|
|
168
|
+
/**
|
|
169
|
+
* List config providers
|
|
170
|
+
*
|
|
171
|
+
* Get a list of all configured AI providers and their default models.
|
|
172
|
+
*/
|
|
173
|
+
providers<ThrowOnError extends boolean = false>(parameters?: {
|
|
174
|
+
directory?: string;
|
|
175
|
+
workspace?: string;
|
|
176
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigProvidersResponses, unknown, ThrowOnError, "fields">;
|
|
177
|
+
}
|
|
178
|
+
export declare class Console extends HeyApiClient {
|
|
179
|
+
/**
|
|
180
|
+
* Get active Console provider metadata
|
|
181
|
+
*
|
|
182
|
+
* Get the active Console org name and the set of provider IDs managed by that Console org.
|
|
183
|
+
*/
|
|
184
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
185
|
+
directory?: string;
|
|
186
|
+
workspace?: string;
|
|
187
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleGetResponses, unknown, ThrowOnError, "fields">;
|
|
188
|
+
/**
|
|
189
|
+
* List switchable Console orgs
|
|
190
|
+
*
|
|
191
|
+
* Get the available Console orgs across logged-in accounts, including the current active org.
|
|
192
|
+
*/
|
|
193
|
+
listOrgs<ThrowOnError extends boolean = false>(parameters?: {
|
|
194
|
+
directory?: string;
|
|
195
|
+
workspace?: string;
|
|
196
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleListOrgsResponses, unknown, ThrowOnError, "fields">;
|
|
197
|
+
/**
|
|
198
|
+
* Switch active Console org
|
|
199
|
+
*
|
|
200
|
+
* Persist a new active Console account/org selection for the current local Kilo state.
|
|
201
|
+
*/
|
|
202
|
+
switchOrg<ThrowOnError extends boolean = false>(parameters?: {
|
|
203
|
+
directory?: string;
|
|
204
|
+
workspace?: string;
|
|
205
|
+
accountID?: string;
|
|
206
|
+
orgID?: string;
|
|
207
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleSwitchOrgResponses, unknown, ThrowOnError, "fields">;
|
|
208
|
+
}
|
|
209
|
+
export declare class Session extends HeyApiClient {
|
|
210
|
+
/**
|
|
211
|
+
* List sessions
|
|
212
|
+
*
|
|
213
|
+
* Get a list of all Kilo sessions across projects, sorted by most recently updated. Archived sessions are excluded by default.
|
|
214
|
+
*/
|
|
215
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
216
|
+
directory?: string;
|
|
217
|
+
workspace?: string;
|
|
218
|
+
projectID?: string;
|
|
219
|
+
worktrees?: boolean;
|
|
220
|
+
roots?: boolean | "true" | "false";
|
|
221
|
+
start?: number;
|
|
222
|
+
cursor?: number;
|
|
223
|
+
search?: string;
|
|
224
|
+
limit?: number;
|
|
225
|
+
archived?: boolean | "true" | "false";
|
|
226
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalSessionListResponses, unknown, ThrowOnError, "fields">;
|
|
227
|
+
}
|
|
228
|
+
export declare class Resource extends HeyApiClient {
|
|
229
|
+
/**
|
|
230
|
+
* Get MCP resources
|
|
231
|
+
*
|
|
232
|
+
* Get all available MCP resources from connected servers. Optionally filter by name.
|
|
233
|
+
*/
|
|
234
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
235
|
+
directory?: string;
|
|
236
|
+
workspace?: string;
|
|
237
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalResourceListResponses, unknown, ThrowOnError, "fields">;
|
|
238
|
+
}
|
|
239
|
+
export declare class Adapter extends HeyApiClient {
|
|
240
|
+
/**
|
|
241
|
+
* List workspace adapters
|
|
242
|
+
*
|
|
243
|
+
* List all available workspace adapters for the current project.
|
|
244
|
+
*/
|
|
245
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
246
|
+
directory?: string;
|
|
247
|
+
workspace?: string;
|
|
248
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceAdapterListResponses, unknown, ThrowOnError, "fields">;
|
|
249
|
+
}
|
|
250
|
+
export declare class Workspace extends HeyApiClient {
|
|
251
|
+
/**
|
|
252
|
+
* List workspaces
|
|
253
|
+
*
|
|
254
|
+
* List all workspaces.
|
|
255
|
+
*/
|
|
256
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
257
|
+
directory?: string;
|
|
258
|
+
workspace?: string;
|
|
259
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceListResponses, unknown, ThrowOnError, "fields">;
|
|
260
|
+
/**
|
|
261
|
+
* Create workspace
|
|
262
|
+
*
|
|
263
|
+
* Create a workspace for the current project.
|
|
264
|
+
*/
|
|
265
|
+
create<ThrowOnError extends boolean = false>(parameters?: {
|
|
266
|
+
directory?: string;
|
|
267
|
+
workspace?: string;
|
|
268
|
+
id?: string;
|
|
269
|
+
type?: string;
|
|
270
|
+
branch?: string | null;
|
|
271
|
+
extra?: unknown | null;
|
|
272
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceCreateErrors, ThrowOnError, "fields">;
|
|
273
|
+
/**
|
|
274
|
+
* Workspace status
|
|
275
|
+
*
|
|
276
|
+
* Get connection status for workspaces in the current project.
|
|
277
|
+
*/
|
|
278
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
279
|
+
directory?: string;
|
|
280
|
+
workspace?: string;
|
|
281
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceStatusResponses, unknown, ThrowOnError, "fields">;
|
|
282
|
+
/**
|
|
283
|
+
* Remove workspace
|
|
284
|
+
*
|
|
285
|
+
* Remove an existing workspace.
|
|
286
|
+
*/
|
|
287
|
+
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
288
|
+
id: string;
|
|
289
|
+
directory?: string;
|
|
290
|
+
workspace?: string;
|
|
291
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRemoveErrors, ThrowOnError, "fields">;
|
|
292
|
+
/**
|
|
293
|
+
* Restore session into workspace
|
|
294
|
+
*
|
|
295
|
+
* Replay a session's sync events into the target workspace in batches.
|
|
296
|
+
*/
|
|
297
|
+
sessionRestore<ThrowOnError extends boolean = false>(parameters: {
|
|
298
|
+
id: string;
|
|
299
|
+
directory?: string;
|
|
300
|
+
workspace?: string;
|
|
301
|
+
sessionID?: string;
|
|
302
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceSessionRestoreErrors, ThrowOnError, "fields">;
|
|
303
|
+
private _adapter?;
|
|
304
|
+
get adapter(): Adapter;
|
|
305
|
+
}
|
|
306
|
+
export declare class Experimental extends HeyApiClient {
|
|
307
|
+
private _console?;
|
|
308
|
+
get console(): Console;
|
|
309
|
+
private _session?;
|
|
310
|
+
get session(): Session;
|
|
311
|
+
private _resource?;
|
|
312
|
+
get resource(): Resource;
|
|
313
|
+
private _workspace?;
|
|
314
|
+
get workspace(): Workspace;
|
|
315
|
+
}
|
|
316
|
+
export declare class Tool extends HeyApiClient {
|
|
317
|
+
/**
|
|
318
|
+
* List tools
|
|
319
|
+
*
|
|
320
|
+
* Get a list of available tools with their JSON schema parameters for a specific provider and model combination.
|
|
321
|
+
*/
|
|
322
|
+
list<ThrowOnError extends boolean = false>(parameters: {
|
|
323
|
+
directory?: string;
|
|
324
|
+
workspace?: string;
|
|
325
|
+
provider: string;
|
|
326
|
+
model: string;
|
|
327
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolListResponses, ToolListErrors, ThrowOnError, "fields">;
|
|
328
|
+
/**
|
|
329
|
+
* List tool IDs
|
|
330
|
+
*
|
|
331
|
+
* Get a list of all available tool IDs, including both built-in tools and dynamically registered tools.
|
|
332
|
+
*/
|
|
333
|
+
ids<ThrowOnError extends boolean = false>(parameters?: {
|
|
334
|
+
directory?: string;
|
|
335
|
+
workspace?: string;
|
|
336
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ToolIdsResponses, ToolIdsErrors, ThrowOnError, "fields">;
|
|
337
|
+
}
|
|
338
|
+
export declare class Worktree extends HeyApiClient {
|
|
339
|
+
/**
|
|
340
|
+
* Remove worktree
|
|
341
|
+
*
|
|
342
|
+
* Remove a git worktree and delete its branch.
|
|
343
|
+
*/
|
|
344
|
+
remove<ThrowOnError extends boolean = false>(parameters?: {
|
|
345
|
+
directory?: string;
|
|
346
|
+
workspace?: string;
|
|
347
|
+
worktreeRemoveInput?: WorktreeRemoveInput;
|
|
348
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeRemoveResponses, WorktreeRemoveErrors, ThrowOnError, "fields">;
|
|
349
|
+
/**
|
|
350
|
+
* List worktrees
|
|
351
|
+
*
|
|
352
|
+
* List all sandbox worktrees for the current project.
|
|
353
|
+
*/
|
|
354
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
355
|
+
directory?: string;
|
|
356
|
+
workspace?: string;
|
|
357
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeListResponses, unknown, ThrowOnError, "fields">;
|
|
358
|
+
/**
|
|
359
|
+
* Create worktree
|
|
360
|
+
*
|
|
361
|
+
* Create a new git worktree for the current project and run any configured startup scripts.
|
|
362
|
+
*/
|
|
363
|
+
create<ThrowOnError extends boolean = false>(parameters?: {
|
|
364
|
+
directory?: string;
|
|
365
|
+
workspace?: string;
|
|
366
|
+
worktreeCreateInput?: WorktreeCreateInput;
|
|
367
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeCreateResponses, WorktreeCreateErrors, ThrowOnError, "fields">;
|
|
368
|
+
/**
|
|
369
|
+
* Reset worktree
|
|
370
|
+
*
|
|
371
|
+
* Reset a worktree branch to the primary default branch.
|
|
372
|
+
*/
|
|
373
|
+
reset<ThrowOnError extends boolean = false>(parameters?: {
|
|
374
|
+
directory?: string;
|
|
375
|
+
workspace?: string;
|
|
376
|
+
worktreeResetInput?: WorktreeResetInput;
|
|
377
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeResetResponses, WorktreeResetErrors, ThrowOnError, "fields">;
|
|
378
|
+
/**
|
|
379
|
+
* Get worktree diff
|
|
380
|
+
*
|
|
381
|
+
* Get file diffs for a worktree compared to its base branch. Includes uncommitted changes.
|
|
382
|
+
*/
|
|
383
|
+
diff<ThrowOnError extends boolean = false>(parameters?: {
|
|
384
|
+
directory?: string;
|
|
385
|
+
workspace?: string;
|
|
386
|
+
base?: string;
|
|
387
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeDiffResponses, WorktreeDiffErrors, ThrowOnError, "fields">;
|
|
388
|
+
/**
|
|
389
|
+
* Get worktree diff summary
|
|
390
|
+
*
|
|
391
|
+
* Get lightweight file diff metadata for a worktree compared to its base branch.
|
|
392
|
+
*/
|
|
393
|
+
diffSummary<ThrowOnError extends boolean = false>(parameters?: {
|
|
394
|
+
directory?: string;
|
|
395
|
+
workspace?: string;
|
|
396
|
+
base?: string;
|
|
397
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeDiffSummaryResponses, WorktreeDiffSummaryErrors, ThrowOnError, "fields">;
|
|
398
|
+
/**
|
|
399
|
+
* Get worktree diff detail
|
|
400
|
+
*
|
|
401
|
+
* Get full diff contents for one worktree file compared to its base branch.
|
|
402
|
+
*/
|
|
403
|
+
diffFile<ThrowOnError extends boolean = false>(parameters: {
|
|
404
|
+
directory?: string;
|
|
405
|
+
workspace?: string;
|
|
406
|
+
base?: string;
|
|
407
|
+
file: string;
|
|
408
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeDiffFileResponses, WorktreeDiffFileErrors, ThrowOnError, "fields">;
|
|
409
|
+
}
|
|
410
|
+
export declare class Find extends HeyApiClient {
|
|
411
|
+
/**
|
|
412
|
+
* Find text
|
|
413
|
+
*
|
|
414
|
+
* Search for text patterns across files in the project using ripgrep.
|
|
415
|
+
*/
|
|
416
|
+
text<ThrowOnError extends boolean = false>(parameters: {
|
|
417
|
+
directory?: string;
|
|
418
|
+
workspace?: string;
|
|
419
|
+
pattern: string;
|
|
420
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
|
|
421
|
+
/**
|
|
422
|
+
* Find files
|
|
423
|
+
*
|
|
424
|
+
* Search for files or directories by name or pattern in the project directory.
|
|
425
|
+
*/
|
|
426
|
+
files<ThrowOnError extends boolean = false>(parameters: {
|
|
427
|
+
directory?: string;
|
|
428
|
+
workspace?: string;
|
|
429
|
+
query: string;
|
|
430
|
+
dirs?: "true" | "false";
|
|
431
|
+
type?: "file" | "directory";
|
|
432
|
+
limit?: number;
|
|
433
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
|
|
434
|
+
/**
|
|
435
|
+
* Find symbols
|
|
436
|
+
*
|
|
437
|
+
* Search for workspace symbols like functions, classes, and variables using LSP.
|
|
438
|
+
*/
|
|
439
|
+
symbols<ThrowOnError extends boolean = false>(parameters: {
|
|
440
|
+
directory?: string;
|
|
441
|
+
workspace?: string;
|
|
442
|
+
query: string;
|
|
443
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
|
|
444
|
+
}
|
|
445
|
+
export declare class File extends HeyApiClient {
|
|
446
|
+
/**
|
|
447
|
+
* List files
|
|
65
448
|
*
|
|
66
|
-
*
|
|
449
|
+
* List files and directories in a specified path.
|
|
67
450
|
*/
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
export declare class Auth extends HeyApiClient {
|
|
451
|
+
list<ThrowOnError extends boolean = false>(parameters: {
|
|
452
|
+
directory?: string;
|
|
453
|
+
workspace?: string;
|
|
454
|
+
path: string;
|
|
455
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
|
|
75
456
|
/**
|
|
76
|
-
*
|
|
457
|
+
* Read file
|
|
77
458
|
*
|
|
78
|
-
*
|
|
459
|
+
* Read the content of a specified file.
|
|
79
460
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
461
|
+
read<ThrowOnError extends boolean = false>(parameters: {
|
|
462
|
+
directory?: string;
|
|
463
|
+
workspace?: string;
|
|
464
|
+
path: string;
|
|
465
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
|
|
83
466
|
/**
|
|
84
|
-
*
|
|
467
|
+
* Get file status
|
|
85
468
|
*
|
|
86
|
-
*
|
|
469
|
+
* Get the git status of all files in the project.
|
|
87
470
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
471
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
472
|
+
directory?: string;
|
|
473
|
+
workspace?: string;
|
|
474
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
|
|
92
475
|
}
|
|
93
|
-
export declare class
|
|
476
|
+
export declare class Instance extends HeyApiClient {
|
|
94
477
|
/**
|
|
95
|
-
*
|
|
478
|
+
* Dispose instance
|
|
96
479
|
*
|
|
97
|
-
*
|
|
480
|
+
* Clean up and dispose the current Kilo instance, releasing all resources.
|
|
98
481
|
*/
|
|
99
|
-
|
|
482
|
+
dispose<ThrowOnError extends boolean = false>(parameters?: {
|
|
100
483
|
directory?: string;
|
|
101
484
|
workspace?: string;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
extra?: {
|
|
106
|
-
[key: string]: unknown;
|
|
107
|
-
};
|
|
108
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<AppLogResponses, AppLogErrors, ThrowOnError, "fields">;
|
|
485
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
486
|
+
}
|
|
487
|
+
export declare class Path extends HeyApiClient {
|
|
109
488
|
/**
|
|
110
|
-
*
|
|
489
|
+
* Get paths
|
|
111
490
|
*
|
|
112
|
-
*
|
|
491
|
+
* Retrieve the current working directory and related path information for the Kilo instance.
|
|
113
492
|
*/
|
|
114
|
-
|
|
493
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
115
494
|
directory?: string;
|
|
116
495
|
workspace?: string;
|
|
117
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
496
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
|
|
497
|
+
}
|
|
498
|
+
export declare class Vcs extends HeyApiClient {
|
|
118
499
|
/**
|
|
119
|
-
*
|
|
500
|
+
* Get VCS info
|
|
120
501
|
*
|
|
121
|
-
*
|
|
502
|
+
* Retrieve version control system (VCS) information for the current project, such as git branch.
|
|
122
503
|
*/
|
|
123
|
-
|
|
504
|
+
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
124
505
|
directory?: string;
|
|
125
506
|
workspace?: string;
|
|
126
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
127
|
-
}
|
|
128
|
-
export declare class Adapter extends HeyApiClient {
|
|
507
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
|
|
129
508
|
/**
|
|
130
|
-
*
|
|
509
|
+
* Get VCS diff
|
|
131
510
|
*
|
|
132
|
-
*
|
|
511
|
+
* Retrieve the current git diff for the working tree or against the default branch.
|
|
133
512
|
*/
|
|
134
|
-
|
|
513
|
+
diff<ThrowOnError extends boolean = false>(parameters: {
|
|
135
514
|
directory?: string;
|
|
136
515
|
workspace?: string;
|
|
137
|
-
|
|
516
|
+
mode: "git" | "branch";
|
|
517
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffResponses, unknown, ThrowOnError, "fields">;
|
|
138
518
|
}
|
|
139
|
-
export declare class
|
|
519
|
+
export declare class Command extends HeyApiClient {
|
|
140
520
|
/**
|
|
141
|
-
* List
|
|
521
|
+
* List commands
|
|
142
522
|
*
|
|
143
|
-
*
|
|
523
|
+
* Get a list of all available commands in the Kilo system.
|
|
144
524
|
*/
|
|
145
525
|
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
146
526
|
directory?: string;
|
|
147
527
|
workspace?: string;
|
|
148
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
528
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommandListResponses, unknown, ThrowOnError, "fields">;
|
|
529
|
+
}
|
|
530
|
+
export declare class Lsp extends HeyApiClient {
|
|
149
531
|
/**
|
|
150
|
-
*
|
|
532
|
+
* Get LSP status
|
|
151
533
|
*
|
|
152
|
-
*
|
|
534
|
+
* Get LSP server status
|
|
153
535
|
*/
|
|
154
|
-
|
|
536
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
155
537
|
directory?: string;
|
|
156
538
|
workspace?: string;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
extra?: unknown | null;
|
|
161
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceCreateErrors, ThrowOnError, "fields">;
|
|
539
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<LspStatusResponses, unknown, ThrowOnError, "fields">;
|
|
540
|
+
}
|
|
541
|
+
export declare class Formatter extends HeyApiClient {
|
|
162
542
|
/**
|
|
163
|
-
*
|
|
543
|
+
* Get formatter status
|
|
164
544
|
*
|
|
165
|
-
* Get
|
|
545
|
+
* Get formatter status
|
|
166
546
|
*/
|
|
167
547
|
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
168
548
|
directory?: string;
|
|
169
549
|
workspace?: string;
|
|
170
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
550
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FormatterStatusResponses, unknown, ThrowOnError, "fields">;
|
|
551
|
+
}
|
|
552
|
+
export declare class Auth2 extends HeyApiClient {
|
|
171
553
|
/**
|
|
172
|
-
* Remove
|
|
554
|
+
* Remove MCP OAuth
|
|
173
555
|
*
|
|
174
|
-
* Remove an
|
|
556
|
+
* Remove OAuth credentials for an MCP server.
|
|
175
557
|
*/
|
|
176
558
|
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
177
|
-
|
|
559
|
+
name: string;
|
|
178
560
|
directory?: string;
|
|
179
561
|
workspace?: string;
|
|
180
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
562
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
|
|
181
563
|
/**
|
|
182
|
-
*
|
|
564
|
+
* Start MCP OAuth
|
|
183
565
|
*
|
|
184
|
-
*
|
|
566
|
+
* Start OAuth authentication flow for a Model Context Protocol (MCP) server.
|
|
185
567
|
*/
|
|
186
|
-
|
|
187
|
-
|
|
568
|
+
start<ThrowOnError extends boolean = false>(parameters: {
|
|
569
|
+
name: string;
|
|
188
570
|
directory?: string;
|
|
189
571
|
workspace?: string;
|
|
190
|
-
|
|
191
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceSessionRestoreResponses, ExperimentalWorkspaceSessionRestoreErrors, ThrowOnError, "fields">;
|
|
192
|
-
private _adapter?;
|
|
193
|
-
get adapter(): Adapter;
|
|
194
|
-
}
|
|
195
|
-
export declare class Console extends HeyApiClient {
|
|
572
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
|
|
196
573
|
/**
|
|
197
|
-
*
|
|
574
|
+
* Complete MCP OAuth
|
|
198
575
|
*
|
|
199
|
-
*
|
|
576
|
+
* Complete OAuth authentication for a Model Context Protocol (MCP) server using the authorization code.
|
|
200
577
|
*/
|
|
201
|
-
|
|
578
|
+
callback<ThrowOnError extends boolean = false>(parameters: {
|
|
579
|
+
name: string;
|
|
202
580
|
directory?: string;
|
|
203
581
|
workspace?: string;
|
|
204
|
-
|
|
582
|
+
code?: string;
|
|
583
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
|
|
205
584
|
/**
|
|
206
|
-
*
|
|
585
|
+
* Authenticate MCP OAuth
|
|
207
586
|
*
|
|
208
|
-
*
|
|
587
|
+
* Start OAuth flow and wait for callback (opens browser).
|
|
209
588
|
*/
|
|
210
|
-
|
|
589
|
+
authenticate<ThrowOnError extends boolean = false>(parameters: {
|
|
590
|
+
name: string;
|
|
211
591
|
directory?: string;
|
|
212
592
|
workspace?: string;
|
|
213
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
593
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthAuthenticateResponses, McpAuthAuthenticateErrors, ThrowOnError, "fields">;
|
|
594
|
+
}
|
|
595
|
+
export declare class Mcp extends HeyApiClient {
|
|
214
596
|
/**
|
|
215
|
-
*
|
|
597
|
+
* Get MCP status
|
|
216
598
|
*
|
|
217
|
-
*
|
|
599
|
+
* Get the status of all Model Context Protocol (MCP) servers.
|
|
218
600
|
*/
|
|
219
|
-
|
|
601
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
220
602
|
directory?: string;
|
|
221
603
|
workspace?: string;
|
|
222
|
-
|
|
223
|
-
orgID?: string;
|
|
224
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalConsoleSwitchOrgResponses, unknown, ThrowOnError, "fields">;
|
|
225
|
-
}
|
|
226
|
-
export declare class Session extends HeyApiClient {
|
|
604
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpStatusResponses, unknown, ThrowOnError, "fields">;
|
|
227
605
|
/**
|
|
228
|
-
*
|
|
606
|
+
* Add MCP server
|
|
229
607
|
*
|
|
230
|
-
*
|
|
608
|
+
* Dynamically add a new Model Context Protocol (MCP) server to the system.
|
|
231
609
|
*/
|
|
232
|
-
|
|
610
|
+
add<ThrowOnError extends boolean = false>(parameters?: {
|
|
233
611
|
directory?: string;
|
|
234
612
|
workspace?: string;
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
start?: number;
|
|
239
|
-
cursor?: number;
|
|
240
|
-
search?: string;
|
|
241
|
-
limit?: number;
|
|
242
|
-
archived?: boolean | "true" | "false";
|
|
243
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalSessionListResponses, unknown, ThrowOnError, "fields">;
|
|
244
|
-
}
|
|
245
|
-
export declare class Resource extends HeyApiClient {
|
|
613
|
+
name?: string;
|
|
614
|
+
config?: McpLocalConfig | McpRemoteConfig;
|
|
615
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
|
|
246
616
|
/**
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* Get all available MCP resources from connected servers. Optionally filter by name.
|
|
617
|
+
* Connect an MCP server.
|
|
250
618
|
*/
|
|
251
|
-
|
|
619
|
+
connect<ThrowOnError extends boolean = false>(parameters: {
|
|
620
|
+
name: string;
|
|
252
621
|
directory?: string;
|
|
253
622
|
workspace?: string;
|
|
254
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
private
|
|
264
|
-
get
|
|
623
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpConnectResponses, unknown, ThrowOnError, "fields">;
|
|
624
|
+
/**
|
|
625
|
+
* Disconnect an MCP server.
|
|
626
|
+
*/
|
|
627
|
+
disconnect<ThrowOnError extends boolean = false>(parameters: {
|
|
628
|
+
name: string;
|
|
629
|
+
directory?: string;
|
|
630
|
+
workspace?: string;
|
|
631
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpDisconnectResponses, unknown, ThrowOnError, "fields">;
|
|
632
|
+
private _auth?;
|
|
633
|
+
get auth(): Auth2;
|
|
265
634
|
}
|
|
266
635
|
export declare class Project extends HeyApiClient {
|
|
267
636
|
/**
|
|
@@ -385,148 +754,168 @@ export declare class Pty extends HeyApiClient {
|
|
|
385
754
|
};
|
|
386
755
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyUpdateResponses, PtyUpdateErrors, ThrowOnError, "fields">;
|
|
387
756
|
/**
|
|
388
|
-
*
|
|
757
|
+
* Create PTY WebSocket token
|
|
389
758
|
*
|
|
390
|
-
*
|
|
759
|
+
* Create a short-lived ticket for opening a PTY WebSocket connection.
|
|
391
760
|
*/
|
|
392
|
-
|
|
761
|
+
connectToken<ThrowOnError extends boolean = false>(parameters: {
|
|
393
762
|
ptyID: string;
|
|
394
763
|
directory?: string;
|
|
395
764
|
workspace?: string;
|
|
396
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
397
|
-
}
|
|
398
|
-
export declare class Config2 extends HeyApiClient {
|
|
765
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectTokenResponses, PtyConnectTokenErrors, ThrowOnError, "fields">;
|
|
399
766
|
/**
|
|
400
|
-
*
|
|
767
|
+
* Connect to PTY session
|
|
401
768
|
*
|
|
402
|
-
*
|
|
769
|
+
* Establish a WebSocket connection to interact with a pseudo-terminal (PTY) session in real-time.
|
|
403
770
|
*/
|
|
404
|
-
|
|
771
|
+
connect<ThrowOnError extends boolean = false>(parameters: {
|
|
772
|
+
ptyID: string;
|
|
405
773
|
directory?: string;
|
|
406
774
|
workspace?: string;
|
|
407
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
775
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PtyConnectResponses, PtyConnectErrors, ThrowOnError, "fields">;
|
|
776
|
+
}
|
|
777
|
+
export declare class Question extends HeyApiClient {
|
|
408
778
|
/**
|
|
409
|
-
*
|
|
779
|
+
* List pending questions
|
|
410
780
|
*
|
|
411
|
-
*
|
|
781
|
+
* Get all pending question requests across all sessions.
|
|
412
782
|
*/
|
|
413
|
-
|
|
783
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
414
784
|
directory?: string;
|
|
415
785
|
workspace?: string;
|
|
416
|
-
|
|
417
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ConfigUpdateResponses, ConfigUpdateErrors, ThrowOnError, "fields">;
|
|
786
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
|
|
418
787
|
/**
|
|
419
|
-
*
|
|
788
|
+
* Reply to question request
|
|
420
789
|
*
|
|
421
|
-
*
|
|
790
|
+
* Provide answers to a question request from the AI assistant.
|
|
422
791
|
*/
|
|
423
|
-
|
|
792
|
+
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
793
|
+
requestID: string;
|
|
424
794
|
directory?: string;
|
|
425
795
|
workspace?: string;
|
|
426
|
-
|
|
796
|
+
answers?: Array<QuestionAnswer>;
|
|
797
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
|
|
427
798
|
/**
|
|
428
|
-
*
|
|
799
|
+
* Reject question request
|
|
429
800
|
*
|
|
430
|
-
*
|
|
801
|
+
* Reject a question request from the AI assistant.
|
|
431
802
|
*/
|
|
432
|
-
|
|
803
|
+
reject<ThrowOnError extends boolean = false>(parameters: {
|
|
804
|
+
requestID: string;
|
|
433
805
|
directory?: string;
|
|
434
806
|
workspace?: string;
|
|
435
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
807
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
|
|
436
808
|
}
|
|
437
|
-
export declare class
|
|
809
|
+
export declare class Permission extends HeyApiClient {
|
|
438
810
|
/**
|
|
439
|
-
* List
|
|
811
|
+
* List pending permissions
|
|
440
812
|
*
|
|
441
|
-
* Get
|
|
813
|
+
* Get all pending permission requests across all sessions.
|
|
442
814
|
*/
|
|
443
|
-
|
|
815
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
444
816
|
directory?: string;
|
|
445
817
|
workspace?: string;
|
|
446
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
818
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
|
|
447
819
|
/**
|
|
448
|
-
*
|
|
820
|
+
* Respond to permission request
|
|
449
821
|
*
|
|
450
|
-
*
|
|
822
|
+
* Approve or deny a permission request from the AI assistant.
|
|
451
823
|
*/
|
|
452
|
-
|
|
824
|
+
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
825
|
+
requestID: string;
|
|
453
826
|
directory?: string;
|
|
454
827
|
workspace?: string;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
458
|
-
}
|
|
459
|
-
export declare class Worktree extends HeyApiClient {
|
|
828
|
+
reply?: "once" | "always" | "reject";
|
|
829
|
+
message?: string;
|
|
830
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
|
|
460
831
|
/**
|
|
461
|
-
*
|
|
832
|
+
* Save always-allow/deny permission rules
|
|
462
833
|
*
|
|
463
|
-
*
|
|
834
|
+
* Save approved/denied always-rules for a pending permission request.
|
|
464
835
|
*/
|
|
465
|
-
|
|
836
|
+
saveAlwaysRules<ThrowOnError extends boolean = false>(parameters: {
|
|
837
|
+
requestID: string;
|
|
466
838
|
directory?: string;
|
|
467
839
|
workspace?: string;
|
|
468
|
-
|
|
469
|
-
|
|
840
|
+
approvedAlways?: Array<string>;
|
|
841
|
+
deniedAlways?: Array<string>;
|
|
842
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionSaveAlwaysRulesResponses, PermissionSaveAlwaysRulesErrors, ThrowOnError, "fields">;
|
|
470
843
|
/**
|
|
471
|
-
*
|
|
844
|
+
* Allow everything
|
|
472
845
|
*
|
|
473
|
-
*
|
|
846
|
+
* Enable or disable allowing all permissions without prompts.
|
|
474
847
|
*/
|
|
475
|
-
|
|
848
|
+
allowEverything<ThrowOnError extends boolean = false>(parameters?: {
|
|
476
849
|
directory?: string;
|
|
477
850
|
workspace?: string;
|
|
478
|
-
|
|
851
|
+
enable?: boolean;
|
|
852
|
+
requestID?: string;
|
|
853
|
+
sessionID?: string;
|
|
854
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionAllowEverythingResponses, PermissionAllowEverythingErrors, ThrowOnError, "fields">;
|
|
479
855
|
/**
|
|
480
|
-
*
|
|
856
|
+
* Respond to permission
|
|
481
857
|
*
|
|
482
|
-
*
|
|
858
|
+
* Approve or deny a permission request from the AI assistant.
|
|
859
|
+
*
|
|
860
|
+
* @deprecated
|
|
483
861
|
*/
|
|
484
|
-
|
|
862
|
+
respond<ThrowOnError extends boolean = false>(parameters: {
|
|
863
|
+
sessionID: string;
|
|
864
|
+
permissionID: string;
|
|
485
865
|
directory?: string;
|
|
486
866
|
workspace?: string;
|
|
487
|
-
|
|
488
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
867
|
+
response?: "once" | "always" | "reject";
|
|
868
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
|
|
869
|
+
}
|
|
870
|
+
export declare class Oauth extends HeyApiClient {
|
|
489
871
|
/**
|
|
490
|
-
*
|
|
872
|
+
* Start OAuth authorization
|
|
491
873
|
*
|
|
492
|
-
*
|
|
874
|
+
* Start the OAuth authorization flow for a provider.
|
|
493
875
|
*/
|
|
494
|
-
|
|
876
|
+
authorize<ThrowOnError extends boolean = false>(parameters: {
|
|
877
|
+
providerID: string;
|
|
495
878
|
directory?: string;
|
|
496
879
|
workspace?: string;
|
|
497
|
-
|
|
498
|
-
|
|
880
|
+
method?: number;
|
|
881
|
+
inputs?: {
|
|
882
|
+
[key: string]: string;
|
|
883
|
+
};
|
|
884
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
|
|
499
885
|
/**
|
|
500
|
-
*
|
|
886
|
+
* Handle OAuth callback
|
|
501
887
|
*
|
|
502
|
-
*
|
|
888
|
+
* Handle the OAuth callback from a provider after user authorization.
|
|
503
889
|
*/
|
|
504
|
-
|
|
890
|
+
callback<ThrowOnError extends boolean = false>(parameters: {
|
|
891
|
+
providerID: string;
|
|
505
892
|
directory?: string;
|
|
506
893
|
workspace?: string;
|
|
507
|
-
|
|
508
|
-
|
|
894
|
+
method?: number;
|
|
895
|
+
code?: string;
|
|
896
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
|
|
897
|
+
}
|
|
898
|
+
export declare class Provider extends HeyApiClient {
|
|
509
899
|
/**
|
|
510
|
-
*
|
|
900
|
+
* List providers
|
|
511
901
|
*
|
|
512
|
-
* Get
|
|
902
|
+
* Get a list of all available AI providers, including both available and connected ones.
|
|
513
903
|
*/
|
|
514
|
-
|
|
904
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
515
905
|
directory?: string;
|
|
516
906
|
workspace?: string;
|
|
517
|
-
|
|
518
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<WorktreeDiffSummaryResponses, WorktreeDiffSummaryErrors, ThrowOnError, "fields">;
|
|
907
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
|
|
519
908
|
/**
|
|
520
|
-
* Get
|
|
909
|
+
* Get provider auth methods
|
|
521
910
|
*
|
|
522
|
-
*
|
|
911
|
+
* Retrieve available authentication methods for all AI providers.
|
|
523
912
|
*/
|
|
524
|
-
|
|
913
|
+
auth<ThrowOnError extends boolean = false>(parameters?: {
|
|
525
914
|
directory?: string;
|
|
526
915
|
workspace?: string;
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
916
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
|
|
917
|
+
private _oauth?;
|
|
918
|
+
get oauth(): Oauth;
|
|
530
919
|
}
|
|
531
920
|
export declare class Session2 extends HeyApiClient {
|
|
532
921
|
/**
|
|
@@ -554,6 +943,12 @@ export declare class Session2 extends HeyApiClient {
|
|
|
554
943
|
workspace?: string;
|
|
555
944
|
parentID?: string;
|
|
556
945
|
title?: string;
|
|
946
|
+
agent?: string;
|
|
947
|
+
model?: {
|
|
948
|
+
id: string;
|
|
949
|
+
providerID: string;
|
|
950
|
+
variant?: string;
|
|
951
|
+
};
|
|
557
952
|
permission?: PermissionRuleset;
|
|
558
953
|
platform?: string;
|
|
559
954
|
workspaceID?: string;
|
|
@@ -622,60 +1017,6 @@ export declare class Session2 extends HeyApiClient {
|
|
|
622
1017
|
directory?: string;
|
|
623
1018
|
workspace?: string;
|
|
624
1019
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionTodoResponses, SessionTodoErrors, ThrowOnError, "fields">;
|
|
625
|
-
/**
|
|
626
|
-
* Initialize session
|
|
627
|
-
*
|
|
628
|
-
* Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
|
|
629
|
-
*/
|
|
630
|
-
init<ThrowOnError extends boolean = false>(parameters: {
|
|
631
|
-
sessionID: string;
|
|
632
|
-
directory?: string;
|
|
633
|
-
workspace?: string;
|
|
634
|
-
modelID?: string;
|
|
635
|
-
providerID?: string;
|
|
636
|
-
messageID?: string;
|
|
637
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
|
|
638
|
-
/**
|
|
639
|
-
* Fork session
|
|
640
|
-
*
|
|
641
|
-
* Create a new session by forking an existing session at a specific message point.
|
|
642
|
-
*/
|
|
643
|
-
fork<ThrowOnError extends boolean = false>(parameters: {
|
|
644
|
-
sessionID: string;
|
|
645
|
-
directory?: string;
|
|
646
|
-
workspace?: string;
|
|
647
|
-
messageID?: string;
|
|
648
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
|
|
649
|
-
/**
|
|
650
|
-
* Abort session
|
|
651
|
-
*
|
|
652
|
-
* Abort an active session and stop any ongoing AI processing or command execution.
|
|
653
|
-
*/
|
|
654
|
-
abort<ThrowOnError extends boolean = false>(parameters: {
|
|
655
|
-
sessionID: string;
|
|
656
|
-
directory?: string;
|
|
657
|
-
workspace?: string;
|
|
658
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
|
|
659
|
-
/**
|
|
660
|
-
* Unshare session
|
|
661
|
-
*
|
|
662
|
-
* Remove the shareable link for a session, making it private again.
|
|
663
|
-
*/
|
|
664
|
-
unshare<ThrowOnError extends boolean = false>(parameters: {
|
|
665
|
-
sessionID: string;
|
|
666
|
-
directory?: string;
|
|
667
|
-
workspace?: string;
|
|
668
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
|
|
669
|
-
/**
|
|
670
|
-
* Share session
|
|
671
|
-
*
|
|
672
|
-
* Create a shareable link for a session, allowing others to view the conversation.
|
|
673
|
-
*/
|
|
674
|
-
share<ThrowOnError extends boolean = false>(parameters: {
|
|
675
|
-
sessionID: string;
|
|
676
|
-
directory?: string;
|
|
677
|
-
workspace?: string;
|
|
678
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
|
|
679
1020
|
/**
|
|
680
1021
|
* Get message diff
|
|
681
1022
|
*
|
|
@@ -687,19 +1028,6 @@ export declare class Session2 extends HeyApiClient {
|
|
|
687
1028
|
workspace?: string;
|
|
688
1029
|
messageID?: string;
|
|
689
1030
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionDiffResponses, unknown, ThrowOnError, "fields">;
|
|
690
|
-
/**
|
|
691
|
-
* Summarize session
|
|
692
|
-
*
|
|
693
|
-
* Generate a concise summary of the session using AI compaction to preserve key information.
|
|
694
|
-
*/
|
|
695
|
-
summarize<ThrowOnError extends boolean = false>(parameters: {
|
|
696
|
-
sessionID: string;
|
|
697
|
-
directory?: string;
|
|
698
|
-
workspace?: string;
|
|
699
|
-
providerID?: string;
|
|
700
|
-
modelID?: string;
|
|
701
|
-
auto?: boolean;
|
|
702
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
|
|
703
1031
|
/**
|
|
704
1032
|
* Get session messages
|
|
705
1033
|
*
|
|
@@ -745,7 +1073,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
745
1073
|
/**
|
|
746
1074
|
* Delete message
|
|
747
1075
|
*
|
|
748
|
-
* Permanently delete a specific message
|
|
1076
|
+
* Permanently delete a specific message and all of its parts from a session without reverting file changes.
|
|
749
1077
|
*/
|
|
750
1078
|
deleteMessage<ThrowOnError extends boolean = false>(parameters: {
|
|
751
1079
|
sessionID: string;
|
|
@@ -760,10 +1088,77 @@ export declare class Session2 extends HeyApiClient {
|
|
|
760
1088
|
*/
|
|
761
1089
|
message<ThrowOnError extends boolean = false>(parameters: {
|
|
762
1090
|
sessionID: string;
|
|
763
|
-
messageID: string;
|
|
1091
|
+
messageID: string;
|
|
1092
|
+
directory?: string;
|
|
1093
|
+
workspace?: string;
|
|
1094
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionMessageResponses, SessionMessageErrors, ThrowOnError, "fields">;
|
|
1095
|
+
/**
|
|
1096
|
+
* Fork session
|
|
1097
|
+
*
|
|
1098
|
+
* Create a new session by forking an existing session at a specific message point.
|
|
1099
|
+
*/
|
|
1100
|
+
fork<ThrowOnError extends boolean = false>(parameters: {
|
|
1101
|
+
sessionID: string;
|
|
1102
|
+
directory?: string;
|
|
1103
|
+
workspace?: string;
|
|
1104
|
+
messageID?: string;
|
|
1105
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, unknown, ThrowOnError, "fields">;
|
|
1106
|
+
/**
|
|
1107
|
+
* Abort session
|
|
1108
|
+
*
|
|
1109
|
+
* Abort an active session and stop any ongoing AI processing or command execution.
|
|
1110
|
+
*/
|
|
1111
|
+
abort<ThrowOnError extends boolean = false>(parameters: {
|
|
1112
|
+
sessionID: string;
|
|
1113
|
+
directory?: string;
|
|
1114
|
+
workspace?: string;
|
|
1115
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionAbortResponses, SessionAbortErrors, ThrowOnError, "fields">;
|
|
1116
|
+
/**
|
|
1117
|
+
* Initialize session
|
|
1118
|
+
*
|
|
1119
|
+
* Analyze the current application and create an AGENTS.md file with project-specific agent configurations.
|
|
1120
|
+
*/
|
|
1121
|
+
init<ThrowOnError extends boolean = false>(parameters: {
|
|
1122
|
+
sessionID: string;
|
|
1123
|
+
directory?: string;
|
|
1124
|
+
workspace?: string;
|
|
1125
|
+
modelID?: string;
|
|
1126
|
+
providerID?: string;
|
|
1127
|
+
messageID?: string;
|
|
1128
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionInitResponses, SessionInitErrors, ThrowOnError, "fields">;
|
|
1129
|
+
/**
|
|
1130
|
+
* Unshare session
|
|
1131
|
+
*
|
|
1132
|
+
* Remove the shareable link for a session, making it private again.
|
|
1133
|
+
*/
|
|
1134
|
+
unshare<ThrowOnError extends boolean = false>(parameters: {
|
|
1135
|
+
sessionID: string;
|
|
1136
|
+
directory?: string;
|
|
1137
|
+
workspace?: string;
|
|
1138
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionUnshareResponses, SessionUnshareErrors, ThrowOnError, "fields">;
|
|
1139
|
+
/**
|
|
1140
|
+
* Share session
|
|
1141
|
+
*
|
|
1142
|
+
* Create a shareable link for a session, allowing others to view the conversation.
|
|
1143
|
+
*/
|
|
1144
|
+
share<ThrowOnError extends boolean = false>(parameters: {
|
|
1145
|
+
sessionID: string;
|
|
1146
|
+
directory?: string;
|
|
1147
|
+
workspace?: string;
|
|
1148
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionShareResponses, SessionShareErrors, ThrowOnError, "fields">;
|
|
1149
|
+
/**
|
|
1150
|
+
* Summarize session
|
|
1151
|
+
*
|
|
1152
|
+
* Generate a concise summary of the session using AI compaction to preserve key information.
|
|
1153
|
+
*/
|
|
1154
|
+
summarize<ThrowOnError extends boolean = false>(parameters: {
|
|
1155
|
+
sessionID: string;
|
|
764
1156
|
directory?: string;
|
|
765
1157
|
workspace?: string;
|
|
766
|
-
|
|
1158
|
+
providerID?: string;
|
|
1159
|
+
modelID?: string;
|
|
1160
|
+
auto?: boolean;
|
|
1161
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionSummarizeResponses, SessionSummarizeErrors, ThrowOnError, "fields">;
|
|
767
1162
|
/**
|
|
768
1163
|
* Send async message
|
|
769
1164
|
*
|
|
@@ -871,7 +1266,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
871
1266
|
}
|
|
872
1267
|
export declare class Part extends HeyApiClient {
|
|
873
1268
|
/**
|
|
874
|
-
* Delete a part from a message
|
|
1269
|
+
* Delete a part from a message.
|
|
875
1270
|
*/
|
|
876
1271
|
delete<ThrowOnError extends boolean = false>(parameters: {
|
|
877
1272
|
sessionID: string;
|
|
@@ -881,7 +1276,7 @@ export declare class Part extends HeyApiClient {
|
|
|
881
1276
|
workspace?: string;
|
|
882
1277
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartDeleteResponses, PartDeleteErrors, ThrowOnError, "fields">;
|
|
883
1278
|
/**
|
|
884
|
-
* Update a part in a message
|
|
1279
|
+
* Update a part in a message.
|
|
885
1280
|
*/
|
|
886
1281
|
update<ThrowOnError extends boolean = false>(parameters: {
|
|
887
1282
|
sessionID: string;
|
|
@@ -892,149 +1287,6 @@ export declare class Part extends HeyApiClient {
|
|
|
892
1287
|
part?: Part2;
|
|
893
1288
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PartUpdateResponses, PartUpdateErrors, ThrowOnError, "fields">;
|
|
894
1289
|
}
|
|
895
|
-
export declare class Permission extends HeyApiClient {
|
|
896
|
-
/**
|
|
897
|
-
* Respond to permission
|
|
898
|
-
*
|
|
899
|
-
* Approve or deny a permission request from the AI assistant.
|
|
900
|
-
*
|
|
901
|
-
* @deprecated
|
|
902
|
-
*/
|
|
903
|
-
respond<ThrowOnError extends boolean = false>(parameters: {
|
|
904
|
-
sessionID: string;
|
|
905
|
-
permissionID: string;
|
|
906
|
-
directory?: string;
|
|
907
|
-
workspace?: string;
|
|
908
|
-
response?: "once" | "always" | "reject";
|
|
909
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionRespondResponses, PermissionRespondErrors, ThrowOnError, "fields">;
|
|
910
|
-
/**
|
|
911
|
-
* Respond to permission request
|
|
912
|
-
*
|
|
913
|
-
* Approve or deny a permission request from the AI assistant.
|
|
914
|
-
*/
|
|
915
|
-
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
916
|
-
requestID: string;
|
|
917
|
-
directory?: string;
|
|
918
|
-
workspace?: string;
|
|
919
|
-
reply?: "once" | "always" | "reject";
|
|
920
|
-
message?: string;
|
|
921
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionReplyResponses, PermissionReplyErrors, ThrowOnError, "fields">;
|
|
922
|
-
/**
|
|
923
|
-
* Save always-allow/deny permission rules
|
|
924
|
-
*
|
|
925
|
-
* Save approved/denied always-rules for a pending permission request.
|
|
926
|
-
*/
|
|
927
|
-
saveAlwaysRules<ThrowOnError extends boolean = false>(parameters: {
|
|
928
|
-
requestID: string;
|
|
929
|
-
directory?: string;
|
|
930
|
-
workspace?: string;
|
|
931
|
-
approvedAlways?: Array<string>;
|
|
932
|
-
deniedAlways?: Array<string>;
|
|
933
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionSaveAlwaysRulesResponses, PermissionSaveAlwaysRulesErrors, ThrowOnError, "fields">;
|
|
934
|
-
/**
|
|
935
|
-
* List pending permissions
|
|
936
|
-
*
|
|
937
|
-
* Get all pending permission requests across all sessions.
|
|
938
|
-
*/
|
|
939
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
940
|
-
directory?: string;
|
|
941
|
-
workspace?: string;
|
|
942
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionListResponses, unknown, ThrowOnError, "fields">;
|
|
943
|
-
/**
|
|
944
|
-
* Allow everything
|
|
945
|
-
*
|
|
946
|
-
* Enable or disable allowing all permissions without prompts.
|
|
947
|
-
*/
|
|
948
|
-
allowEverything<ThrowOnError extends boolean = false>(parameters?: {
|
|
949
|
-
directory?: string;
|
|
950
|
-
workspace?: string;
|
|
951
|
-
enable?: boolean;
|
|
952
|
-
requestID?: string;
|
|
953
|
-
sessionID?: string;
|
|
954
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PermissionAllowEverythingResponses, PermissionAllowEverythingErrors, ThrowOnError, "fields">;
|
|
955
|
-
}
|
|
956
|
-
export declare class Question extends HeyApiClient {
|
|
957
|
-
/**
|
|
958
|
-
* List pending questions
|
|
959
|
-
*
|
|
960
|
-
* Get all pending question requests across all sessions.
|
|
961
|
-
*/
|
|
962
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
963
|
-
directory?: string;
|
|
964
|
-
workspace?: string;
|
|
965
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionListResponses, unknown, ThrowOnError, "fields">;
|
|
966
|
-
/**
|
|
967
|
-
* Reply to question request
|
|
968
|
-
*
|
|
969
|
-
* Provide answers to a question request from the AI assistant.
|
|
970
|
-
*/
|
|
971
|
-
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
972
|
-
requestID: string;
|
|
973
|
-
directory?: string;
|
|
974
|
-
workspace?: string;
|
|
975
|
-
answers?: Array<QuestionAnswer>;
|
|
976
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionReplyResponses, QuestionReplyErrors, ThrowOnError, "fields">;
|
|
977
|
-
/**
|
|
978
|
-
* Reject question request
|
|
979
|
-
*
|
|
980
|
-
* Reject a question request from the AI assistant.
|
|
981
|
-
*/
|
|
982
|
-
reject<ThrowOnError extends boolean = false>(parameters: {
|
|
983
|
-
requestID: string;
|
|
984
|
-
directory?: string;
|
|
985
|
-
workspace?: string;
|
|
986
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<QuestionRejectResponses, QuestionRejectErrors, ThrowOnError, "fields">;
|
|
987
|
-
}
|
|
988
|
-
export declare class Oauth extends HeyApiClient {
|
|
989
|
-
/**
|
|
990
|
-
* OAuth authorize
|
|
991
|
-
*
|
|
992
|
-
* Initiate OAuth authorization for a specific AI provider to get an authorization URL.
|
|
993
|
-
*/
|
|
994
|
-
authorize<ThrowOnError extends boolean = false>(parameters: {
|
|
995
|
-
providerID: string;
|
|
996
|
-
directory?: string;
|
|
997
|
-
workspace?: string;
|
|
998
|
-
method?: number;
|
|
999
|
-
inputs?: {
|
|
1000
|
-
[key: string]: string;
|
|
1001
|
-
};
|
|
1002
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthAuthorizeResponses, ProviderOauthAuthorizeErrors, ThrowOnError, "fields">;
|
|
1003
|
-
/**
|
|
1004
|
-
* OAuth callback
|
|
1005
|
-
*
|
|
1006
|
-
* Handle the OAuth callback from a provider after user authorization.
|
|
1007
|
-
*/
|
|
1008
|
-
callback<ThrowOnError extends boolean = false>(parameters: {
|
|
1009
|
-
providerID: string;
|
|
1010
|
-
directory?: string;
|
|
1011
|
-
workspace?: string;
|
|
1012
|
-
method?: number;
|
|
1013
|
-
code?: string;
|
|
1014
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderOauthCallbackResponses, ProviderOauthCallbackErrors, ThrowOnError, "fields">;
|
|
1015
|
-
}
|
|
1016
|
-
export declare class Provider extends HeyApiClient {
|
|
1017
|
-
/**
|
|
1018
|
-
* List providers
|
|
1019
|
-
*
|
|
1020
|
-
* Get a list of all available AI providers, including both available and connected ones.
|
|
1021
|
-
*/
|
|
1022
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1023
|
-
directory?: string;
|
|
1024
|
-
workspace?: string;
|
|
1025
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderListResponses, unknown, ThrowOnError, "fields">;
|
|
1026
|
-
/**
|
|
1027
|
-
* Get provider auth methods
|
|
1028
|
-
*
|
|
1029
|
-
* Retrieve available authentication methods for all AI providers.
|
|
1030
|
-
*/
|
|
1031
|
-
auth<ThrowOnError extends boolean = false>(parameters?: {
|
|
1032
|
-
directory?: string;
|
|
1033
|
-
workspace?: string;
|
|
1034
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ProviderAuthResponses, unknown, ThrowOnError, "fields">;
|
|
1035
|
-
private _oauth?;
|
|
1036
|
-
get oauth(): Oauth;
|
|
1037
|
-
}
|
|
1038
1290
|
export declare class History extends HeyApiClient {
|
|
1039
1291
|
/**
|
|
1040
1292
|
* List sync events
|
|
@@ -1081,171 +1333,78 @@ export declare class Sync extends HeyApiClient {
|
|
|
1081
1333
|
private _history?;
|
|
1082
1334
|
get history(): History;
|
|
1083
1335
|
}
|
|
1084
|
-
export declare class
|
|
1085
|
-
/**
|
|
1086
|
-
* Find text
|
|
1087
|
-
*
|
|
1088
|
-
* Search for text patterns across files in the project using ripgrep.
|
|
1089
|
-
*/
|
|
1090
|
-
text<ThrowOnError extends boolean = false>(parameters: {
|
|
1091
|
-
directory?: string;
|
|
1092
|
-
workspace?: string;
|
|
1093
|
-
pattern: string;
|
|
1094
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindTextResponses, unknown, ThrowOnError, "fields">;
|
|
1095
|
-
/**
|
|
1096
|
-
* Find files
|
|
1097
|
-
*
|
|
1098
|
-
* Search for files or directories by name or pattern in the project directory.
|
|
1099
|
-
*/
|
|
1100
|
-
files<ThrowOnError extends boolean = false>(parameters: {
|
|
1101
|
-
directory?: string;
|
|
1102
|
-
workspace?: string;
|
|
1103
|
-
query: string;
|
|
1104
|
-
dirs?: "true" | "false";
|
|
1105
|
-
type?: "file" | "directory";
|
|
1106
|
-
limit?: number;
|
|
1107
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindFilesResponses, unknown, ThrowOnError, "fields">;
|
|
1108
|
-
/**
|
|
1109
|
-
* Find symbols
|
|
1110
|
-
*
|
|
1111
|
-
* Search for workspace symbols like functions, classes, and variables using LSP.
|
|
1112
|
-
*/
|
|
1113
|
-
symbols<ThrowOnError extends boolean = false>(parameters: {
|
|
1114
|
-
directory?: string;
|
|
1115
|
-
workspace?: string;
|
|
1116
|
-
query: string;
|
|
1117
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FindSymbolsResponses, unknown, ThrowOnError, "fields">;
|
|
1118
|
-
}
|
|
1119
|
-
export declare class File extends HeyApiClient {
|
|
1120
|
-
/**
|
|
1121
|
-
* List files
|
|
1122
|
-
*
|
|
1123
|
-
* List files and directories in a specified path.
|
|
1124
|
-
*/
|
|
1125
|
-
list<ThrowOnError extends boolean = false>(parameters: {
|
|
1126
|
-
directory?: string;
|
|
1127
|
-
workspace?: string;
|
|
1128
|
-
path: string;
|
|
1129
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileListResponses, unknown, ThrowOnError, "fields">;
|
|
1130
|
-
/**
|
|
1131
|
-
* Read file
|
|
1132
|
-
*
|
|
1133
|
-
* Read the content of a specified file.
|
|
1134
|
-
*/
|
|
1135
|
-
read<ThrowOnError extends boolean = false>(parameters: {
|
|
1136
|
-
directory?: string;
|
|
1137
|
-
workspace?: string;
|
|
1138
|
-
path: string;
|
|
1139
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileReadResponses, unknown, ThrowOnError, "fields">;
|
|
1140
|
-
/**
|
|
1141
|
-
* Get file status
|
|
1142
|
-
*
|
|
1143
|
-
* Get the git status of all files in the project.
|
|
1144
|
-
*/
|
|
1145
|
-
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1146
|
-
directory?: string;
|
|
1147
|
-
workspace?: string;
|
|
1148
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<FileStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1149
|
-
}
|
|
1150
|
-
export declare class Event extends HeyApiClient {
|
|
1151
|
-
/**
|
|
1152
|
-
* Subscribe to events
|
|
1153
|
-
*
|
|
1154
|
-
* Get events
|
|
1155
|
-
*/
|
|
1156
|
-
subscribe<ThrowOnError extends boolean = false>(parameters?: {
|
|
1157
|
-
directory?: string;
|
|
1158
|
-
workspace?: string;
|
|
1159
|
-
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<EventSubscribeResponses, unknown>>;
|
|
1160
|
-
}
|
|
1161
|
-
export declare class Auth2 extends HeyApiClient {
|
|
1162
|
-
/**
|
|
1163
|
-
* Remove MCP OAuth
|
|
1164
|
-
*
|
|
1165
|
-
* Remove OAuth credentials for an MCP server
|
|
1166
|
-
*/
|
|
1167
|
-
remove<ThrowOnError extends boolean = false>(parameters: {
|
|
1168
|
-
name: string;
|
|
1169
|
-
directory?: string;
|
|
1170
|
-
workspace?: string;
|
|
1171
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthRemoveResponses, McpAuthRemoveErrors, ThrowOnError, "fields">;
|
|
1172
|
-
/**
|
|
1173
|
-
* Start MCP OAuth
|
|
1174
|
-
*
|
|
1175
|
-
* Start OAuth authentication flow for a Model Context Protocol (MCP) server.
|
|
1176
|
-
*/
|
|
1177
|
-
start<ThrowOnError extends boolean = false>(parameters: {
|
|
1178
|
-
name: string;
|
|
1179
|
-
directory?: string;
|
|
1180
|
-
workspace?: string;
|
|
1181
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthStartResponses, McpAuthStartErrors, ThrowOnError, "fields">;
|
|
1336
|
+
export declare class Session3 extends HeyApiClient {
|
|
1182
1337
|
/**
|
|
1183
|
-
*
|
|
1338
|
+
* List v2 sessions
|
|
1184
1339
|
*
|
|
1185
|
-
*
|
|
1340
|
+
* Retrieve sessions in the requested order. Items keep that order across pages; use cursor.next or cursor.previous to move through the ordered list.
|
|
1186
1341
|
*/
|
|
1187
|
-
|
|
1188
|
-
name: string;
|
|
1342
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1189
1343
|
directory?: string;
|
|
1190
1344
|
workspace?: string;
|
|
1191
|
-
|
|
1192
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError, "fields">;
|
|
1345
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionListResponses, V2SessionListErrors, ThrowOnError, "fields">;
|
|
1193
1346
|
/**
|
|
1194
|
-
*
|
|
1347
|
+
* Send v2 message
|
|
1195
1348
|
*
|
|
1196
|
-
*
|
|
1197
|
-
*/
|
|
1198
|
-
|
|
1199
|
-
|
|
1349
|
+
* Create a v2 session message and queue it for the agent loop.
|
|
1350
|
+
*/
|
|
1351
|
+
prompt<ThrowOnError extends boolean = false>(parameters: {
|
|
1352
|
+
sessionID: string;
|
|
1200
1353
|
directory?: string;
|
|
1201
1354
|
workspace?: string;
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1355
|
+
prompt?: Prompt;
|
|
1356
|
+
delivery?: SessionDelivery;
|
|
1357
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionPromptResponses, unknown, ThrowOnError, "fields">;
|
|
1205
1358
|
/**
|
|
1206
|
-
*
|
|
1359
|
+
* Compact v2 session
|
|
1207
1360
|
*
|
|
1208
|
-
*
|
|
1361
|
+
* Compact a v2 session conversation.
|
|
1209
1362
|
*/
|
|
1210
|
-
|
|
1363
|
+
compact<ThrowOnError extends boolean = false>(parameters: {
|
|
1364
|
+
sessionID: string;
|
|
1211
1365
|
directory?: string;
|
|
1212
1366
|
workspace?: string;
|
|
1213
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1367
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionCompactResponses, unknown, ThrowOnError, "fields">;
|
|
1214
1368
|
/**
|
|
1215
|
-
*
|
|
1369
|
+
* Wait for v2 session
|
|
1216
1370
|
*
|
|
1217
|
-
*
|
|
1371
|
+
* Wait for a v2 session agent loop to become idle.
|
|
1218
1372
|
*/
|
|
1219
|
-
|
|
1373
|
+
wait<ThrowOnError extends boolean = false>(parameters: {
|
|
1374
|
+
sessionID: string;
|
|
1220
1375
|
directory?: string;
|
|
1221
1376
|
workspace?: string;
|
|
1222
|
-
|
|
1223
|
-
config?: McpLocalConfig | McpRemoteConfig;
|
|
1224
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<McpAddResponses, McpAddErrors, ThrowOnError, "fields">;
|
|
1377
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionWaitResponses, unknown, ThrowOnError, "fields">;
|
|
1225
1378
|
/**
|
|
1226
|
-
*
|
|
1379
|
+
* Get v2 session context
|
|
1380
|
+
*
|
|
1381
|
+
* Retrieve the active context messages for a v2 session (all messages after the last compaction).
|
|
1227
1382
|
*/
|
|
1228
|
-
|
|
1229
|
-
|
|
1383
|
+
context<ThrowOnError extends boolean = false>(parameters: {
|
|
1384
|
+
sessionID: string;
|
|
1230
1385
|
directory?: string;
|
|
1231
1386
|
workspace?: string;
|
|
1232
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1387
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionContextResponses, unknown, ThrowOnError, "fields">;
|
|
1233
1388
|
/**
|
|
1234
|
-
*
|
|
1389
|
+
* Get v2 session messages
|
|
1390
|
+
*
|
|
1391
|
+
* Retrieve projected v2 messages for a session. Items keep the requested order across pages; use cursor.next or cursor.previous to move through the ordered timeline.
|
|
1235
1392
|
*/
|
|
1236
|
-
|
|
1237
|
-
|
|
1393
|
+
messages<ThrowOnError extends boolean = false>(parameters: {
|
|
1394
|
+
sessionID: string;
|
|
1238
1395
|
directory?: string;
|
|
1239
1396
|
workspace?: string;
|
|
1240
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1241
|
-
|
|
1242
|
-
|
|
1397
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<V2SessionMessagesResponses, V2SessionMessagesErrors, ThrowOnError, "fields">;
|
|
1398
|
+
}
|
|
1399
|
+
export declare class V2 extends HeyApiClient {
|
|
1400
|
+
private _session?;
|
|
1401
|
+
get session(): Session3;
|
|
1243
1402
|
}
|
|
1244
1403
|
export declare class Control extends HeyApiClient {
|
|
1245
1404
|
/**
|
|
1246
1405
|
* Get next TUI request
|
|
1247
1406
|
*
|
|
1248
|
-
* Retrieve the next TUI
|
|
1407
|
+
* Retrieve the next TUI request from the queue for processing.
|
|
1249
1408
|
*/
|
|
1250
1409
|
next<ThrowOnError extends boolean = false>(parameters?: {
|
|
1251
1410
|
directory?: string;
|
|
@@ -1266,7 +1425,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1266
1425
|
/**
|
|
1267
1426
|
* Append TUI prompt
|
|
1268
1427
|
*
|
|
1269
|
-
* Append prompt to the TUI
|
|
1428
|
+
* Append prompt to the TUI.
|
|
1270
1429
|
*/
|
|
1271
1430
|
appendPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1272
1431
|
directory?: string;
|
|
@@ -1285,7 +1444,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1285
1444
|
/**
|
|
1286
1445
|
* Open sessions dialog
|
|
1287
1446
|
*
|
|
1288
|
-
* Open the session dialog
|
|
1447
|
+
* Open the session dialog.
|
|
1289
1448
|
*/
|
|
1290
1449
|
openSessions<ThrowOnError extends boolean = false>(parameters?: {
|
|
1291
1450
|
directory?: string;
|
|
@@ -1294,7 +1453,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1294
1453
|
/**
|
|
1295
1454
|
* Open themes dialog
|
|
1296
1455
|
*
|
|
1297
|
-
* Open the theme dialog
|
|
1456
|
+
* Open the theme dialog.
|
|
1298
1457
|
*/
|
|
1299
1458
|
openThemes<ThrowOnError extends boolean = false>(parameters?: {
|
|
1300
1459
|
directory?: string;
|
|
@@ -1303,7 +1462,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1303
1462
|
/**
|
|
1304
1463
|
* Open models dialog
|
|
1305
1464
|
*
|
|
1306
|
-
* Open the model dialog
|
|
1465
|
+
* Open the model dialog.
|
|
1307
1466
|
*/
|
|
1308
1467
|
openModels<ThrowOnError extends boolean = false>(parameters?: {
|
|
1309
1468
|
directory?: string;
|
|
@@ -1312,7 +1471,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1312
1471
|
/**
|
|
1313
1472
|
* Submit TUI prompt
|
|
1314
1473
|
*
|
|
1315
|
-
* Submit the prompt
|
|
1474
|
+
* Submit the prompt.
|
|
1316
1475
|
*/
|
|
1317
1476
|
submitPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1318
1477
|
directory?: string;
|
|
@@ -1321,7 +1480,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1321
1480
|
/**
|
|
1322
1481
|
* Clear TUI prompt
|
|
1323
1482
|
*
|
|
1324
|
-
* Clear the prompt
|
|
1483
|
+
* Clear the prompt.
|
|
1325
1484
|
*/
|
|
1326
1485
|
clearPrompt<ThrowOnError extends boolean = false>(parameters?: {
|
|
1327
1486
|
directory?: string;
|
|
@@ -1330,7 +1489,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1330
1489
|
/**
|
|
1331
1490
|
* Execute TUI command
|
|
1332
1491
|
*
|
|
1333
|
-
* Execute a TUI command
|
|
1492
|
+
* Execute a TUI command.
|
|
1334
1493
|
*/
|
|
1335
1494
|
executeCommand<ThrowOnError extends boolean = false>(parameters?: {
|
|
1336
1495
|
directory?: string;
|
|
@@ -1340,7 +1499,7 @@ export declare class Tui extends HeyApiClient {
|
|
|
1340
1499
|
/**
|
|
1341
1500
|
* Show TUI toast
|
|
1342
1501
|
*
|
|
1343
|
-
* Show a toast notification in the TUI
|
|
1502
|
+
* Show a toast notification in the TUI.
|
|
1344
1503
|
*/
|
|
1345
1504
|
showToast<ThrowOnError extends boolean = false>(parameters?: {
|
|
1346
1505
|
directory?: string;
|
|
@@ -1353,12 +1512,12 @@ export declare class Tui extends HeyApiClient {
|
|
|
1353
1512
|
/**
|
|
1354
1513
|
* Publish TUI event
|
|
1355
1514
|
*
|
|
1356
|
-
* Publish a TUI event
|
|
1515
|
+
* Publish a TUI event.
|
|
1357
1516
|
*/
|
|
1358
1517
|
publish<ThrowOnError extends boolean = false>(parameters?: {
|
|
1359
1518
|
directory?: string;
|
|
1360
1519
|
workspace?: string;
|
|
1361
|
-
body?:
|
|
1520
|
+
body?: EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2;
|
|
1362
1521
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TuiPublishResponses, TuiPublishErrors, ThrowOnError, "fields">;
|
|
1363
1522
|
/**
|
|
1364
1523
|
* Select session
|
|
@@ -1373,235 +1532,192 @@ export declare class Tui extends HeyApiClient {
|
|
|
1373
1532
|
private _control?;
|
|
1374
1533
|
get control(): Control;
|
|
1375
1534
|
}
|
|
1376
|
-
export declare class
|
|
1377
|
-
/**
|
|
1378
|
-
* Dispose instance
|
|
1379
|
-
*
|
|
1380
|
-
* Clean up and dispose the current Kilo instance, releasing all resources.
|
|
1381
|
-
*/
|
|
1382
|
-
dispose<ThrowOnError extends boolean = false>(parameters?: {
|
|
1383
|
-
directory?: string;
|
|
1384
|
-
workspace?: string;
|
|
1385
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<InstanceDisposeResponses, unknown, ThrowOnError, "fields">;
|
|
1386
|
-
}
|
|
1387
|
-
export declare class Path extends HeyApiClient {
|
|
1388
|
-
/**
|
|
1389
|
-
* Get paths
|
|
1390
|
-
*
|
|
1391
|
-
* Retrieve the current working directory and related path information for the Kilo instance.
|
|
1392
|
-
*/
|
|
1393
|
-
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
1394
|
-
directory?: string;
|
|
1395
|
-
workspace?: string;
|
|
1396
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
|
|
1397
|
-
}
|
|
1398
|
-
export declare class Vcs extends HeyApiClient {
|
|
1399
|
-
/**
|
|
1400
|
-
* Get VCS info
|
|
1401
|
-
*
|
|
1402
|
-
* Retrieve version control system (VCS) information for the current project, such as git branch.
|
|
1403
|
-
*/
|
|
1404
|
-
get<ThrowOnError extends boolean = false>(parameters?: {
|
|
1405
|
-
directory?: string;
|
|
1406
|
-
workspace?: string;
|
|
1407
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
|
|
1535
|
+
export declare class CommitMessage extends HeyApiClient {
|
|
1408
1536
|
/**
|
|
1409
|
-
*
|
|
1537
|
+
* Generate commit message
|
|
1410
1538
|
*
|
|
1411
|
-
*
|
|
1539
|
+
* Generate a commit message using AI based on the current git diff.
|
|
1412
1540
|
*/
|
|
1413
|
-
|
|
1541
|
+
generate<ThrowOnError extends boolean = false>(parameters?: {
|
|
1414
1542
|
directory?: string;
|
|
1415
1543
|
workspace?: string;
|
|
1416
|
-
|
|
1417
|
-
|
|
1544
|
+
path?: string;
|
|
1545
|
+
selectedFiles?: Array<string>;
|
|
1546
|
+
previousMessage?: string;
|
|
1547
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<CommitMessageGenerateResponses, CommitMessageGenerateErrors, ThrowOnError, "fields">;
|
|
1418
1548
|
}
|
|
1419
|
-
export declare class
|
|
1549
|
+
export declare class EnhancePrompt extends HeyApiClient {
|
|
1420
1550
|
/**
|
|
1421
|
-
*
|
|
1551
|
+
* Enhance prompt
|
|
1422
1552
|
*
|
|
1423
|
-
*
|
|
1553
|
+
* Rewrite a user's draft prompt into a clearer, more specific, and more effective prompt.
|
|
1424
1554
|
*/
|
|
1425
|
-
|
|
1555
|
+
enhance<ThrowOnError extends boolean = false>(parameters?: {
|
|
1426
1556
|
directory?: string;
|
|
1427
1557
|
workspace?: string;
|
|
1428
|
-
|
|
1558
|
+
text?: string;
|
|
1559
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EnhancePromptEnhanceResponses, EnhancePromptEnhanceErrors, ThrowOnError, "fields">;
|
|
1429
1560
|
}
|
|
1430
|
-
export declare class
|
|
1561
|
+
export declare class Indexing extends HeyApiClient {
|
|
1431
1562
|
/**
|
|
1432
|
-
* Get
|
|
1563
|
+
* Get indexing status
|
|
1433
1564
|
*
|
|
1434
|
-
*
|
|
1565
|
+
* Retrieve the current code indexing status for the active project.
|
|
1435
1566
|
*/
|
|
1436
1567
|
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1437
1568
|
directory?: string;
|
|
1438
1569
|
workspace?: string;
|
|
1439
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1570
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<IndexingStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1440
1571
|
}
|
|
1441
|
-
export declare class
|
|
1572
|
+
export declare class Audio extends HeyApiClient {
|
|
1442
1573
|
/**
|
|
1443
|
-
*
|
|
1574
|
+
* Speech to text transcription
|
|
1444
1575
|
*
|
|
1445
|
-
*
|
|
1576
|
+
* Proxy an audio transcription request to the Kilo Gateway
|
|
1446
1577
|
*/
|
|
1447
|
-
|
|
1578
|
+
transcriptions<ThrowOnError extends boolean = false>(parameters?: {
|
|
1448
1579
|
directory?: string;
|
|
1449
1580
|
workspace?: string;
|
|
1450
|
-
|
|
1581
|
+
model?: string;
|
|
1582
|
+
input_audio?: {
|
|
1583
|
+
data: string;
|
|
1584
|
+
format: string;
|
|
1585
|
+
};
|
|
1586
|
+
language?: string;
|
|
1587
|
+
temperature?: number;
|
|
1588
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloAudioTranscriptionsResponses, KiloAudioTranscriptionsErrors, ThrowOnError, "fields">;
|
|
1451
1589
|
}
|
|
1452
|
-
export declare class
|
|
1453
|
-
/**
|
|
1454
|
-
* List pending network waits
|
|
1455
|
-
*
|
|
1456
|
-
* Get all pending network reconnect requests across all sessions.
|
|
1457
|
-
*/
|
|
1458
|
-
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1459
|
-
directory?: string;
|
|
1460
|
-
workspace?: string;
|
|
1461
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkListResponses, unknown, ThrowOnError, "fields">;
|
|
1462
|
-
/**
|
|
1463
|
-
* Resume after network wait
|
|
1464
|
-
*
|
|
1465
|
-
* Resume a pending session after reconnecting network-dependent services.
|
|
1466
|
-
*/
|
|
1467
|
-
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
1468
|
-
requestID: string;
|
|
1469
|
-
directory?: string;
|
|
1470
|
-
workspace?: string;
|
|
1471
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkReplyResponses, NetworkReplyErrors, ThrowOnError, "fields">;
|
|
1590
|
+
export declare class Organization extends HeyApiClient {
|
|
1472
1591
|
/**
|
|
1473
|
-
*
|
|
1592
|
+
* Update Kilo Gateway organization
|
|
1474
1593
|
*
|
|
1475
|
-
*
|
|
1594
|
+
* Switch to a different Kilo Gateway organization
|
|
1476
1595
|
*/
|
|
1477
|
-
|
|
1478
|
-
requestID: string;
|
|
1596
|
+
set<ThrowOnError extends boolean = false>(parameters?: {
|
|
1479
1597
|
directory?: string;
|
|
1480
1598
|
workspace?: string;
|
|
1481
|
-
|
|
1599
|
+
organizationId?: string | null;
|
|
1600
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloOrganizationSetResponses, KiloOrganizationSetErrors, ThrowOnError, "fields">;
|
|
1482
1601
|
}
|
|
1483
|
-
export declare class
|
|
1602
|
+
export declare class Claw extends HeyApiClient {
|
|
1484
1603
|
/**
|
|
1485
|
-
* Get
|
|
1604
|
+
* Get KiloClaw instance status
|
|
1486
1605
|
*
|
|
1487
|
-
*
|
|
1606
|
+
* Fetch the user's KiloClaw instance status via the KiloClaw worker
|
|
1488
1607
|
*/
|
|
1489
1608
|
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1490
1609
|
directory?: string;
|
|
1491
1610
|
workspace?: string;
|
|
1492
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1493
|
-
}
|
|
1494
|
-
export declare class Suggestion extends HeyApiClient {
|
|
1611
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloClawStatusResponses, KiloClawStatusErrors, ThrowOnError, "fields">;
|
|
1495
1612
|
/**
|
|
1496
|
-
*
|
|
1613
|
+
* Get KiloClaw chat credentials
|
|
1497
1614
|
*
|
|
1498
|
-
*
|
|
1615
|
+
* Returns the bearer token and endpoint URLs the client uses to talk to the Kilo Chat worker and the Event Service. The bearer is the user's existing long-lived Kilo JWT — kilo-chat and event-service both verify it directly with NEXTAUTH_SECRET, so no separate token mint is needed.
|
|
1499
1616
|
*/
|
|
1500
|
-
|
|
1617
|
+
chatCredentials<ThrowOnError extends boolean = false>(parameters?: {
|
|
1501
1618
|
directory?: string;
|
|
1502
1619
|
workspace?: string;
|
|
1503
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1620
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloClawChatCredentialsResponses, unknown, ThrowOnError, "fields">;
|
|
1621
|
+
}
|
|
1622
|
+
export declare class Session4 extends HeyApiClient {
|
|
1504
1623
|
/**
|
|
1505
|
-
*
|
|
1624
|
+
* Get cloud session
|
|
1506
1625
|
*
|
|
1507
|
-
*
|
|
1626
|
+
* Fetch full session data from the Kilo cloud for preview
|
|
1508
1627
|
*/
|
|
1509
|
-
|
|
1510
|
-
|
|
1628
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
1629
|
+
id: string;
|
|
1511
1630
|
directory?: string;
|
|
1512
1631
|
workspace?: string;
|
|
1513
|
-
|
|
1514
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SuggestionAcceptResponses, SuggestionAcceptErrors, ThrowOnError, "fields">;
|
|
1632
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionGetResponses, KiloCloudSessionGetErrors, ThrowOnError, "fields">;
|
|
1515
1633
|
/**
|
|
1516
|
-
*
|
|
1634
|
+
* Import session from cloud
|
|
1517
1635
|
*
|
|
1518
|
-
*
|
|
1636
|
+
* Download a cloud-synced session and write it to local storage with fresh IDs.
|
|
1519
1637
|
*/
|
|
1520
|
-
|
|
1521
|
-
requestID: string;
|
|
1638
|
+
import<ThrowOnError extends boolean = false>(parameters?: {
|
|
1522
1639
|
directory?: string;
|
|
1523
1640
|
workspace?: string;
|
|
1524
|
-
|
|
1641
|
+
sessionId?: string;
|
|
1642
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionImportResponses, KiloCloudSessionImportErrors, ThrowOnError, "fields">;
|
|
1525
1643
|
}
|
|
1526
|
-
export declare class
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
*/
|
|
1532
|
-
capture<ThrowOnError extends boolean = false>(parameters?: {
|
|
1533
|
-
directory?: string;
|
|
1534
|
-
workspace?: string;
|
|
1535
|
-
event?: string;
|
|
1536
|
-
properties?: {
|
|
1537
|
-
[key: string]: unknown;
|
|
1538
|
-
};
|
|
1539
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TelemetryCaptureResponses, TelemetryCaptureErrors, ThrowOnError, "fields">;
|
|
1644
|
+
export declare class Cloud extends HeyApiClient {
|
|
1645
|
+
private _session?;
|
|
1646
|
+
get session(): Session4;
|
|
1647
|
+
}
|
|
1648
|
+
export declare class Kilo extends HeyApiClient {
|
|
1540
1649
|
/**
|
|
1541
|
-
*
|
|
1650
|
+
* Get Kilo Gateway profile
|
|
1542
1651
|
*
|
|
1543
|
-
*
|
|
1652
|
+
* Fetch user profile and organizations from Kilo Gateway
|
|
1544
1653
|
*/
|
|
1545
|
-
|
|
1654
|
+
profile<ThrowOnError extends boolean = false>(parameters?: {
|
|
1546
1655
|
directory?: string;
|
|
1547
1656
|
workspace?: string;
|
|
1548
|
-
|
|
1549
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TelemetrySetEnabledResponses, TelemetrySetEnabledErrors, ThrowOnError, "fields">;
|
|
1550
|
-
}
|
|
1551
|
-
export declare class Remote extends HeyApiClient {
|
|
1657
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloProfileResponses, KiloProfileErrors, ThrowOnError, "fields">;
|
|
1552
1658
|
/**
|
|
1553
|
-
*
|
|
1659
|
+
* Get organization custom modes
|
|
1554
1660
|
*
|
|
1555
|
-
*
|
|
1661
|
+
* Fetch custom modes defined for the current organization
|
|
1556
1662
|
*/
|
|
1557
|
-
|
|
1663
|
+
modes<ThrowOnError extends boolean = false>(parameters?: {
|
|
1558
1664
|
directory?: string;
|
|
1559
1665
|
workspace?: string;
|
|
1560
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1666
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloModesResponses, unknown, ThrowOnError, "fields">;
|
|
1561
1667
|
/**
|
|
1562
|
-
*
|
|
1668
|
+
* FIM completion
|
|
1563
1669
|
*
|
|
1564
|
-
*
|
|
1670
|
+
* Proxy a Fill-in-the-Middle completion request to the Kilo Gateway
|
|
1565
1671
|
*/
|
|
1566
|
-
|
|
1672
|
+
fim<ThrowOnError extends boolean = false>(parameters?: {
|
|
1567
1673
|
directory?: string;
|
|
1568
1674
|
workspace?: string;
|
|
1569
|
-
|
|
1675
|
+
prefix?: string;
|
|
1676
|
+
suffix?: string;
|
|
1677
|
+
model?: string;
|
|
1678
|
+
maxTokens?: number;
|
|
1679
|
+
temperature?: number;
|
|
1680
|
+
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<KiloFimResponses, KiloFimErrors>>;
|
|
1570
1681
|
/**
|
|
1571
|
-
* Get
|
|
1682
|
+
* Get Kilo notifications
|
|
1572
1683
|
*
|
|
1573
|
-
*
|
|
1684
|
+
* Fetch notifications from Kilo Gateway for CLI display
|
|
1574
1685
|
*/
|
|
1575
|
-
|
|
1686
|
+
notifications<ThrowOnError extends boolean = false>(parameters?: {
|
|
1576
1687
|
directory?: string;
|
|
1577
1688
|
workspace?: string;
|
|
1578
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1579
|
-
}
|
|
1580
|
-
export declare class CommitMessage extends HeyApiClient {
|
|
1689
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloNotificationsResponses, KiloNotificationsErrors, ThrowOnError, "fields">;
|
|
1581
1690
|
/**
|
|
1582
|
-
*
|
|
1691
|
+
* Get cloud sessions
|
|
1583
1692
|
*
|
|
1584
|
-
*
|
|
1693
|
+
* Fetch cloud CLI sessions from Kilo API
|
|
1585
1694
|
*/
|
|
1586
|
-
|
|
1695
|
+
cloudSessions<ThrowOnError extends boolean = false>(parameters?: {
|
|
1587
1696
|
directory?: string;
|
|
1588
|
-
workspace?: string;
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1697
|
+
workspace?: string;
|
|
1698
|
+
cursor?: string;
|
|
1699
|
+
limit?: number;
|
|
1700
|
+
gitUrl?: string;
|
|
1701
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionsResponses, KiloCloudSessionsErrors, ThrowOnError, "fields">;
|
|
1702
|
+
private _audio?;
|
|
1703
|
+
get audio(): Audio;
|
|
1704
|
+
private _organization?;
|
|
1705
|
+
get organization(): Organization;
|
|
1706
|
+
private _claw?;
|
|
1707
|
+
get claw(): Claw;
|
|
1708
|
+
private _cloud?;
|
|
1709
|
+
get cloud(): Cloud;
|
|
1593
1710
|
}
|
|
1594
|
-
export declare class
|
|
1711
|
+
export declare class Heap extends HeyApiClient {
|
|
1595
1712
|
/**
|
|
1596
|
-
*
|
|
1713
|
+
* Write heap snapshot
|
|
1597
1714
|
*
|
|
1598
|
-
*
|
|
1715
|
+
* Write a heap snapshot for the CLI process to the log directory.
|
|
1599
1716
|
*/
|
|
1600
|
-
|
|
1717
|
+
snapshot<ThrowOnError extends boolean = false>(parameters?: {
|
|
1601
1718
|
directory?: string;
|
|
1602
1719
|
workspace?: string;
|
|
1603
|
-
|
|
1604
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<EnhancePromptEnhanceResponses, EnhancePromptEnhanceErrors, ThrowOnError, "fields">;
|
|
1720
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeHeapSnapshotResponses, KilocodeHeapSnapshotErrors, ThrowOnError, "fields">;
|
|
1605
1721
|
}
|
|
1606
1722
|
export declare class SessionImport extends HeyApiClient {
|
|
1607
1723
|
/**
|
|
@@ -1813,17 +1929,6 @@ export declare class SessionImport extends HeyApiClient {
|
|
|
1813
1929
|
};
|
|
1814
1930
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeSessionImportPartResponses, KilocodeSessionImportPartErrors, ThrowOnError, "fields">;
|
|
1815
1931
|
}
|
|
1816
|
-
export declare class Heap extends HeyApiClient {
|
|
1817
|
-
/**
|
|
1818
|
-
* Write heap snapshot
|
|
1819
|
-
*
|
|
1820
|
-
* Write a heap snapshot for the CLI process to the log directory.
|
|
1821
|
-
*/
|
|
1822
|
-
snapshot<ThrowOnError extends boolean = false>(parameters?: {
|
|
1823
|
-
directory?: string;
|
|
1824
|
-
workspace?: string;
|
|
1825
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeHeapSnapshotResponses, KilocodeHeapSnapshotErrors, ThrowOnError, "fields">;
|
|
1826
|
-
}
|
|
1827
1932
|
export declare class Kilocode extends HeyApiClient {
|
|
1828
1933
|
/**
|
|
1829
1934
|
* Remove a skill
|
|
@@ -1845,150 +1950,127 @@ export declare class Kilocode extends HeyApiClient {
|
|
|
1845
1950
|
workspace?: string;
|
|
1846
1951
|
name?: string;
|
|
1847
1952
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KilocodeRemoveAgentResponses, KilocodeRemoveAgentErrors, ThrowOnError, "fields">;
|
|
1848
|
-
private _sessionImport?;
|
|
1849
|
-
get sessionImport(): SessionImport;
|
|
1850
1953
|
private _heap?;
|
|
1851
1954
|
get heap(): Heap;
|
|
1955
|
+
private _sessionImport?;
|
|
1956
|
+
get sessionImport(): SessionImport;
|
|
1852
1957
|
}
|
|
1853
|
-
export declare class
|
|
1958
|
+
export declare class Network extends HeyApiClient {
|
|
1854
1959
|
/**
|
|
1855
|
-
*
|
|
1960
|
+
* List pending network waits
|
|
1856
1961
|
*
|
|
1857
|
-
*
|
|
1962
|
+
* Get all pending network reconnect requests across all sessions.
|
|
1858
1963
|
*/
|
|
1859
|
-
|
|
1964
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1860
1965
|
directory?: string;
|
|
1861
1966
|
workspace?: string;
|
|
1862
|
-
|
|
1863
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloOrganizationSetResponses, KiloOrganizationSetErrors, ThrowOnError, "fields">;
|
|
1864
|
-
}
|
|
1865
|
-
export declare class Audio extends HeyApiClient {
|
|
1967
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkListResponses, unknown, ThrowOnError, "fields">;
|
|
1866
1968
|
/**
|
|
1867
|
-
*
|
|
1969
|
+
* Resume after network wait
|
|
1868
1970
|
*
|
|
1869
|
-
*
|
|
1971
|
+
* Resume a pending session after reconnecting network-dependent services.
|
|
1870
1972
|
*/
|
|
1871
|
-
|
|
1973
|
+
reply<ThrowOnError extends boolean = false>(parameters: {
|
|
1974
|
+
requestID: string;
|
|
1872
1975
|
directory?: string;
|
|
1873
1976
|
workspace?: string;
|
|
1874
|
-
|
|
1875
|
-
input_audio?: {
|
|
1876
|
-
data: string;
|
|
1877
|
-
format: string;
|
|
1878
|
-
};
|
|
1879
|
-
language?: string;
|
|
1880
|
-
prompt?: string;
|
|
1881
|
-
temperature?: number;
|
|
1882
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloAudioTranscriptionsResponses, KiloAudioTranscriptionsErrors, ThrowOnError, "fields">;
|
|
1883
|
-
}
|
|
1884
|
-
export declare class Session3 extends HeyApiClient {
|
|
1977
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkReplyResponses, NetworkReplyErrors, ThrowOnError, "fields">;
|
|
1885
1978
|
/**
|
|
1886
|
-
*
|
|
1979
|
+
* Reject network resume request
|
|
1887
1980
|
*
|
|
1888
|
-
*
|
|
1981
|
+
* Stop a pending session instead of resuming after network reconnect.
|
|
1889
1982
|
*/
|
|
1890
|
-
|
|
1891
|
-
|
|
1983
|
+
reject<ThrowOnError extends boolean = false>(parameters: {
|
|
1984
|
+
requestID: string;
|
|
1892
1985
|
directory?: string;
|
|
1893
1986
|
workspace?: string;
|
|
1894
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
1987
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<NetworkRejectResponses, NetworkRejectErrors, ThrowOnError, "fields">;
|
|
1988
|
+
}
|
|
1989
|
+
export declare class Remote extends HeyApiClient {
|
|
1895
1990
|
/**
|
|
1896
|
-
*
|
|
1991
|
+
* Enable remote connection
|
|
1897
1992
|
*
|
|
1898
|
-
*
|
|
1993
|
+
* Enable WebSocket connection to UserConnectionDO for real-time session relay and commands.
|
|
1899
1994
|
*/
|
|
1900
|
-
|
|
1995
|
+
enable<ThrowOnError extends boolean = false>(parameters?: {
|
|
1901
1996
|
directory?: string;
|
|
1902
1997
|
workspace?: string;
|
|
1903
|
-
|
|
1904
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionImportResponses, KiloCloudSessionImportErrors, ThrowOnError, "fields">;
|
|
1905
|
-
}
|
|
1906
|
-
export declare class Cloud extends HeyApiClient {
|
|
1907
|
-
private _session?;
|
|
1908
|
-
get session(): Session3;
|
|
1909
|
-
}
|
|
1910
|
-
export declare class Claw extends HeyApiClient {
|
|
1998
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteEnableResponses, unknown, ThrowOnError, "fields">;
|
|
1911
1999
|
/**
|
|
1912
|
-
*
|
|
2000
|
+
* Disable remote connection
|
|
1913
2001
|
*
|
|
1914
|
-
*
|
|
2002
|
+
* Close the remote WebSocket connection to UserConnectionDO.
|
|
1915
2003
|
*/
|
|
1916
|
-
|
|
2004
|
+
disable<ThrowOnError extends boolean = false>(parameters?: {
|
|
1917
2005
|
directory?: string;
|
|
1918
2006
|
workspace?: string;
|
|
1919
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
2007
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteDisableResponses, unknown, ThrowOnError, "fields">;
|
|
1920
2008
|
/**
|
|
1921
|
-
* Get
|
|
2009
|
+
* Get remote connection status
|
|
1922
2010
|
*
|
|
1923
|
-
*
|
|
2011
|
+
* Get the current state of the remote WebSocket connection.
|
|
1924
2012
|
*/
|
|
1925
|
-
|
|
2013
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
1926
2014
|
directory?: string;
|
|
1927
2015
|
workspace?: string;
|
|
1928
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
2016
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<RemoteStatusResponses, unknown, ThrowOnError, "fields">;
|
|
1929
2017
|
}
|
|
1930
|
-
export declare class
|
|
2018
|
+
export declare class Suggestion extends HeyApiClient {
|
|
1931
2019
|
/**
|
|
1932
|
-
*
|
|
2020
|
+
* List pending suggestions
|
|
1933
2021
|
*
|
|
1934
|
-
*
|
|
2022
|
+
* Get all pending suggestion requests across all sessions.
|
|
1935
2023
|
*/
|
|
1936
|
-
|
|
2024
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1937
2025
|
directory?: string;
|
|
1938
2026
|
workspace?: string;
|
|
1939
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<
|
|
2027
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SuggestionListResponses, unknown, ThrowOnError, "fields">;
|
|
1940
2028
|
/**
|
|
1941
|
-
*
|
|
2029
|
+
* Accept suggestion request
|
|
1942
2030
|
*
|
|
1943
|
-
*
|
|
2031
|
+
* Accept a suggestion request from the AI assistant.
|
|
1944
2032
|
*/
|
|
1945
|
-
|
|
2033
|
+
accept<ThrowOnError extends boolean = false>(parameters: {
|
|
2034
|
+
requestID: string;
|
|
1946
2035
|
directory?: string;
|
|
1947
2036
|
workspace?: string;
|
|
1948
|
-
|
|
2037
|
+
index?: number;
|
|
2038
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SuggestionAcceptResponses, SuggestionAcceptErrors, ThrowOnError, "fields">;
|
|
1949
2039
|
/**
|
|
1950
|
-
*
|
|
2040
|
+
* Dismiss suggestion request
|
|
1951
2041
|
*
|
|
1952
|
-
*
|
|
2042
|
+
* Dismiss a suggestion request from the AI assistant.
|
|
1953
2043
|
*/
|
|
1954
|
-
|
|
2044
|
+
dismiss<ThrowOnError extends boolean = false>(parameters: {
|
|
2045
|
+
requestID: string;
|
|
1955
2046
|
directory?: string;
|
|
1956
2047
|
workspace?: string;
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
maxTokens?: number;
|
|
1961
|
-
temperature?: number;
|
|
1962
|
-
}, options?: Options<never, ThrowOnError>): Promise<import("./core/serverSentEvents.gen.js").ServerSentEventsResult<KiloFimResponses, KiloFimErrors>>;
|
|
2048
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SuggestionDismissResponses, SuggestionDismissErrors, ThrowOnError, "fields">;
|
|
2049
|
+
}
|
|
2050
|
+
export declare class Telemetry extends HeyApiClient {
|
|
1963
2051
|
/**
|
|
1964
|
-
*
|
|
2052
|
+
* Capture telemetry event
|
|
1965
2053
|
*
|
|
1966
|
-
*
|
|
2054
|
+
* Forward a telemetry event to PostHog via kilo-telemetry.
|
|
1967
2055
|
*/
|
|
1968
|
-
|
|
2056
|
+
capture<ThrowOnError extends boolean = false>(parameters?: {
|
|
1969
2057
|
directory?: string;
|
|
1970
2058
|
workspace?: string;
|
|
1971
|
-
|
|
2059
|
+
event?: string;
|
|
2060
|
+
properties?: {
|
|
2061
|
+
[key: string]: unknown;
|
|
2062
|
+
};
|
|
2063
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TelemetryCaptureResponses, TelemetryCaptureErrors, ThrowOnError, "fields">;
|
|
1972
2064
|
/**
|
|
1973
|
-
*
|
|
2065
|
+
* Set PostHog telemetry enabled state
|
|
1974
2066
|
*
|
|
1975
|
-
*
|
|
2067
|
+
* Update the PostHog client's opt-in/out state at runtime. The CLI reads KILO_TELEMETRY_LEVEL once at spawn — this route lets clients (e.g. the VS Code extension) propagate runtime telemetry consent changes.
|
|
1976
2068
|
*/
|
|
1977
|
-
|
|
2069
|
+
setEnabled<ThrowOnError extends boolean = false>(parameters?: {
|
|
1978
2070
|
directory?: string;
|
|
1979
2071
|
workspace?: string;
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
gitUrl?: string;
|
|
1983
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<KiloCloudSessionsResponses, KiloCloudSessionsErrors, ThrowOnError, "fields">;
|
|
1984
|
-
private _organization?;
|
|
1985
|
-
get organization(): Organization;
|
|
1986
|
-
private _audio?;
|
|
1987
|
-
get audio(): Audio;
|
|
1988
|
-
private _cloud?;
|
|
1989
|
-
get cloud(): Cloud;
|
|
1990
|
-
private _claw?;
|
|
1991
|
-
get claw(): Claw;
|
|
2072
|
+
enabled?: boolean;
|
|
2073
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<TelemetrySetEnabledResponses, TelemetrySetEnabledErrors, ThrowOnError, "fields">;
|
|
1992
2074
|
}
|
|
1993
2075
|
export declare class KiloClient extends HeyApiClient {
|
|
1994
2076
|
static readonly __registry: HeyApiRegistry<KiloClient>;
|
|
@@ -1996,46 +2078,26 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
1996
2078
|
client?: Client;
|
|
1997
2079
|
key?: string;
|
|
1998
2080
|
});
|
|
1999
|
-
private _global?;
|
|
2000
|
-
get global(): Global;
|
|
2001
2081
|
private _auth?;
|
|
2002
2082
|
get auth(): Auth;
|
|
2003
2083
|
private _app?;
|
|
2004
2084
|
get app(): App;
|
|
2005
|
-
private
|
|
2006
|
-
get
|
|
2007
|
-
private
|
|
2008
|
-
get
|
|
2009
|
-
private _pty?;
|
|
2010
|
-
get pty(): Pty;
|
|
2085
|
+
private _global?;
|
|
2086
|
+
get global(): Global;
|
|
2087
|
+
private _event?;
|
|
2088
|
+
get event(): Event;
|
|
2011
2089
|
private _config?;
|
|
2012
2090
|
get config(): Config2;
|
|
2091
|
+
private _experimental?;
|
|
2092
|
+
get experimental(): Experimental;
|
|
2013
2093
|
private _tool?;
|
|
2014
2094
|
get tool(): Tool;
|
|
2015
2095
|
private _worktree?;
|
|
2016
2096
|
get worktree(): Worktree;
|
|
2017
|
-
private _session?;
|
|
2018
|
-
get session(): Session2;
|
|
2019
|
-
private _part?;
|
|
2020
|
-
get part(): Part;
|
|
2021
|
-
private _permission?;
|
|
2022
|
-
get permission(): Permission;
|
|
2023
|
-
private _question?;
|
|
2024
|
-
get question(): Question;
|
|
2025
|
-
private _provider?;
|
|
2026
|
-
get provider(): Provider;
|
|
2027
|
-
private _sync?;
|
|
2028
|
-
get sync(): Sync;
|
|
2029
2097
|
private _find?;
|
|
2030
2098
|
get find(): Find;
|
|
2031
2099
|
private _file?;
|
|
2032
2100
|
get file(): File;
|
|
2033
|
-
private _event?;
|
|
2034
|
-
get event(): Event;
|
|
2035
|
-
private _mcp?;
|
|
2036
|
-
get mcp(): Mcp;
|
|
2037
|
-
private _tui?;
|
|
2038
|
-
get tui(): Tui;
|
|
2039
2101
|
private _instance?;
|
|
2040
2102
|
get instance(): Instance;
|
|
2041
2103
|
private _path?;
|
|
@@ -2048,23 +2110,45 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
2048
2110
|
get lsp(): Lsp;
|
|
2049
2111
|
private _formatter?;
|
|
2050
2112
|
get formatter(): Formatter;
|
|
2051
|
-
private
|
|
2052
|
-
get
|
|
2053
|
-
private
|
|
2054
|
-
get
|
|
2055
|
-
private
|
|
2056
|
-
get
|
|
2057
|
-
private
|
|
2058
|
-
get
|
|
2059
|
-
private
|
|
2060
|
-
get
|
|
2113
|
+
private _mcp?;
|
|
2114
|
+
get mcp(): Mcp;
|
|
2115
|
+
private _project?;
|
|
2116
|
+
get project(): Project;
|
|
2117
|
+
private _pty?;
|
|
2118
|
+
get pty(): Pty;
|
|
2119
|
+
private _question?;
|
|
2120
|
+
get question(): Question;
|
|
2121
|
+
private _permission?;
|
|
2122
|
+
get permission(): Permission;
|
|
2123
|
+
private _provider?;
|
|
2124
|
+
get provider(): Provider;
|
|
2125
|
+
private _session?;
|
|
2126
|
+
get session(): Session2;
|
|
2127
|
+
private _part?;
|
|
2128
|
+
get part(): Part;
|
|
2129
|
+
private _sync?;
|
|
2130
|
+
get sync(): Sync;
|
|
2131
|
+
private _v2?;
|
|
2132
|
+
get v2(): V2;
|
|
2133
|
+
private _tui?;
|
|
2134
|
+
get tui(): Tui;
|
|
2061
2135
|
private _commitMessage?;
|
|
2062
2136
|
get commitMessage(): CommitMessage;
|
|
2063
2137
|
private _enhancePrompt?;
|
|
2064
2138
|
get enhancePrompt(): EnhancePrompt;
|
|
2065
|
-
private
|
|
2066
|
-
get
|
|
2139
|
+
private _indexing?;
|
|
2140
|
+
get indexing(): Indexing;
|
|
2067
2141
|
private _kilo?;
|
|
2068
2142
|
get kilo(): Kilo;
|
|
2143
|
+
private _kilocode?;
|
|
2144
|
+
get kilocode(): Kilocode;
|
|
2145
|
+
private _network?;
|
|
2146
|
+
get network(): Network;
|
|
2147
|
+
private _remote?;
|
|
2148
|
+
get remote(): Remote;
|
|
2149
|
+
private _suggestion?;
|
|
2150
|
+
get suggestion(): Suggestion;
|
|
2151
|
+
private _telemetry?;
|
|
2152
|
+
get telemetry(): Telemetry;
|
|
2069
2153
|
}
|
|
2070
2154
|
export {};
|