@kilocode/sdk 7.3.8 → 7.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v2/gen/sdk.gen.d.ts +64 -1
- package/dist/v2/gen/sdk.gen.js +131 -0
- package/dist/v2/gen/types.gen.d.ts +175 -2
- 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, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingStatusResponses, InstanceDisposeResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloClawChatCredentialsResponses, KiloClawStatusErrors, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KiloFimErrors, KiloFimResponses, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, ProjectCurrentResponses, ProjectInitGitResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, Prompt, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDelivery, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionViewedResponses, SubtaskPartInput, SuggestionAcceptErrors, SuggestionAcceptResponses, SuggestionDismissErrors, SuggestionDismissResponses, SuggestionListResponses, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartResponses, SyncStealErrors, SyncStealResponses, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, V2SessionCompactResponses, V2SessionContextResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPromptResponses, V2SessionWaitResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffRawResponses, VcsDiffResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
2
|
+
import type { AgentPartInput, AppAgentsResponses, AppLogErrors, AppLogResponses, AppSkillsResponses, Auth as Auth3, AuthRemoveErrors, AuthRemoveResponses, AuthSetErrors, AuthSetResponses, BackgroundProcessGetErrors, BackgroundProcessGetResponses, BackgroundProcessListResponses, BackgroundProcessLogsErrors, BackgroundProcessLogsResponses, BackgroundProcessRestartErrors, BackgroundProcessRestartResponses, BackgroundProcessStopErrors, BackgroundProcessStopResponses, BackgroundProcessStopSessionResponses, CommandListResponses, CommitMessageGenerateErrors, CommitMessageGenerateResponses, Config as Config3, ConfigGetResponses, ConfigProvidersResponses, ConfigUpdateErrors, ConfigUpdateResponses, ConfigWarningsResponses, EnhancePromptEnhanceErrors, EnhancePromptEnhanceResponses, EventSubscribeResponses, EventTuiCommandExecute2, EventTuiPromptAppend2, EventTuiSessionSelect2, EventTuiToastShow2, ExperimentalConsoleGetResponses, ExperimentalConsoleListOrgsResponses, ExperimentalConsoleSwitchOrgResponses, ExperimentalResourceListResponses, ExperimentalSessionListResponses, ExperimentalWorkspaceAdapterListResponses, ExperimentalWorkspaceCreateErrors, ExperimentalWorkspaceCreateResponses, ExperimentalWorkspaceListResponses, ExperimentalWorkspaceRemoveErrors, ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceStatusResponses, ExperimentalWorkspaceWarpErrors, ExperimentalWorkspaceWarpResponses, FileListResponses, FilePartInput, FilePartSource, FileReadResponses, FileStatusResponses, FindFilesResponses, FindSymbolsResponses, FindTextResponses, FormatterStatusResponses, GlobalConfigGetResponses, GlobalConfigUpdateErrors, GlobalConfigUpdateResponses, GlobalDisposeResponses, GlobalEventResponses, GlobalHealthResponses, GlobalUpgradeErrors, GlobalUpgradeResponses, IndexingStatusResponses, InstanceDisposeResponses, KiloAudioTranscriptionsErrors, KiloAudioTranscriptionsResponses, KiloClawChatCredentialsResponses, KiloClawStatusErrors, KiloClawStatusResponses, KiloCloudSessionGetErrors, KiloCloudSessionGetResponses, KiloCloudSessionImportErrors, KiloCloudSessionImportResponses, KiloCloudSessionsErrors, KiloCloudSessionsResponses, KilocodeHeapSnapshotErrors, KilocodeHeapSnapshotResponses, KilocodeRemoveAgentErrors, KilocodeRemoveAgentResponses, KilocodeRemoveSkillErrors, KilocodeRemoveSkillResponses, KilocodeSessionImportMessageErrors, KilocodeSessionImportMessageResponses, KilocodeSessionImportPartErrors, KilocodeSessionImportPartResponses, KilocodeSessionImportProjectErrors, KilocodeSessionImportProjectResponses, KilocodeSessionImportSessionErrors, KilocodeSessionImportSessionResponses, KiloFimErrors, KiloFimResponses, KiloModesResponses, KiloNotificationsErrors, KiloNotificationsResponses, KiloOrganizationSetErrors, KiloOrganizationSetResponses, KiloProfileErrors, KiloProfileResponses, LspStatusResponses, McpAddErrors, McpAddResponses, McpAuthAuthenticateErrors, McpAuthAuthenticateResponses, McpAuthCallbackErrors, McpAuthCallbackResponses, McpAuthRemoveErrors, McpAuthRemoveResponses, McpAuthStartErrors, McpAuthStartResponses, McpConnectResponses, McpDisconnectResponses, McpLocalConfig, McpRemoteConfig, McpStatusResponses, NetworkListResponses, NetworkRejectErrors, NetworkRejectResponses, NetworkReplyErrors, NetworkReplyResponses, OutputFormat, Part as Part2, PartDeleteErrors, PartDeleteResponses, PartUpdateErrors, PartUpdateResponses, PathGetResponses, PermissionAllowEverythingErrors, PermissionAllowEverythingResponses, PermissionListResponses, PermissionReplyErrors, PermissionReplyResponses, PermissionRespondErrors, PermissionRespondResponses, PermissionRuleset, PermissionSaveAlwaysRulesErrors, PermissionSaveAlwaysRulesResponses, ProjectCurrentResponses, ProjectInitGitResponses, ProjectListResponses, ProjectUpdateErrors, ProjectUpdateResponses, Prompt, ProviderAuthResponses, ProviderListResponses, ProviderOauthAuthorizeErrors, ProviderOauthAuthorizeResponses, ProviderOauthCallbackErrors, ProviderOauthCallbackResponses, PtyConnectErrors, PtyConnectResponses, PtyConnectTokenErrors, PtyConnectTokenResponses, PtyCreateErrors, PtyCreateResponses, PtyGetErrors, PtyGetResponses, PtyListResponses, PtyRemoveErrors, PtyRemoveResponses, PtyShellsResponses, PtyUpdateErrors, PtyUpdateResponses, QuestionAnswer, QuestionListResponses, QuestionRejectErrors, QuestionRejectResponses, QuestionReplyErrors, QuestionReplyResponses, RemoteDisableResponses, RemoteEnableResponses, RemoteStatusResponses, SessionAbortErrors, SessionAbortResponses, SessionChildrenErrors, SessionChildrenResponses, SessionCommandErrors, SessionCommandResponses, SessionCreateErrors, SessionCreateResponses, SessionDeleteErrors, SessionDeleteMessageErrors, SessionDeleteMessageResponses, SessionDeleteResponses, SessionDelivery, SessionDiffResponses, SessionForkErrors, SessionForkResponses, SessionGetErrors, SessionGetResponses, SessionInitErrors, SessionInitResponses, SessionListResponses, SessionMessageErrors, SessionMessageResponses, SessionMessagesErrors, SessionMessagesResponses, SessionPromptAsyncErrors, SessionPromptAsyncResponses, SessionPromptErrors, SessionPromptResponses, SessionRevertErrors, SessionRevertResponses, SessionShareErrors, SessionShareResponses, SessionShellErrors, SessionShellResponses, SessionStatusErrors, SessionStatusResponses, SessionSummarizeErrors, SessionSummarizeResponses, SessionTodoErrors, SessionTodoResponses, SessionUnrevertErrors, SessionUnrevertResponses, SessionUnshareErrors, SessionUnshareResponses, SessionUpdateErrors, SessionUpdateResponses, SessionViewedResponses, SubtaskPartInput, SuggestionAcceptErrors, SuggestionAcceptResponses, SuggestionDismissErrors, SuggestionDismissResponses, SuggestionListResponses, SyncHistoryListErrors, SyncHistoryListResponses, SyncReplayErrors, SyncReplayResponses, SyncStartResponses, SyncStealErrors, SyncStealResponses, TelemetryCaptureErrors, TelemetryCaptureResponses, TelemetrySetEnabledErrors, TelemetrySetEnabledResponses, TextPartInput, ToolIdsErrors, ToolIdsResponses, ToolListErrors, ToolListResponses, TuiAppendPromptErrors, TuiAppendPromptResponses, TuiClearPromptResponses, TuiControlNextResponses, TuiControlResponseResponses, TuiExecuteCommandErrors, TuiExecuteCommandResponses, TuiOpenHelpResponses, TuiOpenModelsResponses, TuiOpenSessionsResponses, TuiOpenThemesResponses, TuiPublishErrors, TuiPublishResponses, TuiSelectSessionErrors, TuiSelectSessionResponses, TuiShowToastResponses, TuiSubmitPromptResponses, V2SessionCompactResponses, V2SessionContextResponses, V2SessionListErrors, V2SessionListResponses, V2SessionMessagesErrors, V2SessionMessagesResponses, V2SessionPromptResponses, V2SessionWaitResponses, VcsApplyErrors, VcsApplyResponses, VcsDiffRawResponses, VcsDiffResponses, VcsGetResponses, VcsStatusResponses, WorktreeCreateErrors, WorktreeCreateInput, WorktreeCreateResponses, WorktreeDiffErrors, WorktreeDiffFileErrors, WorktreeDiffFileResponses, WorktreeDiffResponses, WorktreeDiffSummaryErrors, WorktreeDiffSummaryResponses, WorktreeListResponses, WorktreeRemoveErrors, WorktreeRemoveInput, WorktreeRemoveResponses, WorktreeResetErrors, WorktreeResetInput, WorktreeResetResponses } from "./types.gen.js";
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -1575,6 +1575,67 @@ export declare class Tui extends HeyApiClient {
|
|
|
1575
1575
|
private _control?;
|
|
1576
1576
|
get control(): Control;
|
|
1577
1577
|
}
|
|
1578
|
+
export declare class BackgroundProcess extends HeyApiClient {
|
|
1579
|
+
/**
|
|
1580
|
+
* List background processes
|
|
1581
|
+
*
|
|
1582
|
+
* List tracked background processes for the current instance.
|
|
1583
|
+
*/
|
|
1584
|
+
list<ThrowOnError extends boolean = false>(parameters?: {
|
|
1585
|
+
directory?: string;
|
|
1586
|
+
workspace?: string;
|
|
1587
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BackgroundProcessListResponses, unknown, ThrowOnError, "fields">;
|
|
1588
|
+
/**
|
|
1589
|
+
* Get background process
|
|
1590
|
+
*
|
|
1591
|
+
* Get status and retained output for one background process.
|
|
1592
|
+
*/
|
|
1593
|
+
get<ThrowOnError extends boolean = false>(parameters: {
|
|
1594
|
+
processID: string;
|
|
1595
|
+
directory?: string;
|
|
1596
|
+
workspace?: string;
|
|
1597
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BackgroundProcessGetResponses, BackgroundProcessGetErrors, ThrowOnError, "fields">;
|
|
1598
|
+
/**
|
|
1599
|
+
* Get background process logs
|
|
1600
|
+
*
|
|
1601
|
+
* Get the retained output tail for one background process.
|
|
1602
|
+
*/
|
|
1603
|
+
logs<ThrowOnError extends boolean = false>(parameters: {
|
|
1604
|
+
processID: string;
|
|
1605
|
+
directory?: string;
|
|
1606
|
+
workspace?: string;
|
|
1607
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BackgroundProcessLogsResponses, BackgroundProcessLogsErrors, ThrowOnError, "fields">;
|
|
1608
|
+
/**
|
|
1609
|
+
* Stop background process
|
|
1610
|
+
*
|
|
1611
|
+
* Terminate a background process and its child process tree.
|
|
1612
|
+
*/
|
|
1613
|
+
stop<ThrowOnError extends boolean = false>(parameters: {
|
|
1614
|
+
processID: string;
|
|
1615
|
+
directory?: string;
|
|
1616
|
+
workspace?: string;
|
|
1617
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BackgroundProcessStopResponses, BackgroundProcessStopErrors, ThrowOnError, "fields">;
|
|
1618
|
+
/**
|
|
1619
|
+
* Restart background process
|
|
1620
|
+
*
|
|
1621
|
+
* Stop and restart a background process with its original command.
|
|
1622
|
+
*/
|
|
1623
|
+
restart<ThrowOnError extends boolean = false>(parameters: {
|
|
1624
|
+
processID: string;
|
|
1625
|
+
directory?: string;
|
|
1626
|
+
workspace?: string;
|
|
1627
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BackgroundProcessRestartResponses, BackgroundProcessRestartErrors, ThrowOnError, "fields">;
|
|
1628
|
+
/**
|
|
1629
|
+
* Stop session background processes
|
|
1630
|
+
*
|
|
1631
|
+
* Terminate and forget all background processes associated with one session.
|
|
1632
|
+
*/
|
|
1633
|
+
stopSession<ThrowOnError extends boolean = false>(parameters: {
|
|
1634
|
+
sessionID: string;
|
|
1635
|
+
directory?: string;
|
|
1636
|
+
workspace?: string;
|
|
1637
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<BackgroundProcessStopSessionResponses, unknown, ThrowOnError, "fields">;
|
|
1638
|
+
}
|
|
1578
1639
|
export declare class CommitMessage extends HeyApiClient {
|
|
1579
1640
|
/**
|
|
1580
1641
|
* Generate commit message
|
|
@@ -2175,6 +2236,8 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
2175
2236
|
get v2(): V2;
|
|
2176
2237
|
private _tui?;
|
|
2177
2238
|
get tui(): Tui;
|
|
2239
|
+
private _backgroundProcess?;
|
|
2240
|
+
get backgroundProcess(): BackgroundProcess;
|
|
2178
2241
|
private _commitMessage?;
|
|
2179
2242
|
get commitMessage(): CommitMessage;
|
|
2180
2243
|
private _enhancePrompt?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -3201,6 +3201,133 @@ export class Tui extends HeyApiClient {
|
|
|
3201
3201
|
return (this._control ??= new Control({ client: this.client }));
|
|
3202
3202
|
}
|
|
3203
3203
|
}
|
|
3204
|
+
export class BackgroundProcess extends HeyApiClient {
|
|
3205
|
+
/**
|
|
3206
|
+
* List background processes
|
|
3207
|
+
*
|
|
3208
|
+
* List tracked background processes for the current instance.
|
|
3209
|
+
*/
|
|
3210
|
+
list(parameters, options) {
|
|
3211
|
+
const params = buildClientParams([parameters], [
|
|
3212
|
+
{
|
|
3213
|
+
args: [
|
|
3214
|
+
{ in: "query", key: "directory" },
|
|
3215
|
+
{ in: "query", key: "workspace" },
|
|
3216
|
+
],
|
|
3217
|
+
},
|
|
3218
|
+
]);
|
|
3219
|
+
return (options?.client ?? this.client).get({
|
|
3220
|
+
url: "/background-process",
|
|
3221
|
+
...options,
|
|
3222
|
+
...params,
|
|
3223
|
+
});
|
|
3224
|
+
}
|
|
3225
|
+
/**
|
|
3226
|
+
* Get background process
|
|
3227
|
+
*
|
|
3228
|
+
* Get status and retained output for one background process.
|
|
3229
|
+
*/
|
|
3230
|
+
get(parameters, options) {
|
|
3231
|
+
const params = buildClientParams([parameters], [
|
|
3232
|
+
{
|
|
3233
|
+
args: [
|
|
3234
|
+
{ in: "path", key: "processID" },
|
|
3235
|
+
{ in: "query", key: "directory" },
|
|
3236
|
+
{ in: "query", key: "workspace" },
|
|
3237
|
+
],
|
|
3238
|
+
},
|
|
3239
|
+
]);
|
|
3240
|
+
return (options?.client ?? this.client).get({
|
|
3241
|
+
url: "/background-process/{processID}",
|
|
3242
|
+
...options,
|
|
3243
|
+
...params,
|
|
3244
|
+
});
|
|
3245
|
+
}
|
|
3246
|
+
/**
|
|
3247
|
+
* Get background process logs
|
|
3248
|
+
*
|
|
3249
|
+
* Get the retained output tail for one background process.
|
|
3250
|
+
*/
|
|
3251
|
+
logs(parameters, options) {
|
|
3252
|
+
const params = buildClientParams([parameters], [
|
|
3253
|
+
{
|
|
3254
|
+
args: [
|
|
3255
|
+
{ in: "path", key: "processID" },
|
|
3256
|
+
{ in: "query", key: "directory" },
|
|
3257
|
+
{ in: "query", key: "workspace" },
|
|
3258
|
+
],
|
|
3259
|
+
},
|
|
3260
|
+
]);
|
|
3261
|
+
return (options?.client ?? this.client).get({
|
|
3262
|
+
url: "/background-process/{processID}/logs",
|
|
3263
|
+
...options,
|
|
3264
|
+
...params,
|
|
3265
|
+
});
|
|
3266
|
+
}
|
|
3267
|
+
/**
|
|
3268
|
+
* Stop background process
|
|
3269
|
+
*
|
|
3270
|
+
* Terminate a background process and its child process tree.
|
|
3271
|
+
*/
|
|
3272
|
+
stop(parameters, options) {
|
|
3273
|
+
const params = buildClientParams([parameters], [
|
|
3274
|
+
{
|
|
3275
|
+
args: [
|
|
3276
|
+
{ in: "path", key: "processID" },
|
|
3277
|
+
{ in: "query", key: "directory" },
|
|
3278
|
+
{ in: "query", key: "workspace" },
|
|
3279
|
+
],
|
|
3280
|
+
},
|
|
3281
|
+
]);
|
|
3282
|
+
return (options?.client ?? this.client).post({
|
|
3283
|
+
url: "/background-process/{processID}/stop",
|
|
3284
|
+
...options,
|
|
3285
|
+
...params,
|
|
3286
|
+
});
|
|
3287
|
+
}
|
|
3288
|
+
/**
|
|
3289
|
+
* Restart background process
|
|
3290
|
+
*
|
|
3291
|
+
* Stop and restart a background process with its original command.
|
|
3292
|
+
*/
|
|
3293
|
+
restart(parameters, options) {
|
|
3294
|
+
const params = buildClientParams([parameters], [
|
|
3295
|
+
{
|
|
3296
|
+
args: [
|
|
3297
|
+
{ in: "path", key: "processID" },
|
|
3298
|
+
{ in: "query", key: "directory" },
|
|
3299
|
+
{ in: "query", key: "workspace" },
|
|
3300
|
+
],
|
|
3301
|
+
},
|
|
3302
|
+
]);
|
|
3303
|
+
return (options?.client ?? this.client).post({
|
|
3304
|
+
url: "/background-process/{processID}/restart",
|
|
3305
|
+
...options,
|
|
3306
|
+
...params,
|
|
3307
|
+
});
|
|
3308
|
+
}
|
|
3309
|
+
/**
|
|
3310
|
+
* Stop session background processes
|
|
3311
|
+
*
|
|
3312
|
+
* Terminate and forget all background processes associated with one session.
|
|
3313
|
+
*/
|
|
3314
|
+
stopSession(parameters, options) {
|
|
3315
|
+
const params = buildClientParams([parameters], [
|
|
3316
|
+
{
|
|
3317
|
+
args: [
|
|
3318
|
+
{ in: "path", key: "sessionID" },
|
|
3319
|
+
{ in: "query", key: "directory" },
|
|
3320
|
+
{ in: "query", key: "workspace" },
|
|
3321
|
+
],
|
|
3322
|
+
},
|
|
3323
|
+
]);
|
|
3324
|
+
return (options?.client ?? this.client).post({
|
|
3325
|
+
url: "/background-process/session/{sessionID}/stop",
|
|
3326
|
+
...options,
|
|
3327
|
+
...params,
|
|
3328
|
+
});
|
|
3329
|
+
}
|
|
3330
|
+
}
|
|
3204
3331
|
export class CommitMessage extends HeyApiClient {
|
|
3205
3332
|
/**
|
|
3206
3333
|
* Generate commit message
|
|
@@ -4164,6 +4291,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
4164
4291
|
get tui() {
|
|
4165
4292
|
return (this._tui ??= new Tui({ client: this.client }));
|
|
4166
4293
|
}
|
|
4294
|
+
_backgroundProcess;
|
|
4295
|
+
get backgroundProcess() {
|
|
4296
|
+
return (this._backgroundProcess ??= new BackgroundProcess({ client: this.client }));
|
|
4297
|
+
}
|
|
4167
4298
|
_commitMessage;
|
|
4168
4299
|
get commitMessage() {
|
|
4169
4300
|
return (this._commitMessage ??= new CommitMessage({ client: this.client }));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventFileWatcherUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventKilocodeAgentManagerStart | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventIndexingStatus;
|
|
4
|
+
export type Event = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventFileWatcherUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventKilocodeAgentManagerStart | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventIndexingStatus;
|
|
5
5
|
export type OAuth = {
|
|
6
6
|
type: "oauth";
|
|
7
7
|
refresh: string;
|
|
@@ -136,6 +136,25 @@ export type PermissionRequest = {
|
|
|
136
136
|
callID: string;
|
|
137
137
|
};
|
|
138
138
|
};
|
|
139
|
+
export type BackgroundProcessInfo = {
|
|
140
|
+
id: string;
|
|
141
|
+
sessionID: string;
|
|
142
|
+
pid?: number;
|
|
143
|
+
command: string;
|
|
144
|
+
cwd: string;
|
|
145
|
+
description?: string;
|
|
146
|
+
ports: Array<number>;
|
|
147
|
+
status: "starting" | "running" | "ready" | "exited" | "failed" | "stopping" | "stopped";
|
|
148
|
+
ready: boolean;
|
|
149
|
+
exitCode?: number;
|
|
150
|
+
signal?: string;
|
|
151
|
+
output: string;
|
|
152
|
+
time: {
|
|
153
|
+
started: number;
|
|
154
|
+
updated: number;
|
|
155
|
+
ended?: number;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
139
158
|
export type SnapshotFileDiff = {
|
|
140
159
|
file: string;
|
|
141
160
|
patch: string;
|
|
@@ -651,7 +670,7 @@ export type GlobalEvent = {
|
|
|
651
670
|
directory: string;
|
|
652
671
|
project?: string;
|
|
653
672
|
workspace?: string;
|
|
654
|
-
payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventFileWatcherUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventKilocodeAgentManagerStart | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventIndexingStatus | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextDelta | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningDelta | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputDelta | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
673
|
+
payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventServerInstanceDisposed | EventLspClientDiagnostics | EventLspUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventFileWatcherUpdated | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventKilocodeAgentManagerStart | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventIndexingStatus | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextDelta | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningDelta | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputDelta | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
655
674
|
};
|
|
656
675
|
/**
|
|
657
676
|
* Log level
|
|
@@ -1500,6 +1519,11 @@ export type WorkspaceWarpError = {
|
|
|
1500
1519
|
message: string;
|
|
1501
1520
|
};
|
|
1502
1521
|
};
|
|
1522
|
+
export type BackgroundProcessLogs = {
|
|
1523
|
+
id: string;
|
|
1524
|
+
sessionID: string;
|
|
1525
|
+
output: string;
|
|
1526
|
+
};
|
|
1503
1527
|
export type EffectHttpApiErrorUnauthorized = {
|
|
1504
1528
|
_tag: "Unauthorized";
|
|
1505
1529
|
};
|
|
@@ -2128,6 +2152,21 @@ export type EventPermissionReplied = {
|
|
|
2128
2152
|
reply: "once" | "always" | "reject";
|
|
2129
2153
|
};
|
|
2130
2154
|
};
|
|
2155
|
+
export type EventBackgroundProcessUpdated = {
|
|
2156
|
+
id: string;
|
|
2157
|
+
type: "background_process.updated";
|
|
2158
|
+
properties: {
|
|
2159
|
+
info: BackgroundProcessInfo;
|
|
2160
|
+
};
|
|
2161
|
+
};
|
|
2162
|
+
export type EventBackgroundProcessDeleted = {
|
|
2163
|
+
id: string;
|
|
2164
|
+
type: "background_process.deleted";
|
|
2165
|
+
properties: {
|
|
2166
|
+
sessionID: string;
|
|
2167
|
+
processID: string;
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2131
2170
|
export type EventSessionTurnOpen = {
|
|
2132
2171
|
id: string;
|
|
2133
2172
|
type: "session.turn.open";
|
|
@@ -6177,6 +6216,140 @@ export type ExperimentalWorkspaceWarpResponses = {
|
|
|
6177
6216
|
204: void;
|
|
6178
6217
|
};
|
|
6179
6218
|
export type ExperimentalWorkspaceWarpResponse = ExperimentalWorkspaceWarpResponses[keyof ExperimentalWorkspaceWarpResponses];
|
|
6219
|
+
export type BackgroundProcessListData = {
|
|
6220
|
+
body?: never;
|
|
6221
|
+
path?: never;
|
|
6222
|
+
query?: {
|
|
6223
|
+
directory?: string;
|
|
6224
|
+
workspace?: string;
|
|
6225
|
+
};
|
|
6226
|
+
url: "/background-process";
|
|
6227
|
+
};
|
|
6228
|
+
export type BackgroundProcessListResponses = {
|
|
6229
|
+
/**
|
|
6230
|
+
* List of background processes
|
|
6231
|
+
*/
|
|
6232
|
+
200: Array<BackgroundProcessInfo>;
|
|
6233
|
+
};
|
|
6234
|
+
export type BackgroundProcessListResponse = BackgroundProcessListResponses[keyof BackgroundProcessListResponses];
|
|
6235
|
+
export type BackgroundProcessGetData = {
|
|
6236
|
+
body?: never;
|
|
6237
|
+
path: {
|
|
6238
|
+
processID: string;
|
|
6239
|
+
};
|
|
6240
|
+
query?: {
|
|
6241
|
+
directory?: string;
|
|
6242
|
+
workspace?: string;
|
|
6243
|
+
};
|
|
6244
|
+
url: "/background-process/{processID}";
|
|
6245
|
+
};
|
|
6246
|
+
export type BackgroundProcessGetErrors = {
|
|
6247
|
+
/**
|
|
6248
|
+
* Not found
|
|
6249
|
+
*/
|
|
6250
|
+
404: NotFoundError;
|
|
6251
|
+
};
|
|
6252
|
+
export type BackgroundProcessGetError = BackgroundProcessGetErrors[keyof BackgroundProcessGetErrors];
|
|
6253
|
+
export type BackgroundProcessGetResponses = {
|
|
6254
|
+
/**
|
|
6255
|
+
* Background process info
|
|
6256
|
+
*/
|
|
6257
|
+
200: BackgroundProcessInfo;
|
|
6258
|
+
};
|
|
6259
|
+
export type BackgroundProcessGetResponse = BackgroundProcessGetResponses[keyof BackgroundProcessGetResponses];
|
|
6260
|
+
export type BackgroundProcessLogsData = {
|
|
6261
|
+
body?: never;
|
|
6262
|
+
path: {
|
|
6263
|
+
processID: string;
|
|
6264
|
+
};
|
|
6265
|
+
query?: {
|
|
6266
|
+
directory?: string;
|
|
6267
|
+
workspace?: string;
|
|
6268
|
+
};
|
|
6269
|
+
url: "/background-process/{processID}/logs";
|
|
6270
|
+
};
|
|
6271
|
+
export type BackgroundProcessLogsErrors = {
|
|
6272
|
+
/**
|
|
6273
|
+
* Not found
|
|
6274
|
+
*/
|
|
6275
|
+
404: NotFoundError;
|
|
6276
|
+
};
|
|
6277
|
+
export type BackgroundProcessLogsError = BackgroundProcessLogsErrors[keyof BackgroundProcessLogsErrors];
|
|
6278
|
+
export type BackgroundProcessLogsResponses = {
|
|
6279
|
+
/**
|
|
6280
|
+
* Background process logs
|
|
6281
|
+
*/
|
|
6282
|
+
200: BackgroundProcessLogs;
|
|
6283
|
+
};
|
|
6284
|
+
export type BackgroundProcessLogsResponse = BackgroundProcessLogsResponses[keyof BackgroundProcessLogsResponses];
|
|
6285
|
+
export type BackgroundProcessStopData = {
|
|
6286
|
+
body?: never;
|
|
6287
|
+
path: {
|
|
6288
|
+
processID: string;
|
|
6289
|
+
};
|
|
6290
|
+
query?: {
|
|
6291
|
+
directory?: string;
|
|
6292
|
+
workspace?: string;
|
|
6293
|
+
};
|
|
6294
|
+
url: "/background-process/{processID}/stop";
|
|
6295
|
+
};
|
|
6296
|
+
export type BackgroundProcessStopErrors = {
|
|
6297
|
+
/**
|
|
6298
|
+
* Not found
|
|
6299
|
+
*/
|
|
6300
|
+
404: NotFoundError;
|
|
6301
|
+
};
|
|
6302
|
+
export type BackgroundProcessStopError = BackgroundProcessStopErrors[keyof BackgroundProcessStopErrors];
|
|
6303
|
+
export type BackgroundProcessStopResponses = {
|
|
6304
|
+
/**
|
|
6305
|
+
* Stopped background process
|
|
6306
|
+
*/
|
|
6307
|
+
200: BackgroundProcessInfo;
|
|
6308
|
+
};
|
|
6309
|
+
export type BackgroundProcessStopResponse = BackgroundProcessStopResponses[keyof BackgroundProcessStopResponses];
|
|
6310
|
+
export type BackgroundProcessRestartData = {
|
|
6311
|
+
body?: never;
|
|
6312
|
+
path: {
|
|
6313
|
+
processID: string;
|
|
6314
|
+
};
|
|
6315
|
+
query?: {
|
|
6316
|
+
directory?: string;
|
|
6317
|
+
workspace?: string;
|
|
6318
|
+
};
|
|
6319
|
+
url: "/background-process/{processID}/restart";
|
|
6320
|
+
};
|
|
6321
|
+
export type BackgroundProcessRestartErrors = {
|
|
6322
|
+
/**
|
|
6323
|
+
* Not found
|
|
6324
|
+
*/
|
|
6325
|
+
404: NotFoundError;
|
|
6326
|
+
};
|
|
6327
|
+
export type BackgroundProcessRestartError = BackgroundProcessRestartErrors[keyof BackgroundProcessRestartErrors];
|
|
6328
|
+
export type BackgroundProcessRestartResponses = {
|
|
6329
|
+
/**
|
|
6330
|
+
* Restarted background process
|
|
6331
|
+
*/
|
|
6332
|
+
200: BackgroundProcessInfo;
|
|
6333
|
+
};
|
|
6334
|
+
export type BackgroundProcessRestartResponse = BackgroundProcessRestartResponses[keyof BackgroundProcessRestartResponses];
|
|
6335
|
+
export type BackgroundProcessStopSessionData = {
|
|
6336
|
+
body?: never;
|
|
6337
|
+
path: {
|
|
6338
|
+
sessionID: string;
|
|
6339
|
+
};
|
|
6340
|
+
query?: {
|
|
6341
|
+
directory?: string;
|
|
6342
|
+
workspace?: string;
|
|
6343
|
+
};
|
|
6344
|
+
url: "/background-process/session/{sessionID}/stop";
|
|
6345
|
+
};
|
|
6346
|
+
export type BackgroundProcessStopSessionResponses = {
|
|
6347
|
+
/**
|
|
6348
|
+
* Stopped session background processes
|
|
6349
|
+
*/
|
|
6350
|
+
200: boolean;
|
|
6351
|
+
};
|
|
6352
|
+
export type BackgroundProcessStopSessionResponse = BackgroundProcessStopSessionResponses[keyof BackgroundProcessStopSessionResponses];
|
|
6180
6353
|
export type CommitMessageGenerateData = {
|
|
6181
6354
|
body?: {
|
|
6182
6355
|
/**
|