@kilocode/sdk 7.2.19 → 7.2.21
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/core/serverSentEvents.gen.js +1 -1
- package/dist/v2/data.js +1 -1
- package/dist/v2/gen/sdk.gen.d.ts +180 -130
- package/dist/v2/gen/sdk.gen.js +285 -185
- package/dist/v2/gen/types.gen.d.ts +306 -201
- package/package.json +1 -1
|
@@ -34,18 +34,6 @@ export type EventServerInstanceDisposed = {
|
|
|
34
34
|
directory: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
export type EventInstallationUpdated = {
|
|
38
|
-
type: "installation.updated";
|
|
39
|
-
properties: {
|
|
40
|
-
version: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export type EventInstallationUpdateAvailable = {
|
|
44
|
-
type: "installation.update-available";
|
|
45
|
-
properties: {
|
|
46
|
-
version: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
37
|
export type EventServerConnected = {
|
|
50
38
|
type: "server.connected";
|
|
51
39
|
properties: {
|
|
@@ -90,6 +78,18 @@ export type EventLspUpdated = {
|
|
|
90
78
|
[key: string]: unknown;
|
|
91
79
|
};
|
|
92
80
|
};
|
|
81
|
+
export type EventInstallationUpdated = {
|
|
82
|
+
type: "installation.updated";
|
|
83
|
+
properties: {
|
|
84
|
+
version: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
export type EventInstallationUpdateAvailable = {
|
|
88
|
+
type: "installation.update-available";
|
|
89
|
+
properties: {
|
|
90
|
+
version: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
93
|
export type EventTuiPromptAppend = {
|
|
94
94
|
type: "tui.prompt.append";
|
|
95
95
|
properties: {
|
|
@@ -180,19 +180,6 @@ export type EventMessagePartDelta = {
|
|
|
180
180
|
delta: string;
|
|
181
181
|
};
|
|
182
182
|
};
|
|
183
|
-
export type EventSessionTurnOpen = {
|
|
184
|
-
type: "session.turn.open";
|
|
185
|
-
properties: {
|
|
186
|
-
sessionID: string;
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
export type EventSessionTurnClose = {
|
|
190
|
-
type: "session.turn.close";
|
|
191
|
-
properties: {
|
|
192
|
-
sessionID: string;
|
|
193
|
-
reason: "completed" | "error" | "interrupted";
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
183
|
export type PermissionRequest = {
|
|
197
184
|
id: string;
|
|
198
185
|
sessionID: string;
|
|
@@ -219,6 +206,19 @@ export type EventPermissionReplied = {
|
|
|
219
206
|
reply: "once" | "always" | "reject";
|
|
220
207
|
};
|
|
221
208
|
};
|
|
209
|
+
export type EventSessionTurnOpen = {
|
|
210
|
+
type: "session.turn.open";
|
|
211
|
+
properties: {
|
|
212
|
+
sessionID: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
export type EventSessionTurnClose = {
|
|
216
|
+
type: "session.turn.close";
|
|
217
|
+
properties: {
|
|
218
|
+
sessionID: string;
|
|
219
|
+
reason: "completed" | "error" | "interrupted";
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
222
|
export type SnapshotFileDiff = {
|
|
223
223
|
file: string;
|
|
224
224
|
patch: string;
|
|
@@ -381,52 +381,13 @@ export type EventQuestionRejected = {
|
|
|
381
381
|
type: "question.rejected";
|
|
382
382
|
properties: QuestionRejected;
|
|
383
383
|
};
|
|
384
|
-
export type
|
|
385
|
-
|
|
386
|
-
* Brief description of the task
|
|
387
|
-
*/
|
|
388
|
-
content: string;
|
|
389
|
-
/**
|
|
390
|
-
* Current status of the task: pending, in_progress, completed, cancelled
|
|
391
|
-
*/
|
|
392
|
-
status: string;
|
|
393
|
-
/**
|
|
394
|
-
* Priority level of the task: high, medium, low
|
|
395
|
-
*/
|
|
396
|
-
priority: string;
|
|
397
|
-
};
|
|
398
|
-
export type EventTodoUpdated = {
|
|
399
|
-
type: "todo.updated";
|
|
400
|
-
properties: {
|
|
401
|
-
sessionID: string;
|
|
402
|
-
todos: Array<Todo>;
|
|
403
|
-
};
|
|
404
|
-
};
|
|
405
|
-
export type SessionStatus = {
|
|
406
|
-
type: "idle";
|
|
407
|
-
} | {
|
|
408
|
-
type: "retry";
|
|
409
|
-
attempt: number;
|
|
410
|
-
message: string;
|
|
411
|
-
next: number;
|
|
412
|
-
} | {
|
|
413
|
-
type: "busy";
|
|
414
|
-
} | {
|
|
415
|
-
type: "offline";
|
|
416
|
-
requestID: string;
|
|
417
|
-
message: string;
|
|
418
|
-
};
|
|
419
|
-
export type EventSessionStatus = {
|
|
420
|
-
type: "session.status";
|
|
421
|
-
properties: {
|
|
422
|
-
sessionID: string;
|
|
423
|
-
status: SessionStatus;
|
|
424
|
-
};
|
|
425
|
-
};
|
|
426
|
-
export type EventSessionIdle = {
|
|
427
|
-
type: "session.idle";
|
|
384
|
+
export type EventCommandExecuted = {
|
|
385
|
+
type: "command.executed";
|
|
428
386
|
properties: {
|
|
387
|
+
name: string;
|
|
429
388
|
sessionID: string;
|
|
389
|
+
arguments: string;
|
|
390
|
+
messageID: string;
|
|
430
391
|
};
|
|
431
392
|
};
|
|
432
393
|
export type SuggestionAction = {
|
|
@@ -455,7 +416,7 @@ export type SuggestionRequest = {
|
|
|
455
416
|
*/
|
|
456
417
|
actions: Array<SuggestionAction>;
|
|
457
418
|
/**
|
|
458
|
-
* Whether this suggestion blocks prompt input
|
|
419
|
+
* Whether this suggestion blocks prompt input. When unset, the TUI treats the suggestion as blocking for backwards compatibility; the built-in suggest tool always sets this to false.
|
|
459
420
|
*/
|
|
460
421
|
blocking?: boolean;
|
|
461
422
|
tool?: {
|
|
@@ -483,19 +444,52 @@ export type EventSuggestionDismissed = {
|
|
|
483
444
|
requestID: string;
|
|
484
445
|
};
|
|
485
446
|
};
|
|
486
|
-
export type
|
|
487
|
-
type: "
|
|
447
|
+
export type SessionStatus = {
|
|
448
|
+
type: "idle";
|
|
449
|
+
} | {
|
|
450
|
+
type: "retry";
|
|
451
|
+
attempt: number;
|
|
452
|
+
message: string;
|
|
453
|
+
next: number;
|
|
454
|
+
} | {
|
|
455
|
+
type: "busy";
|
|
456
|
+
} | {
|
|
457
|
+
type: "offline";
|
|
458
|
+
requestID: string;
|
|
459
|
+
message: string;
|
|
460
|
+
};
|
|
461
|
+
export type EventSessionStatus = {
|
|
462
|
+
type: "session.status";
|
|
488
463
|
properties: {
|
|
489
464
|
sessionID: string;
|
|
465
|
+
status: SessionStatus;
|
|
490
466
|
};
|
|
491
467
|
};
|
|
492
|
-
export type
|
|
493
|
-
type: "
|
|
468
|
+
export type EventSessionIdle = {
|
|
469
|
+
type: "session.idle";
|
|
494
470
|
properties: {
|
|
495
|
-
name: string;
|
|
496
471
|
sessionID: string;
|
|
497
|
-
|
|
498
|
-
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
export type Todo = {
|
|
475
|
+
/**
|
|
476
|
+
* Brief description of the task
|
|
477
|
+
*/
|
|
478
|
+
content: string;
|
|
479
|
+
/**
|
|
480
|
+
* Current status of the task: pending, in_progress, completed, cancelled
|
|
481
|
+
*/
|
|
482
|
+
status: string;
|
|
483
|
+
/**
|
|
484
|
+
* Priority level of the task: high, medium, low
|
|
485
|
+
*/
|
|
486
|
+
priority: string;
|
|
487
|
+
};
|
|
488
|
+
export type EventTodoUpdated = {
|
|
489
|
+
type: "todo.updated";
|
|
490
|
+
properties: {
|
|
491
|
+
sessionID: string;
|
|
492
|
+
todos: Array<Todo>;
|
|
499
493
|
};
|
|
500
494
|
};
|
|
501
495
|
export type EventVcsBranchUpdated = {
|
|
@@ -504,6 +498,12 @@ export type EventVcsBranchUpdated = {
|
|
|
504
498
|
branch?: string;
|
|
505
499
|
};
|
|
506
500
|
};
|
|
501
|
+
export type EventSessionCompacted = {
|
|
502
|
+
type: "session.compacted";
|
|
503
|
+
properties: {
|
|
504
|
+
sessionID: string;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
507
|
export type EventKiloSessionsRemoteStatusChanged = {
|
|
508
508
|
type: "kilo-sessions.remote-status-changed";
|
|
509
509
|
properties: {
|
|
@@ -570,12 +570,20 @@ export type EventWorkspaceFailed = {
|
|
|
570
570
|
message: string;
|
|
571
571
|
};
|
|
572
572
|
};
|
|
573
|
+
export type EventWorkspaceRestore = {
|
|
574
|
+
type: "workspace.restore";
|
|
575
|
+
properties: {
|
|
576
|
+
workspaceID: string;
|
|
577
|
+
sessionID: string;
|
|
578
|
+
total: number;
|
|
579
|
+
step: number;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
573
582
|
export type EventWorkspaceStatus = {
|
|
574
583
|
type: "workspace.status";
|
|
575
584
|
properties: {
|
|
576
585
|
workspaceID: string;
|
|
577
586
|
status: "connected" | "connecting" | "disconnected" | "error";
|
|
578
|
-
error?: string;
|
|
579
587
|
};
|
|
580
588
|
};
|
|
581
589
|
export type OutputFormatText = {
|
|
@@ -1095,7 +1103,7 @@ export type GlobalEvent = {
|
|
|
1095
1103
|
directory: string;
|
|
1096
1104
|
project?: string;
|
|
1097
1105
|
workspace?: string;
|
|
1098
|
-
payload: EventProjectUpdated | EventServerInstanceDisposed |
|
|
1106
|
+
payload: EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventInstallationUpdated | EventInstallationUpdateAvailable | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventCommandExecuted | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionStatus | EventSessionIdle | EventTodoUpdated | EventVcsBranchUpdated | EventSessionCompacted | EventKiloSessionsRemoteStatusChanged | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceRestore | EventWorkspaceStatus | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted;
|
|
1099
1107
|
};
|
|
1100
1108
|
/**
|
|
1101
1109
|
* Log level
|
|
@@ -1218,7 +1226,7 @@ export type ProviderConfig = {
|
|
|
1218
1226
|
*/
|
|
1219
1227
|
setCacheKey?: boolean;
|
|
1220
1228
|
/**
|
|
1221
|
-
* Timeout in milliseconds for requests to this provider. Default is
|
|
1229
|
+
* Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout.
|
|
1222
1230
|
*/
|
|
1223
1231
|
timeout?: number | false;
|
|
1224
1232
|
/**
|
|
@@ -1485,7 +1493,7 @@ export type Config = {
|
|
|
1485
1493
|
enabled: boolean;
|
|
1486
1494
|
};
|
|
1487
1495
|
};
|
|
1488
|
-
formatter?:
|
|
1496
|
+
formatter?: boolean | {
|
|
1489
1497
|
[key: string]: {
|
|
1490
1498
|
disabled?: boolean;
|
|
1491
1499
|
command?: Array<string>;
|
|
@@ -1495,7 +1503,7 @@ export type Config = {
|
|
|
1495
1503
|
extensions?: Array<string>;
|
|
1496
1504
|
};
|
|
1497
1505
|
};
|
|
1498
|
-
lsp?:
|
|
1506
|
+
lsp?: boolean | {
|
|
1499
1507
|
[key: string]: {
|
|
1500
1508
|
disabled: true;
|
|
1501
1509
|
} | {
|
|
@@ -1604,6 +1612,15 @@ export type WellKnownAuth = {
|
|
|
1604
1612
|
token: string;
|
|
1605
1613
|
};
|
|
1606
1614
|
export type Auth = OAuth | ApiAuth | WellKnownAuth;
|
|
1615
|
+
export type Workspace = {
|
|
1616
|
+
id: string;
|
|
1617
|
+
type: string;
|
|
1618
|
+
name: string;
|
|
1619
|
+
branch: string | null;
|
|
1620
|
+
directory: string | null;
|
|
1621
|
+
extra: unknown | null;
|
|
1622
|
+
projectID: string;
|
|
1623
|
+
};
|
|
1607
1624
|
export type NotFoundError = {
|
|
1608
1625
|
name: "NotFoundError";
|
|
1609
1626
|
data: {
|
|
@@ -1702,15 +1719,6 @@ export type ToolListItem = {
|
|
|
1702
1719
|
parameters: unknown;
|
|
1703
1720
|
};
|
|
1704
1721
|
export type ToolList = Array<ToolListItem>;
|
|
1705
|
-
export type Workspace = {
|
|
1706
|
-
id: string;
|
|
1707
|
-
type: string;
|
|
1708
|
-
name: string;
|
|
1709
|
-
branch: string | null;
|
|
1710
|
-
directory: string | null;
|
|
1711
|
-
extra: unknown | null;
|
|
1712
|
-
projectID: string;
|
|
1713
|
-
};
|
|
1714
1722
|
export type Worktree = {
|
|
1715
1723
|
name: string;
|
|
1716
1724
|
branch: string;
|
|
@@ -1913,7 +1921,7 @@ export type File = {
|
|
|
1913
1921
|
removed: number;
|
|
1914
1922
|
status: "added" | "deleted" | "modified";
|
|
1915
1923
|
};
|
|
1916
|
-
export type Event = EventProjectUpdated | EventServerInstanceDisposed |
|
|
1924
|
+
export type Event = EventProjectUpdated | EventServerInstanceDisposed | EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventInstallationUpdated | EventInstallationUpdateAvailable | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventCommandExecuted | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventSessionStatus | EventSessionIdle | EventTodoUpdated | EventVcsBranchUpdated | EventSessionCompacted | EventKiloSessionsRemoteStatusChanged | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceRestore | EventWorkspaceStatus | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted;
|
|
1917
1925
|
export type McpStatusConnected = {
|
|
1918
1926
|
status: "connected";
|
|
1919
1927
|
};
|
|
@@ -2183,6 +2191,143 @@ export type AppLogResponses = {
|
|
|
2183
2191
|
200: boolean;
|
|
2184
2192
|
};
|
|
2185
2193
|
export type AppLogResponse = AppLogResponses[keyof AppLogResponses];
|
|
2194
|
+
export type ExperimentalWorkspaceAdaptorListData = {
|
|
2195
|
+
body?: never;
|
|
2196
|
+
path?: never;
|
|
2197
|
+
query?: {
|
|
2198
|
+
directory?: string;
|
|
2199
|
+
workspace?: string;
|
|
2200
|
+
};
|
|
2201
|
+
url: "/experimental/workspace/adaptor";
|
|
2202
|
+
};
|
|
2203
|
+
export type ExperimentalWorkspaceAdaptorListResponses = {
|
|
2204
|
+
/**
|
|
2205
|
+
* Workspace adaptors
|
|
2206
|
+
*/
|
|
2207
|
+
200: Array<{
|
|
2208
|
+
type: string;
|
|
2209
|
+
name: string;
|
|
2210
|
+
description: string;
|
|
2211
|
+
}>;
|
|
2212
|
+
};
|
|
2213
|
+
export type ExperimentalWorkspaceAdaptorListResponse = ExperimentalWorkspaceAdaptorListResponses[keyof ExperimentalWorkspaceAdaptorListResponses];
|
|
2214
|
+
export type ExperimentalWorkspaceListData = {
|
|
2215
|
+
body?: never;
|
|
2216
|
+
path?: never;
|
|
2217
|
+
query?: {
|
|
2218
|
+
directory?: string;
|
|
2219
|
+
workspace?: string;
|
|
2220
|
+
};
|
|
2221
|
+
url: "/experimental/workspace";
|
|
2222
|
+
};
|
|
2223
|
+
export type ExperimentalWorkspaceListResponses = {
|
|
2224
|
+
/**
|
|
2225
|
+
* Workspaces
|
|
2226
|
+
*/
|
|
2227
|
+
200: Array<Workspace>;
|
|
2228
|
+
};
|
|
2229
|
+
export type ExperimentalWorkspaceListResponse = ExperimentalWorkspaceListResponses[keyof ExperimentalWorkspaceListResponses];
|
|
2230
|
+
export type ExperimentalWorkspaceCreateData = {
|
|
2231
|
+
body?: {
|
|
2232
|
+
id?: string;
|
|
2233
|
+
type: string;
|
|
2234
|
+
branch: string | null;
|
|
2235
|
+
extra: unknown | null;
|
|
2236
|
+
};
|
|
2237
|
+
path?: never;
|
|
2238
|
+
query?: {
|
|
2239
|
+
directory?: string;
|
|
2240
|
+
workspace?: string;
|
|
2241
|
+
};
|
|
2242
|
+
url: "/experimental/workspace";
|
|
2243
|
+
};
|
|
2244
|
+
export type ExperimentalWorkspaceCreateErrors = {
|
|
2245
|
+
/**
|
|
2246
|
+
* Bad request
|
|
2247
|
+
*/
|
|
2248
|
+
400: BadRequestError;
|
|
2249
|
+
};
|
|
2250
|
+
export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
|
|
2251
|
+
export type ExperimentalWorkspaceCreateResponses = {
|
|
2252
|
+
/**
|
|
2253
|
+
* Workspace created
|
|
2254
|
+
*/
|
|
2255
|
+
200: Workspace;
|
|
2256
|
+
};
|
|
2257
|
+
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
2258
|
+
export type ExperimentalWorkspaceStatusData = {
|
|
2259
|
+
body?: never;
|
|
2260
|
+
path?: never;
|
|
2261
|
+
query?: {
|
|
2262
|
+
directory?: string;
|
|
2263
|
+
workspace?: string;
|
|
2264
|
+
};
|
|
2265
|
+
url: "/experimental/workspace/status";
|
|
2266
|
+
};
|
|
2267
|
+
export type ExperimentalWorkspaceStatusResponses = {
|
|
2268
|
+
/**
|
|
2269
|
+
* Workspace status
|
|
2270
|
+
*/
|
|
2271
|
+
200: Array<{
|
|
2272
|
+
workspaceID: string;
|
|
2273
|
+
status: "connected" | "connecting" | "disconnected" | "error";
|
|
2274
|
+
}>;
|
|
2275
|
+
};
|
|
2276
|
+
export type ExperimentalWorkspaceStatusResponse = ExperimentalWorkspaceStatusResponses[keyof ExperimentalWorkspaceStatusResponses];
|
|
2277
|
+
export type ExperimentalWorkspaceRemoveData = {
|
|
2278
|
+
body?: never;
|
|
2279
|
+
path: {
|
|
2280
|
+
id: string;
|
|
2281
|
+
};
|
|
2282
|
+
query?: {
|
|
2283
|
+
directory?: string;
|
|
2284
|
+
workspace?: string;
|
|
2285
|
+
};
|
|
2286
|
+
url: "/experimental/workspace/{id}";
|
|
2287
|
+
};
|
|
2288
|
+
export type ExperimentalWorkspaceRemoveErrors = {
|
|
2289
|
+
/**
|
|
2290
|
+
* Bad request
|
|
2291
|
+
*/
|
|
2292
|
+
400: BadRequestError;
|
|
2293
|
+
};
|
|
2294
|
+
export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
|
|
2295
|
+
export type ExperimentalWorkspaceRemoveResponses = {
|
|
2296
|
+
/**
|
|
2297
|
+
* Workspace removed
|
|
2298
|
+
*/
|
|
2299
|
+
200: Workspace;
|
|
2300
|
+
};
|
|
2301
|
+
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
2302
|
+
export type ExperimentalWorkspaceSessionRestoreData = {
|
|
2303
|
+
body?: {
|
|
2304
|
+
sessionID: string;
|
|
2305
|
+
};
|
|
2306
|
+
path: {
|
|
2307
|
+
id: string;
|
|
2308
|
+
};
|
|
2309
|
+
query?: {
|
|
2310
|
+
directory?: string;
|
|
2311
|
+
workspace?: string;
|
|
2312
|
+
};
|
|
2313
|
+
url: "/experimental/workspace/{id}/session-restore";
|
|
2314
|
+
};
|
|
2315
|
+
export type ExperimentalWorkspaceSessionRestoreErrors = {
|
|
2316
|
+
/**
|
|
2317
|
+
* Bad request
|
|
2318
|
+
*/
|
|
2319
|
+
400: BadRequestError;
|
|
2320
|
+
};
|
|
2321
|
+
export type ExperimentalWorkspaceSessionRestoreError = ExperimentalWorkspaceSessionRestoreErrors[keyof ExperimentalWorkspaceSessionRestoreErrors];
|
|
2322
|
+
export type ExperimentalWorkspaceSessionRestoreResponses = {
|
|
2323
|
+
/**
|
|
2324
|
+
* Session replay started
|
|
2325
|
+
*/
|
|
2326
|
+
200: {
|
|
2327
|
+
total: number;
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
export type ExperimentalWorkspaceSessionRestoreResponse = ExperimentalWorkspaceSessionRestoreResponses[keyof ExperimentalWorkspaceSessionRestoreResponses];
|
|
2186
2331
|
export type ProjectListData = {
|
|
2187
2332
|
body?: never;
|
|
2188
2333
|
path?: never;
|
|
@@ -2618,115 +2763,6 @@ export type ToolListResponses = {
|
|
|
2618
2763
|
200: ToolList;
|
|
2619
2764
|
};
|
|
2620
2765
|
export type ToolListResponse = ToolListResponses[keyof ToolListResponses];
|
|
2621
|
-
export type ExperimentalWorkspaceAdaptorListData = {
|
|
2622
|
-
body?: never;
|
|
2623
|
-
path?: never;
|
|
2624
|
-
query?: {
|
|
2625
|
-
directory?: string;
|
|
2626
|
-
workspace?: string;
|
|
2627
|
-
};
|
|
2628
|
-
url: "/experimental/workspace/adaptor";
|
|
2629
|
-
};
|
|
2630
|
-
export type ExperimentalWorkspaceAdaptorListResponses = {
|
|
2631
|
-
/**
|
|
2632
|
-
* Workspace adaptors
|
|
2633
|
-
*/
|
|
2634
|
-
200: Array<{
|
|
2635
|
-
type: string;
|
|
2636
|
-
name: string;
|
|
2637
|
-
description: string;
|
|
2638
|
-
}>;
|
|
2639
|
-
};
|
|
2640
|
-
export type ExperimentalWorkspaceAdaptorListResponse = ExperimentalWorkspaceAdaptorListResponses[keyof ExperimentalWorkspaceAdaptorListResponses];
|
|
2641
|
-
export type ExperimentalWorkspaceListData = {
|
|
2642
|
-
body?: never;
|
|
2643
|
-
path?: never;
|
|
2644
|
-
query?: {
|
|
2645
|
-
directory?: string;
|
|
2646
|
-
workspace?: string;
|
|
2647
|
-
};
|
|
2648
|
-
url: "/experimental/workspace";
|
|
2649
|
-
};
|
|
2650
|
-
export type ExperimentalWorkspaceListResponses = {
|
|
2651
|
-
/**
|
|
2652
|
-
* Workspaces
|
|
2653
|
-
*/
|
|
2654
|
-
200: Array<Workspace>;
|
|
2655
|
-
};
|
|
2656
|
-
export type ExperimentalWorkspaceListResponse = ExperimentalWorkspaceListResponses[keyof ExperimentalWorkspaceListResponses];
|
|
2657
|
-
export type ExperimentalWorkspaceCreateData = {
|
|
2658
|
-
body?: {
|
|
2659
|
-
id?: string;
|
|
2660
|
-
type: string;
|
|
2661
|
-
branch: string | null;
|
|
2662
|
-
extra: unknown | null;
|
|
2663
|
-
};
|
|
2664
|
-
path?: never;
|
|
2665
|
-
query?: {
|
|
2666
|
-
directory?: string;
|
|
2667
|
-
workspace?: string;
|
|
2668
|
-
};
|
|
2669
|
-
url: "/experimental/workspace";
|
|
2670
|
-
};
|
|
2671
|
-
export type ExperimentalWorkspaceCreateErrors = {
|
|
2672
|
-
/**
|
|
2673
|
-
* Bad request
|
|
2674
|
-
*/
|
|
2675
|
-
400: BadRequestError;
|
|
2676
|
-
};
|
|
2677
|
-
export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
|
|
2678
|
-
export type ExperimentalWorkspaceCreateResponses = {
|
|
2679
|
-
/**
|
|
2680
|
-
* Workspace created
|
|
2681
|
-
*/
|
|
2682
|
-
200: Workspace;
|
|
2683
|
-
};
|
|
2684
|
-
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
2685
|
-
export type ExperimentalWorkspaceStatusData = {
|
|
2686
|
-
body?: never;
|
|
2687
|
-
path?: never;
|
|
2688
|
-
query?: {
|
|
2689
|
-
directory?: string;
|
|
2690
|
-
workspace?: string;
|
|
2691
|
-
};
|
|
2692
|
-
url: "/experimental/workspace/status";
|
|
2693
|
-
};
|
|
2694
|
-
export type ExperimentalWorkspaceStatusResponses = {
|
|
2695
|
-
/**
|
|
2696
|
-
* Workspace status
|
|
2697
|
-
*/
|
|
2698
|
-
200: Array<{
|
|
2699
|
-
workspaceID: string;
|
|
2700
|
-
status: "connected" | "connecting" | "disconnected" | "error";
|
|
2701
|
-
error?: string;
|
|
2702
|
-
}>;
|
|
2703
|
-
};
|
|
2704
|
-
export type ExperimentalWorkspaceStatusResponse = ExperimentalWorkspaceStatusResponses[keyof ExperimentalWorkspaceStatusResponses];
|
|
2705
|
-
export type ExperimentalWorkspaceRemoveData = {
|
|
2706
|
-
body?: never;
|
|
2707
|
-
path: {
|
|
2708
|
-
id: string;
|
|
2709
|
-
};
|
|
2710
|
-
query?: {
|
|
2711
|
-
directory?: string;
|
|
2712
|
-
workspace?: string;
|
|
2713
|
-
};
|
|
2714
|
-
url: "/experimental/workspace/{id}";
|
|
2715
|
-
};
|
|
2716
|
-
export type ExperimentalWorkspaceRemoveErrors = {
|
|
2717
|
-
/**
|
|
2718
|
-
* Bad request
|
|
2719
|
-
*/
|
|
2720
|
-
400: BadRequestError;
|
|
2721
|
-
};
|
|
2722
|
-
export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
|
|
2723
|
-
export type ExperimentalWorkspaceRemoveResponses = {
|
|
2724
|
-
/**
|
|
2725
|
-
* Workspace removed
|
|
2726
|
-
*/
|
|
2727
|
-
200: Workspace;
|
|
2728
|
-
};
|
|
2729
|
-
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
2730
2766
|
export type WorktreeRemoveData = {
|
|
2731
2767
|
body?: WorktreeRemoveInput;
|
|
2732
2768
|
path?: never;
|
|
@@ -4143,6 +4179,75 @@ export type ProviderOauthCallbackResponses = {
|
|
|
4143
4179
|
200: boolean;
|
|
4144
4180
|
};
|
|
4145
4181
|
export type ProviderOauthCallbackResponse = ProviderOauthCallbackResponses[keyof ProviderOauthCallbackResponses];
|
|
4182
|
+
export type SyncReplayData = {
|
|
4183
|
+
body?: {
|
|
4184
|
+
directory: string;
|
|
4185
|
+
events: Array<{
|
|
4186
|
+
id: string;
|
|
4187
|
+
aggregateID: string;
|
|
4188
|
+
seq: number;
|
|
4189
|
+
type: string;
|
|
4190
|
+
data: {
|
|
4191
|
+
[key: string]: unknown;
|
|
4192
|
+
};
|
|
4193
|
+
}>;
|
|
4194
|
+
};
|
|
4195
|
+
path?: never;
|
|
4196
|
+
query?: {
|
|
4197
|
+
directory?: string;
|
|
4198
|
+
workspace?: string;
|
|
4199
|
+
};
|
|
4200
|
+
url: "/sync/replay";
|
|
4201
|
+
};
|
|
4202
|
+
export type SyncReplayErrors = {
|
|
4203
|
+
/**
|
|
4204
|
+
* Bad request
|
|
4205
|
+
*/
|
|
4206
|
+
400: BadRequestError;
|
|
4207
|
+
};
|
|
4208
|
+
export type SyncReplayError = SyncReplayErrors[keyof SyncReplayErrors];
|
|
4209
|
+
export type SyncReplayResponses = {
|
|
4210
|
+
/**
|
|
4211
|
+
* Replayed sync events
|
|
4212
|
+
*/
|
|
4213
|
+
200: {
|
|
4214
|
+
sessionID: string;
|
|
4215
|
+
};
|
|
4216
|
+
};
|
|
4217
|
+
export type SyncReplayResponse = SyncReplayResponses[keyof SyncReplayResponses];
|
|
4218
|
+
export type SyncHistoryListData = {
|
|
4219
|
+
body?: {
|
|
4220
|
+
[key: string]: number;
|
|
4221
|
+
};
|
|
4222
|
+
path?: never;
|
|
4223
|
+
query?: {
|
|
4224
|
+
directory?: string;
|
|
4225
|
+
workspace?: string;
|
|
4226
|
+
};
|
|
4227
|
+
url: "/sync/history";
|
|
4228
|
+
};
|
|
4229
|
+
export type SyncHistoryListErrors = {
|
|
4230
|
+
/**
|
|
4231
|
+
* Bad request
|
|
4232
|
+
*/
|
|
4233
|
+
400: BadRequestError;
|
|
4234
|
+
};
|
|
4235
|
+
export type SyncHistoryListError = SyncHistoryListErrors[keyof SyncHistoryListErrors];
|
|
4236
|
+
export type SyncHistoryListResponses = {
|
|
4237
|
+
/**
|
|
4238
|
+
* Sync events
|
|
4239
|
+
*/
|
|
4240
|
+
200: Array<{
|
|
4241
|
+
id: string;
|
|
4242
|
+
aggregate_id: string;
|
|
4243
|
+
seq: number;
|
|
4244
|
+
type: string;
|
|
4245
|
+
data: {
|
|
4246
|
+
[key: string]: unknown;
|
|
4247
|
+
};
|
|
4248
|
+
}>;
|
|
4249
|
+
};
|
|
4250
|
+
export type SyncHistoryListResponse = SyncHistoryListResponses[keyof SyncHistoryListResponses];
|
|
4146
4251
|
export type FindTextData = {
|
|
4147
4252
|
body?: never;
|
|
4148
4253
|
path?: never;
|