@kilocode/sdk 7.4.16 → 7.4.19
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 +137 -1
- package/dist/v2/gen/sdk.gen.js +223 -1
- package/dist/v2/gen/types.gen.d.ts +582 -276
- 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 = EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged |
|
|
4
|
+
export type Event = EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventLspClientDiagnostics | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventMemoryStatus1 | EventMemoryUpdated1 | EventMemoryError1 | EventIndexingStatus | EventIndexingWarning | EventModelsDevRefreshed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventIntegrationUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventPermissionV2Asked | EventPermissionV2Replied | EventReferenceUpdated | EventProjectDirectoriesUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -142,7 +142,14 @@ export type AgentManagerStopRequest = {
|
|
|
142
142
|
operation: "stop";
|
|
143
143
|
targetSessionID: string;
|
|
144
144
|
};
|
|
145
|
-
export type
|
|
145
|
+
export type AgentManagerMoveRequest = {
|
|
146
|
+
id: AgentManagerRequestId;
|
|
147
|
+
sessionID: string;
|
|
148
|
+
operation: "move";
|
|
149
|
+
targetSessionID: string;
|
|
150
|
+
sectionID: string | null;
|
|
151
|
+
};
|
|
152
|
+
export type AgentManagerRequest = AgentManagerOverviewRequest | AgentManagerPromptRequest | AgentManagerStopRequest | AgentManagerMoveRequest;
|
|
146
153
|
export type NotebookRequestId = string;
|
|
147
154
|
export type NotebookReadRequest = {
|
|
148
155
|
id: NotebookRequestId;
|
|
@@ -440,6 +447,7 @@ export type SubtaskPart = {
|
|
|
440
447
|
providerID: string;
|
|
441
448
|
modelID: string;
|
|
442
449
|
};
|
|
450
|
+
variant?: string;
|
|
443
451
|
command?: string;
|
|
444
452
|
};
|
|
445
453
|
export type ReasoningPart = {
|
|
@@ -764,6 +772,7 @@ export type Pty = {
|
|
|
764
772
|
cwd: string;
|
|
765
773
|
status: "running" | "exited";
|
|
766
774
|
pid: number;
|
|
775
|
+
exitCode?: number;
|
|
767
776
|
sessionID?: string | null;
|
|
768
777
|
};
|
|
769
778
|
export type Todo = {
|
|
@@ -806,7 +815,7 @@ export type GlobalEvent = {
|
|
|
806
815
|
directory: string;
|
|
807
816
|
project?: string;
|
|
808
817
|
workspace?: string;
|
|
809
|
-
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged |
|
|
818
|
+
payload: EventServerInstanceDisposed | EventSessionTurnOpen | EventSessionTurnClose | EventSessionQueueChanged | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventInteractiveTerminalUpdated | EventInteractiveTerminalData | EventInteractiveTerminalDeleted | EventSandboxStatusChanged | EventLspClientDiagnostics | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventKilocodeAgentManagerStart | EventKilocodeAgentManagerRequested | EventKilocodeAgentManagerCancelled | EventKilocodeNotebookRequested | EventKilocodeNotebookCancelled | EventKiloSessionsRemoteStatusChanged | EventMemoryStatus | EventMemoryUpdated | EventMemoryError | EventIndexingStatus | EventIndexingWarning | EventModelsDevRefreshed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventPluginAdded | EventIntegrationUpdated | EventCatalogUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextPromptAdmitted | EventSessionNextPromptPromoted | EventSessionNextInterruptRequested | EventSessionNextContextUpdated | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventPermissionV2Asked | EventPermissionV2Replied | EventReferenceUpdated | EventProjectDirectoriesUpdated | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventCommandExecuted | EventProjectUpdated | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextPromptAdmitted | SyncEventSessionNextPromptPromoted | SyncEventSessionNextContextUpdated | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionEnded;
|
|
810
819
|
};
|
|
811
820
|
/**
|
|
812
821
|
* Log level
|
|
@@ -1092,7 +1101,7 @@ export type Config = {
|
|
|
1092
1101
|
server?: ServerConfig;
|
|
1093
1102
|
command?: {
|
|
1094
1103
|
[key: string]: {
|
|
1095
|
-
template
|
|
1104
|
+
template?: string;
|
|
1096
1105
|
description?: string;
|
|
1097
1106
|
agent?: string;
|
|
1098
1107
|
model?: string;
|
|
@@ -1235,6 +1244,7 @@ export type Config = {
|
|
|
1235
1244
|
tools?: {
|
|
1236
1245
|
[key: string]: boolean;
|
|
1237
1246
|
};
|
|
1247
|
+
web_search?: boolean;
|
|
1238
1248
|
attachment?: AttachmentConfig;
|
|
1239
1249
|
enterprise?: {
|
|
1240
1250
|
url?: string;
|
|
@@ -1390,6 +1400,9 @@ export type Provider = {
|
|
|
1390
1400
|
[key: string]: Model;
|
|
1391
1401
|
};
|
|
1392
1402
|
};
|
|
1403
|
+
export type ExperimentalCapabilities = {
|
|
1404
|
+
backgroundSubagents: boolean;
|
|
1405
|
+
};
|
|
1393
1406
|
export type ConsoleState = {
|
|
1394
1407
|
consoleManagedProviders: Array<string>;
|
|
1395
1408
|
activeOrgName?: string;
|
|
@@ -1597,7 +1610,9 @@ export type Command = {
|
|
|
1597
1610
|
description?: string;
|
|
1598
1611
|
agent?: string;
|
|
1599
1612
|
model?: string;
|
|
1613
|
+
variant?: string;
|
|
1600
1614
|
source?: "command" | "mcp" | "skill";
|
|
1615
|
+
trusted?: boolean;
|
|
1601
1616
|
template: string;
|
|
1602
1617
|
subtask?: boolean;
|
|
1603
1618
|
hints: Array<string>;
|
|
@@ -2204,6 +2219,7 @@ export type SubtaskPartInput = {
|
|
|
2204
2219
|
providerID: string;
|
|
2205
2220
|
modelID: string;
|
|
2206
2221
|
};
|
|
2222
|
+
variant?: string;
|
|
2207
2223
|
command?: string;
|
|
2208
2224
|
};
|
|
2209
2225
|
export type SessionBusyError = {
|
|
@@ -2394,9 +2410,36 @@ export type ConfigOverlayResponse = {
|
|
|
2394
2410
|
reason?: string;
|
|
2395
2411
|
}>;
|
|
2396
2412
|
targets: {
|
|
2397
|
-
global
|
|
2398
|
-
|
|
2399
|
-
|
|
2413
|
+
global: {
|
|
2414
|
+
scope: "global" | "project";
|
|
2415
|
+
path: string;
|
|
2416
|
+
revision: string;
|
|
2417
|
+
exists: boolean;
|
|
2418
|
+
writable: boolean;
|
|
2419
|
+
raw: {
|
|
2420
|
+
[key: string]: unknown;
|
|
2421
|
+
};
|
|
2422
|
+
};
|
|
2423
|
+
project: {
|
|
2424
|
+
scope: "global" | "project";
|
|
2425
|
+
path: string;
|
|
2426
|
+
revision: string;
|
|
2427
|
+
exists: boolean;
|
|
2428
|
+
writable: boolean;
|
|
2429
|
+
raw: {
|
|
2430
|
+
[key: string]: unknown;
|
|
2431
|
+
};
|
|
2432
|
+
};
|
|
2433
|
+
active: {
|
|
2434
|
+
scope: "global" | "project";
|
|
2435
|
+
path: string;
|
|
2436
|
+
revision: string;
|
|
2437
|
+
exists: boolean;
|
|
2438
|
+
writable: boolean;
|
|
2439
|
+
raw: {
|
|
2440
|
+
[key: string]: unknown;
|
|
2441
|
+
};
|
|
2442
|
+
};
|
|
2400
2443
|
};
|
|
2401
2444
|
fields: {
|
|
2402
2445
|
[key: string]: {
|
|
@@ -2440,6 +2483,20 @@ export type ConfigSourcesResponse = {
|
|
|
2440
2483
|
reason?: string;
|
|
2441
2484
|
}>;
|
|
2442
2485
|
};
|
|
2486
|
+
export type ConfigOverlayConflictError = {
|
|
2487
|
+
code: "target-changed" | "revision-conflict";
|
|
2488
|
+
message: string;
|
|
2489
|
+
target: {
|
|
2490
|
+
scope: "global" | "project";
|
|
2491
|
+
path: string;
|
|
2492
|
+
revision: string;
|
|
2493
|
+
exists: boolean;
|
|
2494
|
+
writable: boolean;
|
|
2495
|
+
raw: {
|
|
2496
|
+
[key: string]: unknown;
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2443
2500
|
export type ConfigRulesResponse = {
|
|
2444
2501
|
scope: "project";
|
|
2445
2502
|
target: string;
|
|
@@ -2715,9 +2772,15 @@ export type AgentManagerStopResult = {
|
|
|
2715
2772
|
sessionID: string;
|
|
2716
2773
|
stopped: true;
|
|
2717
2774
|
};
|
|
2718
|
-
export type
|
|
2775
|
+
export type AgentManagerMoveResult = {
|
|
2776
|
+
operation: "move";
|
|
2777
|
+
sessionID: string;
|
|
2778
|
+
sectionID: string | null;
|
|
2779
|
+
moved: true;
|
|
2780
|
+
};
|
|
2781
|
+
export type AgentManagerResult = AgentManagerOverviewResult | AgentManagerPromptResult | AgentManagerStopResult | AgentManagerMoveResult;
|
|
2719
2782
|
export type AgentManagerFailure = {
|
|
2720
|
-
code: "cancelled" | "cross_workspace" | "disconnected" | "host_error" | "stale_session" | "timeout" | "unavailable_session" | "unknown_session" | "workspace_unavailable";
|
|
2783
|
+
code: "cancelled" | "cross_workspace" | "disconnected" | "host_error" | "stale_session" | "timeout" | "unavailable_session" | "unknown_section" | "unknown_session" | "workspace_unavailable";
|
|
2721
2784
|
message: string;
|
|
2722
2785
|
};
|
|
2723
2786
|
export type AnacondaDesktopStatus = {
|
|
@@ -2827,6 +2890,10 @@ export type ProviderNotFoundError = {
|
|
|
2827
2890
|
providerID: string;
|
|
2828
2891
|
message: string;
|
|
2829
2892
|
};
|
|
2893
|
+
export type ForbiddenError = {
|
|
2894
|
+
_tag: "ForbiddenError";
|
|
2895
|
+
message: string;
|
|
2896
|
+
};
|
|
2830
2897
|
export type ProjectCopyError = {
|
|
2831
2898
|
name: "ProjectCopyError";
|
|
2832
2899
|
data: {
|
|
@@ -2879,7 +2946,7 @@ export type EventSessionTurnClose = {
|
|
|
2879
2946
|
properties: {
|
|
2880
2947
|
sessionID: string;
|
|
2881
2948
|
parentID?: string;
|
|
2882
|
-
reason: "completed" | "error" | "interrupted";
|
|
2949
|
+
reason: "completed" | "error" | "interrupted" | "superseded";
|
|
2883
2950
|
};
|
|
2884
2951
|
};
|
|
2885
2952
|
export type EventSessionQueueChanged = {
|
|
@@ -2974,6 +3041,14 @@ export type EventSandboxStatusChanged = {
|
|
|
2974
3041
|
version: number;
|
|
2975
3042
|
};
|
|
2976
3043
|
};
|
|
3044
|
+
export type EventLspClientDiagnostics = {
|
|
3045
|
+
id: string;
|
|
3046
|
+
type: "lsp.client.diagnostics";
|
|
3047
|
+
properties: {
|
|
3048
|
+
serverID: string;
|
|
3049
|
+
path: string;
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
2977
3052
|
export type EventSuggestionShown = {
|
|
2978
3053
|
id: string;
|
|
2979
3054
|
type: "suggestion.shown";
|
|
@@ -3064,14 +3139,6 @@ export type EventKiloSessionsRemoteStatusChanged = {
|
|
|
3064
3139
|
connected: boolean;
|
|
3065
3140
|
};
|
|
3066
3141
|
};
|
|
3067
|
-
export type EventLspClientDiagnostics = {
|
|
3068
|
-
id: string;
|
|
3069
|
-
type: "lsp.client.diagnostics";
|
|
3070
|
-
properties: {
|
|
3071
|
-
serverID: string;
|
|
3072
|
-
path: string;
|
|
3073
|
-
};
|
|
3074
|
-
};
|
|
3075
3142
|
export type EventMemoryStatus = {
|
|
3076
3143
|
id: string;
|
|
3077
3144
|
type: "memory.status";
|
|
@@ -3192,6 +3259,13 @@ export type EventIndexingWarning = {
|
|
|
3192
3259
|
type: "indexing.warning";
|
|
3193
3260
|
properties: IndexingWarning;
|
|
3194
3261
|
};
|
|
3262
|
+
export type EventModelsDevRefreshed = {
|
|
3263
|
+
id: string;
|
|
3264
|
+
type: "models-dev.refreshed";
|
|
3265
|
+
properties: {
|
|
3266
|
+
[key: string]: unknown;
|
|
3267
|
+
};
|
|
3268
|
+
};
|
|
3195
3269
|
export type EventServerConnected = {
|
|
3196
3270
|
id: string;
|
|
3197
3271
|
type: "server.connected";
|
|
@@ -3220,104 +3294,18 @@ export type EventPluginAdded = {
|
|
|
3220
3294
|
id: string;
|
|
3221
3295
|
};
|
|
3222
3296
|
};
|
|
3223
|
-
export type
|
|
3297
|
+
export type EventIntegrationUpdated = {
|
|
3224
3298
|
id: string;
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
api: {
|
|
3229
|
-
id: string;
|
|
3230
|
-
type: "aisdk";
|
|
3231
|
-
package: string;
|
|
3232
|
-
url?: string;
|
|
3233
|
-
settings?: {
|
|
3234
|
-
[key: string]: unknown;
|
|
3235
|
-
};
|
|
3236
|
-
} | {
|
|
3237
|
-
id: string;
|
|
3238
|
-
type: "native";
|
|
3239
|
-
url?: string;
|
|
3240
|
-
settings: {
|
|
3241
|
-
[key: string]: unknown;
|
|
3242
|
-
};
|
|
3243
|
-
};
|
|
3244
|
-
capabilities: {
|
|
3245
|
-
tools: boolean;
|
|
3246
|
-
input: Array<string>;
|
|
3247
|
-
output: Array<string>;
|
|
3248
|
-
};
|
|
3249
|
-
request: {
|
|
3250
|
-
headers: {
|
|
3251
|
-
[key: string]: string;
|
|
3252
|
-
};
|
|
3253
|
-
body: {
|
|
3254
|
-
[key: string]: unknown;
|
|
3255
|
-
};
|
|
3256
|
-
generation?: {
|
|
3257
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3258
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3259
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3260
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3261
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3262
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3263
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3264
|
-
stop?: Array<string>;
|
|
3265
|
-
};
|
|
3266
|
-
options?: {
|
|
3267
|
-
[key: string]: unknown;
|
|
3268
|
-
};
|
|
3269
|
-
variant?: string;
|
|
3270
|
-
};
|
|
3271
|
-
variants: Array<{
|
|
3272
|
-
id: string;
|
|
3273
|
-
headers: {
|
|
3274
|
-
[key: string]: string;
|
|
3275
|
-
};
|
|
3276
|
-
body: {
|
|
3277
|
-
[key: string]: unknown;
|
|
3278
|
-
};
|
|
3279
|
-
generation?: {
|
|
3280
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3281
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3282
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3283
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3284
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3285
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3286
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3287
|
-
stop?: Array<string>;
|
|
3288
|
-
};
|
|
3289
|
-
options?: {
|
|
3290
|
-
[key: string]: unknown;
|
|
3291
|
-
};
|
|
3292
|
-
}>;
|
|
3293
|
-
time: {
|
|
3294
|
-
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3295
|
-
};
|
|
3296
|
-
cost: Array<{
|
|
3297
|
-
tier?: {
|
|
3298
|
-
type: "context";
|
|
3299
|
-
size: number;
|
|
3300
|
-
};
|
|
3301
|
-
input: number;
|
|
3302
|
-
output: number;
|
|
3303
|
-
cache: {
|
|
3304
|
-
read: number;
|
|
3305
|
-
write: number;
|
|
3306
|
-
};
|
|
3307
|
-
}>;
|
|
3308
|
-
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3309
|
-
enabled: boolean;
|
|
3310
|
-
limit: {
|
|
3311
|
-
context: number;
|
|
3312
|
-
input?: number;
|
|
3313
|
-
output: number;
|
|
3299
|
+
type: "integration.updated";
|
|
3300
|
+
properties: {
|
|
3301
|
+
[key: string]: unknown;
|
|
3314
3302
|
};
|
|
3315
3303
|
};
|
|
3316
|
-
export type
|
|
3304
|
+
export type EventCatalogUpdated = {
|
|
3317
3305
|
id: string;
|
|
3318
|
-
type: "catalog.
|
|
3306
|
+
type: "catalog.updated";
|
|
3319
3307
|
properties: {
|
|
3320
|
-
|
|
3308
|
+
[key: string]: unknown;
|
|
3321
3309
|
};
|
|
3322
3310
|
};
|
|
3323
3311
|
export type EventSessionCreated = {
|
|
@@ -3890,13 +3878,6 @@ export type EventSessionError = {
|
|
|
3890
3878
|
error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | StructuredOutputError | ContextOverflowError | ContentFilterError | ApiError | AgentRequirementError;
|
|
3891
3879
|
};
|
|
3892
3880
|
};
|
|
3893
|
-
export type EventModelsDevRefreshed = {
|
|
3894
|
-
id: string;
|
|
3895
|
-
type: "models-dev.refreshed";
|
|
3896
|
-
properties: {
|
|
3897
|
-
[key: string]: unknown;
|
|
3898
|
-
};
|
|
3899
|
-
};
|
|
3900
3881
|
export type EventInstallationUpdated = {
|
|
3901
3882
|
id: string;
|
|
3902
3883
|
type: "installation.updated";
|
|
@@ -3911,45 +3892,11 @@ export type EventInstallationUpdateAvailable = {
|
|
|
3911
3892
|
version: string;
|
|
3912
3893
|
};
|
|
3913
3894
|
};
|
|
3914
|
-
export type
|
|
3915
|
-
id: string;
|
|
3916
|
-
type: "permission.asked";
|
|
3917
|
-
properties: {
|
|
3918
|
-
id: string;
|
|
3919
|
-
sessionID: string;
|
|
3920
|
-
permission: string;
|
|
3921
|
-
patterns: Array<string>;
|
|
3922
|
-
metadata: {
|
|
3923
|
-
[key: string]: unknown;
|
|
3924
|
-
};
|
|
3925
|
-
always: Array<string>;
|
|
3926
|
-
tool?: {
|
|
3927
|
-
messageID: string;
|
|
3928
|
-
callID: string;
|
|
3929
|
-
};
|
|
3930
|
-
};
|
|
3931
|
-
};
|
|
3932
|
-
export type EventPermissionReplied = {
|
|
3933
|
-
id: string;
|
|
3934
|
-
type: "permission.replied";
|
|
3935
|
-
properties: {
|
|
3936
|
-
sessionID: string;
|
|
3937
|
-
requestID: string;
|
|
3938
|
-
reply: "once" | "always" | "reject";
|
|
3939
|
-
};
|
|
3940
|
-
};
|
|
3941
|
-
export type EventReferenceUpdated = {
|
|
3942
|
-
id: string;
|
|
3943
|
-
type: "reference.updated";
|
|
3944
|
-
properties: {
|
|
3945
|
-
[key: string]: unknown;
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
|
-
export type EventIntegrationUpdated = {
|
|
3895
|
+
export type EventFileEdited = {
|
|
3949
3896
|
id: string;
|
|
3950
|
-
type: "
|
|
3897
|
+
type: "file.edited";
|
|
3951
3898
|
properties: {
|
|
3952
|
-
|
|
3899
|
+
file: string;
|
|
3953
3900
|
};
|
|
3954
3901
|
};
|
|
3955
3902
|
export type PermissionV2Source = {
|
|
@@ -3982,18 +3929,18 @@ export type EventPermissionV2Replied = {
|
|
|
3982
3929
|
reply: PermissionV2Reply;
|
|
3983
3930
|
};
|
|
3984
3931
|
};
|
|
3985
|
-
export type
|
|
3932
|
+
export type EventReferenceUpdated = {
|
|
3986
3933
|
id: string;
|
|
3987
|
-
type: "
|
|
3934
|
+
type: "reference.updated";
|
|
3988
3935
|
properties: {
|
|
3989
|
-
|
|
3936
|
+
[key: string]: unknown;
|
|
3990
3937
|
};
|
|
3991
3938
|
};
|
|
3992
|
-
export type
|
|
3939
|
+
export type EventProjectDirectoriesUpdated = {
|
|
3993
3940
|
id: string;
|
|
3994
|
-
type: "
|
|
3941
|
+
type: "project.directories.updated";
|
|
3995
3942
|
properties: {
|
|
3996
|
-
|
|
3943
|
+
projectID: string;
|
|
3997
3944
|
};
|
|
3998
3945
|
};
|
|
3999
3946
|
export type EventFileWatcherUpdated = {
|
|
@@ -4102,6 +4049,40 @@ export type EventTodoUpdated = {
|
|
|
4102
4049
|
todos: Array<Todo>;
|
|
4103
4050
|
};
|
|
4104
4051
|
};
|
|
4052
|
+
export type EventLspUpdated = {
|
|
4053
|
+
id: string;
|
|
4054
|
+
type: "lsp.updated";
|
|
4055
|
+
properties: {
|
|
4056
|
+
[key: string]: unknown;
|
|
4057
|
+
};
|
|
4058
|
+
};
|
|
4059
|
+
export type EventPermissionAsked = {
|
|
4060
|
+
id: string;
|
|
4061
|
+
type: "permission.asked";
|
|
4062
|
+
properties: {
|
|
4063
|
+
id: string;
|
|
4064
|
+
sessionID: string;
|
|
4065
|
+
permission: string;
|
|
4066
|
+
patterns: Array<string>;
|
|
4067
|
+
metadata: {
|
|
4068
|
+
[key: string]: unknown;
|
|
4069
|
+
};
|
|
4070
|
+
always: Array<string>;
|
|
4071
|
+
tool?: {
|
|
4072
|
+
messageID: string;
|
|
4073
|
+
callID: string;
|
|
4074
|
+
};
|
|
4075
|
+
};
|
|
4076
|
+
};
|
|
4077
|
+
export type EventPermissionReplied = {
|
|
4078
|
+
id: string;
|
|
4079
|
+
type: "permission.replied";
|
|
4080
|
+
properties: {
|
|
4081
|
+
sessionID: string;
|
|
4082
|
+
requestID: string;
|
|
4083
|
+
reply: "once" | "always" | "reject";
|
|
4084
|
+
};
|
|
4085
|
+
};
|
|
4105
4086
|
export type EventSessionStatus = {
|
|
4106
4087
|
id: string;
|
|
4107
4088
|
type: "session.status";
|
|
@@ -4168,13 +4149,6 @@ export type EventVcsBranchUpdated = {
|
|
|
4168
4149
|
branch?: string;
|
|
4169
4150
|
};
|
|
4170
4151
|
};
|
|
4171
|
-
export type EventLspUpdated = {
|
|
4172
|
-
id: string;
|
|
4173
|
-
type: "lsp.updated";
|
|
4174
|
-
properties: {
|
|
4175
|
-
[key: string]: unknown;
|
|
4176
|
-
};
|
|
4177
|
-
};
|
|
4178
4152
|
export type EventWorkspaceReady = {
|
|
4179
4153
|
id: string;
|
|
4180
4154
|
type: "workspace.ready";
|
|
@@ -5110,22 +5084,103 @@ export type SessionMessageCompaction = {
|
|
|
5110
5084
|
};
|
|
5111
5085
|
};
|
|
5112
5086
|
export type SessionMessage = SessionMessageAgentSwitched | SessionMessageModelSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
5113
|
-
export type
|
|
5087
|
+
export type ModelV2Info = {
|
|
5114
5088
|
id: string;
|
|
5089
|
+
providerID: string;
|
|
5090
|
+
family?: string;
|
|
5115
5091
|
name: string;
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5092
|
+
api: {
|
|
5093
|
+
id: string;
|
|
5094
|
+
type: "aisdk";
|
|
5095
|
+
package: string;
|
|
5096
|
+
url?: string;
|
|
5097
|
+
settings?: {
|
|
5098
|
+
[key: string]: unknown;
|
|
5099
|
+
};
|
|
5122
5100
|
} | {
|
|
5123
|
-
|
|
5124
|
-
|
|
5101
|
+
id: string;
|
|
5102
|
+
type: "native";
|
|
5103
|
+
url?: string;
|
|
5104
|
+
settings: {
|
|
5125
5105
|
[key: string]: unknown;
|
|
5126
5106
|
};
|
|
5127
5107
|
};
|
|
5128
|
-
|
|
5108
|
+
capabilities: {
|
|
5109
|
+
tools: boolean;
|
|
5110
|
+
input: Array<string>;
|
|
5111
|
+
output: Array<string>;
|
|
5112
|
+
};
|
|
5113
|
+
request: {
|
|
5114
|
+
headers: {
|
|
5115
|
+
[key: string]: string;
|
|
5116
|
+
};
|
|
5117
|
+
body: {
|
|
5118
|
+
[key: string]: unknown;
|
|
5119
|
+
};
|
|
5120
|
+
generation?: {
|
|
5121
|
+
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5122
|
+
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5123
|
+
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5124
|
+
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5125
|
+
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5126
|
+
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5127
|
+
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5128
|
+
stop?: Array<string>;
|
|
5129
|
+
};
|
|
5130
|
+
options?: {
|
|
5131
|
+
[key: string]: unknown;
|
|
5132
|
+
};
|
|
5133
|
+
variant?: string;
|
|
5134
|
+
};
|
|
5135
|
+
variants: Array<{
|
|
5136
|
+
id: string;
|
|
5137
|
+
headers: {
|
|
5138
|
+
[key: string]: string;
|
|
5139
|
+
};
|
|
5140
|
+
body: {
|
|
5141
|
+
[key: string]: unknown;
|
|
5142
|
+
};
|
|
5143
|
+
generation?: {
|
|
5144
|
+
maxTokens?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5145
|
+
temperature?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5146
|
+
topP?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5147
|
+
topK?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5148
|
+
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5149
|
+
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5150
|
+
seed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5151
|
+
stop?: Array<string>;
|
|
5152
|
+
};
|
|
5153
|
+
options?: {
|
|
5154
|
+
[key: string]: unknown;
|
|
5155
|
+
};
|
|
5156
|
+
}>;
|
|
5157
|
+
time: {
|
|
5158
|
+
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
5159
|
+
};
|
|
5160
|
+
cost: Array<{
|
|
5161
|
+
tier?: {
|
|
5162
|
+
type: "context";
|
|
5163
|
+
size: number;
|
|
5164
|
+
};
|
|
5165
|
+
input: number;
|
|
5166
|
+
output: number;
|
|
5167
|
+
cache: {
|
|
5168
|
+
read: number;
|
|
5169
|
+
write: number;
|
|
5170
|
+
};
|
|
5171
|
+
}>;
|
|
5172
|
+
status: "alpha" | "beta" | "deprecated" | "active";
|
|
5173
|
+
enabled: boolean;
|
|
5174
|
+
limit: {
|
|
5175
|
+
context: number;
|
|
5176
|
+
input?: number;
|
|
5177
|
+
output: number;
|
|
5178
|
+
};
|
|
5179
|
+
};
|
|
5180
|
+
export type ProviderV2Info = {
|
|
5181
|
+
id: string;
|
|
5182
|
+
name: string;
|
|
5183
|
+
disabled?: boolean;
|
|
5129
5184
|
api: {
|
|
5130
5185
|
type: "aisdk";
|
|
5131
5186
|
package: string;
|
|
@@ -5244,6 +5299,7 @@ export type CommandV2Info = {
|
|
|
5244
5299
|
providerID: string;
|
|
5245
5300
|
variant?: string;
|
|
5246
5301
|
};
|
|
5302
|
+
variant?: string;
|
|
5247
5303
|
subtask?: boolean;
|
|
5248
5304
|
};
|
|
5249
5305
|
export type SkillV2Info = {
|
|
@@ -5399,99 +5455,6 @@ export type EventMemoryError1 = {
|
|
|
5399
5455
|
};
|
|
5400
5456
|
};
|
|
5401
5457
|
};
|
|
5402
|
-
export type ModelV2Info1 = {
|
|
5403
|
-
id: string;
|
|
5404
|
-
providerID: string;
|
|
5405
|
-
family?: string;
|
|
5406
|
-
name: string;
|
|
5407
|
-
api: {
|
|
5408
|
-
id: string;
|
|
5409
|
-
type: "aisdk";
|
|
5410
|
-
package: string;
|
|
5411
|
-
url?: string;
|
|
5412
|
-
settings?: {
|
|
5413
|
-
[key: string]: unknown;
|
|
5414
|
-
};
|
|
5415
|
-
} | {
|
|
5416
|
-
id: string;
|
|
5417
|
-
type: "native";
|
|
5418
|
-
url?: string;
|
|
5419
|
-
settings: {
|
|
5420
|
-
[key: string]: unknown;
|
|
5421
|
-
};
|
|
5422
|
-
};
|
|
5423
|
-
capabilities: {
|
|
5424
|
-
tools: boolean;
|
|
5425
|
-
input: Array<string>;
|
|
5426
|
-
output: Array<string>;
|
|
5427
|
-
};
|
|
5428
|
-
request: {
|
|
5429
|
-
headers: {
|
|
5430
|
-
[key: string]: string;
|
|
5431
|
-
};
|
|
5432
|
-
body: {
|
|
5433
|
-
[key: string]: unknown;
|
|
5434
|
-
};
|
|
5435
|
-
generation?: {
|
|
5436
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5437
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5438
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5439
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5440
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5441
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5442
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5443
|
-
stop?: Array<string>;
|
|
5444
|
-
};
|
|
5445
|
-
options?: {
|
|
5446
|
-
[key: string]: unknown;
|
|
5447
|
-
};
|
|
5448
|
-
variant?: string;
|
|
5449
|
-
};
|
|
5450
|
-
variants: Array<{
|
|
5451
|
-
id: string;
|
|
5452
|
-
headers: {
|
|
5453
|
-
[key: string]: string;
|
|
5454
|
-
};
|
|
5455
|
-
body: {
|
|
5456
|
-
[key: string]: unknown;
|
|
5457
|
-
};
|
|
5458
|
-
generation?: {
|
|
5459
|
-
maxTokens?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5460
|
-
temperature?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5461
|
-
topP?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5462
|
-
topK?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5463
|
-
frequencyPenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5464
|
-
presencePenalty?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5465
|
-
seed?: number | "NaN" | "Infinity" | "-Infinity";
|
|
5466
|
-
stop?: Array<string>;
|
|
5467
|
-
};
|
|
5468
|
-
options?: {
|
|
5469
|
-
[key: string]: unknown;
|
|
5470
|
-
};
|
|
5471
|
-
}>;
|
|
5472
|
-
time: {
|
|
5473
|
-
released: number | "NaN" | "Infinity" | "-Infinity";
|
|
5474
|
-
};
|
|
5475
|
-
cost: Array<{
|
|
5476
|
-
tier?: {
|
|
5477
|
-
type: "context";
|
|
5478
|
-
size: number;
|
|
5479
|
-
};
|
|
5480
|
-
input: number;
|
|
5481
|
-
output: number;
|
|
5482
|
-
cache: {
|
|
5483
|
-
read: number;
|
|
5484
|
-
write: number;
|
|
5485
|
-
};
|
|
5486
|
-
}>;
|
|
5487
|
-
status: "alpha" | "beta" | "deprecated" | "active";
|
|
5488
|
-
enabled: boolean;
|
|
5489
|
-
limit: {
|
|
5490
|
-
context: number;
|
|
5491
|
-
input?: number;
|
|
5492
|
-
output: number;
|
|
5493
|
-
};
|
|
5494
|
-
};
|
|
5495
5458
|
export type EventTuiToastShow1 = {
|
|
5496
5459
|
id: string;
|
|
5497
5460
|
type: "tui.toast.show";
|
|
@@ -5864,6 +5827,29 @@ export type ConfigProvidersResponses = {
|
|
|
5864
5827
|
};
|
|
5865
5828
|
};
|
|
5866
5829
|
export type ConfigProvidersResponse = ConfigProvidersResponses[keyof ConfigProvidersResponses];
|
|
5830
|
+
export type ExperimentalCapabilitiesGetData = {
|
|
5831
|
+
body?: never;
|
|
5832
|
+
path?: never;
|
|
5833
|
+
query?: {
|
|
5834
|
+
directory?: string;
|
|
5835
|
+
workspace?: string;
|
|
5836
|
+
};
|
|
5837
|
+
url: "/experimental/capabilities";
|
|
5838
|
+
};
|
|
5839
|
+
export type ExperimentalCapabilitiesGetErrors = {
|
|
5840
|
+
/**
|
|
5841
|
+
* Bad request
|
|
5842
|
+
*/
|
|
5843
|
+
400: BadRequestError;
|
|
5844
|
+
};
|
|
5845
|
+
export type ExperimentalCapabilitiesGetError = ExperimentalCapabilitiesGetErrors[keyof ExperimentalCapabilitiesGetErrors];
|
|
5846
|
+
export type ExperimentalCapabilitiesGetResponses = {
|
|
5847
|
+
/**
|
|
5848
|
+
* Experimental capabilities
|
|
5849
|
+
*/
|
|
5850
|
+
200: ExperimentalCapabilities;
|
|
5851
|
+
};
|
|
5852
|
+
export type ExperimentalCapabilitiesGetResponse = ExperimentalCapabilitiesGetResponses[keyof ExperimentalCapabilitiesGetResponses];
|
|
5867
5853
|
export type ExperimentalConsoleGetData = {
|
|
5868
5854
|
body?: never;
|
|
5869
5855
|
path?: never;
|
|
@@ -6641,6 +6627,7 @@ export type AppSkillsResponses = {
|
|
|
6641
6627
|
description?: string;
|
|
6642
6628
|
location: string;
|
|
6643
6629
|
content: string;
|
|
6630
|
+
trusted?: boolean;
|
|
6644
6631
|
}>;
|
|
6645
6632
|
};
|
|
6646
6633
|
export type AppSkillsResponse = AppSkillsResponses[keyof AppSkillsResponses];
|
|
@@ -7413,6 +7400,7 @@ export type PermissionReplyData = {
|
|
|
7413
7400
|
body?: {
|
|
7414
7401
|
reply: "once" | "always" | "reject";
|
|
7415
7402
|
message?: string;
|
|
7403
|
+
interactive?: boolean;
|
|
7416
7404
|
};
|
|
7417
7405
|
path: {
|
|
7418
7406
|
requestID: string;
|
|
@@ -9539,11 +9527,15 @@ export type ConfigOverlayResponses = {
|
|
|
9539
9527
|
export type ConfigOverlayResponse2 = ConfigOverlayResponses[keyof ConfigOverlayResponses];
|
|
9540
9528
|
export type ConfigOverlayUpdateData = {
|
|
9541
9529
|
body?: {
|
|
9542
|
-
scope
|
|
9530
|
+
scope: "global" | "project";
|
|
9543
9531
|
set?: {
|
|
9544
9532
|
[key: string]: unknown;
|
|
9545
9533
|
};
|
|
9546
9534
|
unset?: Array<Array<string>>;
|
|
9535
|
+
expected?: {
|
|
9536
|
+
path: string;
|
|
9537
|
+
revision: string;
|
|
9538
|
+
};
|
|
9547
9539
|
};
|
|
9548
9540
|
path?: never;
|
|
9549
9541
|
query?: {
|
|
@@ -9557,13 +9549,17 @@ export type ConfigOverlayUpdateErrors = {
|
|
|
9557
9549
|
* Bad request
|
|
9558
9550
|
*/
|
|
9559
9551
|
400: BadRequestError;
|
|
9552
|
+
/**
|
|
9553
|
+
* ConfigOverlayConflictError
|
|
9554
|
+
*/
|
|
9555
|
+
409: ConfigOverlayConflictError;
|
|
9560
9556
|
};
|
|
9561
9557
|
export type ConfigOverlayUpdateError = ConfigOverlayUpdateErrors[keyof ConfigOverlayUpdateErrors];
|
|
9562
9558
|
export type ConfigOverlayUpdateResponses = {
|
|
9563
9559
|
/**
|
|
9564
|
-
*
|
|
9560
|
+
* Resolved config overlay after patch
|
|
9565
9561
|
*/
|
|
9566
|
-
200:
|
|
9562
|
+
200: ConfigOverlayResponse;
|
|
9567
9563
|
};
|
|
9568
9564
|
export type ConfigOverlayUpdateResponse = ConfigOverlayUpdateResponses[keyof ConfigOverlayUpdateResponses];
|
|
9569
9565
|
export type ConfigSourcesData = {
|
|
@@ -9913,6 +9909,31 @@ export type IndexingModelsResponses = {
|
|
|
9913
9909
|
200: KiloEmbeddingModelCatalog;
|
|
9914
9910
|
};
|
|
9915
9911
|
export type IndexingModelsResponse = IndexingModelsResponses[keyof IndexingModelsResponses];
|
|
9912
|
+
export type IndexingConsentData = {
|
|
9913
|
+
body?: {
|
|
9914
|
+
enabled: boolean;
|
|
9915
|
+
};
|
|
9916
|
+
path?: never;
|
|
9917
|
+
query?: {
|
|
9918
|
+
directory?: string;
|
|
9919
|
+
workspace?: string;
|
|
9920
|
+
};
|
|
9921
|
+
url: "/indexing/consent";
|
|
9922
|
+
};
|
|
9923
|
+
export type IndexingConsentErrors = {
|
|
9924
|
+
/**
|
|
9925
|
+
* Bad request
|
|
9926
|
+
*/
|
|
9927
|
+
400: BadRequestError;
|
|
9928
|
+
};
|
|
9929
|
+
export type IndexingConsentError = IndexingConsentErrors[keyof IndexingConsentErrors];
|
|
9930
|
+
export type IndexingConsentResponses = {
|
|
9931
|
+
/**
|
|
9932
|
+
* Indexing status
|
|
9933
|
+
*/
|
|
9934
|
+
200: IndexingStatus;
|
|
9935
|
+
};
|
|
9936
|
+
export type IndexingConsentResponse = IndexingConsentResponses[keyof IndexingConsentResponses];
|
|
9916
9937
|
export type InstanceReloadData = {
|
|
9917
9938
|
body?: never;
|
|
9918
9939
|
path?: never;
|
|
@@ -13052,7 +13073,12 @@ export type V2CredentialRemoveData = {
|
|
|
13052
13073
|
path: {
|
|
13053
13074
|
credentialID: string;
|
|
13054
13075
|
};
|
|
13055
|
-
query?:
|
|
13076
|
+
query?: {
|
|
13077
|
+
location?: {
|
|
13078
|
+
directory?: string;
|
|
13079
|
+
workspace?: string;
|
|
13080
|
+
};
|
|
13081
|
+
};
|
|
13056
13082
|
url: "/api/credential/{credentialID}";
|
|
13057
13083
|
};
|
|
13058
13084
|
export type V2CredentialRemoveErrors = {
|
|
@@ -13080,7 +13106,12 @@ export type V2CredentialUpdateData = {
|
|
|
13080
13106
|
path: {
|
|
13081
13107
|
credentialID: string;
|
|
13082
13108
|
};
|
|
13083
|
-
query?:
|
|
13109
|
+
query?: {
|
|
13110
|
+
location?: {
|
|
13111
|
+
directory?: string;
|
|
13112
|
+
workspace?: string;
|
|
13113
|
+
};
|
|
13114
|
+
};
|
|
13084
13115
|
url: "/api/credential/{credentialID}";
|
|
13085
13116
|
};
|
|
13086
13117
|
export type V2CredentialUpdateErrors = {
|
|
@@ -13444,6 +13475,281 @@ export type V2EventSubscribeResponses = {
|
|
|
13444
13475
|
200: string;
|
|
13445
13476
|
};
|
|
13446
13477
|
export type V2EventSubscribeResponse = V2EventSubscribeResponses[keyof V2EventSubscribeResponses];
|
|
13478
|
+
export type V2PtyListData = {
|
|
13479
|
+
body?: never;
|
|
13480
|
+
path?: never;
|
|
13481
|
+
query?: {
|
|
13482
|
+
location?: {
|
|
13483
|
+
directory?: string;
|
|
13484
|
+
workspace?: string;
|
|
13485
|
+
};
|
|
13486
|
+
};
|
|
13487
|
+
url: "/api/pty";
|
|
13488
|
+
};
|
|
13489
|
+
export type V2PtyListErrors = {
|
|
13490
|
+
/**
|
|
13491
|
+
* InvalidRequestError
|
|
13492
|
+
*/
|
|
13493
|
+
400: InvalidRequestError;
|
|
13494
|
+
/**
|
|
13495
|
+
* UnauthorizedError
|
|
13496
|
+
*/
|
|
13497
|
+
401: UnauthorizedError;
|
|
13498
|
+
};
|
|
13499
|
+
export type V2PtyListError = V2PtyListErrors[keyof V2PtyListErrors];
|
|
13500
|
+
export type V2PtyListResponses = {
|
|
13501
|
+
/**
|
|
13502
|
+
* Success
|
|
13503
|
+
*/
|
|
13504
|
+
200: {
|
|
13505
|
+
location: LocationInfo;
|
|
13506
|
+
data: Array<Pty>;
|
|
13507
|
+
};
|
|
13508
|
+
};
|
|
13509
|
+
export type V2PtyListResponse = V2PtyListResponses[keyof V2PtyListResponses];
|
|
13510
|
+
export type V2PtyCreateData = {
|
|
13511
|
+
body: {
|
|
13512
|
+
command?: string;
|
|
13513
|
+
args?: Array<string>;
|
|
13514
|
+
cwd?: string;
|
|
13515
|
+
title?: string;
|
|
13516
|
+
env?: {
|
|
13517
|
+
[key: string]: string;
|
|
13518
|
+
};
|
|
13519
|
+
};
|
|
13520
|
+
path?: never;
|
|
13521
|
+
query?: {
|
|
13522
|
+
location?: {
|
|
13523
|
+
directory?: string;
|
|
13524
|
+
workspace?: string;
|
|
13525
|
+
};
|
|
13526
|
+
};
|
|
13527
|
+
url: "/api/pty";
|
|
13528
|
+
};
|
|
13529
|
+
export type V2PtyCreateErrors = {
|
|
13530
|
+
/**
|
|
13531
|
+
* InvalidRequestError
|
|
13532
|
+
*/
|
|
13533
|
+
400: InvalidRequestError;
|
|
13534
|
+
/**
|
|
13535
|
+
* UnauthorizedError
|
|
13536
|
+
*/
|
|
13537
|
+
401: UnauthorizedError;
|
|
13538
|
+
};
|
|
13539
|
+
export type V2PtyCreateError = V2PtyCreateErrors[keyof V2PtyCreateErrors];
|
|
13540
|
+
export type V2PtyCreateResponses = {
|
|
13541
|
+
/**
|
|
13542
|
+
* Success
|
|
13543
|
+
*/
|
|
13544
|
+
200: {
|
|
13545
|
+
location: LocationInfo;
|
|
13546
|
+
data: Pty;
|
|
13547
|
+
};
|
|
13548
|
+
};
|
|
13549
|
+
export type V2PtyCreateResponse = V2PtyCreateResponses[keyof V2PtyCreateResponses];
|
|
13550
|
+
export type V2PtyRemoveData = {
|
|
13551
|
+
body?: never;
|
|
13552
|
+
path: {
|
|
13553
|
+
ptyID: string;
|
|
13554
|
+
};
|
|
13555
|
+
query?: {
|
|
13556
|
+
location?: {
|
|
13557
|
+
directory?: string;
|
|
13558
|
+
workspace?: string;
|
|
13559
|
+
};
|
|
13560
|
+
};
|
|
13561
|
+
url: "/api/pty/{ptyID}";
|
|
13562
|
+
};
|
|
13563
|
+
export type V2PtyRemoveErrors = {
|
|
13564
|
+
/**
|
|
13565
|
+
* InvalidRequestError
|
|
13566
|
+
*/
|
|
13567
|
+
400: InvalidRequestError;
|
|
13568
|
+
/**
|
|
13569
|
+
* UnauthorizedError
|
|
13570
|
+
*/
|
|
13571
|
+
401: UnauthorizedError;
|
|
13572
|
+
/**
|
|
13573
|
+
* PtyNotFoundError
|
|
13574
|
+
*/
|
|
13575
|
+
404: PtyNotFoundError;
|
|
13576
|
+
};
|
|
13577
|
+
export type V2PtyRemoveError = V2PtyRemoveErrors[keyof V2PtyRemoveErrors];
|
|
13578
|
+
export type V2PtyRemoveResponses = {
|
|
13579
|
+
/**
|
|
13580
|
+
* <No Content>
|
|
13581
|
+
*/
|
|
13582
|
+
204: void;
|
|
13583
|
+
};
|
|
13584
|
+
export type V2PtyRemoveResponse = V2PtyRemoveResponses[keyof V2PtyRemoveResponses];
|
|
13585
|
+
export type V2PtyGetData = {
|
|
13586
|
+
body?: never;
|
|
13587
|
+
path: {
|
|
13588
|
+
ptyID: string;
|
|
13589
|
+
};
|
|
13590
|
+
query?: {
|
|
13591
|
+
location?: {
|
|
13592
|
+
directory?: string;
|
|
13593
|
+
workspace?: string;
|
|
13594
|
+
};
|
|
13595
|
+
};
|
|
13596
|
+
url: "/api/pty/{ptyID}";
|
|
13597
|
+
};
|
|
13598
|
+
export type V2PtyGetErrors = {
|
|
13599
|
+
/**
|
|
13600
|
+
* InvalidRequestError
|
|
13601
|
+
*/
|
|
13602
|
+
400: InvalidRequestError;
|
|
13603
|
+
/**
|
|
13604
|
+
* UnauthorizedError
|
|
13605
|
+
*/
|
|
13606
|
+
401: UnauthorizedError;
|
|
13607
|
+
/**
|
|
13608
|
+
* PtyNotFoundError
|
|
13609
|
+
*/
|
|
13610
|
+
404: PtyNotFoundError;
|
|
13611
|
+
};
|
|
13612
|
+
export type V2PtyGetError = V2PtyGetErrors[keyof V2PtyGetErrors];
|
|
13613
|
+
export type V2PtyGetResponses = {
|
|
13614
|
+
/**
|
|
13615
|
+
* Success
|
|
13616
|
+
*/
|
|
13617
|
+
200: {
|
|
13618
|
+
location: LocationInfo;
|
|
13619
|
+
data: Pty;
|
|
13620
|
+
};
|
|
13621
|
+
};
|
|
13622
|
+
export type V2PtyGetResponse = V2PtyGetResponses[keyof V2PtyGetResponses];
|
|
13623
|
+
export type V2PtyUpdateData = {
|
|
13624
|
+
body: {
|
|
13625
|
+
title?: string;
|
|
13626
|
+
sessionID?: string;
|
|
13627
|
+
size?: {
|
|
13628
|
+
rows: number;
|
|
13629
|
+
cols: number;
|
|
13630
|
+
};
|
|
13631
|
+
};
|
|
13632
|
+
path: {
|
|
13633
|
+
ptyID: string;
|
|
13634
|
+
};
|
|
13635
|
+
query?: {
|
|
13636
|
+
location?: {
|
|
13637
|
+
directory?: string;
|
|
13638
|
+
workspace?: string;
|
|
13639
|
+
};
|
|
13640
|
+
};
|
|
13641
|
+
url: "/api/pty/{ptyID}";
|
|
13642
|
+
};
|
|
13643
|
+
export type V2PtyUpdateErrors = {
|
|
13644
|
+
/**
|
|
13645
|
+
* InvalidRequestError
|
|
13646
|
+
*/
|
|
13647
|
+
400: InvalidRequestError;
|
|
13648
|
+
/**
|
|
13649
|
+
* UnauthorizedError
|
|
13650
|
+
*/
|
|
13651
|
+
401: UnauthorizedError;
|
|
13652
|
+
/**
|
|
13653
|
+
* PtyNotFoundError
|
|
13654
|
+
*/
|
|
13655
|
+
404: PtyNotFoundError;
|
|
13656
|
+
};
|
|
13657
|
+
export type V2PtyUpdateError = V2PtyUpdateErrors[keyof V2PtyUpdateErrors];
|
|
13658
|
+
export type V2PtyUpdateResponses = {
|
|
13659
|
+
/**
|
|
13660
|
+
* Success
|
|
13661
|
+
*/
|
|
13662
|
+
200: {
|
|
13663
|
+
location: LocationInfo;
|
|
13664
|
+
data: Pty;
|
|
13665
|
+
};
|
|
13666
|
+
};
|
|
13667
|
+
export type V2PtyUpdateResponse = V2PtyUpdateResponses[keyof V2PtyUpdateResponses];
|
|
13668
|
+
export type V2PtyConnectTokenData = {
|
|
13669
|
+
body?: never;
|
|
13670
|
+
path: {
|
|
13671
|
+
ptyID: string;
|
|
13672
|
+
};
|
|
13673
|
+
query?: {
|
|
13674
|
+
location?: {
|
|
13675
|
+
directory?: string;
|
|
13676
|
+
workspace?: string;
|
|
13677
|
+
};
|
|
13678
|
+
};
|
|
13679
|
+
url: "/api/pty/{ptyID}/connect-token";
|
|
13680
|
+
};
|
|
13681
|
+
export type V2PtyConnectTokenErrors = {
|
|
13682
|
+
/**
|
|
13683
|
+
* InvalidRequestError
|
|
13684
|
+
*/
|
|
13685
|
+
400: InvalidRequestError;
|
|
13686
|
+
/**
|
|
13687
|
+
* UnauthorizedError
|
|
13688
|
+
*/
|
|
13689
|
+
401: UnauthorizedError;
|
|
13690
|
+
/**
|
|
13691
|
+
* ForbiddenError
|
|
13692
|
+
*/
|
|
13693
|
+
403: ForbiddenError;
|
|
13694
|
+
/**
|
|
13695
|
+
* PtyNotFoundError
|
|
13696
|
+
*/
|
|
13697
|
+
404: PtyNotFoundError;
|
|
13698
|
+
};
|
|
13699
|
+
export type V2PtyConnectTokenError = V2PtyConnectTokenErrors[keyof V2PtyConnectTokenErrors];
|
|
13700
|
+
export type V2PtyConnectTokenResponses = {
|
|
13701
|
+
/**
|
|
13702
|
+
* Success
|
|
13703
|
+
*/
|
|
13704
|
+
200: {
|
|
13705
|
+
location: LocationInfo;
|
|
13706
|
+
data: {
|
|
13707
|
+
ticket: string;
|
|
13708
|
+
expires_in: number;
|
|
13709
|
+
};
|
|
13710
|
+
};
|
|
13711
|
+
};
|
|
13712
|
+
export type V2PtyConnectTokenResponse = V2PtyConnectTokenResponses[keyof V2PtyConnectTokenResponses];
|
|
13713
|
+
export type V2PtyConnectData = {
|
|
13714
|
+
body?: never;
|
|
13715
|
+
path: {
|
|
13716
|
+
ptyID: string;
|
|
13717
|
+
};
|
|
13718
|
+
query?: {
|
|
13719
|
+
"location[directory]"?: string;
|
|
13720
|
+
"location[workspace]"?: string;
|
|
13721
|
+
cursor?: string;
|
|
13722
|
+
ticket?: string;
|
|
13723
|
+
replayExited?: string;
|
|
13724
|
+
};
|
|
13725
|
+
url: "/api/pty/{ptyID}/connect";
|
|
13726
|
+
};
|
|
13727
|
+
export type V2PtyConnectErrors = {
|
|
13728
|
+
/**
|
|
13729
|
+
* InvalidRequestError
|
|
13730
|
+
*/
|
|
13731
|
+
400: InvalidRequestError;
|
|
13732
|
+
/**
|
|
13733
|
+
* UnauthorizedError
|
|
13734
|
+
*/
|
|
13735
|
+
401: UnauthorizedError;
|
|
13736
|
+
/**
|
|
13737
|
+
* ForbiddenError
|
|
13738
|
+
*/
|
|
13739
|
+
403: ForbiddenError;
|
|
13740
|
+
/**
|
|
13741
|
+
* PtyNotFoundError
|
|
13742
|
+
*/
|
|
13743
|
+
404: PtyNotFoundError;
|
|
13744
|
+
};
|
|
13745
|
+
export type V2PtyConnectError = V2PtyConnectErrors[keyof V2PtyConnectErrors];
|
|
13746
|
+
export type V2PtyConnectResponses = {
|
|
13747
|
+
/**
|
|
13748
|
+
* Success
|
|
13749
|
+
*/
|
|
13750
|
+
200: boolean;
|
|
13751
|
+
};
|
|
13752
|
+
export type V2PtyConnectResponse = V2PtyConnectResponses[keyof V2PtyConnectResponses];
|
|
13447
13753
|
export type V2QuestionRequestListData = {
|
|
13448
13754
|
body?: never;
|
|
13449
13755
|
path?: never;
|