@kilocode/sdk 7.3.54 → 7.3.63
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/gen/types.gen.d.ts +8 -0
- package/dist/v2/gen/sdk.gen.d.ts +176 -1
- package/dist/v2/gen/sdk.gen.js +384 -0
- package/dist/v2/gen/types.gen.d.ts +942 -61
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventInstallationUpdated | EventInstallationUpdateAvailable | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | 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 | EventPluginAdded | EventCatalogModelUpdated | EventModelsDevRefreshed | EventAccountAdded | EventAccountRemoved | EventAccountSwitched;
|
|
4
|
+
export type Event = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventSandboxStatusChanged | EventKilocodeAgentManagerStart | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventInstallationUpdated | EventInstallationUpdateAvailable | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | 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 | EventPluginAdded | EventCatalogModelUpdated | EventModelsDevRefreshed | EventAccountAdded | EventAccountRemoved | EventAccountSwitched;
|
|
5
5
|
export type OAuth = {
|
|
6
6
|
type: "oauth";
|
|
7
7
|
refresh: string;
|
|
@@ -66,6 +66,58 @@ export type EventTuiSessionSelect = {
|
|
|
66
66
|
sessionID: string;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
|
+
export type NotebookRequestId = string;
|
|
70
|
+
export type NotebookReadRequest = {
|
|
71
|
+
id: NotebookRequestId;
|
|
72
|
+
sessionID: string;
|
|
73
|
+
path: string;
|
|
74
|
+
operation: "read";
|
|
75
|
+
includeOutputs: boolean;
|
|
76
|
+
};
|
|
77
|
+
export type NotebookEditRequest = {
|
|
78
|
+
id: NotebookRequestId;
|
|
79
|
+
sessionID: string;
|
|
80
|
+
path: string;
|
|
81
|
+
operation: "edit";
|
|
82
|
+
/**
|
|
83
|
+
* Opaque notebook content revision; pass it back unchanged and do not parse or increment it
|
|
84
|
+
*/
|
|
85
|
+
expectedRevision?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Zero-based cell index
|
|
88
|
+
*/
|
|
89
|
+
index: number;
|
|
90
|
+
edit: {
|
|
91
|
+
action: "insert";
|
|
92
|
+
kind: "code" | "markdown";
|
|
93
|
+
language?: string;
|
|
94
|
+
source: string;
|
|
95
|
+
} | {
|
|
96
|
+
action: "replace";
|
|
97
|
+
kind: "code" | "markdown";
|
|
98
|
+
language?: string;
|
|
99
|
+
source: string;
|
|
100
|
+
} | {
|
|
101
|
+
action: "delete";
|
|
102
|
+
} | {
|
|
103
|
+
action: "create";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export type NotebookExecuteRequest = {
|
|
107
|
+
id: NotebookRequestId;
|
|
108
|
+
sessionID: string;
|
|
109
|
+
path: string;
|
|
110
|
+
operation: "execute";
|
|
111
|
+
/**
|
|
112
|
+
* Opaque notebook content revision; pass it back unchanged and do not parse or increment it
|
|
113
|
+
*/
|
|
114
|
+
expectedRevision: string;
|
|
115
|
+
/**
|
|
116
|
+
* Zero-based cell index
|
|
117
|
+
*/
|
|
118
|
+
index: number;
|
|
119
|
+
};
|
|
120
|
+
export type NotebookRequest = NotebookReadRequest | NotebookEditRequest | NotebookExecuteRequest;
|
|
69
121
|
export type IndexingStatusState = "Disabled" | "In Progress" | "Complete" | "Error" | "Standby";
|
|
70
122
|
export type IndexingStatus = {
|
|
71
123
|
state: IndexingStatusState;
|
|
@@ -166,6 +218,7 @@ export type BackgroundProcessInfo = {
|
|
|
166
218
|
description?: string;
|
|
167
219
|
ports: Array<number>;
|
|
168
220
|
status: "starting" | "running" | "ready" | "exited" | "failed" | "stopping" | "stopped";
|
|
221
|
+
lifetime: "session" | "parent" | "persistent";
|
|
169
222
|
ready: boolean;
|
|
170
223
|
exitCode?: number;
|
|
171
224
|
signal?: string;
|
|
@@ -176,6 +229,25 @@ export type BackgroundProcessInfo = {
|
|
|
176
229
|
ended?: number;
|
|
177
230
|
};
|
|
178
231
|
};
|
|
232
|
+
export type InteractiveTerminalInfo = {
|
|
233
|
+
id: string;
|
|
234
|
+
sessionID: string;
|
|
235
|
+
pid: number;
|
|
236
|
+
command: string;
|
|
237
|
+
cwd: string;
|
|
238
|
+
description?: string;
|
|
239
|
+
status: "running" | "closed";
|
|
240
|
+
cols: number;
|
|
241
|
+
rows: number;
|
|
242
|
+
exitCode?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
243
|
+
signal?: string;
|
|
244
|
+
closedBy?: "exit" | "user" | "abort";
|
|
245
|
+
time: {
|
|
246
|
+
started: number;
|
|
247
|
+
updated: number;
|
|
248
|
+
ended?: number;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
179
251
|
export type SnapshotFileDiff = {
|
|
180
252
|
file?: string;
|
|
181
253
|
patch?: string;
|
|
@@ -238,6 +310,29 @@ export type ApiError = {
|
|
|
238
310
|
};
|
|
239
311
|
};
|
|
240
312
|
};
|
|
313
|
+
export type AgentRequirementError = {
|
|
314
|
+
name: "AgentRequirementError";
|
|
315
|
+
data: {
|
|
316
|
+
message: string;
|
|
317
|
+
agent: string;
|
|
318
|
+
directory: string;
|
|
319
|
+
state: "blocked" | "error";
|
|
320
|
+
skills: Array<{
|
|
321
|
+
name: string;
|
|
322
|
+
status: "ready" | "missing" | "error";
|
|
323
|
+
message?: string;
|
|
324
|
+
}>;
|
|
325
|
+
mcps: Array<{
|
|
326
|
+
name: string;
|
|
327
|
+
status: "ready" | "missing" | "error";
|
|
328
|
+
message?: string;
|
|
329
|
+
}>;
|
|
330
|
+
vscode_extensions: Array<{
|
|
331
|
+
name: string;
|
|
332
|
+
id: string;
|
|
333
|
+
}>;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
241
336
|
export type Todo = {
|
|
242
337
|
/**
|
|
243
338
|
* Brief description of the task
|
|
@@ -572,6 +667,10 @@ export type StepFinishPart = {
|
|
|
572
667
|
type: "step-finish";
|
|
573
668
|
reason: string;
|
|
574
669
|
snapshot?: string;
|
|
670
|
+
model?: {
|
|
671
|
+
providerID: string;
|
|
672
|
+
modelID: string;
|
|
673
|
+
};
|
|
575
674
|
cost: number;
|
|
576
675
|
tokens: {
|
|
577
676
|
total?: number;
|
|
@@ -707,7 +806,7 @@ export type GlobalEvent = {
|
|
|
707
806
|
directory: string;
|
|
708
807
|
project?: string;
|
|
709
808
|
workspace?: string;
|
|
710
|
-
payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventInstallationUpdated | EventInstallationUpdateAvailable | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | 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 | EventPluginAdded | EventCatalogModelUpdated | EventModelsDevRefreshed | EventAccountAdded | EventAccountRemoved | EventAccountSwitched | 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;
|
|
809
|
+
payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventSandboxStatusChanged | EventKilocodeAgentManagerStart | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventInstallationUpdated | EventInstallationUpdateAvailable | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | 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 | EventPluginAdded | EventCatalogModelUpdated | EventModelsDevRefreshed | EventAccountAdded | EventAccountRemoved | EventAccountSwitched | 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;
|
|
711
810
|
};
|
|
712
811
|
/**
|
|
713
812
|
* Log level
|
|
@@ -815,6 +914,9 @@ export type PermissionConfig = PermissionActionConfig | {
|
|
|
815
914
|
doom_loop?: PermissionActionConfig;
|
|
816
915
|
skill?: PermissionRuleConfig;
|
|
817
916
|
agent_manager?: PermissionRuleConfig;
|
|
917
|
+
notebook_read?: PermissionRuleConfig;
|
|
918
|
+
notebook_edit?: PermissionRuleConfig;
|
|
919
|
+
notebook_execute?: PermissionRuleConfig;
|
|
818
920
|
[key: string]: PermissionRuleConfig | PermissionActionConfig | undefined;
|
|
819
921
|
};
|
|
820
922
|
export type AgentConfig = {
|
|
@@ -829,6 +931,8 @@ export type AgentConfig = {
|
|
|
829
931
|
disable?: boolean;
|
|
830
932
|
description?: string;
|
|
831
933
|
mode?: "subagent" | "primary" | "all";
|
|
934
|
+
displayName?: string;
|
|
935
|
+
source?: string;
|
|
832
936
|
hidden?: boolean;
|
|
833
937
|
options?: {
|
|
834
938
|
[key: string]: unknown;
|
|
@@ -840,11 +944,26 @@ export type AgentConfig = {
|
|
|
840
944
|
steps?: number;
|
|
841
945
|
maxSteps?: number;
|
|
842
946
|
permission?: PermissionConfig;
|
|
947
|
+
requirements?: {
|
|
948
|
+
skills?: Array<string>;
|
|
949
|
+
mcps?: Array<string>;
|
|
950
|
+
vscode_extensions?: Array<{
|
|
951
|
+
name: string;
|
|
952
|
+
id: string;
|
|
953
|
+
}>;
|
|
954
|
+
};
|
|
843
955
|
[key: string]: unknown | string | number | {
|
|
844
956
|
[key: string]: boolean;
|
|
845
957
|
} | boolean | "subagent" | "primary" | "all" | {
|
|
846
958
|
[key: string]: unknown;
|
|
847
|
-
} | string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info" | number | PermissionConfig |
|
|
959
|
+
} | string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info" | number | PermissionConfig | {
|
|
960
|
+
skills?: Array<string>;
|
|
961
|
+
mcps?: Array<string>;
|
|
962
|
+
vscode_extensions?: Array<{
|
|
963
|
+
name: string;
|
|
964
|
+
id: string;
|
|
965
|
+
}>;
|
|
966
|
+
} | undefined;
|
|
848
967
|
};
|
|
849
968
|
export type ProviderConfig = {
|
|
850
969
|
api?: string;
|
|
@@ -1131,10 +1250,14 @@ export type Config = {
|
|
|
1131
1250
|
disable_paste_summary?: boolean;
|
|
1132
1251
|
batch_tool?: boolean;
|
|
1133
1252
|
codebase_search?: boolean;
|
|
1253
|
+
agent_requirements?: boolean;
|
|
1254
|
+
native_notebook_tools?: boolean;
|
|
1134
1255
|
speech_to_text_model?: string;
|
|
1135
1256
|
openTelemetry?: boolean;
|
|
1136
1257
|
primary_tools?: Array<string>;
|
|
1137
1258
|
continue_loop_on_deny?: boolean;
|
|
1259
|
+
sandbox?: boolean;
|
|
1260
|
+
sandbox_restrict_network?: boolean;
|
|
1138
1261
|
mcp_timeout?: number;
|
|
1139
1262
|
policies?: Array<ConfigV2ExperimentalPolicy>;
|
|
1140
1263
|
};
|
|
@@ -1227,6 +1350,9 @@ export type Model = {
|
|
|
1227
1350
|
overallScore: number;
|
|
1228
1351
|
avgAttemptCostUsd: number;
|
|
1229
1352
|
};
|
|
1353
|
+
autoRouting?: {
|
|
1354
|
+
models: Array<string>;
|
|
1355
|
+
};
|
|
1230
1356
|
ai_sdk_provider?: "alibaba" | "anthropic" | "mistral" | "openai" | "openai-compatible" | "openrouter";
|
|
1231
1357
|
};
|
|
1232
1358
|
export type Provider = {
|
|
@@ -1456,6 +1582,7 @@ export type Command = {
|
|
|
1456
1582
|
export type Agent = {
|
|
1457
1583
|
name: string;
|
|
1458
1584
|
displayName?: string;
|
|
1585
|
+
source?: string;
|
|
1459
1586
|
description?: string;
|
|
1460
1587
|
deprecated?: boolean;
|
|
1461
1588
|
mode: "subagent" | "primary" | "all";
|
|
@@ -1474,6 +1601,14 @@ export type Agent = {
|
|
|
1474
1601
|
options: {
|
|
1475
1602
|
[key: string]: unknown;
|
|
1476
1603
|
};
|
|
1604
|
+
requirements?: {
|
|
1605
|
+
skills?: Array<string>;
|
|
1606
|
+
mcps?: Array<string>;
|
|
1607
|
+
vscode_extensions?: Array<{
|
|
1608
|
+
name: string;
|
|
1609
|
+
id: string;
|
|
1610
|
+
}>;
|
|
1611
|
+
};
|
|
1477
1612
|
steps?: number;
|
|
1478
1613
|
};
|
|
1479
1614
|
export type LspStatus = {
|
|
@@ -1882,12 +2017,175 @@ export type KiloEmbeddingModelCatalog = {
|
|
|
1882
2017
|
[key: string]: string;
|
|
1883
2018
|
};
|
|
1884
2019
|
};
|
|
2020
|
+
export type InteractiveTerminalSnapshot = {
|
|
2021
|
+
info: InteractiveTerminalInfo;
|
|
2022
|
+
output: string;
|
|
2023
|
+
cursor: number;
|
|
2024
|
+
};
|
|
2025
|
+
export type InteractiveTerminalWriteInput = {
|
|
2026
|
+
data: string;
|
|
2027
|
+
};
|
|
2028
|
+
export type InteractiveTerminalResizeInput = {
|
|
2029
|
+
cols: number;
|
|
2030
|
+
rows: number;
|
|
2031
|
+
};
|
|
1885
2032
|
export type EffectHttpApiErrorUnauthorized = {
|
|
1886
2033
|
_tag: "Unauthorized";
|
|
1887
2034
|
};
|
|
1888
2035
|
export type EffectHttpApiErrorServiceUnavailable = {
|
|
1889
2036
|
_tag: "ServiceUnavailable";
|
|
1890
2037
|
};
|
|
2038
|
+
export type AgentRequirementResult = {
|
|
2039
|
+
agent: string;
|
|
2040
|
+
directory: string;
|
|
2041
|
+
enabled: boolean;
|
|
2042
|
+
state: "disabled" | "ready" | "blocked" | "error";
|
|
2043
|
+
skills: Array<{
|
|
2044
|
+
name: string;
|
|
2045
|
+
status: "ready" | "missing" | "error";
|
|
2046
|
+
message?: string;
|
|
2047
|
+
}>;
|
|
2048
|
+
mcps: Array<{
|
|
2049
|
+
name: string;
|
|
2050
|
+
status: "ready" | "missing" | "error";
|
|
2051
|
+
message?: string;
|
|
2052
|
+
}>;
|
|
2053
|
+
vscode_extensions: Array<{
|
|
2054
|
+
name: string;
|
|
2055
|
+
id: string;
|
|
2056
|
+
}>;
|
|
2057
|
+
error?: {
|
|
2058
|
+
code: "unknown_agent" | "malformed_declaration" | "discovery_failed" | "mcp_status_failed";
|
|
2059
|
+
message: string;
|
|
2060
|
+
};
|
|
2061
|
+
};
|
|
2062
|
+
export type NotebookOutput = {
|
|
2063
|
+
mime: string;
|
|
2064
|
+
text?: string;
|
|
2065
|
+
name?: string;
|
|
2066
|
+
message?: string;
|
|
2067
|
+
stack?: string;
|
|
2068
|
+
omitted?: boolean;
|
|
2069
|
+
truncated?: boolean;
|
|
2070
|
+
};
|
|
2071
|
+
export type NotebookCell = {
|
|
2072
|
+
/**
|
|
2073
|
+
* Zero-based cell index
|
|
2074
|
+
*/
|
|
2075
|
+
index: number;
|
|
2076
|
+
kind: "code" | "markdown";
|
|
2077
|
+
language: string;
|
|
2078
|
+
source: string;
|
|
2079
|
+
execution?: {
|
|
2080
|
+
order?: number;
|
|
2081
|
+
success?: boolean;
|
|
2082
|
+
started?: number;
|
|
2083
|
+
ended?: number;
|
|
2084
|
+
};
|
|
2085
|
+
outputs?: Array<NotebookOutput>;
|
|
2086
|
+
};
|
|
2087
|
+
export type NotebookReadResult = {
|
|
2088
|
+
operation: "read";
|
|
2089
|
+
path: string;
|
|
2090
|
+
requestPath: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* Opaque notebook content revision; pass it back unchanged and do not parse or increment it
|
|
2093
|
+
*/
|
|
2094
|
+
revision: string;
|
|
2095
|
+
cells: Array<NotebookCell>;
|
|
2096
|
+
truncated?: boolean;
|
|
2097
|
+
};
|
|
2098
|
+
export type NotebookEditResult = {
|
|
2099
|
+
operation: "edit";
|
|
2100
|
+
path: string;
|
|
2101
|
+
requestPath: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* Opaque notebook content revision; pass it back unchanged and do not parse or increment it
|
|
2104
|
+
*/
|
|
2105
|
+
revision: string;
|
|
2106
|
+
/**
|
|
2107
|
+
* Zero-based cell index
|
|
2108
|
+
*/
|
|
2109
|
+
index: number;
|
|
2110
|
+
action: "insert" | "replace" | "delete" | "create";
|
|
2111
|
+
cell?: NotebookCell;
|
|
2112
|
+
};
|
|
2113
|
+
export type NotebookExecuteResult = {
|
|
2114
|
+
operation: "execute";
|
|
2115
|
+
path: string;
|
|
2116
|
+
requestPath: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Opaque notebook content revision; pass it back unchanged and do not parse or increment it
|
|
2119
|
+
*/
|
|
2120
|
+
revision: string;
|
|
2121
|
+
/**
|
|
2122
|
+
* Zero-based cell index
|
|
2123
|
+
*/
|
|
2124
|
+
index: number;
|
|
2125
|
+
status: "success" | "error";
|
|
2126
|
+
outputs: Array<NotebookOutput>;
|
|
2127
|
+
truncated?: boolean;
|
|
2128
|
+
};
|
|
2129
|
+
export type NotebookResult = NotebookReadResult | NotebookEditResult | NotebookExecuteResult;
|
|
2130
|
+
export type NotebookFailure = {
|
|
2131
|
+
code: "already_exists" | "cancelled" | "closed" | "disconnected" | "execution_failed" | "invalid_cell" | "invalid_path" | "no_kernel" | "not_found" | "stale_revision" | "timeout" | "unsupported";
|
|
2132
|
+
message: string;
|
|
2133
|
+
path?: string;
|
|
2134
|
+
/**
|
|
2135
|
+
* Zero-based cell index
|
|
2136
|
+
*/
|
|
2137
|
+
index?: number;
|
|
2138
|
+
/**
|
|
2139
|
+
* Opaque notebook content revision; pass it back unchanged and do not parse or increment it
|
|
2140
|
+
*/
|
|
2141
|
+
currentRevision?: string;
|
|
2142
|
+
};
|
|
2143
|
+
export type AnacondaDesktopStatus = {
|
|
2144
|
+
type: "unsupported-platform";
|
|
2145
|
+
platform: string;
|
|
2146
|
+
} | {
|
|
2147
|
+
type: "not-installed";
|
|
2148
|
+
downloadURL: string;
|
|
2149
|
+
} | {
|
|
2150
|
+
type: "not-running";
|
|
2151
|
+
} | {
|
|
2152
|
+
type: "invalid-config";
|
|
2153
|
+
reason: "missing" | "malformed" | "missing-key" | "invalid-port";
|
|
2154
|
+
} | {
|
|
2155
|
+
type: "signed-out";
|
|
2156
|
+
} | {
|
|
2157
|
+
type: "management-unauthorized";
|
|
2158
|
+
} | {
|
|
2159
|
+
type: "management-unavailable";
|
|
2160
|
+
reason: "timeout" | "unexpected-response";
|
|
2161
|
+
} | {
|
|
2162
|
+
type: "no-downloaded-model";
|
|
2163
|
+
} | {
|
|
2164
|
+
type: "no-running-server";
|
|
2165
|
+
downloadedModels: number;
|
|
2166
|
+
} | {
|
|
2167
|
+
type: "inference-unhealthy";
|
|
2168
|
+
serverID: string;
|
|
2169
|
+
} | {
|
|
2170
|
+
type: "ready";
|
|
2171
|
+
serverID: string;
|
|
2172
|
+
serverName?: string;
|
|
2173
|
+
models: Array<{
|
|
2174
|
+
id: string;
|
|
2175
|
+
name: string;
|
|
2176
|
+
}>;
|
|
2177
|
+
context: number;
|
|
2178
|
+
toolcall: "supported" | "unsupported" | "unknown";
|
|
2179
|
+
};
|
|
2180
|
+
export type AnacondaDesktopConflictError = {
|
|
2181
|
+
code: "unsupported-platform" | "not-installed" | "not-ready" | "acknowledgement-required";
|
|
2182
|
+
message: string;
|
|
2183
|
+
status?: AnacondaDesktopStatus;
|
|
2184
|
+
};
|
|
2185
|
+
export type AnacondaDesktopOperationError = {
|
|
2186
|
+
operation: "open" | "sync";
|
|
2187
|
+
message: string;
|
|
2188
|
+
};
|
|
1891
2189
|
export type KilocodeSessionImportResult = {
|
|
1892
2190
|
ok: boolean;
|
|
1893
2191
|
id: string;
|
|
@@ -1896,6 +2194,25 @@ export type KilocodeSessionImportResult = {
|
|
|
1896
2194
|
export type EffectHttpApiErrorForbidden = {
|
|
1897
2195
|
_tag: "Forbidden";
|
|
1898
2196
|
};
|
|
2197
|
+
export type InteractiveTerminalInfo1 = {
|
|
2198
|
+
id: string;
|
|
2199
|
+
sessionID: string;
|
|
2200
|
+
pid: number;
|
|
2201
|
+
command: string;
|
|
2202
|
+
cwd: string;
|
|
2203
|
+
description?: string;
|
|
2204
|
+
status: "running" | "closed";
|
|
2205
|
+
cols: number;
|
|
2206
|
+
rows: number;
|
|
2207
|
+
exitCode?: number | "NaN" | "Infinity" | "-Infinity";
|
|
2208
|
+
signal?: string;
|
|
2209
|
+
closedBy?: "exit" | "user" | "abort";
|
|
2210
|
+
time: {
|
|
2211
|
+
started: number;
|
|
2212
|
+
updated: number;
|
|
2213
|
+
ended?: number;
|
|
2214
|
+
};
|
|
2215
|
+
};
|
|
1899
2216
|
export type SyncEventMessageUpdated = {
|
|
1900
2217
|
type: "sync";
|
|
1901
2218
|
name: "message.updated.1";
|
|
@@ -2419,6 +2736,18 @@ export type EventGlobalConfigUpdated = {
|
|
|
2419
2736
|
[key: string]: unknown;
|
|
2420
2737
|
};
|
|
2421
2738
|
};
|
|
2739
|
+
export type EventSandboxStatusChanged = {
|
|
2740
|
+
id: string;
|
|
2741
|
+
type: "sandbox.status.changed";
|
|
2742
|
+
properties: {
|
|
2743
|
+
sessionID: string;
|
|
2744
|
+
directory: string;
|
|
2745
|
+
enabled: boolean;
|
|
2746
|
+
available: boolean;
|
|
2747
|
+
reason?: string;
|
|
2748
|
+
version: number;
|
|
2749
|
+
};
|
|
2750
|
+
};
|
|
2422
2751
|
export type EventKilocodeAgentManagerStart = {
|
|
2423
2752
|
id: string;
|
|
2424
2753
|
type: "kilocode.agent_manager.start";
|
|
@@ -2431,9 +2760,28 @@ export type EventKilocodeAgentManagerStart = {
|
|
|
2431
2760
|
prompt?: string;
|
|
2432
2761
|
name?: string;
|
|
2433
2762
|
branchName?: string;
|
|
2763
|
+
model?: {
|
|
2764
|
+
providerID: string;
|
|
2765
|
+
modelID: string;
|
|
2766
|
+
};
|
|
2767
|
+
variant?: string;
|
|
2434
2768
|
}>;
|
|
2435
2769
|
};
|
|
2436
2770
|
};
|
|
2771
|
+
export type EventKilocodeNotebookRequested = {
|
|
2772
|
+
id: string;
|
|
2773
|
+
type: "kilocode.notebook.requested";
|
|
2774
|
+
properties: NotebookRequest;
|
|
2775
|
+
};
|
|
2776
|
+
export type EventKilocodeNotebookCancelled = {
|
|
2777
|
+
id: string;
|
|
2778
|
+
type: "kilocode.notebook.cancelled";
|
|
2779
|
+
properties: {
|
|
2780
|
+
requestID: NotebookRequestId;
|
|
2781
|
+
sessionID: string;
|
|
2782
|
+
reason: "cancelled" | "disposed" | "timeout";
|
|
2783
|
+
};
|
|
2784
|
+
};
|
|
2437
2785
|
export type EventIndexingStatus = {
|
|
2438
2786
|
id: string;
|
|
2439
2787
|
type: "indexing.status";
|
|
@@ -2573,6 +2921,7 @@ export type EventBackgroundProcessUpdated = {
|
|
|
2573
2921
|
type: "background_process.updated";
|
|
2574
2922
|
properties: {
|
|
2575
2923
|
info: BackgroundProcessInfo;
|
|
2924
|
+
scope: string;
|
|
2576
2925
|
};
|
|
2577
2926
|
};
|
|
2578
2927
|
export type EventBackgroundProcessDeleted = {
|
|
@@ -2581,6 +2930,32 @@ export type EventBackgroundProcessDeleted = {
|
|
|
2581
2930
|
properties: {
|
|
2582
2931
|
sessionID: string;
|
|
2583
2932
|
processID: string;
|
|
2933
|
+
scope: string;
|
|
2934
|
+
};
|
|
2935
|
+
};
|
|
2936
|
+
export type EventInteractiveTerminalUpdated = {
|
|
2937
|
+
id: string;
|
|
2938
|
+
type: "interactive_terminal.updated";
|
|
2939
|
+
properties: {
|
|
2940
|
+
info: InteractiveTerminalInfo;
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
export type EventInteractiveTerminalData = {
|
|
2944
|
+
id: string;
|
|
2945
|
+
type: "interactive_terminal.data";
|
|
2946
|
+
properties: {
|
|
2947
|
+
terminalID: string;
|
|
2948
|
+
sessionID: string;
|
|
2949
|
+
data: string;
|
|
2950
|
+
cursor: number;
|
|
2951
|
+
};
|
|
2952
|
+
};
|
|
2953
|
+
export type EventInteractiveTerminalDeleted = {
|
|
2954
|
+
id: string;
|
|
2955
|
+
type: "interactive_terminal.deleted";
|
|
2956
|
+
properties: {
|
|
2957
|
+
terminalID: string;
|
|
2958
|
+
sessionID: string;
|
|
2584
2959
|
};
|
|
2585
2960
|
};
|
|
2586
2961
|
export type EventSessionTurnOpen = {
|
|
@@ -2612,7 +2987,7 @@ export type EventSessionError = {
|
|
|
2612
2987
|
type: "session.error";
|
|
2613
2988
|
properties: {
|
|
2614
2989
|
sessionID?: string;
|
|
2615
|
-
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ApiError;
|
|
2990
|
+
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ApiError | AgentRequirementError;
|
|
2616
2991
|
};
|
|
2617
2992
|
};
|
|
2618
2993
|
export type EventTodoUpdated = {
|
|
@@ -8319,100 +8694,245 @@ export type IndexingModelsResponses = {
|
|
|
8319
8694
|
200: KiloEmbeddingModelCatalog;
|
|
8320
8695
|
};
|
|
8321
8696
|
export type IndexingModelsResponse = IndexingModelsResponses[keyof IndexingModelsResponses];
|
|
8322
|
-
export type
|
|
8697
|
+
export type InteractiveTerminalListData = {
|
|
8323
8698
|
body?: never;
|
|
8324
8699
|
path?: never;
|
|
8325
8700
|
query?: {
|
|
8326
8701
|
directory?: string;
|
|
8327
8702
|
workspace?: string;
|
|
8328
8703
|
};
|
|
8329
|
-
url: "/
|
|
8704
|
+
url: "/interactive-terminal";
|
|
8330
8705
|
};
|
|
8331
|
-
export type
|
|
8706
|
+
export type InteractiveTerminalListErrors = {
|
|
8332
8707
|
/**
|
|
8333
|
-
*
|
|
8708
|
+
* Bad request
|
|
8334
8709
|
*/
|
|
8335
|
-
400:
|
|
8710
|
+
400: BadRequestError;
|
|
8336
8711
|
};
|
|
8337
|
-
export type
|
|
8338
|
-
export type
|
|
8712
|
+
export type InteractiveTerminalListError = InteractiveTerminalListErrors[keyof InteractiveTerminalListErrors];
|
|
8713
|
+
export type InteractiveTerminalListResponses = {
|
|
8339
8714
|
/**
|
|
8340
|
-
*
|
|
8715
|
+
* List of interactive terminals
|
|
8341
8716
|
*/
|
|
8342
|
-
200:
|
|
8343
|
-
profile: {
|
|
8344
|
-
email: string;
|
|
8345
|
-
name?: string;
|
|
8346
|
-
organizations?: Array<{
|
|
8347
|
-
id: string;
|
|
8348
|
-
name: string;
|
|
8349
|
-
role: string;
|
|
8350
|
-
}>;
|
|
8351
|
-
};
|
|
8352
|
-
balance: {
|
|
8353
|
-
balance: number;
|
|
8354
|
-
} | null;
|
|
8355
|
-
currentOrgId: string | null;
|
|
8356
|
-
};
|
|
8717
|
+
200: Array<InteractiveTerminalSnapshot>;
|
|
8357
8718
|
};
|
|
8358
|
-
export type
|
|
8359
|
-
export type
|
|
8719
|
+
export type InteractiveTerminalListResponse = InteractiveTerminalListResponses[keyof InteractiveTerminalListResponses];
|
|
8720
|
+
export type InteractiveTerminalGetData = {
|
|
8360
8721
|
body?: never;
|
|
8361
|
-
path
|
|
8722
|
+
path: {
|
|
8723
|
+
terminalID: string;
|
|
8724
|
+
};
|
|
8362
8725
|
query?: {
|
|
8363
8726
|
directory?: string;
|
|
8364
8727
|
workspace?: string;
|
|
8365
8728
|
};
|
|
8366
|
-
url: "/
|
|
8729
|
+
url: "/interactive-terminal/{terminalID}";
|
|
8367
8730
|
};
|
|
8368
|
-
export type
|
|
8731
|
+
export type InteractiveTerminalGetErrors = {
|
|
8369
8732
|
/**
|
|
8370
|
-
*
|
|
8733
|
+
* Bad request
|
|
8371
8734
|
*/
|
|
8372
|
-
400:
|
|
8735
|
+
400: BadRequestError;
|
|
8736
|
+
/**
|
|
8737
|
+
* Not found
|
|
8738
|
+
*/
|
|
8739
|
+
404: NotFoundError;
|
|
8373
8740
|
};
|
|
8374
|
-
export type
|
|
8375
|
-
export type
|
|
8741
|
+
export type InteractiveTerminalGetError = InteractiveTerminalGetErrors[keyof InteractiveTerminalGetErrors];
|
|
8742
|
+
export type InteractiveTerminalGetResponses = {
|
|
8376
8743
|
/**
|
|
8377
|
-
*
|
|
8744
|
+
* Interactive terminal snapshot
|
|
8378
8745
|
*/
|
|
8379
|
-
200:
|
|
8380
|
-
authenticated: boolean;
|
|
8381
|
-
type?: "api" | "oauth";
|
|
8382
|
-
};
|
|
8746
|
+
200: InteractiveTerminalSnapshot;
|
|
8383
8747
|
};
|
|
8384
|
-
export type
|
|
8385
|
-
export type
|
|
8386
|
-
body?:
|
|
8387
|
-
path
|
|
8748
|
+
export type InteractiveTerminalGetResponse = InteractiveTerminalGetResponses[keyof InteractiveTerminalGetResponses];
|
|
8749
|
+
export type InteractiveTerminalWriteData = {
|
|
8750
|
+
body?: InteractiveTerminalWriteInput;
|
|
8751
|
+
path: {
|
|
8752
|
+
terminalID: string;
|
|
8753
|
+
};
|
|
8388
8754
|
query?: {
|
|
8389
8755
|
directory?: string;
|
|
8390
8756
|
workspace?: string;
|
|
8391
8757
|
};
|
|
8392
|
-
url: "/
|
|
8758
|
+
url: "/interactive-terminal/{terminalID}/input";
|
|
8393
8759
|
};
|
|
8394
|
-
export type
|
|
8760
|
+
export type InteractiveTerminalWriteErrors = {
|
|
8395
8761
|
/**
|
|
8396
8762
|
* Bad request
|
|
8397
8763
|
*/
|
|
8398
8764
|
400: BadRequestError;
|
|
8765
|
+
/**
|
|
8766
|
+
* Not found
|
|
8767
|
+
*/
|
|
8768
|
+
404: NotFoundError;
|
|
8399
8769
|
};
|
|
8400
|
-
export type
|
|
8401
|
-
export type
|
|
8770
|
+
export type InteractiveTerminalWriteError = InteractiveTerminalWriteErrors[keyof InteractiveTerminalWriteErrors];
|
|
8771
|
+
export type InteractiveTerminalWriteResponses = {
|
|
8402
8772
|
/**
|
|
8403
|
-
*
|
|
8773
|
+
* Input written
|
|
8404
8774
|
*/
|
|
8405
|
-
200:
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8775
|
+
200: boolean;
|
|
8776
|
+
};
|
|
8777
|
+
export type InteractiveTerminalWriteResponse = InteractiveTerminalWriteResponses[keyof InteractiveTerminalWriteResponses];
|
|
8778
|
+
export type InteractiveTerminalResizeData = {
|
|
8779
|
+
body?: InteractiveTerminalResizeInput;
|
|
8780
|
+
path: {
|
|
8781
|
+
terminalID: string;
|
|
8782
|
+
};
|
|
8783
|
+
query?: {
|
|
8784
|
+
directory?: string;
|
|
8785
|
+
workspace?: string;
|
|
8786
|
+
};
|
|
8787
|
+
url: "/interactive-terminal/{terminalID}/resize";
|
|
8788
|
+
};
|
|
8789
|
+
export type InteractiveTerminalResizeErrors = {
|
|
8790
|
+
/**
|
|
8791
|
+
* Bad request
|
|
8792
|
+
*/
|
|
8793
|
+
400: BadRequestError;
|
|
8794
|
+
/**
|
|
8795
|
+
* Not found
|
|
8796
|
+
*/
|
|
8797
|
+
404: NotFoundError;
|
|
8798
|
+
};
|
|
8799
|
+
export type InteractiveTerminalResizeError = InteractiveTerminalResizeErrors[keyof InteractiveTerminalResizeErrors];
|
|
8800
|
+
export type InteractiveTerminalResizeResponses = {
|
|
8801
|
+
/**
|
|
8802
|
+
* Terminal resized
|
|
8803
|
+
*/
|
|
8804
|
+
200: boolean;
|
|
8805
|
+
};
|
|
8806
|
+
export type InteractiveTerminalResizeResponse = InteractiveTerminalResizeResponses[keyof InteractiveTerminalResizeResponses];
|
|
8807
|
+
export type InteractiveTerminalCloseData = {
|
|
8808
|
+
body?: never;
|
|
8809
|
+
path: {
|
|
8810
|
+
terminalID: string;
|
|
8811
|
+
};
|
|
8812
|
+
query?: {
|
|
8813
|
+
directory?: string;
|
|
8814
|
+
workspace?: string;
|
|
8815
|
+
};
|
|
8816
|
+
url: "/interactive-terminal/{terminalID}/close";
|
|
8817
|
+
};
|
|
8818
|
+
export type InteractiveTerminalCloseErrors = {
|
|
8819
|
+
/**
|
|
8820
|
+
* Bad request
|
|
8821
|
+
*/
|
|
8822
|
+
400: BadRequestError;
|
|
8823
|
+
/**
|
|
8824
|
+
* Not found
|
|
8825
|
+
*/
|
|
8826
|
+
404: NotFoundError;
|
|
8827
|
+
};
|
|
8828
|
+
export type InteractiveTerminalCloseError = InteractiveTerminalCloseErrors[keyof InteractiveTerminalCloseErrors];
|
|
8829
|
+
export type InteractiveTerminalCloseResponses = {
|
|
8830
|
+
/**
|
|
8831
|
+
* Terminal closed
|
|
8832
|
+
*/
|
|
8833
|
+
200: boolean;
|
|
8834
|
+
};
|
|
8835
|
+
export type InteractiveTerminalCloseResponse = InteractiveTerminalCloseResponses[keyof InteractiveTerminalCloseResponses];
|
|
8836
|
+
export type KiloProfileData = {
|
|
8837
|
+
body?: never;
|
|
8838
|
+
path?: never;
|
|
8839
|
+
query?: {
|
|
8840
|
+
directory?: string;
|
|
8841
|
+
workspace?: string;
|
|
8842
|
+
};
|
|
8843
|
+
url: "/kilo/profile";
|
|
8844
|
+
};
|
|
8845
|
+
export type KiloProfileErrors = {
|
|
8846
|
+
/**
|
|
8847
|
+
* BadRequest | InvalidRequestError
|
|
8848
|
+
*/
|
|
8849
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
8850
|
+
};
|
|
8851
|
+
export type KiloProfileError = KiloProfileErrors[keyof KiloProfileErrors];
|
|
8852
|
+
export type KiloProfileResponses = {
|
|
8853
|
+
/**
|
|
8854
|
+
* Profile data
|
|
8855
|
+
*/
|
|
8856
|
+
200: {
|
|
8857
|
+
profile: {
|
|
8858
|
+
email: string;
|
|
8859
|
+
name?: string;
|
|
8860
|
+
organizations?: Array<{
|
|
8861
|
+
id: string;
|
|
8862
|
+
name: string;
|
|
8863
|
+
role: string;
|
|
8864
|
+
}>;
|
|
8865
|
+
};
|
|
8866
|
+
balance: {
|
|
8867
|
+
balance: number;
|
|
8868
|
+
} | null;
|
|
8869
|
+
kiloPass: {
|
|
8870
|
+
currentPeriodBaseCreditsUsd: number;
|
|
8871
|
+
currentPeriodUsageUsd: number;
|
|
8872
|
+
currentPeriodBonusCreditsUsd: number;
|
|
8873
|
+
nextBillingAt?: string | null;
|
|
8874
|
+
} | null;
|
|
8875
|
+
currentOrgId: string | null;
|
|
8876
|
+
};
|
|
8877
|
+
};
|
|
8878
|
+
export type KiloProfileResponse = KiloProfileResponses[keyof KiloProfileResponses];
|
|
8879
|
+
export type KiloAuthStatusData = {
|
|
8880
|
+
body?: never;
|
|
8881
|
+
path?: never;
|
|
8882
|
+
query?: {
|
|
8883
|
+
directory?: string;
|
|
8884
|
+
workspace?: string;
|
|
8885
|
+
};
|
|
8886
|
+
url: "/kilo/auth-status";
|
|
8887
|
+
};
|
|
8888
|
+
export type KiloAuthStatusErrors = {
|
|
8889
|
+
/**
|
|
8890
|
+
* BadRequest | InvalidRequestError
|
|
8891
|
+
*/
|
|
8892
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
8893
|
+
};
|
|
8894
|
+
export type KiloAuthStatusError = KiloAuthStatusErrors[keyof KiloAuthStatusErrors];
|
|
8895
|
+
export type KiloAuthStatusResponses = {
|
|
8896
|
+
/**
|
|
8897
|
+
* Kilo authentication status
|
|
8898
|
+
*/
|
|
8899
|
+
200: {
|
|
8900
|
+
authenticated: boolean;
|
|
8901
|
+
type?: "api" | "oauth";
|
|
8902
|
+
};
|
|
8903
|
+
};
|
|
8904
|
+
export type KiloAuthStatusResponse = KiloAuthStatusResponses[keyof KiloAuthStatusResponses];
|
|
8905
|
+
export type KiloModesData = {
|
|
8906
|
+
body?: never;
|
|
8907
|
+
path?: never;
|
|
8908
|
+
query?: {
|
|
8909
|
+
directory?: string;
|
|
8910
|
+
workspace?: string;
|
|
8911
|
+
};
|
|
8912
|
+
url: "/kilo/modes";
|
|
8913
|
+
};
|
|
8914
|
+
export type KiloModesErrors = {
|
|
8915
|
+
/**
|
|
8916
|
+
* Bad request
|
|
8917
|
+
*/
|
|
8918
|
+
400: BadRequestError;
|
|
8919
|
+
};
|
|
8920
|
+
export type KiloModesError = KiloModesErrors[keyof KiloModesErrors];
|
|
8921
|
+
export type KiloModesResponses = {
|
|
8922
|
+
/**
|
|
8923
|
+
* Organization modes list
|
|
8924
|
+
*/
|
|
8925
|
+
200: {
|
|
8926
|
+
modes: Array<{
|
|
8927
|
+
id: string;
|
|
8928
|
+
organization_id: string;
|
|
8929
|
+
name: string;
|
|
8930
|
+
slug: string;
|
|
8931
|
+
created_by: string;
|
|
8932
|
+
created_at: string;
|
|
8933
|
+
updated_at: string;
|
|
8934
|
+
config: {
|
|
8935
|
+
roleDefinition?: string;
|
|
8416
8936
|
whenToUse?: string;
|
|
8417
8937
|
description?: string;
|
|
8418
8938
|
customInstructions?: string;
|
|
@@ -8826,6 +9346,30 @@ export type KilocodeHeapSnapshotResponses = {
|
|
|
8826
9346
|
200: string;
|
|
8827
9347
|
};
|
|
8828
9348
|
export type KilocodeHeapSnapshotResponse = KilocodeHeapSnapshotResponses[keyof KilocodeHeapSnapshotResponses];
|
|
9349
|
+
export type KilocodeAgentRequirementsData = {
|
|
9350
|
+
body?: never;
|
|
9351
|
+
path?: never;
|
|
9352
|
+
query: {
|
|
9353
|
+
directory?: string;
|
|
9354
|
+
workspace?: string;
|
|
9355
|
+
agent: string;
|
|
9356
|
+
};
|
|
9357
|
+
url: "/kilocode/agent/requirements";
|
|
9358
|
+
};
|
|
9359
|
+
export type KilocodeAgentRequirementsErrors = {
|
|
9360
|
+
/**
|
|
9361
|
+
* Bad request
|
|
9362
|
+
*/
|
|
9363
|
+
400: BadRequestError;
|
|
9364
|
+
};
|
|
9365
|
+
export type KilocodeAgentRequirementsError = KilocodeAgentRequirementsErrors[keyof KilocodeAgentRequirementsErrors];
|
|
9366
|
+
export type KilocodeAgentRequirementsResponses = {
|
|
9367
|
+
/**
|
|
9368
|
+
* Agent requirement status
|
|
9369
|
+
*/
|
|
9370
|
+
200: AgentRequirementResult;
|
|
9371
|
+
};
|
|
9372
|
+
export type KilocodeAgentRequirementsResponse = KilocodeAgentRequirementsResponses[keyof KilocodeAgentRequirementsResponses];
|
|
8829
9373
|
export type KilocodeRemoveSkillData = {
|
|
8830
9374
|
body?: {
|
|
8831
9375
|
location: string;
|
|
@@ -8876,6 +9420,247 @@ export type KilocodeRemoveAgentResponses = {
|
|
|
8876
9420
|
200: boolean;
|
|
8877
9421
|
};
|
|
8878
9422
|
export type KilocodeRemoveAgentResponse = KilocodeRemoveAgentResponses[keyof KilocodeRemoveAgentResponses];
|
|
9423
|
+
export type KilocodeNotebookListData = {
|
|
9424
|
+
body?: never;
|
|
9425
|
+
path?: never;
|
|
9426
|
+
query?: {
|
|
9427
|
+
directory?: string;
|
|
9428
|
+
workspace?: string;
|
|
9429
|
+
};
|
|
9430
|
+
url: "/kilocode/notebook";
|
|
9431
|
+
};
|
|
9432
|
+
export type KilocodeNotebookListErrors = {
|
|
9433
|
+
/**
|
|
9434
|
+
* Bad request
|
|
9435
|
+
*/
|
|
9436
|
+
400: BadRequestError;
|
|
9437
|
+
};
|
|
9438
|
+
export type KilocodeNotebookListError = KilocodeNotebookListErrors[keyof KilocodeNotebookListErrors];
|
|
9439
|
+
export type KilocodeNotebookListResponses = {
|
|
9440
|
+
/**
|
|
9441
|
+
* Pending notebook host requests
|
|
9442
|
+
*/
|
|
9443
|
+
200: Array<NotebookRequest>;
|
|
9444
|
+
};
|
|
9445
|
+
export type KilocodeNotebookListResponse = KilocodeNotebookListResponses[keyof KilocodeNotebookListResponses];
|
|
9446
|
+
export type KilocodeNotebookReplyData = {
|
|
9447
|
+
body?: {
|
|
9448
|
+
result: NotebookResult;
|
|
9449
|
+
};
|
|
9450
|
+
path: {
|
|
9451
|
+
requestID: NotebookRequestId;
|
|
9452
|
+
};
|
|
9453
|
+
query?: {
|
|
9454
|
+
directory?: string;
|
|
9455
|
+
workspace?: string;
|
|
9456
|
+
};
|
|
9457
|
+
url: "/kilocode/notebook/{requestID}/reply";
|
|
9458
|
+
};
|
|
9459
|
+
export type KilocodeNotebookReplyErrors = {
|
|
9460
|
+
/**
|
|
9461
|
+
* BadRequest | InvalidRequestError
|
|
9462
|
+
*/
|
|
9463
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
9464
|
+
/**
|
|
9465
|
+
* Not found
|
|
9466
|
+
*/
|
|
9467
|
+
404: NotFoundError;
|
|
9468
|
+
};
|
|
9469
|
+
export type KilocodeNotebookReplyError = KilocodeNotebookReplyErrors[keyof KilocodeNotebookReplyErrors];
|
|
9470
|
+
export type KilocodeNotebookReplyResponses = {
|
|
9471
|
+
/**
|
|
9472
|
+
* Notebook reply accepted
|
|
9473
|
+
*/
|
|
9474
|
+
200: boolean;
|
|
9475
|
+
};
|
|
9476
|
+
export type KilocodeNotebookReplyResponse = KilocodeNotebookReplyResponses[keyof KilocodeNotebookReplyResponses];
|
|
9477
|
+
export type KilocodeNotebookRejectData = {
|
|
9478
|
+
body?: {
|
|
9479
|
+
error: NotebookFailure;
|
|
9480
|
+
};
|
|
9481
|
+
path: {
|
|
9482
|
+
requestID: NotebookRequestId;
|
|
9483
|
+
};
|
|
9484
|
+
query?: {
|
|
9485
|
+
directory?: string;
|
|
9486
|
+
workspace?: string;
|
|
9487
|
+
};
|
|
9488
|
+
url: "/kilocode/notebook/{requestID}/reject";
|
|
9489
|
+
};
|
|
9490
|
+
export type KilocodeNotebookRejectErrors = {
|
|
9491
|
+
/**
|
|
9492
|
+
* Bad request
|
|
9493
|
+
*/
|
|
9494
|
+
400: BadRequestError;
|
|
9495
|
+
/**
|
|
9496
|
+
* Not found
|
|
9497
|
+
*/
|
|
9498
|
+
404: NotFoundError;
|
|
9499
|
+
};
|
|
9500
|
+
export type KilocodeNotebookRejectError = KilocodeNotebookRejectErrors[keyof KilocodeNotebookRejectErrors];
|
|
9501
|
+
export type KilocodeNotebookRejectResponses = {
|
|
9502
|
+
/**
|
|
9503
|
+
* Notebook rejection accepted
|
|
9504
|
+
*/
|
|
9505
|
+
200: boolean;
|
|
9506
|
+
};
|
|
9507
|
+
export type KilocodeNotebookRejectResponse = KilocodeNotebookRejectResponses[keyof KilocodeNotebookRejectResponses];
|
|
9508
|
+
export type KilocodeSessionModelUsageData = {
|
|
9509
|
+
body?: never;
|
|
9510
|
+
path: {
|
|
9511
|
+
sessionID: string;
|
|
9512
|
+
};
|
|
9513
|
+
query?: {
|
|
9514
|
+
directory?: string;
|
|
9515
|
+
workspace?: string;
|
|
9516
|
+
};
|
|
9517
|
+
url: "/session/{sessionID}/model-usage";
|
|
9518
|
+
};
|
|
9519
|
+
export type KilocodeSessionModelUsageErrors = {
|
|
9520
|
+
/**
|
|
9521
|
+
* Bad request
|
|
9522
|
+
*/
|
|
9523
|
+
400: BadRequestError;
|
|
9524
|
+
/**
|
|
9525
|
+
* Not found
|
|
9526
|
+
*/
|
|
9527
|
+
404: NotFoundError;
|
|
9528
|
+
};
|
|
9529
|
+
export type KilocodeSessionModelUsageError = KilocodeSessionModelUsageErrors[keyof KilocodeSessionModelUsageErrors];
|
|
9530
|
+
export type KilocodeSessionModelUsageResponses = {
|
|
9531
|
+
/**
|
|
9532
|
+
* Model usage for a session tree
|
|
9533
|
+
*/
|
|
9534
|
+
200: {
|
|
9535
|
+
sessionIDs: Array<string>;
|
|
9536
|
+
totals: {
|
|
9537
|
+
steps: number;
|
|
9538
|
+
cost: number;
|
|
9539
|
+
tokens: {
|
|
9540
|
+
input: number;
|
|
9541
|
+
output: number;
|
|
9542
|
+
reasoning: number;
|
|
9543
|
+
cache: {
|
|
9544
|
+
read: number;
|
|
9545
|
+
write: number;
|
|
9546
|
+
};
|
|
9547
|
+
};
|
|
9548
|
+
};
|
|
9549
|
+
models: Array<{
|
|
9550
|
+
providerID: string;
|
|
9551
|
+
modelID: string;
|
|
9552
|
+
steps: number;
|
|
9553
|
+
cost: number;
|
|
9554
|
+
tokens: {
|
|
9555
|
+
input: number;
|
|
9556
|
+
output: number;
|
|
9557
|
+
reasoning: number;
|
|
9558
|
+
cache: {
|
|
9559
|
+
read: number;
|
|
9560
|
+
write: number;
|
|
9561
|
+
};
|
|
9562
|
+
};
|
|
9563
|
+
}>;
|
|
9564
|
+
};
|
|
9565
|
+
};
|
|
9566
|
+
export type KilocodeSessionModelUsageResponse = KilocodeSessionModelUsageResponses[keyof KilocodeSessionModelUsageResponses];
|
|
9567
|
+
export type AnacondaDesktopStatusData = {
|
|
9568
|
+
body?: never;
|
|
9569
|
+
path?: never;
|
|
9570
|
+
query?: {
|
|
9571
|
+
directory?: string;
|
|
9572
|
+
workspace?: string;
|
|
9573
|
+
};
|
|
9574
|
+
url: "/kilocode/anaconda-desktop/status";
|
|
9575
|
+
};
|
|
9576
|
+
export type AnacondaDesktopStatusErrors = {
|
|
9577
|
+
/**
|
|
9578
|
+
* Bad request
|
|
9579
|
+
*/
|
|
9580
|
+
400: BadRequestError;
|
|
9581
|
+
};
|
|
9582
|
+
export type AnacondaDesktopStatusError = AnacondaDesktopStatusErrors[keyof AnacondaDesktopStatusErrors];
|
|
9583
|
+
export type AnacondaDesktopStatusResponses = {
|
|
9584
|
+
/**
|
|
9585
|
+
* Anaconda Desktop setup status
|
|
9586
|
+
*/
|
|
9587
|
+
200: AnacondaDesktopStatus;
|
|
9588
|
+
};
|
|
9589
|
+
export type AnacondaDesktopStatusResponse = AnacondaDesktopStatusResponses[keyof AnacondaDesktopStatusResponses];
|
|
9590
|
+
export type AnacondaDesktopOpenData = {
|
|
9591
|
+
body?: never;
|
|
9592
|
+
path?: never;
|
|
9593
|
+
query?: {
|
|
9594
|
+
directory?: string;
|
|
9595
|
+
workspace?: string;
|
|
9596
|
+
};
|
|
9597
|
+
url: "/kilocode/anaconda-desktop/open";
|
|
9598
|
+
};
|
|
9599
|
+
export type AnacondaDesktopOpenErrors = {
|
|
9600
|
+
/**
|
|
9601
|
+
* Bad request
|
|
9602
|
+
*/
|
|
9603
|
+
400: BadRequestError;
|
|
9604
|
+
/**
|
|
9605
|
+
* AnacondaDesktopConflictError
|
|
9606
|
+
*/
|
|
9607
|
+
409: AnacondaDesktopConflictError;
|
|
9608
|
+
/**
|
|
9609
|
+
* AnacondaDesktopOperationError
|
|
9610
|
+
*/
|
|
9611
|
+
500: AnacondaDesktopOperationError;
|
|
9612
|
+
};
|
|
9613
|
+
export type AnacondaDesktopOpenError = AnacondaDesktopOpenErrors[keyof AnacondaDesktopOpenErrors];
|
|
9614
|
+
export type AnacondaDesktopOpenResponses = {
|
|
9615
|
+
/**
|
|
9616
|
+
* Anaconda Desktop opened
|
|
9617
|
+
*/
|
|
9618
|
+
200: true;
|
|
9619
|
+
};
|
|
9620
|
+
export type AnacondaDesktopOpenResponse = AnacondaDesktopOpenResponses[keyof AnacondaDesktopOpenResponses];
|
|
9621
|
+
export type AnacondaDesktopSyncData = {
|
|
9622
|
+
body?: {
|
|
9623
|
+
acknowledgeToolLimitations?: boolean;
|
|
9624
|
+
};
|
|
9625
|
+
path?: never;
|
|
9626
|
+
query?: {
|
|
9627
|
+
directory?: string;
|
|
9628
|
+
workspace?: string;
|
|
9629
|
+
};
|
|
9630
|
+
url: "/kilocode/anaconda-desktop/sync";
|
|
9631
|
+
};
|
|
9632
|
+
export type AnacondaDesktopSyncErrors = {
|
|
9633
|
+
/**
|
|
9634
|
+
* Bad request
|
|
9635
|
+
*/
|
|
9636
|
+
400: BadRequestError;
|
|
9637
|
+
/**
|
|
9638
|
+
* AnacondaDesktopConflictError
|
|
9639
|
+
*/
|
|
9640
|
+
409: AnacondaDesktopConflictError;
|
|
9641
|
+
/**
|
|
9642
|
+
* AnacondaDesktopOperationError
|
|
9643
|
+
*/
|
|
9644
|
+
500: AnacondaDesktopOperationError;
|
|
9645
|
+
};
|
|
9646
|
+
export type AnacondaDesktopSyncError = AnacondaDesktopSyncErrors[keyof AnacondaDesktopSyncErrors];
|
|
9647
|
+
export type AnacondaDesktopSyncResponses = {
|
|
9648
|
+
/**
|
|
9649
|
+
* Anaconda Desktop connection synchronized
|
|
9650
|
+
*/
|
|
9651
|
+
200: {
|
|
9652
|
+
type: "ready";
|
|
9653
|
+
serverID: string;
|
|
9654
|
+
serverName?: string;
|
|
9655
|
+
models: Array<{
|
|
9656
|
+
id: string;
|
|
9657
|
+
name: string;
|
|
9658
|
+
}>;
|
|
9659
|
+
context: number;
|
|
9660
|
+
toolcall: "supported" | "unsupported" | "unknown";
|
|
9661
|
+
};
|
|
9662
|
+
};
|
|
9663
|
+
export type AnacondaDesktopSyncResponse = AnacondaDesktopSyncResponses[keyof AnacondaDesktopSyncResponses];
|
|
8879
9664
|
export type NetworkListData = {
|
|
8880
9665
|
body?: never;
|
|
8881
9666
|
path?: never;
|
|
@@ -9035,6 +9820,102 @@ export type RemoteStatusResponses = {
|
|
|
9035
9820
|
};
|
|
9036
9821
|
};
|
|
9037
9822
|
export type RemoteStatusResponse = RemoteStatusResponses[keyof RemoteStatusResponses];
|
|
9823
|
+
export type SandboxSupportData = {
|
|
9824
|
+
body?: never;
|
|
9825
|
+
path?: never;
|
|
9826
|
+
query?: {
|
|
9827
|
+
directory?: string;
|
|
9828
|
+
workspace?: string;
|
|
9829
|
+
};
|
|
9830
|
+
url: "/sandbox/support";
|
|
9831
|
+
};
|
|
9832
|
+
export type SandboxSupportErrors = {
|
|
9833
|
+
/**
|
|
9834
|
+
* Bad request
|
|
9835
|
+
*/
|
|
9836
|
+
400: BadRequestError;
|
|
9837
|
+
};
|
|
9838
|
+
export type SandboxSupportError = SandboxSupportErrors[keyof SandboxSupportErrors];
|
|
9839
|
+
export type SandboxSupportResponses = {
|
|
9840
|
+
/**
|
|
9841
|
+
* Sandbox backend support
|
|
9842
|
+
*/
|
|
9843
|
+
200: {
|
|
9844
|
+
available: boolean;
|
|
9845
|
+
reason?: string;
|
|
9846
|
+
};
|
|
9847
|
+
};
|
|
9848
|
+
export type SandboxSupportResponse = SandboxSupportResponses[keyof SandboxSupportResponses];
|
|
9849
|
+
export type SandboxStatusData = {
|
|
9850
|
+
body?: never;
|
|
9851
|
+
path: {
|
|
9852
|
+
sessionID: string;
|
|
9853
|
+
};
|
|
9854
|
+
query?: {
|
|
9855
|
+
directory?: string;
|
|
9856
|
+
workspace?: string;
|
|
9857
|
+
};
|
|
9858
|
+
url: "/session/{sessionID}/sandbox";
|
|
9859
|
+
};
|
|
9860
|
+
export type SandboxStatusErrors = {
|
|
9861
|
+
/**
|
|
9862
|
+
* Bad request
|
|
9863
|
+
*/
|
|
9864
|
+
400: BadRequestError;
|
|
9865
|
+
/**
|
|
9866
|
+
* NotFoundError
|
|
9867
|
+
*/
|
|
9868
|
+
404: NotFoundError;
|
|
9869
|
+
};
|
|
9870
|
+
export type SandboxStatusError = SandboxStatusErrors[keyof SandboxStatusErrors];
|
|
9871
|
+
export type SandboxStatusResponses = {
|
|
9872
|
+
/**
|
|
9873
|
+
* Session sandbox status
|
|
9874
|
+
*/
|
|
9875
|
+
200: {
|
|
9876
|
+
directory: string;
|
|
9877
|
+
enabled: boolean;
|
|
9878
|
+
available: boolean;
|
|
9879
|
+
reason?: string;
|
|
9880
|
+
version: number;
|
|
9881
|
+
};
|
|
9882
|
+
};
|
|
9883
|
+
export type SandboxStatusResponse = SandboxStatusResponses[keyof SandboxStatusResponses];
|
|
9884
|
+
export type SandboxToggleData = {
|
|
9885
|
+
body?: never;
|
|
9886
|
+
path: {
|
|
9887
|
+
sessionID: string;
|
|
9888
|
+
};
|
|
9889
|
+
query?: {
|
|
9890
|
+
directory?: string;
|
|
9891
|
+
workspace?: string;
|
|
9892
|
+
};
|
|
9893
|
+
url: "/session/{sessionID}/sandbox/toggle";
|
|
9894
|
+
};
|
|
9895
|
+
export type SandboxToggleErrors = {
|
|
9896
|
+
/**
|
|
9897
|
+
* Bad request
|
|
9898
|
+
*/
|
|
9899
|
+
400: BadRequestError;
|
|
9900
|
+
/**
|
|
9901
|
+
* NotFoundError
|
|
9902
|
+
*/
|
|
9903
|
+
404: NotFoundError;
|
|
9904
|
+
};
|
|
9905
|
+
export type SandboxToggleError = SandboxToggleErrors[keyof SandboxToggleErrors];
|
|
9906
|
+
export type SandboxToggleResponses = {
|
|
9907
|
+
/**
|
|
9908
|
+
* Updated session sandbox status
|
|
9909
|
+
*/
|
|
9910
|
+
200: {
|
|
9911
|
+
directory: string;
|
|
9912
|
+
enabled: boolean;
|
|
9913
|
+
available: boolean;
|
|
9914
|
+
reason?: string;
|
|
9915
|
+
version: number;
|
|
9916
|
+
};
|
|
9917
|
+
};
|
|
9918
|
+
export type SandboxToggleResponse = SandboxToggleResponses[keyof SandboxToggleResponses];
|
|
9038
9919
|
export type KilocodeSessionImportProjectData = {
|
|
9039
9920
|
body?: {
|
|
9040
9921
|
id: string;
|