@kilocode/sdk 7.3.7 → 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 +113 -7
- package/dist/v2/gen/sdk.gen.js +235 -5
- package/dist/v2/gen/types.gen.d.ts +352 -92
- package/package.json +2 -2
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from "./client/index.js";
|
|
2
|
-
import type { 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,
|
|
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
|
|
@@ -290,16 +290,17 @@ export declare class Workspace extends HeyApiClient {
|
|
|
290
290
|
workspace?: string;
|
|
291
291
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceRemoveResponses, ExperimentalWorkspaceRemoveErrors, ThrowOnError, "fields">;
|
|
292
292
|
/**
|
|
293
|
-
*
|
|
293
|
+
* Warp session into workspace
|
|
294
294
|
*
|
|
295
|
-
*
|
|
295
|
+
* Move a session's sync history into the target workspace, or detach it to the local project.
|
|
296
296
|
*/
|
|
297
|
-
|
|
298
|
-
id: string;
|
|
297
|
+
warp<ThrowOnError extends boolean = false>(parameters?: {
|
|
299
298
|
directory?: string;
|
|
300
299
|
workspace?: string;
|
|
300
|
+
id?: string | null;
|
|
301
301
|
sessionID?: string;
|
|
302
|
-
|
|
302
|
+
copyChanges?: boolean;
|
|
303
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<ExperimentalWorkspaceWarpResponses, ExperimentalWorkspaceWarpErrors, ThrowOnError, "fields">;
|
|
303
304
|
private _adapter?;
|
|
304
305
|
get adapter(): Adapter;
|
|
305
306
|
}
|
|
@@ -495,6 +496,17 @@ export declare class Path extends HeyApiClient {
|
|
|
495
496
|
workspace?: string;
|
|
496
497
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<PathGetResponses, unknown, ThrowOnError, "fields">;
|
|
497
498
|
}
|
|
499
|
+
export declare class Diff extends HeyApiClient {
|
|
500
|
+
/**
|
|
501
|
+
* Get raw VCS diff
|
|
502
|
+
*
|
|
503
|
+
* Retrieve a raw patch for current uncommitted changes.
|
|
504
|
+
*/
|
|
505
|
+
raw<ThrowOnError extends boolean = false>(parameters?: {
|
|
506
|
+
directory?: string;
|
|
507
|
+
workspace?: string;
|
|
508
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffRawResponses, unknown, ThrowOnError, "fields">;
|
|
509
|
+
}
|
|
498
510
|
export declare class Vcs extends HeyApiClient {
|
|
499
511
|
/**
|
|
500
512
|
* Get VCS info
|
|
@@ -505,6 +517,15 @@ export declare class Vcs extends HeyApiClient {
|
|
|
505
517
|
directory?: string;
|
|
506
518
|
workspace?: string;
|
|
507
519
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsGetResponses, unknown, ThrowOnError, "fields">;
|
|
520
|
+
/**
|
|
521
|
+
* Get VCS status
|
|
522
|
+
*
|
|
523
|
+
* Retrieve changed files in the current working tree without patches.
|
|
524
|
+
*/
|
|
525
|
+
status<ThrowOnError extends boolean = false>(parameters?: {
|
|
526
|
+
directory?: string;
|
|
527
|
+
workspace?: string;
|
|
528
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsStatusResponses, unknown, ThrowOnError, "fields">;
|
|
508
529
|
/**
|
|
509
530
|
* Get VCS diff
|
|
510
531
|
*
|
|
@@ -515,6 +536,18 @@ export declare class Vcs extends HeyApiClient {
|
|
|
515
536
|
workspace?: string;
|
|
516
537
|
mode: "git" | "branch";
|
|
517
538
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffResponses, unknown, ThrowOnError, "fields">;
|
|
539
|
+
/**
|
|
540
|
+
* Apply VCS patch
|
|
541
|
+
*
|
|
542
|
+
* Apply a raw patch to the current working tree.
|
|
543
|
+
*/
|
|
544
|
+
apply<ThrowOnError extends boolean = false>(parameters?: {
|
|
545
|
+
directory?: string;
|
|
546
|
+
workspace?: string;
|
|
547
|
+
patch?: string;
|
|
548
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsApplyResponses, VcsApplyErrors, ThrowOnError, "fields">;
|
|
549
|
+
private _diff?;
|
|
550
|
+
get diff2(): Diff;
|
|
518
551
|
}
|
|
519
552
|
export declare class Command extends HeyApiClient {
|
|
520
553
|
/**
|
|
@@ -1102,7 +1135,7 @@ export declare class Session2 extends HeyApiClient {
|
|
|
1102
1135
|
directory?: string;
|
|
1103
1136
|
workspace?: string;
|
|
1104
1137
|
messageID?: string;
|
|
1105
|
-
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses,
|
|
1138
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionForkResponses, SessionForkErrors, ThrowOnError, "fields">;
|
|
1106
1139
|
/**
|
|
1107
1140
|
* Abort session
|
|
1108
1141
|
*
|
|
@@ -1330,6 +1363,16 @@ export declare class Sync extends HeyApiClient {
|
|
|
1330
1363
|
};
|
|
1331
1364
|
}>;
|
|
1332
1365
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncReplayResponses, SyncReplayErrors, ThrowOnError, "fields">;
|
|
1366
|
+
/**
|
|
1367
|
+
* Steal session into workspace
|
|
1368
|
+
*
|
|
1369
|
+
* Update a session to belong to the current workspace through the sync event system.
|
|
1370
|
+
*/
|
|
1371
|
+
steal<ThrowOnError extends boolean = false>(parameters?: {
|
|
1372
|
+
directory?: string;
|
|
1373
|
+
workspace?: string;
|
|
1374
|
+
sessionID?: string;
|
|
1375
|
+
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SyncStealResponses, SyncStealErrors, ThrowOnError, "fields">;
|
|
1333
1376
|
private _history?;
|
|
1334
1377
|
get history(): History;
|
|
1335
1378
|
}
|
|
@@ -1532,6 +1575,67 @@ export declare class Tui extends HeyApiClient {
|
|
|
1532
1575
|
private _control?;
|
|
1533
1576
|
get control(): Control;
|
|
1534
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
|
+
}
|
|
1535
1639
|
export declare class CommitMessage extends HeyApiClient {
|
|
1536
1640
|
/**
|
|
1537
1641
|
* Generate commit message
|
|
@@ -2132,6 +2236,8 @@ export declare class KiloClient extends HeyApiClient {
|
|
|
2132
2236
|
get v2(): V2;
|
|
2133
2237
|
private _tui?;
|
|
2134
2238
|
get tui(): Tui;
|
|
2239
|
+
private _backgroundProcess?;
|
|
2240
|
+
get backgroundProcess(): BackgroundProcess;
|
|
2135
2241
|
private _commitMessage?;
|
|
2136
2242
|
get commitMessage(): CommitMessage;
|
|
2137
2243
|
private _enhancePrompt?;
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -565,23 +565,24 @@ export class Workspace extends HeyApiClient {
|
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
|
-
*
|
|
568
|
+
* Warp session into workspace
|
|
569
569
|
*
|
|
570
|
-
*
|
|
570
|
+
* Move a session's sync history into the target workspace, or detach it to the local project.
|
|
571
571
|
*/
|
|
572
|
-
|
|
572
|
+
warp(parameters, options) {
|
|
573
573
|
const params = buildClientParams([parameters], [
|
|
574
574
|
{
|
|
575
575
|
args: [
|
|
576
|
-
{ in: "path", key: "id" },
|
|
577
576
|
{ in: "query", key: "directory" },
|
|
578
577
|
{ in: "query", key: "workspace" },
|
|
578
|
+
{ in: "body", key: "id" },
|
|
579
579
|
{ in: "body", key: "sessionID" },
|
|
580
|
+
{ in: "body", key: "copyChanges" },
|
|
580
581
|
],
|
|
581
582
|
},
|
|
582
583
|
]);
|
|
583
584
|
return (options?.client ?? this.client).post({
|
|
584
|
-
url: "/experimental/workspace/
|
|
585
|
+
url: "/experimental/workspace/warp",
|
|
585
586
|
...options,
|
|
586
587
|
...params,
|
|
587
588
|
headers: {
|
|
@@ -998,6 +999,28 @@ export class Path extends HeyApiClient {
|
|
|
998
999
|
});
|
|
999
1000
|
}
|
|
1000
1001
|
}
|
|
1002
|
+
export class Diff extends HeyApiClient {
|
|
1003
|
+
/**
|
|
1004
|
+
* Get raw VCS diff
|
|
1005
|
+
*
|
|
1006
|
+
* Retrieve a raw patch for current uncommitted changes.
|
|
1007
|
+
*/
|
|
1008
|
+
raw(parameters, options) {
|
|
1009
|
+
const params = buildClientParams([parameters], [
|
|
1010
|
+
{
|
|
1011
|
+
args: [
|
|
1012
|
+
{ in: "query", key: "directory" },
|
|
1013
|
+
{ in: "query", key: "workspace" },
|
|
1014
|
+
],
|
|
1015
|
+
},
|
|
1016
|
+
]);
|
|
1017
|
+
return (options?.client ?? this.client).get({
|
|
1018
|
+
url: "/vcs/diff/raw",
|
|
1019
|
+
...options,
|
|
1020
|
+
...params,
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1001
1024
|
export class Vcs extends HeyApiClient {
|
|
1002
1025
|
/**
|
|
1003
1026
|
* Get VCS info
|
|
@@ -1019,6 +1042,26 @@ export class Vcs extends HeyApiClient {
|
|
|
1019
1042
|
...params,
|
|
1020
1043
|
});
|
|
1021
1044
|
}
|
|
1045
|
+
/**
|
|
1046
|
+
* Get VCS status
|
|
1047
|
+
*
|
|
1048
|
+
* Retrieve changed files in the current working tree without patches.
|
|
1049
|
+
*/
|
|
1050
|
+
status(parameters, options) {
|
|
1051
|
+
const params = buildClientParams([parameters], [
|
|
1052
|
+
{
|
|
1053
|
+
args: [
|
|
1054
|
+
{ in: "query", key: "directory" },
|
|
1055
|
+
{ in: "query", key: "workspace" },
|
|
1056
|
+
],
|
|
1057
|
+
},
|
|
1058
|
+
]);
|
|
1059
|
+
return (options?.client ?? this.client).get({
|
|
1060
|
+
url: "/vcs/status",
|
|
1061
|
+
...options,
|
|
1062
|
+
...params,
|
|
1063
|
+
});
|
|
1064
|
+
}
|
|
1022
1065
|
/**
|
|
1023
1066
|
* Get VCS diff
|
|
1024
1067
|
*
|
|
@@ -1040,6 +1083,36 @@ export class Vcs extends HeyApiClient {
|
|
|
1040
1083
|
...params,
|
|
1041
1084
|
});
|
|
1042
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* Apply VCS patch
|
|
1088
|
+
*
|
|
1089
|
+
* Apply a raw patch to the current working tree.
|
|
1090
|
+
*/
|
|
1091
|
+
apply(parameters, options) {
|
|
1092
|
+
const params = buildClientParams([parameters], [
|
|
1093
|
+
{
|
|
1094
|
+
args: [
|
|
1095
|
+
{ in: "query", key: "directory" },
|
|
1096
|
+
{ in: "query", key: "workspace" },
|
|
1097
|
+
{ in: "body", key: "patch" },
|
|
1098
|
+
],
|
|
1099
|
+
},
|
|
1100
|
+
]);
|
|
1101
|
+
return (options?.client ?? this.client).post({
|
|
1102
|
+
url: "/vcs/apply",
|
|
1103
|
+
...options,
|
|
1104
|
+
...params,
|
|
1105
|
+
headers: {
|
|
1106
|
+
"Content-Type": "application/json",
|
|
1107
|
+
...options?.headers,
|
|
1108
|
+
...params.headers,
|
|
1109
|
+
},
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
_diff;
|
|
1113
|
+
get diff2() {
|
|
1114
|
+
return (this._diff ??= new Diff({ client: this.client }));
|
|
1115
|
+
}
|
|
1043
1116
|
}
|
|
1044
1117
|
export class Command extends HeyApiClient {
|
|
1045
1118
|
/**
|
|
@@ -2650,6 +2723,32 @@ export class Sync extends HeyApiClient {
|
|
|
2650
2723
|
},
|
|
2651
2724
|
});
|
|
2652
2725
|
}
|
|
2726
|
+
/**
|
|
2727
|
+
* Steal session into workspace
|
|
2728
|
+
*
|
|
2729
|
+
* Update a session to belong to the current workspace through the sync event system.
|
|
2730
|
+
*/
|
|
2731
|
+
steal(parameters, options) {
|
|
2732
|
+
const params = buildClientParams([parameters], [
|
|
2733
|
+
{
|
|
2734
|
+
args: [
|
|
2735
|
+
{ in: "query", key: "directory" },
|
|
2736
|
+
{ in: "query", key: "workspace" },
|
|
2737
|
+
{ in: "body", key: "sessionID" },
|
|
2738
|
+
],
|
|
2739
|
+
},
|
|
2740
|
+
]);
|
|
2741
|
+
return (options?.client ?? this.client).post({
|
|
2742
|
+
url: "/sync/steal",
|
|
2743
|
+
...options,
|
|
2744
|
+
...params,
|
|
2745
|
+
headers: {
|
|
2746
|
+
"Content-Type": "application/json",
|
|
2747
|
+
...options?.headers,
|
|
2748
|
+
...params.headers,
|
|
2749
|
+
},
|
|
2750
|
+
});
|
|
2751
|
+
}
|
|
2653
2752
|
_history;
|
|
2654
2753
|
get history() {
|
|
2655
2754
|
return (this._history ??= new History({ client: this.client }));
|
|
@@ -3102,6 +3201,133 @@ export class Tui extends HeyApiClient {
|
|
|
3102
3201
|
return (this._control ??= new Control({ client: this.client }));
|
|
3103
3202
|
}
|
|
3104
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
|
+
}
|
|
3105
3331
|
export class CommitMessage extends HeyApiClient {
|
|
3106
3332
|
/**
|
|
3107
3333
|
* Generate commit message
|
|
@@ -4065,6 +4291,10 @@ export class KiloClient extends HeyApiClient {
|
|
|
4065
4291
|
get tui() {
|
|
4066
4292
|
return (this._tui ??= new Tui({ client: this.client }));
|
|
4067
4293
|
}
|
|
4294
|
+
_backgroundProcess;
|
|
4295
|
+
get backgroundProcess() {
|
|
4296
|
+
return (this._backgroundProcess ??= new BackgroundProcess({ client: this.client }));
|
|
4297
|
+
}
|
|
4068
4298
|
_commitMessage;
|
|
4069
4299
|
get commitMessage() {
|
|
4070
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 |
|
|
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,14 +670,14 @@ 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 |
|
|
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
|
|
658
677
|
*/
|
|
659
678
|
export type LogLevel = "DEBUG" | "INFO" | "WARN" | "ERROR";
|
|
660
679
|
/**
|
|
661
|
-
* Server configuration for kilo serve
|
|
680
|
+
* Server configuration for the kilo serve command
|
|
662
681
|
*/
|
|
663
682
|
export type ServerConfig = {
|
|
664
683
|
port?: number;
|
|
@@ -853,17 +872,14 @@ export type ProviderConfig = {
|
|
|
853
872
|
};
|
|
854
873
|
};
|
|
855
874
|
export type McpLocalConfig = {
|
|
856
|
-
/**
|
|
857
|
-
* Type of MCP server connection
|
|
858
|
-
*/
|
|
859
875
|
type: "local";
|
|
860
|
-
/**
|
|
861
|
-
* Command and arguments to run the MCP server
|
|
862
|
-
*/
|
|
863
876
|
command: Array<string>;
|
|
864
877
|
environment?: {
|
|
865
878
|
[key: string]: string;
|
|
866
879
|
};
|
|
880
|
+
env?: {
|
|
881
|
+
[key: string]: string;
|
|
882
|
+
};
|
|
867
883
|
enabled?: boolean;
|
|
868
884
|
timeout?: number;
|
|
869
885
|
};
|
|
@@ -1272,6 +1288,12 @@ export type VcsInfo = {
|
|
|
1272
1288
|
branch?: string;
|
|
1273
1289
|
default_branch?: string;
|
|
1274
1290
|
};
|
|
1291
|
+
export type VcsFileStatus = {
|
|
1292
|
+
file: string;
|
|
1293
|
+
additions: number;
|
|
1294
|
+
deletions: number;
|
|
1295
|
+
status: "added" | "deleted" | "modified";
|
|
1296
|
+
};
|
|
1275
1297
|
export type VcsFileDiff = {
|
|
1276
1298
|
file: string;
|
|
1277
1299
|
patch: string;
|
|
@@ -1279,6 +1301,13 @@ export type VcsFileDiff = {
|
|
|
1279
1301
|
deletions: number;
|
|
1280
1302
|
status?: "added" | "deleted" | "modified";
|
|
1281
1303
|
};
|
|
1304
|
+
export type VcsApplyError = {
|
|
1305
|
+
name: "VcsApplyError";
|
|
1306
|
+
data: {
|
|
1307
|
+
message: string;
|
|
1308
|
+
reason: "non-git" | "not-clean";
|
|
1309
|
+
};
|
|
1310
|
+
};
|
|
1282
1311
|
export type Command = {
|
|
1283
1312
|
name: string;
|
|
1284
1313
|
description?: string;
|
|
@@ -1344,6 +1373,12 @@ export type McpStatus = McpStatusConnected | McpStatusDisabled | McpStatusFailed
|
|
|
1344
1373
|
export type McpUnsupportedOAuthError = {
|
|
1345
1374
|
error: string;
|
|
1346
1375
|
};
|
|
1376
|
+
export type NotFoundError = {
|
|
1377
|
+
name: "NotFoundError";
|
|
1378
|
+
data: {
|
|
1379
|
+
message: string;
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1347
1382
|
export type EffectHttpApiErrorForbidden = {
|
|
1348
1383
|
_tag: "Forbidden";
|
|
1349
1384
|
};
|
|
@@ -1478,6 +1513,17 @@ export type Workspace = {
|
|
|
1478
1513
|
extra: unknown | null;
|
|
1479
1514
|
projectID: string;
|
|
1480
1515
|
};
|
|
1516
|
+
export type WorkspaceWarpError = {
|
|
1517
|
+
name: "WorkspaceWarpError";
|
|
1518
|
+
data: {
|
|
1519
|
+
message: string;
|
|
1520
|
+
};
|
|
1521
|
+
};
|
|
1522
|
+
export type BackgroundProcessLogs = {
|
|
1523
|
+
id: string;
|
|
1524
|
+
sessionID: string;
|
|
1525
|
+
output: string;
|
|
1526
|
+
};
|
|
1481
1527
|
export type EffectHttpApiErrorUnauthorized = {
|
|
1482
1528
|
_tag: "Unauthorized";
|
|
1483
1529
|
};
|
|
@@ -1627,9 +1673,11 @@ export type SyncEventSessionNextModelSwitched = {
|
|
|
1627
1673
|
data: {
|
|
1628
1674
|
timestamp: number;
|
|
1629
1675
|
sessionID: string;
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1676
|
+
model: {
|
|
1677
|
+
id: string;
|
|
1678
|
+
providerID: string;
|
|
1679
|
+
variant: string;
|
|
1680
|
+
};
|
|
1633
1681
|
};
|
|
1634
1682
|
};
|
|
1635
1683
|
export type SyncEventSessionNextPrompted = {
|
|
@@ -1695,7 +1743,7 @@ export type SyncEventSessionNextStepStarted = {
|
|
|
1695
1743
|
model: {
|
|
1696
1744
|
id: string;
|
|
1697
1745
|
providerID: string;
|
|
1698
|
-
variant
|
|
1746
|
+
variant: string;
|
|
1699
1747
|
};
|
|
1700
1748
|
snapshot?: string;
|
|
1701
1749
|
};
|
|
@@ -1732,10 +1780,7 @@ export type SyncEventSessionNextStepFailed = {
|
|
|
1732
1780
|
data: {
|
|
1733
1781
|
timestamp: number;
|
|
1734
1782
|
sessionID: string;
|
|
1735
|
-
error:
|
|
1736
|
-
type: string;
|
|
1737
|
-
message: string;
|
|
1738
|
-
};
|
|
1783
|
+
error: SessionErrorUnknown;
|
|
1739
1784
|
};
|
|
1740
1785
|
};
|
|
1741
1786
|
export type SyncEventSessionNextTextStarted = {
|
|
@@ -1920,10 +1965,7 @@ export type SyncEventSessionNextToolFailed = {
|
|
|
1920
1965
|
timestamp: number;
|
|
1921
1966
|
sessionID: string;
|
|
1922
1967
|
callID: string;
|
|
1923
|
-
error:
|
|
1924
|
-
type: string;
|
|
1925
|
-
message: string;
|
|
1926
|
-
};
|
|
1968
|
+
error: SessionErrorUnknown;
|
|
1927
1969
|
provider: {
|
|
1928
1970
|
executed: boolean;
|
|
1929
1971
|
metadata?: {
|
|
@@ -2110,6 +2152,21 @@ export type EventPermissionReplied = {
|
|
|
2110
2152
|
reply: "once" | "always" | "reject";
|
|
2111
2153
|
};
|
|
2112
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
|
+
};
|
|
2113
2170
|
export type EventSessionTurnOpen = {
|
|
2114
2171
|
id: string;
|
|
2115
2172
|
type: "session.turn.open";
|
|
@@ -2270,6 +2327,14 @@ export type EventVcsBranchUpdated = {
|
|
|
2270
2327
|
branch?: string;
|
|
2271
2328
|
};
|
|
2272
2329
|
};
|
|
2330
|
+
export type EventKiloSessionsRemoteStatusChanged = {
|
|
2331
|
+
id: string;
|
|
2332
|
+
type: "kilo-sessions.remote-status-changed";
|
|
2333
|
+
properties: {
|
|
2334
|
+
enabled: boolean;
|
|
2335
|
+
connected: boolean;
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2273
2338
|
export type EventWorkspaceReady = {
|
|
2274
2339
|
id: string;
|
|
2275
2340
|
type: "workspace.ready";
|
|
@@ -2284,16 +2349,6 @@ export type EventWorkspaceFailed = {
|
|
|
2284
2349
|
message: string;
|
|
2285
2350
|
};
|
|
2286
2351
|
};
|
|
2287
|
-
export type EventWorkspaceRestore = {
|
|
2288
|
-
id: string;
|
|
2289
|
-
type: "workspace.restore";
|
|
2290
|
-
properties: {
|
|
2291
|
-
workspaceID: string;
|
|
2292
|
-
sessionID: string;
|
|
2293
|
-
total: number;
|
|
2294
|
-
step: number;
|
|
2295
|
-
};
|
|
2296
|
-
};
|
|
2297
2352
|
export type EventWorkspaceStatus = {
|
|
2298
2353
|
id: string;
|
|
2299
2354
|
type: "workspace.status";
|
|
@@ -2419,9 +2474,11 @@ export type EventSessionNextModelSwitched = {
|
|
|
2419
2474
|
properties: {
|
|
2420
2475
|
timestamp: number;
|
|
2421
2476
|
sessionID: string;
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2477
|
+
model: {
|
|
2478
|
+
id: string;
|
|
2479
|
+
providerID: string;
|
|
2480
|
+
variant: string;
|
|
2481
|
+
};
|
|
2425
2482
|
};
|
|
2426
2483
|
};
|
|
2427
2484
|
export type PromptSource = {
|
|
@@ -2488,7 +2545,7 @@ export type EventSessionNextStepStarted = {
|
|
|
2488
2545
|
model: {
|
|
2489
2546
|
id: string;
|
|
2490
2547
|
providerID: string;
|
|
2491
|
-
variant
|
|
2548
|
+
variant: string;
|
|
2492
2549
|
};
|
|
2493
2550
|
snapshot?: string;
|
|
2494
2551
|
};
|
|
@@ -2513,16 +2570,17 @@ export type EventSessionNextStepEnded = {
|
|
|
2513
2570
|
snapshot?: string;
|
|
2514
2571
|
};
|
|
2515
2572
|
};
|
|
2573
|
+
export type SessionErrorUnknown = {
|
|
2574
|
+
type: "unknown";
|
|
2575
|
+
message: string;
|
|
2576
|
+
};
|
|
2516
2577
|
export type EventSessionNextStepFailed = {
|
|
2517
2578
|
id: string;
|
|
2518
2579
|
type: "session.next.step.failed";
|
|
2519
2580
|
properties: {
|
|
2520
2581
|
timestamp: number;
|
|
2521
2582
|
sessionID: string;
|
|
2522
|
-
error:
|
|
2523
|
-
type: string;
|
|
2524
|
-
message: string;
|
|
2525
|
-
};
|
|
2583
|
+
error: SessionErrorUnknown;
|
|
2526
2584
|
};
|
|
2527
2585
|
};
|
|
2528
2586
|
export type EventSessionNextTextStarted = {
|
|
@@ -2678,10 +2736,7 @@ export type EventSessionNextToolFailed = {
|
|
|
2678
2736
|
timestamp: number;
|
|
2679
2737
|
sessionID: string;
|
|
2680
2738
|
callID: string;
|
|
2681
|
-
error:
|
|
2682
|
-
type: string;
|
|
2683
|
-
message: string;
|
|
2684
|
-
};
|
|
2739
|
+
error: SessionErrorUnknown;
|
|
2685
2740
|
provider: {
|
|
2686
2741
|
executed: boolean;
|
|
2687
2742
|
metadata?: {
|
|
@@ -2740,14 +2795,6 @@ export type EventSessionNextCompactionEnded = {
|
|
|
2740
2795
|
include?: string;
|
|
2741
2796
|
};
|
|
2742
2797
|
};
|
|
2743
|
-
export type EventKiloSessionsRemoteStatusChanged = {
|
|
2744
|
-
id: string;
|
|
2745
|
-
type: "kilo-sessions.remote-status-changed";
|
|
2746
|
-
properties: {
|
|
2747
|
-
enabled: boolean;
|
|
2748
|
-
connected: boolean;
|
|
2749
|
-
};
|
|
2750
|
-
};
|
|
2751
2798
|
export type EventIndexingStatus = {
|
|
2752
2799
|
id: string;
|
|
2753
2800
|
type: "indexing.status";
|
|
@@ -2765,7 +2812,7 @@ export type SessionInfo = {
|
|
|
2765
2812
|
model?: {
|
|
2766
2813
|
id: string;
|
|
2767
2814
|
providerID: string;
|
|
2768
|
-
variant
|
|
2815
|
+
variant: string;
|
|
2769
2816
|
};
|
|
2770
2817
|
time: {
|
|
2771
2818
|
created: number;
|
|
@@ -2798,7 +2845,7 @@ export type SessionMessageModelSwitched = {
|
|
|
2798
2845
|
model: {
|
|
2799
2846
|
id: string;
|
|
2800
2847
|
providerID: string;
|
|
2801
|
-
variant
|
|
2848
|
+
variant: string;
|
|
2802
2849
|
};
|
|
2803
2850
|
};
|
|
2804
2851
|
export type SessionMessageUser = {
|
|
@@ -2883,10 +2930,7 @@ export type SessionMessageToolStateError = {
|
|
|
2883
2930
|
structured: {
|
|
2884
2931
|
[key: string]: unknown;
|
|
2885
2932
|
};
|
|
2886
|
-
error:
|
|
2887
|
-
type: string;
|
|
2888
|
-
message: string;
|
|
2889
|
-
};
|
|
2933
|
+
error: SessionErrorUnknown;
|
|
2890
2934
|
};
|
|
2891
2935
|
export type SessionMessageAssistantTool = {
|
|
2892
2936
|
type: "tool";
|
|
@@ -2920,7 +2964,7 @@ export type SessionMessageAssistant = {
|
|
|
2920
2964
|
model: {
|
|
2921
2965
|
id: string;
|
|
2922
2966
|
providerID: string;
|
|
2923
|
-
variant
|
|
2967
|
+
variant: string;
|
|
2924
2968
|
};
|
|
2925
2969
|
content: Array<SessionMessageAssistantText | SessionMessageAssistantReasoning | SessionMessageAssistantTool>;
|
|
2926
2970
|
snapshot?: {
|
|
@@ -2938,10 +2982,7 @@ export type SessionMessageAssistant = {
|
|
|
2938
2982
|
write: number;
|
|
2939
2983
|
};
|
|
2940
2984
|
};
|
|
2941
|
-
error?:
|
|
2942
|
-
type: string;
|
|
2943
|
-
message: string;
|
|
2944
|
-
};
|
|
2985
|
+
error?: SessionErrorUnknown;
|
|
2945
2986
|
};
|
|
2946
2987
|
export type SessionMessageCompaction = {
|
|
2947
2988
|
type: "compaction";
|
|
@@ -2974,12 +3015,6 @@ export type BadRequestError = {
|
|
|
2974
3015
|
}>;
|
|
2975
3016
|
success: false;
|
|
2976
3017
|
};
|
|
2977
|
-
export type NotFoundError = {
|
|
2978
|
-
name: "NotFoundError";
|
|
2979
|
-
data: {
|
|
2980
|
-
message: string;
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
3018
|
export type AuthRemoveData = {
|
|
2984
3019
|
body?: never;
|
|
2985
3020
|
path: {
|
|
@@ -3738,6 +3773,22 @@ export type VcsGetResponses = {
|
|
|
3738
3773
|
200: VcsInfo;
|
|
3739
3774
|
};
|
|
3740
3775
|
export type VcsGetResponse = VcsGetResponses[keyof VcsGetResponses];
|
|
3776
|
+
export type VcsStatusData = {
|
|
3777
|
+
body?: never;
|
|
3778
|
+
path?: never;
|
|
3779
|
+
query?: {
|
|
3780
|
+
directory?: string;
|
|
3781
|
+
workspace?: string;
|
|
3782
|
+
};
|
|
3783
|
+
url: "/vcs/status";
|
|
3784
|
+
};
|
|
3785
|
+
export type VcsStatusResponses = {
|
|
3786
|
+
/**
|
|
3787
|
+
* VCS status
|
|
3788
|
+
*/
|
|
3789
|
+
200: Array<VcsFileStatus>;
|
|
3790
|
+
};
|
|
3791
|
+
export type VcsStatusResponse = VcsStatusResponses[keyof VcsStatusResponses];
|
|
3741
3792
|
export type VcsDiffData = {
|
|
3742
3793
|
body?: never;
|
|
3743
3794
|
path?: never;
|
|
@@ -3755,6 +3806,49 @@ export type VcsDiffResponses = {
|
|
|
3755
3806
|
200: Array<VcsFileDiff>;
|
|
3756
3807
|
};
|
|
3757
3808
|
export type VcsDiffResponse = VcsDiffResponses[keyof VcsDiffResponses];
|
|
3809
|
+
export type VcsDiffRawData = {
|
|
3810
|
+
body?: never;
|
|
3811
|
+
path?: never;
|
|
3812
|
+
query?: {
|
|
3813
|
+
directory?: string;
|
|
3814
|
+
workspace?: string;
|
|
3815
|
+
};
|
|
3816
|
+
url: "/vcs/diff/raw";
|
|
3817
|
+
};
|
|
3818
|
+
export type VcsDiffRawResponses = {
|
|
3819
|
+
/**
|
|
3820
|
+
* Raw VCS diff
|
|
3821
|
+
*/
|
|
3822
|
+
200: string;
|
|
3823
|
+
};
|
|
3824
|
+
export type VcsDiffRawResponse = VcsDiffRawResponses[keyof VcsDiffRawResponses];
|
|
3825
|
+
export type VcsApplyData = {
|
|
3826
|
+
body?: {
|
|
3827
|
+
patch: string;
|
|
3828
|
+
};
|
|
3829
|
+
path?: never;
|
|
3830
|
+
query?: {
|
|
3831
|
+
directory?: string;
|
|
3832
|
+
workspace?: string;
|
|
3833
|
+
};
|
|
3834
|
+
url: "/vcs/apply";
|
|
3835
|
+
};
|
|
3836
|
+
export type VcsApplyErrors = {
|
|
3837
|
+
/**
|
|
3838
|
+
* VcsApplyError
|
|
3839
|
+
*/
|
|
3840
|
+
400: VcsApplyError;
|
|
3841
|
+
};
|
|
3842
|
+
export type VcsApplyError2 = VcsApplyErrors[keyof VcsApplyErrors];
|
|
3843
|
+
export type VcsApplyResponses = {
|
|
3844
|
+
/**
|
|
3845
|
+
* VCS patch applied
|
|
3846
|
+
*/
|
|
3847
|
+
200: {
|
|
3848
|
+
applied: boolean;
|
|
3849
|
+
};
|
|
3850
|
+
};
|
|
3851
|
+
export type VcsApplyResponse = VcsApplyResponses[keyof VcsApplyResponses];
|
|
3758
3852
|
export type CommandListData = {
|
|
3759
3853
|
body?: never;
|
|
3760
3854
|
path?: never;
|
|
@@ -4211,7 +4305,7 @@ export type PtyRemoveData = {
|
|
|
4211
4305
|
};
|
|
4212
4306
|
export type PtyRemoveErrors = {
|
|
4213
4307
|
/**
|
|
4214
|
-
*
|
|
4308
|
+
* NotFoundError
|
|
4215
4309
|
*/
|
|
4216
4310
|
404: NotFoundError;
|
|
4217
4311
|
};
|
|
@@ -4236,7 +4330,7 @@ export type PtyGetData = {
|
|
|
4236
4330
|
};
|
|
4237
4331
|
export type PtyGetErrors = {
|
|
4238
4332
|
/**
|
|
4239
|
-
*
|
|
4333
|
+
* NotFoundError
|
|
4240
4334
|
*/
|
|
4241
4335
|
404: NotFoundError;
|
|
4242
4336
|
};
|
|
@@ -4296,7 +4390,7 @@ export type PtyConnectTokenErrors = {
|
|
|
4296
4390
|
*/
|
|
4297
4391
|
403: EffectHttpApiErrorForbidden;
|
|
4298
4392
|
/**
|
|
4299
|
-
*
|
|
4393
|
+
* NotFoundError
|
|
4300
4394
|
*/
|
|
4301
4395
|
404: NotFoundError;
|
|
4302
4396
|
};
|
|
@@ -4701,7 +4795,7 @@ export type SessionDeleteErrors = {
|
|
|
4701
4795
|
*/
|
|
4702
4796
|
400: BadRequestError;
|
|
4703
4797
|
/**
|
|
4704
|
-
*
|
|
4798
|
+
* NotFoundError
|
|
4705
4799
|
*/
|
|
4706
4800
|
404: NotFoundError;
|
|
4707
4801
|
};
|
|
@@ -4730,7 +4824,7 @@ export type SessionGetErrors = {
|
|
|
4730
4824
|
*/
|
|
4731
4825
|
400: BadRequestError;
|
|
4732
4826
|
/**
|
|
4733
|
-
*
|
|
4827
|
+
* NotFoundError
|
|
4734
4828
|
*/
|
|
4735
4829
|
404: NotFoundError;
|
|
4736
4830
|
};
|
|
@@ -4765,7 +4859,7 @@ export type SessionUpdateErrors = {
|
|
|
4765
4859
|
*/
|
|
4766
4860
|
400: BadRequestError;
|
|
4767
4861
|
/**
|
|
4768
|
-
*
|
|
4862
|
+
* NotFoundError
|
|
4769
4863
|
*/
|
|
4770
4864
|
404: NotFoundError;
|
|
4771
4865
|
};
|
|
@@ -4873,7 +4967,7 @@ export type SessionMessagesErrors = {
|
|
|
4873
4967
|
*/
|
|
4874
4968
|
400: BadRequestError;
|
|
4875
4969
|
/**
|
|
4876
|
-
*
|
|
4970
|
+
* NotFoundError
|
|
4877
4971
|
*/
|
|
4878
4972
|
404: NotFoundError;
|
|
4879
4973
|
};
|
|
@@ -4989,7 +5083,7 @@ export type SessionMessageErrors = {
|
|
|
4989
5083
|
*/
|
|
4990
5084
|
400: BadRequestError;
|
|
4991
5085
|
/**
|
|
4992
|
-
*
|
|
5086
|
+
* NotFoundError
|
|
4993
5087
|
*/
|
|
4994
5088
|
404: NotFoundError;
|
|
4995
5089
|
};
|
|
@@ -5017,6 +5111,13 @@ export type SessionForkData = {
|
|
|
5017
5111
|
};
|
|
5018
5112
|
url: "/session/{sessionID}/fork";
|
|
5019
5113
|
};
|
|
5114
|
+
export type SessionForkErrors = {
|
|
5115
|
+
/**
|
|
5116
|
+
* NotFoundError
|
|
5117
|
+
*/
|
|
5118
|
+
404: NotFoundError;
|
|
5119
|
+
};
|
|
5120
|
+
export type SessionForkError = SessionForkErrors[keyof SessionForkErrors];
|
|
5020
5121
|
export type SessionForkResponses = {
|
|
5021
5122
|
/**
|
|
5022
5123
|
* 200
|
|
@@ -5103,7 +5204,7 @@ export type SessionUnshareErrors = {
|
|
|
5103
5204
|
*/
|
|
5104
5205
|
400: BadRequestError;
|
|
5105
5206
|
/**
|
|
5106
|
-
*
|
|
5207
|
+
* NotFoundError
|
|
5107
5208
|
*/
|
|
5108
5209
|
404: NotFoundError;
|
|
5109
5210
|
};
|
|
@@ -5132,7 +5233,7 @@ export type SessionShareErrors = {
|
|
|
5132
5233
|
*/
|
|
5133
5234
|
400: BadRequestError;
|
|
5134
5235
|
/**
|
|
5135
|
-
*
|
|
5236
|
+
* NotFoundError
|
|
5136
5237
|
*/
|
|
5137
5238
|
404: NotFoundError;
|
|
5138
5239
|
};
|
|
@@ -5165,7 +5266,7 @@ export type SessionSummarizeErrors = {
|
|
|
5165
5266
|
*/
|
|
5166
5267
|
400: BadRequestError;
|
|
5167
5268
|
/**
|
|
5168
|
-
*
|
|
5269
|
+
* NotFoundError
|
|
5169
5270
|
*/
|
|
5170
5271
|
404: NotFoundError;
|
|
5171
5272
|
};
|
|
@@ -5540,6 +5641,33 @@ export type SyncReplayResponses = {
|
|
|
5540
5641
|
};
|
|
5541
5642
|
};
|
|
5542
5643
|
export type SyncReplayResponse = SyncReplayResponses[keyof SyncReplayResponses];
|
|
5644
|
+
export type SyncStealData = {
|
|
5645
|
+
body?: {
|
|
5646
|
+
sessionID: string;
|
|
5647
|
+
};
|
|
5648
|
+
path?: never;
|
|
5649
|
+
query?: {
|
|
5650
|
+
directory?: string;
|
|
5651
|
+
workspace?: string;
|
|
5652
|
+
};
|
|
5653
|
+
url: "/sync/steal";
|
|
5654
|
+
};
|
|
5655
|
+
export type SyncStealErrors = {
|
|
5656
|
+
/**
|
|
5657
|
+
* Bad request
|
|
5658
|
+
*/
|
|
5659
|
+
400: BadRequestError;
|
|
5660
|
+
};
|
|
5661
|
+
export type SyncStealError = SyncStealErrors[keyof SyncStealErrors];
|
|
5662
|
+
export type SyncStealResponses = {
|
|
5663
|
+
/**
|
|
5664
|
+
* Session stolen into workspace
|
|
5665
|
+
*/
|
|
5666
|
+
200: {
|
|
5667
|
+
sessionID: string;
|
|
5668
|
+
};
|
|
5669
|
+
};
|
|
5670
|
+
export type SyncStealResponse = SyncStealResponses[keyof SyncStealResponses];
|
|
5543
5671
|
export type SyncHistoryListData = {
|
|
5544
5672
|
body?: {
|
|
5545
5673
|
[key: string]: number;
|
|
@@ -5906,7 +6034,7 @@ export type TuiSelectSessionErrors = {
|
|
|
5906
6034
|
*/
|
|
5907
6035
|
400: BadRequestError;
|
|
5908
6036
|
/**
|
|
5909
|
-
*
|
|
6037
|
+
* NotFoundError
|
|
5910
6038
|
*/
|
|
5911
6039
|
404: NotFoundError;
|
|
5912
6040
|
};
|
|
@@ -6061,35 +6189,167 @@ export type ExperimentalWorkspaceRemoveResponses = {
|
|
|
6061
6189
|
200: Workspace;
|
|
6062
6190
|
};
|
|
6063
6191
|
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
6064
|
-
export type
|
|
6192
|
+
export type ExperimentalWorkspaceWarpData = {
|
|
6065
6193
|
body?: {
|
|
6194
|
+
id: string | null;
|
|
6066
6195
|
sessionID: string;
|
|
6196
|
+
copyChanges?: boolean;
|
|
6197
|
+
};
|
|
6198
|
+
path?: never;
|
|
6199
|
+
query?: {
|
|
6200
|
+
directory?: string;
|
|
6201
|
+
workspace?: string;
|
|
6067
6202
|
};
|
|
6203
|
+
url: "/experimental/workspace/warp";
|
|
6204
|
+
};
|
|
6205
|
+
export type ExperimentalWorkspaceWarpErrors = {
|
|
6206
|
+
/**
|
|
6207
|
+
* WorkspaceWarpError | VcsApplyError
|
|
6208
|
+
*/
|
|
6209
|
+
400: WorkspaceWarpError | VcsApplyError;
|
|
6210
|
+
};
|
|
6211
|
+
export type ExperimentalWorkspaceWarpError = ExperimentalWorkspaceWarpErrors[keyof ExperimentalWorkspaceWarpErrors];
|
|
6212
|
+
export type ExperimentalWorkspaceWarpResponses = {
|
|
6213
|
+
/**
|
|
6214
|
+
* Session warped
|
|
6215
|
+
*/
|
|
6216
|
+
204: void;
|
|
6217
|
+
};
|
|
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;
|
|
6068
6237
|
path: {
|
|
6069
|
-
|
|
6238
|
+
processID: string;
|
|
6070
6239
|
};
|
|
6071
6240
|
query?: {
|
|
6072
6241
|
directory?: string;
|
|
6073
6242
|
workspace?: string;
|
|
6074
6243
|
};
|
|
6075
|
-
url: "/
|
|
6244
|
+
url: "/background-process/{processID}";
|
|
6076
6245
|
};
|
|
6077
|
-
export type
|
|
6246
|
+
export type BackgroundProcessGetErrors = {
|
|
6078
6247
|
/**
|
|
6079
|
-
*
|
|
6248
|
+
* Not found
|
|
6080
6249
|
*/
|
|
6081
|
-
|
|
6250
|
+
404: NotFoundError;
|
|
6082
6251
|
};
|
|
6083
|
-
export type
|
|
6084
|
-
export type
|
|
6252
|
+
export type BackgroundProcessGetError = BackgroundProcessGetErrors[keyof BackgroundProcessGetErrors];
|
|
6253
|
+
export type BackgroundProcessGetResponses = {
|
|
6085
6254
|
/**
|
|
6086
|
-
*
|
|
6255
|
+
* Background process info
|
|
6087
6256
|
*/
|
|
6088
|
-
200:
|
|
6089
|
-
|
|
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;
|
|
6090
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;
|
|
6091
6351
|
};
|
|
6092
|
-
export type
|
|
6352
|
+
export type BackgroundProcessStopSessionResponse = BackgroundProcessStopSessionResponses[keyof BackgroundProcessStopSessionResponses];
|
|
6093
6353
|
export type CommitMessageGenerateData = {
|
|
6094
6354
|
body?: {
|
|
6095
6355
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@kilocode/sdk",
|
|
4
|
-
"version": "7.3.
|
|
4
|
+
"version": "7.3.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"scripts": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@hey-api/openapi-ts": "0.90.10",
|
|
46
46
|
"@tsconfig/node22": "22.0.2",
|
|
47
47
|
"@types/cross-spawn": "6.0.6",
|
|
48
|
-
"@types/node": "
|
|
48
|
+
"@types/node": "24.12.2",
|
|
49
49
|
"@typescript/native-preview": "7.0.0-dev.20260316.1",
|
|
50
50
|
"typescript": "5.8.2"
|
|
51
51
|
},
|