@opencode-ai/sdk 0.0.0-dev-202606040530 → 0.0.0-dev-202606042324
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 +307 -232
- package/dist/v2/gen/sdk.gen.js +699 -609
- package/dist/v2/gen/types.gen.d.ts +1414 -1054
- 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 = EventModelsDevRefreshed | EventPluginAdded | EventCatalogModelUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | 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 | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventAccountAdded | EventAccountRemoved | EventAccountSwitched | EventPermissionV2Asked | EventPermissionV2Replied | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectDirectoriesUpdated | EventProjectUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventVcsBranchUpdated | EventWorktreeReady | EventWorktreeFailed | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
|
|
4
|
+
export type Event = EventModelsDevRefreshed | EventPluginAdded | EventCatalogModelUpdated | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextMoved | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventMessagePartDelta | EventSessionDiff | EventSessionError | EventInstallationUpdated | EventInstallationUpdateAvailable | EventFileEdited | EventAccountAdded | EventAccountRemoved | EventAccountSwitched | EventPermissionV2Asked | EventPermissionV2Replied | EventFileWatcherUpdated | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventQuestionV2Asked | EventQuestionV2Replied | EventQuestionV2Rejected | EventTodoUpdated | EventLspUpdated | EventPermissionAsked | EventPermissionReplied | EventTuiPromptAppend2 | EventTuiCommandExecute2 | EventTuiToastShow2 | EventTuiSessionSelect2 | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectDirectoriesUpdated | EventProjectUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventSessionStatus | EventSessionIdle | EventSessionCompacted | EventVcsBranchUpdated | EventWorktreeReady | EventWorktreeFailed | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed;
|
|
5
5
|
export type QuestionReplied = {
|
|
6
6
|
sessionID: string;
|
|
7
7
|
requestID: string;
|
|
@@ -41,6 +41,12 @@ export type InvalidRequestError = {
|
|
|
41
41
|
kind?: string;
|
|
42
42
|
field?: string;
|
|
43
43
|
};
|
|
44
|
+
export type MoveSessionError = {
|
|
45
|
+
name: "MoveSessionError";
|
|
46
|
+
data: {
|
|
47
|
+
message: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
44
50
|
export type SnapshotFileDiff = {
|
|
45
51
|
file?: string;
|
|
46
52
|
patch?: string;
|
|
@@ -631,6 +637,15 @@ export type GlobalEvent = {
|
|
|
631
637
|
variant?: string;
|
|
632
638
|
};
|
|
633
639
|
};
|
|
640
|
+
} | {
|
|
641
|
+
id: string;
|
|
642
|
+
type: "session.next.moved";
|
|
643
|
+
properties: {
|
|
644
|
+
timestamp: number;
|
|
645
|
+
sessionID: string;
|
|
646
|
+
location: LocationRef;
|
|
647
|
+
subdirectory?: string;
|
|
648
|
+
};
|
|
634
649
|
} | {
|
|
635
650
|
id: string;
|
|
636
651
|
type: "session.next.prompted";
|
|
@@ -1271,7 +1286,7 @@ export type GlobalEvent = {
|
|
|
1271
1286
|
properties: {
|
|
1272
1287
|
[key: string]: unknown;
|
|
1273
1288
|
};
|
|
1274
|
-
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
1289
|
+
} | EventServerInstanceDisposed | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextMoved | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
1275
1290
|
};
|
|
1276
1291
|
/**
|
|
1277
1292
|
* Log level
|
|
@@ -1501,6 +1516,7 @@ export type Config = {
|
|
|
1501
1516
|
description?: string;
|
|
1502
1517
|
agent?: string;
|
|
1503
1518
|
model?: string;
|
|
1519
|
+
variant?: string;
|
|
1504
1520
|
subtask?: boolean;
|
|
1505
1521
|
};
|
|
1506
1522
|
};
|
|
@@ -1982,6 +1998,12 @@ export type ProjectNotFoundError = {
|
|
|
1982
1998
|
projectID: string;
|
|
1983
1999
|
message: string;
|
|
1984
2000
|
};
|
|
2001
|
+
export type ProjectCopyError = {
|
|
2002
|
+
name: "ProjectCopyError";
|
|
2003
|
+
data: {
|
|
2004
|
+
message: string;
|
|
2005
|
+
};
|
|
2006
|
+
};
|
|
1985
2007
|
export type PtyNotFoundError = {
|
|
1986
2008
|
_tag: "PtyNotFoundError";
|
|
1987
2009
|
ptyID: string;
|
|
@@ -2122,53 +2144,6 @@ export type SessionBusyError = {
|
|
|
2122
2144
|
sessionID: string;
|
|
2123
2145
|
message: string;
|
|
2124
2146
|
};
|
|
2125
|
-
export type V2SessionsResponse = {
|
|
2126
|
-
items: Array<SessionV2Info>;
|
|
2127
|
-
cursor: {
|
|
2128
|
-
previous?: string;
|
|
2129
|
-
next?: string;
|
|
2130
|
-
};
|
|
2131
|
-
};
|
|
2132
|
-
export type InvalidCursorError = {
|
|
2133
|
-
_tag: "InvalidCursorError";
|
|
2134
|
-
message: string;
|
|
2135
|
-
};
|
|
2136
|
-
export type UnauthorizedError = {
|
|
2137
|
-
_tag: "UnauthorizedError";
|
|
2138
|
-
message: string;
|
|
2139
|
-
};
|
|
2140
|
-
export type ConflictError = {
|
|
2141
|
-
_tag: "ConflictError";
|
|
2142
|
-
message: string;
|
|
2143
|
-
resource?: string;
|
|
2144
|
-
};
|
|
2145
|
-
export type SessionNotFoundError = {
|
|
2146
|
-
_tag: "SessionNotFoundError";
|
|
2147
|
-
sessionID: string;
|
|
2148
|
-
message: string;
|
|
2149
|
-
};
|
|
2150
|
-
export type ServiceUnavailableError = {
|
|
2151
|
-
_tag: "ServiceUnavailableError";
|
|
2152
|
-
message: string;
|
|
2153
|
-
service?: string;
|
|
2154
|
-
};
|
|
2155
|
-
export type UnknownError1 = {
|
|
2156
|
-
_tag: "UnknownError";
|
|
2157
|
-
message: string;
|
|
2158
|
-
ref?: string;
|
|
2159
|
-
};
|
|
2160
|
-
export type V2SessionMessagesResponse = {
|
|
2161
|
-
items: Array<SessionMessage>;
|
|
2162
|
-
cursor: {
|
|
2163
|
-
previous?: string;
|
|
2164
|
-
next?: string;
|
|
2165
|
-
};
|
|
2166
|
-
};
|
|
2167
|
-
export type ProviderNotFoundError = {
|
|
2168
|
-
_tag: "ProviderNotFoundError";
|
|
2169
|
-
providerID: string;
|
|
2170
|
-
message: string;
|
|
2171
|
-
};
|
|
2172
2147
|
export type EventTuiPromptAppend = {
|
|
2173
2148
|
type: "tui.prompt.append";
|
|
2174
2149
|
properties: {
|
|
@@ -2221,6 +2196,53 @@ export type WorkspaceWarpError = {
|
|
|
2221
2196
|
message: string;
|
|
2222
2197
|
};
|
|
2223
2198
|
};
|
|
2199
|
+
export type UnauthorizedError = {
|
|
2200
|
+
_tag: "UnauthorizedError";
|
|
2201
|
+
message: string;
|
|
2202
|
+
};
|
|
2203
|
+
export type V2SessionsResponse = {
|
|
2204
|
+
data: Array<SessionV2Info>;
|
|
2205
|
+
cursor: {
|
|
2206
|
+
previous?: string;
|
|
2207
|
+
next?: string;
|
|
2208
|
+
};
|
|
2209
|
+
};
|
|
2210
|
+
export type InvalidCursorError = {
|
|
2211
|
+
_tag: "InvalidCursorError";
|
|
2212
|
+
message: string;
|
|
2213
|
+
};
|
|
2214
|
+
export type ConflictError = {
|
|
2215
|
+
_tag: "ConflictError";
|
|
2216
|
+
message: string;
|
|
2217
|
+
resource?: string;
|
|
2218
|
+
};
|
|
2219
|
+
export type SessionNotFoundError = {
|
|
2220
|
+
_tag: "SessionNotFoundError";
|
|
2221
|
+
sessionID: string;
|
|
2222
|
+
message: string;
|
|
2223
|
+
};
|
|
2224
|
+
export type ServiceUnavailableError = {
|
|
2225
|
+
_tag: "ServiceUnavailableError";
|
|
2226
|
+
message: string;
|
|
2227
|
+
service?: string;
|
|
2228
|
+
};
|
|
2229
|
+
export type UnknownError1 = {
|
|
2230
|
+
_tag: "UnknownError";
|
|
2231
|
+
message: string;
|
|
2232
|
+
ref?: string;
|
|
2233
|
+
};
|
|
2234
|
+
export type V2SessionMessagesResponse = {
|
|
2235
|
+
data: Array<SessionMessage>;
|
|
2236
|
+
cursor: {
|
|
2237
|
+
previous?: string;
|
|
2238
|
+
next?: string;
|
|
2239
|
+
};
|
|
2240
|
+
};
|
|
2241
|
+
export type ProviderNotFoundError = {
|
|
2242
|
+
_tag: "ProviderNotFoundError";
|
|
2243
|
+
providerID: string;
|
|
2244
|
+
message: string;
|
|
2245
|
+
};
|
|
2224
2246
|
export type EffectHttpApiErrorForbidden = {
|
|
2225
2247
|
_tag: "Forbidden";
|
|
2226
2248
|
};
|
|
@@ -2258,6 +2280,9 @@ export type EventTuiSessionSelect2 = {
|
|
|
2258
2280
|
sessionID: string;
|
|
2259
2281
|
};
|
|
2260
2282
|
};
|
|
2283
|
+
export type MoveSessionDestination = {
|
|
2284
|
+
directory: string;
|
|
2285
|
+
};
|
|
2261
2286
|
export type ModelV2Info = {
|
|
2262
2287
|
id: string;
|
|
2263
2288
|
providerID: string;
|
|
@@ -2325,6 +2350,10 @@ export type ModelV2Info = {
|
|
|
2325
2350
|
output: number;
|
|
2326
2351
|
};
|
|
2327
2352
|
};
|
|
2353
|
+
export type LocationRef = {
|
|
2354
|
+
directory: string;
|
|
2355
|
+
workspaceID?: string;
|
|
2356
|
+
};
|
|
2328
2357
|
export type PromptSource = {
|
|
2329
2358
|
start: number;
|
|
2330
2359
|
end: number;
|
|
@@ -2453,325 +2482,410 @@ export type EventServerInstanceDisposed = {
|
|
|
2453
2482
|
};
|
|
2454
2483
|
export type SyncEventSessionCreated = {
|
|
2455
2484
|
type: "sync";
|
|
2456
|
-
name: "session.created.1";
|
|
2457
2485
|
id: string;
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2486
|
+
syncEvent: {
|
|
2487
|
+
type: "session.created.1";
|
|
2488
|
+
id: string;
|
|
2489
|
+
seq: number;
|
|
2490
|
+
aggregateID: string;
|
|
2491
|
+
data: {
|
|
2492
|
+
sessionID: string;
|
|
2493
|
+
info: Session;
|
|
2494
|
+
};
|
|
2463
2495
|
};
|
|
2464
2496
|
};
|
|
2465
2497
|
export type SyncEventSessionUpdated = {
|
|
2466
2498
|
type: "sync";
|
|
2467
|
-
name: "session.updated.1";
|
|
2468
2499
|
id: string;
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2500
|
+
syncEvent: {
|
|
2501
|
+
type: "session.updated.1";
|
|
2502
|
+
id: string;
|
|
2503
|
+
seq: number;
|
|
2504
|
+
aggregateID: string;
|
|
2505
|
+
data: {
|
|
2506
|
+
sessionID: string;
|
|
2507
|
+
info: Session;
|
|
2508
|
+
};
|
|
2474
2509
|
};
|
|
2475
2510
|
};
|
|
2476
2511
|
export type SyncEventSessionDeleted = {
|
|
2477
2512
|
type: "sync";
|
|
2478
|
-
name: "session.deleted.1";
|
|
2479
2513
|
id: string;
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2514
|
+
syncEvent: {
|
|
2515
|
+
type: "session.deleted.1";
|
|
2516
|
+
id: string;
|
|
2517
|
+
seq: number;
|
|
2518
|
+
aggregateID: string;
|
|
2519
|
+
data: {
|
|
2520
|
+
sessionID: string;
|
|
2521
|
+
info: Session;
|
|
2522
|
+
};
|
|
2485
2523
|
};
|
|
2486
2524
|
};
|
|
2487
2525
|
export type SyncEventMessageUpdated = {
|
|
2488
2526
|
type: "sync";
|
|
2489
|
-
name: "message.updated.1";
|
|
2490
2527
|
id: string;
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2528
|
+
syncEvent: {
|
|
2529
|
+
type: "message.updated.1";
|
|
2530
|
+
id: string;
|
|
2531
|
+
seq: number;
|
|
2532
|
+
aggregateID: string;
|
|
2533
|
+
data: {
|
|
2534
|
+
sessionID: string;
|
|
2535
|
+
info: Message;
|
|
2536
|
+
};
|
|
2496
2537
|
};
|
|
2497
2538
|
};
|
|
2498
2539
|
export type SyncEventMessageRemoved = {
|
|
2499
2540
|
type: "sync";
|
|
2500
|
-
name: "message.removed.1";
|
|
2501
2541
|
id: string;
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2542
|
+
syncEvent: {
|
|
2543
|
+
type: "message.removed.1";
|
|
2544
|
+
id: string;
|
|
2545
|
+
seq: number;
|
|
2546
|
+
aggregateID: string;
|
|
2547
|
+
data: {
|
|
2548
|
+
sessionID: string;
|
|
2549
|
+
messageID: string;
|
|
2550
|
+
};
|
|
2507
2551
|
};
|
|
2508
2552
|
};
|
|
2509
2553
|
export type SyncEventMessagePartUpdated = {
|
|
2510
2554
|
type: "sync";
|
|
2511
|
-
name: "message.part.updated.1";
|
|
2512
2555
|
id: string;
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2556
|
+
syncEvent: {
|
|
2557
|
+
type: "message.part.updated.1";
|
|
2558
|
+
id: string;
|
|
2559
|
+
seq: number;
|
|
2560
|
+
aggregateID: string;
|
|
2561
|
+
data: {
|
|
2562
|
+
sessionID: string;
|
|
2563
|
+
part: Part;
|
|
2564
|
+
time: number;
|
|
2565
|
+
};
|
|
2519
2566
|
};
|
|
2520
2567
|
};
|
|
2521
2568
|
export type SyncEventMessagePartRemoved = {
|
|
2522
2569
|
type: "sync";
|
|
2523
|
-
name: "message.part.removed.1";
|
|
2524
2570
|
id: string;
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2571
|
+
syncEvent: {
|
|
2572
|
+
type: "message.part.removed.1";
|
|
2573
|
+
id: string;
|
|
2574
|
+
seq: number;
|
|
2575
|
+
aggregateID: string;
|
|
2576
|
+
data: {
|
|
2577
|
+
sessionID: string;
|
|
2578
|
+
messageID: string;
|
|
2579
|
+
partID: string;
|
|
2580
|
+
};
|
|
2531
2581
|
};
|
|
2532
2582
|
};
|
|
2533
2583
|
export type SyncEventSessionNextAgentSwitched = {
|
|
2534
2584
|
type: "sync";
|
|
2535
|
-
name: "session.next.agent.switched.1";
|
|
2536
2585
|
id: string;
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2586
|
+
syncEvent: {
|
|
2587
|
+
type: "session.next.agent.switched.1";
|
|
2588
|
+
id: string;
|
|
2589
|
+
seq: number;
|
|
2590
|
+
aggregateID: string;
|
|
2591
|
+
data: {
|
|
2592
|
+
timestamp: number;
|
|
2593
|
+
sessionID: string;
|
|
2594
|
+
agent: string;
|
|
2595
|
+
};
|
|
2543
2596
|
};
|
|
2544
2597
|
};
|
|
2545
2598
|
export type SyncEventSessionNextModelSwitched = {
|
|
2546
2599
|
type: "sync";
|
|
2547
|
-
name: "session.next.model.switched.1";
|
|
2548
2600
|
id: string;
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2601
|
+
syncEvent: {
|
|
2602
|
+
type: "session.next.model.switched.1";
|
|
2603
|
+
id: string;
|
|
2604
|
+
seq: number;
|
|
2605
|
+
aggregateID: string;
|
|
2606
|
+
data: {
|
|
2607
|
+
timestamp: number;
|
|
2608
|
+
sessionID: string;
|
|
2609
|
+
model: {
|
|
2610
|
+
id: string;
|
|
2611
|
+
providerID: string;
|
|
2612
|
+
variant?: string;
|
|
2613
|
+
};
|
|
2614
|
+
};
|
|
2615
|
+
};
|
|
2616
|
+
};
|
|
2617
|
+
export type SyncEventSessionNextMoved = {
|
|
2618
|
+
type: "sync";
|
|
2619
|
+
id: string;
|
|
2620
|
+
syncEvent: {
|
|
2621
|
+
type: "session.next.moved.1";
|
|
2622
|
+
id: string;
|
|
2623
|
+
seq: number;
|
|
2624
|
+
aggregateID: string;
|
|
2625
|
+
data: {
|
|
2626
|
+
timestamp: number;
|
|
2627
|
+
sessionID: string;
|
|
2628
|
+
location: LocationRef;
|
|
2629
|
+
subdirectory?: string;
|
|
2558
2630
|
};
|
|
2559
2631
|
};
|
|
2560
2632
|
};
|
|
2561
2633
|
export type SyncEventSessionNextPrompted = {
|
|
2562
2634
|
type: "sync";
|
|
2563
|
-
name: "session.next.prompted.1";
|
|
2564
2635
|
id: string;
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2636
|
+
syncEvent: {
|
|
2637
|
+
type: "session.next.prompted.1";
|
|
2638
|
+
id: string;
|
|
2639
|
+
seq: number;
|
|
2640
|
+
aggregateID: string;
|
|
2641
|
+
data: {
|
|
2642
|
+
timestamp: number;
|
|
2643
|
+
sessionID: string;
|
|
2644
|
+
prompt: Prompt;
|
|
2645
|
+
delivery: "steer" | "queue";
|
|
2646
|
+
};
|
|
2572
2647
|
};
|
|
2573
2648
|
};
|
|
2574
2649
|
export type SyncEventSessionNextSynthetic = {
|
|
2575
2650
|
type: "sync";
|
|
2576
|
-
name: "session.next.synthetic.1";
|
|
2577
2651
|
id: string;
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2652
|
+
syncEvent: {
|
|
2653
|
+
type: "session.next.synthetic.1";
|
|
2654
|
+
id: string;
|
|
2655
|
+
seq: number;
|
|
2656
|
+
aggregateID: string;
|
|
2657
|
+
data: {
|
|
2658
|
+
timestamp: number;
|
|
2659
|
+
sessionID: string;
|
|
2660
|
+
text: string;
|
|
2661
|
+
};
|
|
2584
2662
|
};
|
|
2585
2663
|
};
|
|
2586
2664
|
export type SyncEventSessionNextShellStarted = {
|
|
2587
2665
|
type: "sync";
|
|
2588
|
-
name: "session.next.shell.started.1";
|
|
2589
2666
|
id: string;
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2667
|
+
syncEvent: {
|
|
2668
|
+
type: "session.next.shell.started.1";
|
|
2669
|
+
id: string;
|
|
2670
|
+
seq: number;
|
|
2671
|
+
aggregateID: string;
|
|
2672
|
+
data: {
|
|
2673
|
+
timestamp: number;
|
|
2674
|
+
sessionID: string;
|
|
2675
|
+
callID: string;
|
|
2676
|
+
command: string;
|
|
2677
|
+
};
|
|
2597
2678
|
};
|
|
2598
2679
|
};
|
|
2599
2680
|
export type SyncEventSessionNextShellEnded = {
|
|
2600
2681
|
type: "sync";
|
|
2601
|
-
name: "session.next.shell.ended.1";
|
|
2602
2682
|
id: string;
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2683
|
+
syncEvent: {
|
|
2684
|
+
type: "session.next.shell.ended.1";
|
|
2685
|
+
id: string;
|
|
2686
|
+
seq: number;
|
|
2687
|
+
aggregateID: string;
|
|
2688
|
+
data: {
|
|
2689
|
+
timestamp: number;
|
|
2690
|
+
sessionID: string;
|
|
2691
|
+
callID: string;
|
|
2692
|
+
output: string;
|
|
2693
|
+
};
|
|
2610
2694
|
};
|
|
2611
2695
|
};
|
|
2612
2696
|
export type SyncEventSessionNextStepStarted = {
|
|
2613
2697
|
type: "sync";
|
|
2614
|
-
name: "session.next.step.started.1";
|
|
2615
2698
|
id: string;
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2699
|
+
syncEvent: {
|
|
2700
|
+
type: "session.next.step.started.1";
|
|
2701
|
+
id: string;
|
|
2702
|
+
seq: number;
|
|
2703
|
+
aggregateID: string;
|
|
2704
|
+
data: {
|
|
2705
|
+
timestamp: number;
|
|
2706
|
+
sessionID: string;
|
|
2707
|
+
agent: string;
|
|
2708
|
+
model: {
|
|
2709
|
+
id: string;
|
|
2710
|
+
providerID: string;
|
|
2711
|
+
variant?: string;
|
|
2712
|
+
};
|
|
2713
|
+
snapshot?: string;
|
|
2626
2714
|
};
|
|
2627
|
-
snapshot?: string;
|
|
2628
2715
|
};
|
|
2629
2716
|
};
|
|
2630
2717
|
export type SyncEventSessionNextStepEnded = {
|
|
2631
2718
|
type: "sync";
|
|
2632
|
-
name: "session.next.step.ended.2";
|
|
2633
2719
|
id: string;
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2720
|
+
syncEvent: {
|
|
2721
|
+
type: "session.next.step.ended.2";
|
|
2722
|
+
id: string;
|
|
2723
|
+
seq: number;
|
|
2724
|
+
aggregateID: string;
|
|
2725
|
+
data: {
|
|
2726
|
+
timestamp: number;
|
|
2727
|
+
sessionID: string;
|
|
2728
|
+
assistantMessageID: string;
|
|
2729
|
+
finish: string;
|
|
2730
|
+
cost: number;
|
|
2731
|
+
tokens: {
|
|
2732
|
+
input: number;
|
|
2733
|
+
output: number;
|
|
2734
|
+
reasoning: number;
|
|
2735
|
+
cache: {
|
|
2736
|
+
read: number;
|
|
2737
|
+
write: number;
|
|
2738
|
+
};
|
|
2649
2739
|
};
|
|
2740
|
+
snapshot?: string;
|
|
2650
2741
|
};
|
|
2651
|
-
snapshot?: string;
|
|
2652
2742
|
};
|
|
2653
2743
|
};
|
|
2654
2744
|
export type SyncEventSessionNextStepFailed = {
|
|
2655
2745
|
type: "sync";
|
|
2656
|
-
name: "session.next.step.failed.2";
|
|
2657
2746
|
id: string;
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2747
|
+
syncEvent: {
|
|
2748
|
+
type: "session.next.step.failed.2";
|
|
2749
|
+
id: string;
|
|
2750
|
+
seq: number;
|
|
2751
|
+
aggregateID: string;
|
|
2752
|
+
data: {
|
|
2753
|
+
timestamp: number;
|
|
2754
|
+
sessionID: string;
|
|
2755
|
+
assistantMessageID: string;
|
|
2756
|
+
error: SessionErrorUnknown;
|
|
2757
|
+
};
|
|
2665
2758
|
};
|
|
2666
2759
|
};
|
|
2667
2760
|
export type SyncEventSessionNextTextStarted = {
|
|
2668
2761
|
type: "sync";
|
|
2669
|
-
name: "session.next.text.started.1";
|
|
2670
2762
|
id: string;
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2763
|
+
syncEvent: {
|
|
2764
|
+
type: "session.next.text.started.1";
|
|
2765
|
+
id: string;
|
|
2766
|
+
seq: number;
|
|
2767
|
+
aggregateID: string;
|
|
2768
|
+
data: {
|
|
2769
|
+
timestamp: number;
|
|
2770
|
+
sessionID: string;
|
|
2771
|
+
textID: string;
|
|
2772
|
+
};
|
|
2677
2773
|
};
|
|
2678
2774
|
};
|
|
2679
2775
|
export type SyncEventSessionNextTextEnded = {
|
|
2680
2776
|
type: "sync";
|
|
2681
|
-
name: "session.next.text.ended.1";
|
|
2682
2777
|
id: string;
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2778
|
+
syncEvent: {
|
|
2779
|
+
type: "session.next.text.ended.1";
|
|
2780
|
+
id: string;
|
|
2781
|
+
seq: number;
|
|
2782
|
+
aggregateID: string;
|
|
2783
|
+
data: {
|
|
2784
|
+
timestamp: number;
|
|
2785
|
+
sessionID: string;
|
|
2786
|
+
textID: string;
|
|
2787
|
+
text: string;
|
|
2788
|
+
};
|
|
2690
2789
|
};
|
|
2691
2790
|
};
|
|
2692
2791
|
export type SyncEventSessionNextReasoningStarted = {
|
|
2693
2792
|
type: "sync";
|
|
2694
|
-
name: "session.next.reasoning.started.1";
|
|
2695
2793
|
id: string;
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2794
|
+
syncEvent: {
|
|
2795
|
+
type: "session.next.reasoning.started.1";
|
|
2796
|
+
id: string;
|
|
2797
|
+
seq: number;
|
|
2798
|
+
aggregateID: string;
|
|
2799
|
+
data: {
|
|
2800
|
+
timestamp: number;
|
|
2801
|
+
sessionID: string;
|
|
2802
|
+
reasoningID: string;
|
|
2803
|
+
providerMetadata?: {
|
|
2804
|
+
[key: string]: {
|
|
2805
|
+
[key: string]: unknown;
|
|
2806
|
+
};
|
|
2705
2807
|
};
|
|
2706
2808
|
};
|
|
2707
2809
|
};
|
|
2708
2810
|
};
|
|
2709
2811
|
export type SyncEventSessionNextReasoningEnded = {
|
|
2710
2812
|
type: "sync";
|
|
2711
|
-
name: "session.next.reasoning.ended.1";
|
|
2712
2813
|
id: string;
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2814
|
+
syncEvent: {
|
|
2815
|
+
type: "session.next.reasoning.ended.1";
|
|
2816
|
+
id: string;
|
|
2817
|
+
seq: number;
|
|
2818
|
+
aggregateID: string;
|
|
2819
|
+
data: {
|
|
2820
|
+
timestamp: number;
|
|
2821
|
+
sessionID: string;
|
|
2822
|
+
reasoningID: string;
|
|
2823
|
+
text: string;
|
|
2824
|
+
providerMetadata?: {
|
|
2825
|
+
[key: string]: {
|
|
2826
|
+
[key: string]: unknown;
|
|
2827
|
+
};
|
|
2723
2828
|
};
|
|
2724
2829
|
};
|
|
2725
2830
|
};
|
|
2726
2831
|
};
|
|
2727
2832
|
export type SyncEventSessionNextToolInputStarted = {
|
|
2728
2833
|
type: "sync";
|
|
2729
|
-
name: "session.next.tool.input.started.1";
|
|
2730
2834
|
id: string;
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2835
|
+
syncEvent: {
|
|
2836
|
+
type: "session.next.tool.input.started.1";
|
|
2837
|
+
id: string;
|
|
2838
|
+
seq: number;
|
|
2839
|
+
aggregateID: string;
|
|
2840
|
+
data: {
|
|
2841
|
+
timestamp: number;
|
|
2842
|
+
sessionID: string;
|
|
2843
|
+
assistantMessageID: string;
|
|
2844
|
+
callID: string;
|
|
2845
|
+
name: string;
|
|
2846
|
+
};
|
|
2739
2847
|
};
|
|
2740
2848
|
};
|
|
2741
2849
|
export type SyncEventSessionNextToolInputEnded = {
|
|
2742
2850
|
type: "sync";
|
|
2743
|
-
name: "session.next.tool.input.ended.1";
|
|
2744
2851
|
id: string;
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2852
|
+
syncEvent: {
|
|
2853
|
+
type: "session.next.tool.input.ended.1";
|
|
2854
|
+
id: string;
|
|
2855
|
+
seq: number;
|
|
2856
|
+
aggregateID: string;
|
|
2857
|
+
data: {
|
|
2858
|
+
timestamp: number;
|
|
2859
|
+
sessionID: string;
|
|
2860
|
+
assistantMessageID: string;
|
|
2861
|
+
callID: string;
|
|
2862
|
+
text: string;
|
|
2863
|
+
};
|
|
2753
2864
|
};
|
|
2754
2865
|
};
|
|
2755
2866
|
export type SyncEventSessionNextToolCalled = {
|
|
2756
2867
|
type: "sync";
|
|
2757
|
-
name: "session.next.tool.called.1";
|
|
2758
2868
|
id: string;
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2869
|
+
syncEvent: {
|
|
2870
|
+
type: "session.next.tool.called.1";
|
|
2871
|
+
id: string;
|
|
2872
|
+
seq: number;
|
|
2873
|
+
aggregateID: string;
|
|
2874
|
+
data: {
|
|
2875
|
+
timestamp: number;
|
|
2876
|
+
sessionID: string;
|
|
2877
|
+
assistantMessageID: string;
|
|
2878
|
+
callID: string;
|
|
2879
|
+
tool: string;
|
|
2880
|
+
input: {
|
|
2881
|
+
[key: string]: unknown;
|
|
2882
|
+
};
|
|
2883
|
+
provider: {
|
|
2884
|
+
executed: boolean;
|
|
2885
|
+
metadata?: {
|
|
2886
|
+
[key: string]: {
|
|
2887
|
+
[key: string]: unknown;
|
|
2888
|
+
};
|
|
2775
2889
|
};
|
|
2776
2890
|
};
|
|
2777
2891
|
};
|
|
@@ -2779,42 +2893,48 @@ export type SyncEventSessionNextToolCalled = {
|
|
|
2779
2893
|
};
|
|
2780
2894
|
export type SyncEventSessionNextToolProgress = {
|
|
2781
2895
|
type: "sync";
|
|
2782
|
-
name: "session.next.tool.progress.1";
|
|
2783
2896
|
id: string;
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2897
|
+
syncEvent: {
|
|
2898
|
+
type: "session.next.tool.progress.1";
|
|
2899
|
+
id: string;
|
|
2900
|
+
seq: number;
|
|
2901
|
+
aggregateID: string;
|
|
2902
|
+
data: {
|
|
2903
|
+
timestamp: number;
|
|
2904
|
+
sessionID: string;
|
|
2905
|
+
assistantMessageID: string;
|
|
2906
|
+
callID: string;
|
|
2907
|
+
structured: {
|
|
2908
|
+
[key: string]: unknown;
|
|
2909
|
+
};
|
|
2910
|
+
content: Array<ToolTextContent | ToolFileContent>;
|
|
2793
2911
|
};
|
|
2794
|
-
content: Array<ToolTextContent | ToolFileContent>;
|
|
2795
2912
|
};
|
|
2796
2913
|
};
|
|
2797
2914
|
export type SyncEventSessionNextToolSuccess = {
|
|
2798
2915
|
type: "sync";
|
|
2799
|
-
name: "session.next.tool.success.1";
|
|
2800
2916
|
id: string;
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2917
|
+
syncEvent: {
|
|
2918
|
+
type: "session.next.tool.success.1";
|
|
2919
|
+
id: string;
|
|
2920
|
+
seq: number;
|
|
2921
|
+
aggregateID: string;
|
|
2922
|
+
data: {
|
|
2923
|
+
timestamp: number;
|
|
2924
|
+
sessionID: string;
|
|
2925
|
+
assistantMessageID: string;
|
|
2926
|
+
callID: string;
|
|
2927
|
+
structured: {
|
|
2928
|
+
[key: string]: unknown;
|
|
2929
|
+
};
|
|
2930
|
+
content: Array<ToolTextContent | ToolFileContent>;
|
|
2931
|
+
result?: unknown;
|
|
2932
|
+
provider: {
|
|
2933
|
+
executed: boolean;
|
|
2934
|
+
metadata?: {
|
|
2935
|
+
[key: string]: {
|
|
2936
|
+
[key: string]: unknown;
|
|
2937
|
+
};
|
|
2818
2938
|
};
|
|
2819
2939
|
};
|
|
2820
2940
|
};
|
|
@@ -2822,22 +2942,25 @@ export type SyncEventSessionNextToolSuccess = {
|
|
|
2822
2942
|
};
|
|
2823
2943
|
export type SyncEventSessionNextToolFailed = {
|
|
2824
2944
|
type: "sync";
|
|
2825
|
-
name: "session.next.tool.failed.1";
|
|
2826
2945
|
id: string;
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2946
|
+
syncEvent: {
|
|
2947
|
+
type: "session.next.tool.failed.1";
|
|
2948
|
+
id: string;
|
|
2949
|
+
seq: number;
|
|
2950
|
+
aggregateID: string;
|
|
2951
|
+
data: {
|
|
2952
|
+
timestamp: number;
|
|
2953
|
+
sessionID: string;
|
|
2954
|
+
assistantMessageID: string;
|
|
2955
|
+
callID: string;
|
|
2956
|
+
error: SessionErrorUnknown;
|
|
2957
|
+
result?: unknown;
|
|
2958
|
+
provider: {
|
|
2959
|
+
executed: boolean;
|
|
2960
|
+
metadata?: {
|
|
2961
|
+
[key: string]: {
|
|
2962
|
+
[key: string]: unknown;
|
|
2963
|
+
};
|
|
2841
2964
|
};
|
|
2842
2965
|
};
|
|
2843
2966
|
};
|
|
@@ -2845,52 +2968,64 @@ export type SyncEventSessionNextToolFailed = {
|
|
|
2845
2968
|
};
|
|
2846
2969
|
export type SyncEventSessionNextRetried = {
|
|
2847
2970
|
type: "sync";
|
|
2848
|
-
name: "session.next.retried.1";
|
|
2849
2971
|
id: string;
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2972
|
+
syncEvent: {
|
|
2973
|
+
type: "session.next.retried.1";
|
|
2974
|
+
id: string;
|
|
2975
|
+
seq: number;
|
|
2976
|
+
aggregateID: string;
|
|
2977
|
+
data: {
|
|
2978
|
+
timestamp: number;
|
|
2979
|
+
sessionID: string;
|
|
2980
|
+
attempt: number;
|
|
2981
|
+
error: SessionNextRetryError;
|
|
2982
|
+
};
|
|
2857
2983
|
};
|
|
2858
2984
|
};
|
|
2859
2985
|
export type SyncEventSessionNextCompactionStarted = {
|
|
2860
2986
|
type: "sync";
|
|
2861
|
-
name: "session.next.compaction.started.1";
|
|
2862
2987
|
id: string;
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2988
|
+
syncEvent: {
|
|
2989
|
+
type: "session.next.compaction.started.1";
|
|
2990
|
+
id: string;
|
|
2991
|
+
seq: number;
|
|
2992
|
+
aggregateID: string;
|
|
2993
|
+
data: {
|
|
2994
|
+
timestamp: number;
|
|
2995
|
+
sessionID: string;
|
|
2996
|
+
reason: "auto" | "manual";
|
|
2997
|
+
};
|
|
2869
2998
|
};
|
|
2870
2999
|
};
|
|
2871
3000
|
export type SyncEventSessionNextCompactionDelta = {
|
|
2872
3001
|
type: "sync";
|
|
2873
|
-
name: "session.next.compaction.delta.1";
|
|
2874
3002
|
id: string;
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
3003
|
+
syncEvent: {
|
|
3004
|
+
type: "session.next.compaction.delta.1";
|
|
3005
|
+
id: string;
|
|
3006
|
+
seq: number;
|
|
3007
|
+
aggregateID: string;
|
|
3008
|
+
data: {
|
|
3009
|
+
timestamp: number;
|
|
3010
|
+
sessionID: string;
|
|
3011
|
+
text: string;
|
|
3012
|
+
};
|
|
2881
3013
|
};
|
|
2882
3014
|
};
|
|
2883
3015
|
export type SyncEventSessionNextCompactionEnded = {
|
|
2884
3016
|
type: "sync";
|
|
2885
|
-
name: "session.next.compaction.ended.1";
|
|
2886
3017
|
id: string;
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
3018
|
+
syncEvent: {
|
|
3019
|
+
type: "session.next.compaction.ended.1";
|
|
3020
|
+
id: string;
|
|
3021
|
+
seq: number;
|
|
3022
|
+
aggregateID: string;
|
|
3023
|
+
data: {
|
|
3024
|
+
timestamp: number;
|
|
3025
|
+
sessionID: string;
|
|
3026
|
+
text: string;
|
|
3027
|
+
include?: string;
|
|
3028
|
+
};
|
|
2894
3029
|
};
|
|
2895
3030
|
};
|
|
2896
3031
|
export type PolicyEffect = "allow" | "deny";
|
|
@@ -2903,9 +3038,43 @@ export type ProjectDirectories = Array<string>;
|
|
|
2903
3038
|
export type ProjectCopyCopy = {
|
|
2904
3039
|
directory: string;
|
|
2905
3040
|
};
|
|
2906
|
-
export type
|
|
3041
|
+
export type LocationInfo = {
|
|
2907
3042
|
directory: string;
|
|
2908
3043
|
workspaceID?: string;
|
|
3044
|
+
project: {
|
|
3045
|
+
id: string;
|
|
3046
|
+
directory: string;
|
|
3047
|
+
};
|
|
3048
|
+
};
|
|
3049
|
+
export type PermissionV2Effect = "allow" | "deny" | "ask";
|
|
3050
|
+
export type PermissionV2Rule = {
|
|
3051
|
+
action: string;
|
|
3052
|
+
resource: string;
|
|
3053
|
+
effect: PermissionV2Effect;
|
|
3054
|
+
};
|
|
3055
|
+
export type PermissionV2Ruleset = Array<PermissionV2Rule>;
|
|
3056
|
+
export type AgentV2Info = {
|
|
3057
|
+
id: string;
|
|
3058
|
+
model?: {
|
|
3059
|
+
id: string;
|
|
3060
|
+
providerID: string;
|
|
3061
|
+
variant?: string;
|
|
3062
|
+
};
|
|
3063
|
+
request: {
|
|
3064
|
+
headers: {
|
|
3065
|
+
[key: string]: string;
|
|
3066
|
+
};
|
|
3067
|
+
body: {
|
|
3068
|
+
[key: string]: unknown;
|
|
3069
|
+
};
|
|
3070
|
+
};
|
|
3071
|
+
system?: string;
|
|
3072
|
+
description?: string;
|
|
3073
|
+
mode: "subagent" | "primary" | "all";
|
|
3074
|
+
hidden: boolean;
|
|
3075
|
+
color?: string | "primary" | "secondary" | "accent" | "success" | "warning" | "error" | "info";
|
|
3076
|
+
steps?: number;
|
|
3077
|
+
permissions: PermissionV2Ruleset;
|
|
2909
3078
|
};
|
|
2910
3079
|
export type SessionV2Info = {
|
|
2911
3080
|
id: string;
|
|
@@ -3128,53 +3297,7 @@ export type SessionMessageCompaction = {
|
|
|
3128
3297
|
};
|
|
3129
3298
|
};
|
|
3130
3299
|
export type SessionMessage = SessionMessageAgentSwitched | SessionMessageModelSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction;
|
|
3131
|
-
export type
|
|
3132
|
-
id: string;
|
|
3133
|
-
providerID: string;
|
|
3134
|
-
family?: string;
|
|
3135
|
-
name: string;
|
|
3136
|
-
api: {
|
|
3137
|
-
id: string;
|
|
3138
|
-
type: "aisdk";
|
|
3139
|
-
package: string;
|
|
3140
|
-
url?: string;
|
|
3141
|
-
} | {
|
|
3142
|
-
id: string;
|
|
3143
|
-
type: "native";
|
|
3144
|
-
url?: string;
|
|
3145
|
-
};
|
|
3146
|
-
capabilities: {
|
|
3147
|
-
tools: boolean;
|
|
3148
|
-
input: Array<string>;
|
|
3149
|
-
output: Array<string>;
|
|
3150
|
-
};
|
|
3151
|
-
variants: Array<{
|
|
3152
|
-
id: string;
|
|
3153
|
-
}>;
|
|
3154
|
-
time: {
|
|
3155
|
-
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
|
|
3156
|
-
};
|
|
3157
|
-
cost: Array<{
|
|
3158
|
-
tier?: {
|
|
3159
|
-
type: "context";
|
|
3160
|
-
size: number;
|
|
3161
|
-
};
|
|
3162
|
-
input: number;
|
|
3163
|
-
output: number;
|
|
3164
|
-
cache: {
|
|
3165
|
-
read: number;
|
|
3166
|
-
write: number;
|
|
3167
|
-
};
|
|
3168
|
-
}>;
|
|
3169
|
-
status: "alpha" | "beta" | "deprecated" | "active";
|
|
3170
|
-
enabled: boolean;
|
|
3171
|
-
limit: {
|
|
3172
|
-
context: number;
|
|
3173
|
-
input?: number;
|
|
3174
|
-
output: number;
|
|
3175
|
-
};
|
|
3176
|
-
};
|
|
3177
|
-
export type ProviderV2PublicInfo = {
|
|
3300
|
+
export type ProviderV2Info = {
|
|
3178
3301
|
id: string;
|
|
3179
3302
|
name: string;
|
|
3180
3303
|
enabled: false | {
|
|
@@ -3185,15 +3308,32 @@ export type ProviderV2PublicInfo = {
|
|
|
3185
3308
|
service: string;
|
|
3186
3309
|
} | {
|
|
3187
3310
|
via: "custom";
|
|
3311
|
+
data: {
|
|
3312
|
+
[key: string]: unknown;
|
|
3313
|
+
};
|
|
3188
3314
|
};
|
|
3189
3315
|
env: Array<string>;
|
|
3190
3316
|
api: {
|
|
3191
3317
|
type: "aisdk";
|
|
3192
3318
|
package: string;
|
|
3193
3319
|
url?: string;
|
|
3320
|
+
settings?: {
|
|
3321
|
+
[key: string]: unknown;
|
|
3322
|
+
};
|
|
3194
3323
|
} | {
|
|
3195
3324
|
type: "native";
|
|
3196
3325
|
url?: string;
|
|
3326
|
+
settings: {
|
|
3327
|
+
[key: string]: unknown;
|
|
3328
|
+
};
|
|
3329
|
+
};
|
|
3330
|
+
request: {
|
|
3331
|
+
headers: {
|
|
3332
|
+
[key: string]: string;
|
|
3333
|
+
};
|
|
3334
|
+
body: {
|
|
3335
|
+
[key: string]: unknown;
|
|
3336
|
+
};
|
|
3197
3337
|
};
|
|
3198
3338
|
};
|
|
3199
3339
|
export type PermissionV2Request = {
|
|
@@ -3230,6 +3370,25 @@ export type FileSystemEntry = {
|
|
|
3230
3370
|
type: "file" | "directory";
|
|
3231
3371
|
mime: string;
|
|
3232
3372
|
};
|
|
3373
|
+
export type CommandV2Info = {
|
|
3374
|
+
name: string;
|
|
3375
|
+
template: string;
|
|
3376
|
+
description?: string;
|
|
3377
|
+
agent?: string;
|
|
3378
|
+
model?: {
|
|
3379
|
+
id: string;
|
|
3380
|
+
providerID: string;
|
|
3381
|
+
variant?: string;
|
|
3382
|
+
};
|
|
3383
|
+
subtask?: boolean;
|
|
3384
|
+
};
|
|
3385
|
+
export type SkillV2Info = {
|
|
3386
|
+
name: string;
|
|
3387
|
+
description?: string;
|
|
3388
|
+
slash?: boolean;
|
|
3389
|
+
location: string;
|
|
3390
|
+
content: string;
|
|
3391
|
+
};
|
|
3233
3392
|
export type QuestionV2Request = {
|
|
3234
3393
|
id: string;
|
|
3235
3394
|
sessionID: string;
|
|
@@ -3413,6 +3572,16 @@ export type EventSessionNextModelSwitched = {
|
|
|
3413
3572
|
};
|
|
3414
3573
|
};
|
|
3415
3574
|
};
|
|
3575
|
+
export type EventSessionNextMoved = {
|
|
3576
|
+
id: string;
|
|
3577
|
+
type: "session.next.moved";
|
|
3578
|
+
properties: {
|
|
3579
|
+
timestamp: number;
|
|
3580
|
+
sessionID: string;
|
|
3581
|
+
location: LocationRef;
|
|
3582
|
+
subdirectory?: string;
|
|
3583
|
+
};
|
|
3584
|
+
};
|
|
3416
3585
|
export type EventSessionNextPrompted = {
|
|
3417
3586
|
id: string;
|
|
3418
3587
|
type: "session.next.prompted";
|
|
@@ -4179,6 +4348,30 @@ export type AppLogResponses = {
|
|
|
4179
4348
|
200: boolean;
|
|
4180
4349
|
};
|
|
4181
4350
|
export type AppLogResponse = AppLogResponses[keyof AppLogResponses];
|
|
4351
|
+
export type ExperimentalControlPlaneMoveSessionData = {
|
|
4352
|
+
body?: {
|
|
4353
|
+
sessionID: string;
|
|
4354
|
+
destination: MoveSessionDestination;
|
|
4355
|
+
moveChanges?: boolean;
|
|
4356
|
+
};
|
|
4357
|
+
path?: never;
|
|
4358
|
+
query?: never;
|
|
4359
|
+
url: "/experimental/control-plane/move-session";
|
|
4360
|
+
};
|
|
4361
|
+
export type ExperimentalControlPlaneMoveSessionErrors = {
|
|
4362
|
+
/**
|
|
4363
|
+
* MoveSessionError | InvalidRequestError
|
|
4364
|
+
*/
|
|
4365
|
+
400: MoveSessionError | InvalidRequestError;
|
|
4366
|
+
};
|
|
4367
|
+
export type ExperimentalControlPlaneMoveSessionError = ExperimentalControlPlaneMoveSessionErrors[keyof ExperimentalControlPlaneMoveSessionErrors];
|
|
4368
|
+
export type ExperimentalControlPlaneMoveSessionResponses = {
|
|
4369
|
+
/**
|
|
4370
|
+
* Session moved
|
|
4371
|
+
*/
|
|
4372
|
+
204: void;
|
|
4373
|
+
};
|
|
4374
|
+
export type ExperimentalControlPlaneMoveSessionResponse = ExperimentalControlPlaneMoveSessionResponses[keyof ExperimentalControlPlaneMoveSessionResponses];
|
|
4182
4375
|
export type GlobalHealthData = {
|
|
4183
4376
|
body?: never;
|
|
4184
4377
|
path?: never;
|
|
@@ -5510,9 +5703,9 @@ export type ExperimentalProjectCopyRemoveData = {
|
|
|
5510
5703
|
};
|
|
5511
5704
|
export type ExperimentalProjectCopyRemoveErrors = {
|
|
5512
5705
|
/**
|
|
5513
|
-
*
|
|
5706
|
+
* ProjectCopyError | InvalidRequestError
|
|
5514
5707
|
*/
|
|
5515
|
-
400:
|
|
5708
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
5516
5709
|
};
|
|
5517
5710
|
export type ExperimentalProjectCopyRemoveError = ExperimentalProjectCopyRemoveErrors[keyof ExperimentalProjectCopyRemoveErrors];
|
|
5518
5711
|
export type ExperimentalProjectCopyRemoveResponses = {
|
|
@@ -5526,21 +5719,22 @@ export type ExperimentalProjectCopyCreateData = {
|
|
|
5526
5719
|
body?: {
|
|
5527
5720
|
strategy: "git_worktree";
|
|
5528
5721
|
directory: string;
|
|
5722
|
+
name?: string;
|
|
5723
|
+
context?: string;
|
|
5529
5724
|
};
|
|
5530
5725
|
path: {
|
|
5531
5726
|
projectID: string;
|
|
5532
5727
|
};
|
|
5533
5728
|
query?: {
|
|
5534
|
-
directory?: string;
|
|
5535
5729
|
workspace?: string;
|
|
5536
5730
|
};
|
|
5537
5731
|
url: "/experimental/project/{projectID}/copy";
|
|
5538
5732
|
};
|
|
5539
5733
|
export type ExperimentalProjectCopyCreateErrors = {
|
|
5540
5734
|
/**
|
|
5541
|
-
*
|
|
5735
|
+
* ProjectCopyError | InvalidRequestError
|
|
5542
5736
|
*/
|
|
5543
|
-
400:
|
|
5737
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
5544
5738
|
};
|
|
5545
5739
|
export type ExperimentalProjectCopyCreateError = ExperimentalProjectCopyCreateErrors[keyof ExperimentalProjectCopyCreateErrors];
|
|
5546
5740
|
export type ExperimentalProjectCopyCreateResponses = {
|
|
@@ -5563,9 +5757,9 @@ export type ExperimentalProjectCopyRefreshData = {
|
|
|
5563
5757
|
};
|
|
5564
5758
|
export type ExperimentalProjectCopyRefreshErrors = {
|
|
5565
5759
|
/**
|
|
5566
|
-
*
|
|
5760
|
+
* ProjectCopyError | InvalidRequestError
|
|
5567
5761
|
*/
|
|
5568
|
-
400:
|
|
5762
|
+
400: ProjectCopyError | InvalidRequestError;
|
|
5569
5763
|
};
|
|
5570
5764
|
export type ExperimentalProjectCopyRefreshError = ExperimentalProjectCopyRefreshErrors[keyof ExperimentalProjectCopyRefreshErrors];
|
|
5571
5765
|
export type ExperimentalProjectCopyRefreshResponses = {
|
|
@@ -7068,471 +7262,516 @@ export type SyncHistoryListResponses = {
|
|
|
7068
7262
|
}>;
|
|
7069
7263
|
};
|
|
7070
7264
|
export type SyncHistoryListResponse = SyncHistoryListResponses[keyof SyncHistoryListResponses];
|
|
7071
|
-
export type
|
|
7072
|
-
body?:
|
|
7265
|
+
export type TuiAppendPromptData = {
|
|
7266
|
+
body?: {
|
|
7267
|
+
text: string;
|
|
7268
|
+
};
|
|
7073
7269
|
path?: never;
|
|
7074
7270
|
query?: {
|
|
7075
|
-
workspace?: string;
|
|
7076
|
-
limit?: number;
|
|
7077
|
-
order?: "asc" | "desc";
|
|
7078
|
-
search?: string;
|
|
7079
7271
|
directory?: string;
|
|
7080
|
-
|
|
7081
|
-
subpath?: string;
|
|
7082
|
-
/**
|
|
7083
|
-
* Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response.
|
|
7084
|
-
*/
|
|
7085
|
-
cursor?: string;
|
|
7272
|
+
workspace?: string;
|
|
7086
7273
|
};
|
|
7087
|
-
url: "/
|
|
7274
|
+
url: "/tui/append-prompt";
|
|
7088
7275
|
};
|
|
7089
|
-
export type
|
|
7090
|
-
/**
|
|
7091
|
-
* InvalidCursorError | InvalidRequestError
|
|
7092
|
-
*/
|
|
7093
|
-
400: InvalidCursorError | InvalidRequestError;
|
|
7276
|
+
export type TuiAppendPromptErrors = {
|
|
7094
7277
|
/**
|
|
7095
|
-
*
|
|
7278
|
+
* BadRequest | InvalidRequestError
|
|
7096
7279
|
*/
|
|
7097
|
-
|
|
7280
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
7098
7281
|
};
|
|
7099
|
-
export type
|
|
7100
|
-
export type
|
|
7282
|
+
export type TuiAppendPromptError = TuiAppendPromptErrors[keyof TuiAppendPromptErrors];
|
|
7283
|
+
export type TuiAppendPromptResponses = {
|
|
7101
7284
|
/**
|
|
7102
|
-
*
|
|
7285
|
+
* Prompt processed successfully
|
|
7103
7286
|
*/
|
|
7104
|
-
200:
|
|
7287
|
+
200: boolean;
|
|
7105
7288
|
};
|
|
7106
|
-
export type
|
|
7107
|
-
export type
|
|
7108
|
-
body
|
|
7109
|
-
|
|
7110
|
-
prompt: Prompt;
|
|
7111
|
-
delivery?: "steer" | "queue";
|
|
7112
|
-
resume?: boolean;
|
|
7113
|
-
};
|
|
7114
|
-
path: {
|
|
7115
|
-
sessionID: string;
|
|
7116
|
-
};
|
|
7289
|
+
export type TuiAppendPromptResponse = TuiAppendPromptResponses[keyof TuiAppendPromptResponses];
|
|
7290
|
+
export type TuiOpenHelpData = {
|
|
7291
|
+
body?: never;
|
|
7292
|
+
path?: never;
|
|
7117
7293
|
query?: {
|
|
7118
7294
|
directory?: string;
|
|
7119
7295
|
workspace?: string;
|
|
7120
7296
|
};
|
|
7121
|
-
url: "/
|
|
7297
|
+
url: "/tui/open-help";
|
|
7122
7298
|
};
|
|
7123
|
-
export type
|
|
7299
|
+
export type TuiOpenHelpErrors = {
|
|
7124
7300
|
/**
|
|
7125
|
-
*
|
|
7301
|
+
* Bad request
|
|
7126
7302
|
*/
|
|
7127
|
-
400:
|
|
7128
|
-
/**
|
|
7129
|
-
* UnauthorizedError
|
|
7130
|
-
*/
|
|
7131
|
-
401: UnauthorizedError;
|
|
7132
|
-
/**
|
|
7133
|
-
* SessionNotFoundError
|
|
7134
|
-
*/
|
|
7135
|
-
404: SessionNotFoundError;
|
|
7136
|
-
/**
|
|
7137
|
-
* ConflictError
|
|
7138
|
-
*/
|
|
7139
|
-
409: ConflictError;
|
|
7303
|
+
400: BadRequestError;
|
|
7140
7304
|
};
|
|
7141
|
-
export type
|
|
7142
|
-
export type
|
|
7305
|
+
export type TuiOpenHelpError = TuiOpenHelpErrors[keyof TuiOpenHelpErrors];
|
|
7306
|
+
export type TuiOpenHelpResponses = {
|
|
7143
7307
|
/**
|
|
7144
|
-
*
|
|
7308
|
+
* Help dialog opened successfully
|
|
7145
7309
|
*/
|
|
7146
|
-
200:
|
|
7310
|
+
200: boolean;
|
|
7147
7311
|
};
|
|
7148
|
-
export type
|
|
7149
|
-
export type
|
|
7312
|
+
export type TuiOpenHelpResponse = TuiOpenHelpResponses[keyof TuiOpenHelpResponses];
|
|
7313
|
+
export type TuiOpenSessionsData = {
|
|
7150
7314
|
body?: never;
|
|
7151
|
-
path
|
|
7152
|
-
sessionID: string;
|
|
7153
|
-
};
|
|
7315
|
+
path?: never;
|
|
7154
7316
|
query?: {
|
|
7155
7317
|
directory?: string;
|
|
7156
7318
|
workspace?: string;
|
|
7157
7319
|
};
|
|
7158
|
-
url: "/
|
|
7320
|
+
url: "/tui/open-sessions";
|
|
7159
7321
|
};
|
|
7160
|
-
export type
|
|
7161
|
-
/**
|
|
7162
|
-
* InvalidRequestError
|
|
7163
|
-
*/
|
|
7164
|
-
400: InvalidRequestError;
|
|
7165
|
-
/**
|
|
7166
|
-
* UnauthorizedError
|
|
7167
|
-
*/
|
|
7168
|
-
401: UnauthorizedError;
|
|
7169
|
-
/**
|
|
7170
|
-
* SessionNotFoundError
|
|
7171
|
-
*/
|
|
7172
|
-
404: SessionNotFoundError;
|
|
7322
|
+
export type TuiOpenSessionsErrors = {
|
|
7173
7323
|
/**
|
|
7174
|
-
*
|
|
7324
|
+
* Bad request
|
|
7175
7325
|
*/
|
|
7176
|
-
|
|
7326
|
+
400: BadRequestError;
|
|
7177
7327
|
};
|
|
7178
|
-
export type
|
|
7179
|
-
export type
|
|
7328
|
+
export type TuiOpenSessionsError = TuiOpenSessionsErrors[keyof TuiOpenSessionsErrors];
|
|
7329
|
+
export type TuiOpenSessionsResponses = {
|
|
7180
7330
|
/**
|
|
7181
|
-
*
|
|
7331
|
+
* Session dialog opened successfully
|
|
7182
7332
|
*/
|
|
7183
|
-
|
|
7333
|
+
200: boolean;
|
|
7184
7334
|
};
|
|
7185
|
-
export type
|
|
7186
|
-
export type
|
|
7335
|
+
export type TuiOpenSessionsResponse = TuiOpenSessionsResponses[keyof TuiOpenSessionsResponses];
|
|
7336
|
+
export type TuiOpenThemesData = {
|
|
7187
7337
|
body?: never;
|
|
7188
|
-
path
|
|
7189
|
-
sessionID: string;
|
|
7190
|
-
};
|
|
7338
|
+
path?: never;
|
|
7191
7339
|
query?: {
|
|
7192
7340
|
directory?: string;
|
|
7193
7341
|
workspace?: string;
|
|
7194
7342
|
};
|
|
7195
|
-
url: "/
|
|
7343
|
+
url: "/tui/open-themes";
|
|
7196
7344
|
};
|
|
7197
|
-
export type
|
|
7198
|
-
/**
|
|
7199
|
-
* InvalidRequestError
|
|
7200
|
-
*/
|
|
7201
|
-
400: InvalidRequestError;
|
|
7202
|
-
/**
|
|
7203
|
-
* UnauthorizedError
|
|
7204
|
-
*/
|
|
7205
|
-
401: UnauthorizedError;
|
|
7206
|
-
/**
|
|
7207
|
-
* SessionNotFoundError
|
|
7208
|
-
*/
|
|
7209
|
-
404: SessionNotFoundError;
|
|
7345
|
+
export type TuiOpenThemesErrors = {
|
|
7210
7346
|
/**
|
|
7211
|
-
*
|
|
7347
|
+
* Bad request
|
|
7212
7348
|
*/
|
|
7213
|
-
|
|
7349
|
+
400: BadRequestError;
|
|
7214
7350
|
};
|
|
7215
|
-
export type
|
|
7216
|
-
export type
|
|
7351
|
+
export type TuiOpenThemesError = TuiOpenThemesErrors[keyof TuiOpenThemesErrors];
|
|
7352
|
+
export type TuiOpenThemesResponses = {
|
|
7217
7353
|
/**
|
|
7218
|
-
*
|
|
7354
|
+
* Theme dialog opened successfully
|
|
7219
7355
|
*/
|
|
7220
|
-
|
|
7356
|
+
200: boolean;
|
|
7221
7357
|
};
|
|
7222
|
-
export type
|
|
7223
|
-
export type
|
|
7358
|
+
export type TuiOpenThemesResponse = TuiOpenThemesResponses[keyof TuiOpenThemesResponses];
|
|
7359
|
+
export type TuiOpenModelsData = {
|
|
7224
7360
|
body?: never;
|
|
7225
|
-
path
|
|
7226
|
-
sessionID: string;
|
|
7227
|
-
};
|
|
7361
|
+
path?: never;
|
|
7228
7362
|
query?: {
|
|
7229
7363
|
directory?: string;
|
|
7230
7364
|
workspace?: string;
|
|
7231
7365
|
};
|
|
7232
|
-
url: "/
|
|
7366
|
+
url: "/tui/open-models";
|
|
7233
7367
|
};
|
|
7234
|
-
export type
|
|
7235
|
-
/**
|
|
7236
|
-
* InvalidRequestError
|
|
7237
|
-
*/
|
|
7238
|
-
400: InvalidRequestError;
|
|
7239
|
-
/**
|
|
7240
|
-
* UnauthorizedError
|
|
7241
|
-
*/
|
|
7242
|
-
401: UnauthorizedError;
|
|
7243
|
-
/**
|
|
7244
|
-
* SessionNotFoundError
|
|
7245
|
-
*/
|
|
7246
|
-
404: SessionNotFoundError;
|
|
7368
|
+
export type TuiOpenModelsErrors = {
|
|
7247
7369
|
/**
|
|
7248
|
-
*
|
|
7370
|
+
* Bad request
|
|
7249
7371
|
*/
|
|
7250
|
-
|
|
7372
|
+
400: BadRequestError;
|
|
7251
7373
|
};
|
|
7252
|
-
export type
|
|
7253
|
-
export type
|
|
7374
|
+
export type TuiOpenModelsError = TuiOpenModelsErrors[keyof TuiOpenModelsErrors];
|
|
7375
|
+
export type TuiOpenModelsResponses = {
|
|
7254
7376
|
/**
|
|
7255
|
-
*
|
|
7377
|
+
* Model dialog opened successfully
|
|
7256
7378
|
*/
|
|
7257
|
-
200:
|
|
7379
|
+
200: boolean;
|
|
7258
7380
|
};
|
|
7259
|
-
export type
|
|
7260
|
-
export type
|
|
7381
|
+
export type TuiOpenModelsResponse = TuiOpenModelsResponses[keyof TuiOpenModelsResponses];
|
|
7382
|
+
export type TuiSubmitPromptData = {
|
|
7261
7383
|
body?: never;
|
|
7262
|
-
path
|
|
7263
|
-
sessionID: string;
|
|
7264
|
-
};
|
|
7384
|
+
path?: never;
|
|
7265
7385
|
query?: {
|
|
7266
7386
|
directory?: string;
|
|
7267
7387
|
workspace?: string;
|
|
7268
|
-
limit?: number;
|
|
7269
|
-
order?: "asc" | "desc";
|
|
7270
|
-
/**
|
|
7271
|
-
* Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response. Do not combine with order.
|
|
7272
|
-
*/
|
|
7273
|
-
cursor?: string;
|
|
7274
7388
|
};
|
|
7275
|
-
url: "/
|
|
7389
|
+
url: "/tui/submit-prompt";
|
|
7276
7390
|
};
|
|
7277
|
-
export type
|
|
7278
|
-
/**
|
|
7279
|
-
* InvalidCursorError | InvalidRequestError
|
|
7280
|
-
*/
|
|
7281
|
-
400: InvalidCursorError | InvalidRequestError;
|
|
7282
|
-
/**
|
|
7283
|
-
* UnauthorizedError
|
|
7284
|
-
*/
|
|
7285
|
-
401: UnauthorizedError;
|
|
7286
|
-
/**
|
|
7287
|
-
* SessionNotFoundError
|
|
7288
|
-
*/
|
|
7289
|
-
404: SessionNotFoundError;
|
|
7391
|
+
export type TuiSubmitPromptErrors = {
|
|
7290
7392
|
/**
|
|
7291
|
-
*
|
|
7393
|
+
* Bad request
|
|
7292
7394
|
*/
|
|
7293
|
-
|
|
7395
|
+
400: BadRequestError;
|
|
7294
7396
|
};
|
|
7295
|
-
export type
|
|
7296
|
-
export type
|
|
7397
|
+
export type TuiSubmitPromptError = TuiSubmitPromptErrors[keyof TuiSubmitPromptErrors];
|
|
7398
|
+
export type TuiSubmitPromptResponses = {
|
|
7297
7399
|
/**
|
|
7298
|
-
*
|
|
7400
|
+
* Prompt submitted successfully
|
|
7299
7401
|
*/
|
|
7300
|
-
200:
|
|
7402
|
+
200: boolean;
|
|
7301
7403
|
};
|
|
7302
|
-
export type
|
|
7303
|
-
export type
|
|
7404
|
+
export type TuiSubmitPromptResponse = TuiSubmitPromptResponses[keyof TuiSubmitPromptResponses];
|
|
7405
|
+
export type TuiClearPromptData = {
|
|
7304
7406
|
body?: never;
|
|
7305
7407
|
path?: never;
|
|
7306
7408
|
query?: {
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
workspace?: string;
|
|
7310
|
-
};
|
|
7409
|
+
directory?: string;
|
|
7410
|
+
workspace?: string;
|
|
7311
7411
|
};
|
|
7312
|
-
url: "/
|
|
7412
|
+
url: "/tui/clear-prompt";
|
|
7313
7413
|
};
|
|
7314
|
-
export type
|
|
7414
|
+
export type TuiClearPromptErrors = {
|
|
7315
7415
|
/**
|
|
7316
|
-
*
|
|
7416
|
+
* Bad request
|
|
7317
7417
|
*/
|
|
7318
|
-
400:
|
|
7418
|
+
400: BadRequestError;
|
|
7419
|
+
};
|
|
7420
|
+
export type TuiClearPromptError = TuiClearPromptErrors[keyof TuiClearPromptErrors];
|
|
7421
|
+
export type TuiClearPromptResponses = {
|
|
7319
7422
|
/**
|
|
7320
|
-
*
|
|
7423
|
+
* Prompt cleared successfully
|
|
7321
7424
|
*/
|
|
7322
|
-
|
|
7425
|
+
200: boolean;
|
|
7426
|
+
};
|
|
7427
|
+
export type TuiClearPromptResponse = TuiClearPromptResponses[keyof TuiClearPromptResponses];
|
|
7428
|
+
export type TuiExecuteCommandData = {
|
|
7429
|
+
body?: {
|
|
7430
|
+
command: string;
|
|
7431
|
+
};
|
|
7432
|
+
path?: never;
|
|
7433
|
+
query?: {
|
|
7434
|
+
directory?: string;
|
|
7435
|
+
workspace?: string;
|
|
7436
|
+
};
|
|
7437
|
+
url: "/tui/execute-command";
|
|
7438
|
+
};
|
|
7439
|
+
export type TuiExecuteCommandErrors = {
|
|
7323
7440
|
/**
|
|
7324
|
-
*
|
|
7441
|
+
* BadRequest | InvalidRequestError
|
|
7325
7442
|
*/
|
|
7326
|
-
|
|
7443
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
7327
7444
|
};
|
|
7328
|
-
export type
|
|
7329
|
-
export type
|
|
7445
|
+
export type TuiExecuteCommandError = TuiExecuteCommandErrors[keyof TuiExecuteCommandErrors];
|
|
7446
|
+
export type TuiExecuteCommandResponses = {
|
|
7330
7447
|
/**
|
|
7331
|
-
*
|
|
7448
|
+
* Command executed successfully
|
|
7332
7449
|
*/
|
|
7333
|
-
200:
|
|
7450
|
+
200: boolean;
|
|
7334
7451
|
};
|
|
7335
|
-
export type
|
|
7336
|
-
export type
|
|
7337
|
-
body?:
|
|
7452
|
+
export type TuiExecuteCommandResponse = TuiExecuteCommandResponses[keyof TuiExecuteCommandResponses];
|
|
7453
|
+
export type TuiShowToastData = {
|
|
7454
|
+
body?: {
|
|
7455
|
+
title?: string;
|
|
7456
|
+
message: string;
|
|
7457
|
+
variant: "info" | "success" | "warning" | "error";
|
|
7458
|
+
duration?: number;
|
|
7459
|
+
};
|
|
7338
7460
|
path?: never;
|
|
7339
7461
|
query?: {
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
workspace?: string;
|
|
7343
|
-
};
|
|
7462
|
+
directory?: string;
|
|
7463
|
+
workspace?: string;
|
|
7344
7464
|
};
|
|
7345
|
-
url: "/
|
|
7465
|
+
url: "/tui/show-toast";
|
|
7346
7466
|
};
|
|
7347
|
-
export type
|
|
7348
|
-
/**
|
|
7349
|
-
* InvalidRequestError
|
|
7350
|
-
*/
|
|
7351
|
-
400: InvalidRequestError;
|
|
7467
|
+
export type TuiShowToastErrors = {
|
|
7352
7468
|
/**
|
|
7353
|
-
*
|
|
7469
|
+
* Bad request
|
|
7354
7470
|
*/
|
|
7355
|
-
|
|
7471
|
+
400: BadRequestError;
|
|
7472
|
+
};
|
|
7473
|
+
export type TuiShowToastError = TuiShowToastErrors[keyof TuiShowToastErrors];
|
|
7474
|
+
export type TuiShowToastResponses = {
|
|
7356
7475
|
/**
|
|
7357
|
-
*
|
|
7476
|
+
* Toast notification shown successfully
|
|
7358
7477
|
*/
|
|
7359
|
-
|
|
7478
|
+
200: boolean;
|
|
7360
7479
|
};
|
|
7361
|
-
export type
|
|
7362
|
-
export type
|
|
7480
|
+
export type TuiShowToastResponse = TuiShowToastResponses[keyof TuiShowToastResponses];
|
|
7481
|
+
export type TuiPublishData = {
|
|
7482
|
+
body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
|
|
7483
|
+
path?: never;
|
|
7484
|
+
query?: {
|
|
7485
|
+
directory?: string;
|
|
7486
|
+
workspace?: string;
|
|
7487
|
+
};
|
|
7488
|
+
url: "/tui/publish";
|
|
7489
|
+
};
|
|
7490
|
+
export type TuiPublishErrors = {
|
|
7363
7491
|
/**
|
|
7364
|
-
*
|
|
7492
|
+
* BadRequest | InvalidRequestError
|
|
7365
7493
|
*/
|
|
7366
|
-
|
|
7494
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
7367
7495
|
};
|
|
7368
|
-
export type
|
|
7369
|
-
export type
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7496
|
+
export type TuiPublishError = TuiPublishErrors[keyof TuiPublishErrors];
|
|
7497
|
+
export type TuiPublishResponses = {
|
|
7498
|
+
/**
|
|
7499
|
+
* Event published successfully
|
|
7500
|
+
*/
|
|
7501
|
+
200: boolean;
|
|
7502
|
+
};
|
|
7503
|
+
export type TuiPublishResponse = TuiPublishResponses[keyof TuiPublishResponses];
|
|
7504
|
+
export type TuiSelectSessionData = {
|
|
7505
|
+
body?: {
|
|
7506
|
+
/**
|
|
7507
|
+
* Session ID to navigate to
|
|
7508
|
+
*/
|
|
7509
|
+
sessionID: string;
|
|
7373
7510
|
};
|
|
7511
|
+
path?: never;
|
|
7374
7512
|
query?: {
|
|
7375
|
-
|
|
7376
|
-
|
|
7377
|
-
workspace?: string;
|
|
7378
|
-
};
|
|
7513
|
+
directory?: string;
|
|
7514
|
+
workspace?: string;
|
|
7379
7515
|
};
|
|
7380
|
-
url: "/
|
|
7516
|
+
url: "/tui/select-session";
|
|
7381
7517
|
};
|
|
7382
|
-
export type
|
|
7518
|
+
export type TuiSelectSessionErrors = {
|
|
7383
7519
|
/**
|
|
7384
|
-
* InvalidRequestError
|
|
7520
|
+
* BadRequest | InvalidRequestError
|
|
7385
7521
|
*/
|
|
7386
|
-
400: InvalidRequestError;
|
|
7522
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
7387
7523
|
/**
|
|
7388
|
-
*
|
|
7524
|
+
* NotFoundError
|
|
7389
7525
|
*/
|
|
7390
|
-
|
|
7526
|
+
404: NotFoundError;
|
|
7527
|
+
};
|
|
7528
|
+
export type TuiSelectSessionError = TuiSelectSessionErrors[keyof TuiSelectSessionErrors];
|
|
7529
|
+
export type TuiSelectSessionResponses = {
|
|
7391
7530
|
/**
|
|
7392
|
-
*
|
|
7531
|
+
* Session selected successfully
|
|
7393
7532
|
*/
|
|
7394
|
-
|
|
7533
|
+
200: boolean;
|
|
7534
|
+
};
|
|
7535
|
+
export type TuiSelectSessionResponse = TuiSelectSessionResponses[keyof TuiSelectSessionResponses];
|
|
7536
|
+
export type TuiControlNextData = {
|
|
7537
|
+
body?: never;
|
|
7538
|
+
path?: never;
|
|
7539
|
+
query?: {
|
|
7540
|
+
directory?: string;
|
|
7541
|
+
workspace?: string;
|
|
7542
|
+
};
|
|
7543
|
+
url: "/tui/control/next";
|
|
7544
|
+
};
|
|
7545
|
+
export type TuiControlNextErrors = {
|
|
7395
7546
|
/**
|
|
7396
|
-
*
|
|
7547
|
+
* Bad request
|
|
7397
7548
|
*/
|
|
7398
|
-
|
|
7549
|
+
400: BadRequestError;
|
|
7399
7550
|
};
|
|
7400
|
-
export type
|
|
7401
|
-
export type
|
|
7551
|
+
export type TuiControlNextError = TuiControlNextErrors[keyof TuiControlNextErrors];
|
|
7552
|
+
export type TuiControlNextResponses = {
|
|
7402
7553
|
/**
|
|
7403
|
-
*
|
|
7554
|
+
* Next TUI request
|
|
7404
7555
|
*/
|
|
7405
|
-
200:
|
|
7556
|
+
200: {
|
|
7557
|
+
path: string;
|
|
7558
|
+
body: unknown;
|
|
7559
|
+
};
|
|
7406
7560
|
};
|
|
7407
|
-
export type
|
|
7408
|
-
export type
|
|
7409
|
-
body?:
|
|
7561
|
+
export type TuiControlNextResponse = TuiControlNextResponses[keyof TuiControlNextResponses];
|
|
7562
|
+
export type TuiControlResponseData = {
|
|
7563
|
+
body?: unknown;
|
|
7410
7564
|
path?: never;
|
|
7411
7565
|
query?: {
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
workspace?: string;
|
|
7415
|
-
};
|
|
7566
|
+
directory?: string;
|
|
7567
|
+
workspace?: string;
|
|
7416
7568
|
};
|
|
7417
|
-
url: "/
|
|
7569
|
+
url: "/tui/control/response";
|
|
7418
7570
|
};
|
|
7419
|
-
export type
|
|
7420
|
-
/**
|
|
7421
|
-
* InvalidRequestError
|
|
7422
|
-
*/
|
|
7423
|
-
400: InvalidRequestError;
|
|
7571
|
+
export type TuiControlResponseErrors = {
|
|
7424
7572
|
/**
|
|
7425
|
-
*
|
|
7573
|
+
* Bad request
|
|
7426
7574
|
*/
|
|
7427
|
-
|
|
7575
|
+
400: BadRequestError;
|
|
7428
7576
|
};
|
|
7429
|
-
export type
|
|
7430
|
-
export type
|
|
7577
|
+
export type TuiControlResponseError = TuiControlResponseErrors[keyof TuiControlResponseErrors];
|
|
7578
|
+
export type TuiControlResponseResponses = {
|
|
7431
7579
|
/**
|
|
7432
|
-
*
|
|
7580
|
+
* Response submitted successfully
|
|
7433
7581
|
*/
|
|
7434
|
-
200:
|
|
7582
|
+
200: boolean;
|
|
7435
7583
|
};
|
|
7436
|
-
export type
|
|
7437
|
-
export type
|
|
7584
|
+
export type TuiControlResponseResponse = TuiControlResponseResponses[keyof TuiControlResponseResponses];
|
|
7585
|
+
export type ExperimentalWorkspaceAdapterListData = {
|
|
7438
7586
|
body?: never;
|
|
7439
|
-
path
|
|
7440
|
-
|
|
7587
|
+
path?: never;
|
|
7588
|
+
query?: {
|
|
7589
|
+
directory?: string;
|
|
7590
|
+
workspace?: string;
|
|
7441
7591
|
};
|
|
7442
|
-
|
|
7443
|
-
url: "/api/session/{sessionID}/permission/request";
|
|
7592
|
+
url: "/experimental/workspace/adapter";
|
|
7444
7593
|
};
|
|
7445
|
-
export type
|
|
7594
|
+
export type ExperimentalWorkspaceAdapterListErrors = {
|
|
7446
7595
|
/**
|
|
7447
|
-
*
|
|
7596
|
+
* Bad request
|
|
7448
7597
|
*/
|
|
7449
|
-
400:
|
|
7598
|
+
400: BadRequestError;
|
|
7599
|
+
};
|
|
7600
|
+
export type ExperimentalWorkspaceAdapterListError = ExperimentalWorkspaceAdapterListErrors[keyof ExperimentalWorkspaceAdapterListErrors];
|
|
7601
|
+
export type ExperimentalWorkspaceAdapterListResponses = {
|
|
7450
7602
|
/**
|
|
7451
|
-
*
|
|
7603
|
+
* Workspace adapters
|
|
7452
7604
|
*/
|
|
7453
|
-
|
|
7605
|
+
200: Array<{
|
|
7606
|
+
type: string;
|
|
7607
|
+
name: string;
|
|
7608
|
+
description: string;
|
|
7609
|
+
}>;
|
|
7610
|
+
};
|
|
7611
|
+
export type ExperimentalWorkspaceAdapterListResponse = ExperimentalWorkspaceAdapterListResponses[keyof ExperimentalWorkspaceAdapterListResponses];
|
|
7612
|
+
export type ExperimentalWorkspaceListData = {
|
|
7613
|
+
body?: never;
|
|
7614
|
+
path?: never;
|
|
7615
|
+
query?: {
|
|
7616
|
+
directory?: string;
|
|
7617
|
+
workspace?: string;
|
|
7618
|
+
};
|
|
7619
|
+
url: "/experimental/workspace";
|
|
7620
|
+
};
|
|
7621
|
+
export type ExperimentalWorkspaceListErrors = {
|
|
7454
7622
|
/**
|
|
7455
|
-
*
|
|
7623
|
+
* Bad request
|
|
7456
7624
|
*/
|
|
7457
|
-
|
|
7625
|
+
400: BadRequestError;
|
|
7458
7626
|
};
|
|
7459
|
-
export type
|
|
7460
|
-
export type
|
|
7627
|
+
export type ExperimentalWorkspaceListError = ExperimentalWorkspaceListErrors[keyof ExperimentalWorkspaceListErrors];
|
|
7628
|
+
export type ExperimentalWorkspaceListResponses = {
|
|
7461
7629
|
/**
|
|
7462
|
-
*
|
|
7630
|
+
* Workspaces
|
|
7463
7631
|
*/
|
|
7464
|
-
200: Array<
|
|
7632
|
+
200: Array<Workspace>;
|
|
7465
7633
|
};
|
|
7466
|
-
export type
|
|
7467
|
-
export type
|
|
7468
|
-
body
|
|
7469
|
-
|
|
7470
|
-
|
|
7634
|
+
export type ExperimentalWorkspaceListResponse = ExperimentalWorkspaceListResponses[keyof ExperimentalWorkspaceListResponses];
|
|
7635
|
+
export type ExperimentalWorkspaceCreateData = {
|
|
7636
|
+
body?: {
|
|
7637
|
+
id?: string;
|
|
7638
|
+
type: string;
|
|
7639
|
+
branch?: string | null;
|
|
7640
|
+
extra?: unknown | null;
|
|
7471
7641
|
};
|
|
7472
|
-
path
|
|
7473
|
-
|
|
7474
|
-
|
|
7642
|
+
path?: never;
|
|
7643
|
+
query?: {
|
|
7644
|
+
directory?: string;
|
|
7645
|
+
workspace?: string;
|
|
7475
7646
|
};
|
|
7476
|
-
|
|
7477
|
-
url: "/api/session/{sessionID}/permission/request/{requestID}/reply";
|
|
7647
|
+
url: "/experimental/workspace";
|
|
7478
7648
|
};
|
|
7479
|
-
export type
|
|
7649
|
+
export type ExperimentalWorkspaceCreateErrors = {
|
|
7480
7650
|
/**
|
|
7481
|
-
* InvalidRequestError
|
|
7651
|
+
* WorkspaceCreateError | BadRequest | InvalidRequestError
|
|
7482
7652
|
*/
|
|
7483
|
-
400: InvalidRequestError;
|
|
7653
|
+
400: WorkspaceCreateError | EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
7654
|
+
};
|
|
7655
|
+
export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
|
|
7656
|
+
export type ExperimentalWorkspaceCreateResponses = {
|
|
7484
7657
|
/**
|
|
7485
|
-
*
|
|
7658
|
+
* Workspace created
|
|
7486
7659
|
*/
|
|
7487
|
-
|
|
7660
|
+
200: Workspace;
|
|
7661
|
+
};
|
|
7662
|
+
export type ExperimentalWorkspaceCreateResponse = ExperimentalWorkspaceCreateResponses[keyof ExperimentalWorkspaceCreateResponses];
|
|
7663
|
+
export type ExperimentalWorkspaceSyncListData = {
|
|
7664
|
+
body?: never;
|
|
7665
|
+
path?: never;
|
|
7666
|
+
query?: {
|
|
7667
|
+
directory?: string;
|
|
7668
|
+
workspace?: string;
|
|
7669
|
+
};
|
|
7670
|
+
url: "/experimental/workspace/sync-list";
|
|
7671
|
+
};
|
|
7672
|
+
export type ExperimentalWorkspaceSyncListErrors = {
|
|
7488
7673
|
/**
|
|
7489
|
-
*
|
|
7674
|
+
* Bad request
|
|
7490
7675
|
*/
|
|
7491
|
-
|
|
7676
|
+
400: BadRequestError;
|
|
7492
7677
|
};
|
|
7493
|
-
export type
|
|
7494
|
-
export type
|
|
7678
|
+
export type ExperimentalWorkspaceSyncListError = ExperimentalWorkspaceSyncListErrors[keyof ExperimentalWorkspaceSyncListErrors];
|
|
7679
|
+
export type ExperimentalWorkspaceSyncListResponses = {
|
|
7495
7680
|
/**
|
|
7496
|
-
*
|
|
7681
|
+
* Workspace list synced
|
|
7497
7682
|
*/
|
|
7498
7683
|
204: void;
|
|
7499
7684
|
};
|
|
7500
|
-
export type
|
|
7501
|
-
export type
|
|
7685
|
+
export type ExperimentalWorkspaceSyncListResponse = ExperimentalWorkspaceSyncListResponses[keyof ExperimentalWorkspaceSyncListResponses];
|
|
7686
|
+
export type ExperimentalWorkspaceStatusData = {
|
|
7502
7687
|
body?: never;
|
|
7503
7688
|
path?: never;
|
|
7504
7689
|
query?: {
|
|
7505
|
-
|
|
7690
|
+
directory?: string;
|
|
7691
|
+
workspace?: string;
|
|
7506
7692
|
};
|
|
7507
|
-
url: "/
|
|
7693
|
+
url: "/experimental/workspace/status";
|
|
7508
7694
|
};
|
|
7509
|
-
export type
|
|
7510
|
-
/**
|
|
7511
|
-
* InvalidRequestError
|
|
7512
|
-
*/
|
|
7513
|
-
400: InvalidRequestError;
|
|
7695
|
+
export type ExperimentalWorkspaceStatusErrors = {
|
|
7514
7696
|
/**
|
|
7515
|
-
*
|
|
7697
|
+
* Bad request
|
|
7516
7698
|
*/
|
|
7517
|
-
|
|
7699
|
+
400: BadRequestError;
|
|
7518
7700
|
};
|
|
7519
|
-
export type
|
|
7520
|
-
export type
|
|
7701
|
+
export type ExperimentalWorkspaceStatusError = ExperimentalWorkspaceStatusErrors[keyof ExperimentalWorkspaceStatusErrors];
|
|
7702
|
+
export type ExperimentalWorkspaceStatusResponses = {
|
|
7521
7703
|
/**
|
|
7522
|
-
*
|
|
7704
|
+
* Workspace status
|
|
7523
7705
|
*/
|
|
7524
|
-
200: Array<
|
|
7706
|
+
200: Array<{
|
|
7707
|
+
workspaceID: string;
|
|
7708
|
+
status: "connected" | "connecting" | "disconnected" | "error";
|
|
7709
|
+
}>;
|
|
7525
7710
|
};
|
|
7526
|
-
export type
|
|
7527
|
-
export type
|
|
7711
|
+
export type ExperimentalWorkspaceStatusResponse = ExperimentalWorkspaceStatusResponses[keyof ExperimentalWorkspaceStatusResponses];
|
|
7712
|
+
export type ExperimentalWorkspaceRemoveData = {
|
|
7528
7713
|
body?: never;
|
|
7529
7714
|
path: {
|
|
7530
7715
|
id: string;
|
|
7531
7716
|
};
|
|
7717
|
+
query?: {
|
|
7718
|
+
directory?: string;
|
|
7719
|
+
workspace?: string;
|
|
7720
|
+
};
|
|
7721
|
+
url: "/experimental/workspace/{id}";
|
|
7722
|
+
};
|
|
7723
|
+
export type ExperimentalWorkspaceRemoveErrors = {
|
|
7724
|
+
/**
|
|
7725
|
+
* BadRequest | InvalidRequestError
|
|
7726
|
+
*/
|
|
7727
|
+
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
7728
|
+
};
|
|
7729
|
+
export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
|
|
7730
|
+
export type ExperimentalWorkspaceRemoveResponses = {
|
|
7731
|
+
/**
|
|
7732
|
+
* Workspace removed
|
|
7733
|
+
*/
|
|
7734
|
+
200: Workspace;
|
|
7735
|
+
};
|
|
7736
|
+
export type ExperimentalWorkspaceRemoveResponse = ExperimentalWorkspaceRemoveResponses[keyof ExperimentalWorkspaceRemoveResponses];
|
|
7737
|
+
export type ExperimentalWorkspaceWarpData = {
|
|
7738
|
+
body?: {
|
|
7739
|
+
id: string | null;
|
|
7740
|
+
sessionID: string;
|
|
7741
|
+
copyChanges?: boolean;
|
|
7742
|
+
};
|
|
7743
|
+
path?: never;
|
|
7744
|
+
query?: {
|
|
7745
|
+
directory?: string;
|
|
7746
|
+
workspace?: string;
|
|
7747
|
+
};
|
|
7748
|
+
url: "/experimental/workspace/warp";
|
|
7749
|
+
};
|
|
7750
|
+
export type ExperimentalWorkspaceWarpErrors = {
|
|
7751
|
+
/**
|
|
7752
|
+
* WorkspaceWarpError | VcsApplyError | InvalidRequestError
|
|
7753
|
+
*/
|
|
7754
|
+
400: WorkspaceWarpError | VcsApplyError | InvalidRequestError;
|
|
7755
|
+
/**
|
|
7756
|
+
* NotFoundError
|
|
7757
|
+
*/
|
|
7758
|
+
404: NotFoundError;
|
|
7759
|
+
};
|
|
7760
|
+
export type ExperimentalWorkspaceWarpError = ExperimentalWorkspaceWarpErrors[keyof ExperimentalWorkspaceWarpErrors];
|
|
7761
|
+
export type ExperimentalWorkspaceWarpResponses = {
|
|
7762
|
+
/**
|
|
7763
|
+
* Session warped
|
|
7764
|
+
*/
|
|
7765
|
+
204: void;
|
|
7766
|
+
};
|
|
7767
|
+
export type ExperimentalWorkspaceWarpResponse = ExperimentalWorkspaceWarpResponses[keyof ExperimentalWorkspaceWarpResponses];
|
|
7768
|
+
export type V2HealthGetData = {
|
|
7769
|
+
body?: never;
|
|
7770
|
+
path?: never;
|
|
7532
7771
|
query?: never;
|
|
7533
|
-
url: "/api/
|
|
7772
|
+
url: "/api/health";
|
|
7534
7773
|
};
|
|
7535
|
-
export type
|
|
7774
|
+
export type V2HealthGetErrors = {
|
|
7536
7775
|
/**
|
|
7537
7776
|
* InvalidRequestError
|
|
7538
7777
|
*/
|
|
@@ -7542,28 +7781,28 @@ export type V2PermissionSavedRemoveErrors = {
|
|
|
7542
7781
|
*/
|
|
7543
7782
|
401: UnauthorizedError;
|
|
7544
7783
|
};
|
|
7545
|
-
export type
|
|
7546
|
-
export type
|
|
7784
|
+
export type V2HealthGetError = V2HealthGetErrors[keyof V2HealthGetErrors];
|
|
7785
|
+
export type V2HealthGetResponses = {
|
|
7547
7786
|
/**
|
|
7548
|
-
*
|
|
7787
|
+
* Success
|
|
7549
7788
|
*/
|
|
7550
|
-
|
|
7789
|
+
200: {
|
|
7790
|
+
healthy: true;
|
|
7791
|
+
};
|
|
7551
7792
|
};
|
|
7552
|
-
export type
|
|
7553
|
-
export type
|
|
7793
|
+
export type V2HealthGetResponse = V2HealthGetResponses[keyof V2HealthGetResponses];
|
|
7794
|
+
export type V2AgentListData = {
|
|
7554
7795
|
body?: never;
|
|
7555
7796
|
path?: never;
|
|
7556
|
-
query
|
|
7797
|
+
query?: {
|
|
7557
7798
|
location?: {
|
|
7558
7799
|
directory?: string;
|
|
7559
7800
|
workspace?: string;
|
|
7560
7801
|
};
|
|
7561
|
-
path: string;
|
|
7562
|
-
reference?: string;
|
|
7563
7802
|
};
|
|
7564
|
-
url: "/api/
|
|
7803
|
+
url: "/api/agent";
|
|
7565
7804
|
};
|
|
7566
|
-
export type
|
|
7805
|
+
export type V2AgentListErrors = {
|
|
7567
7806
|
/**
|
|
7568
7807
|
* InvalidRequestError
|
|
7569
7808
|
*/
|
|
@@ -7573,28 +7812,67 @@ export type V2FsReadErrors = {
|
|
|
7573
7812
|
*/
|
|
7574
7813
|
401: UnauthorizedError;
|
|
7575
7814
|
};
|
|
7576
|
-
export type
|
|
7577
|
-
export type
|
|
7815
|
+
export type V2AgentListError = V2AgentListErrors[keyof V2AgentListErrors];
|
|
7816
|
+
export type V2AgentListResponses = {
|
|
7578
7817
|
/**
|
|
7579
7818
|
* Success
|
|
7580
7819
|
*/
|
|
7581
|
-
200:
|
|
7820
|
+
200: {
|
|
7821
|
+
location: LocationInfo;
|
|
7822
|
+
data: Array<AgentV2Info>;
|
|
7823
|
+
};
|
|
7582
7824
|
};
|
|
7583
|
-
export type
|
|
7584
|
-
export type
|
|
7825
|
+
export type V2AgentListResponse = V2AgentListResponses[keyof V2AgentListResponses];
|
|
7826
|
+
export type V2SessionListData = {
|
|
7585
7827
|
body?: never;
|
|
7586
7828
|
path?: never;
|
|
7587
7829
|
query?: {
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7830
|
+
workspace?: string;
|
|
7831
|
+
limit?: number;
|
|
7832
|
+
order?: "asc" | "desc";
|
|
7833
|
+
search?: string;
|
|
7834
|
+
directory?: string;
|
|
7835
|
+
project?: string;
|
|
7836
|
+
subpath?: string;
|
|
7837
|
+
/**
|
|
7838
|
+
* Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response.
|
|
7839
|
+
*/
|
|
7840
|
+
cursor?: string;
|
|
7841
|
+
};
|
|
7842
|
+
url: "/api/session";
|
|
7843
|
+
};
|
|
7844
|
+
export type V2SessionListErrors = {
|
|
7845
|
+
/**
|
|
7846
|
+
* InvalidCursorError | InvalidRequestError
|
|
7847
|
+
*/
|
|
7848
|
+
400: InvalidCursorError | InvalidRequestError;
|
|
7849
|
+
/**
|
|
7850
|
+
* UnauthorizedError
|
|
7851
|
+
*/
|
|
7852
|
+
401: UnauthorizedError;
|
|
7853
|
+
};
|
|
7854
|
+
export type V2SessionListError = V2SessionListErrors[keyof V2SessionListErrors];
|
|
7855
|
+
export type V2SessionListResponses = {
|
|
7856
|
+
/**
|
|
7857
|
+
* V2SessionsResponse
|
|
7858
|
+
*/
|
|
7859
|
+
200: V2SessionsResponse;
|
|
7860
|
+
};
|
|
7861
|
+
export type V2SessionListResponse = V2SessionListResponses[keyof V2SessionListResponses];
|
|
7862
|
+
export type V2SessionPromptData = {
|
|
7863
|
+
body: {
|
|
7864
|
+
id?: string;
|
|
7865
|
+
prompt: Prompt;
|
|
7866
|
+
delivery?: "steer" | "queue";
|
|
7867
|
+
resume?: boolean;
|
|
7594
7868
|
};
|
|
7595
|
-
|
|
7869
|
+
path: {
|
|
7870
|
+
sessionID: string;
|
|
7871
|
+
};
|
|
7872
|
+
query?: never;
|
|
7873
|
+
url: "/api/session/{sessionID}/prompt";
|
|
7596
7874
|
};
|
|
7597
|
-
export type
|
|
7875
|
+
export type V2SessionPromptErrors = {
|
|
7598
7876
|
/**
|
|
7599
7877
|
* InvalidRequestError
|
|
7600
7878
|
*/
|
|
@@ -7603,27 +7881,34 @@ export type V2FsListErrors = {
|
|
|
7603
7881
|
* UnauthorizedError
|
|
7604
7882
|
*/
|
|
7605
7883
|
401: UnauthorizedError;
|
|
7884
|
+
/**
|
|
7885
|
+
* SessionNotFoundError
|
|
7886
|
+
*/
|
|
7887
|
+
404: SessionNotFoundError;
|
|
7888
|
+
/**
|
|
7889
|
+
* ConflictError
|
|
7890
|
+
*/
|
|
7891
|
+
409: ConflictError;
|
|
7606
7892
|
};
|
|
7607
|
-
export type
|
|
7608
|
-
export type
|
|
7893
|
+
export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors];
|
|
7894
|
+
export type V2SessionPromptResponses = {
|
|
7609
7895
|
/**
|
|
7610
7896
|
* Success
|
|
7611
7897
|
*/
|
|
7612
|
-
200:
|
|
7898
|
+
200: {
|
|
7899
|
+
data: SessionMessageUser;
|
|
7900
|
+
};
|
|
7613
7901
|
};
|
|
7614
|
-
export type
|
|
7615
|
-
export type
|
|
7902
|
+
export type V2SessionPromptResponse = V2SessionPromptResponses[keyof V2SessionPromptResponses];
|
|
7903
|
+
export type V2SessionCompactData = {
|
|
7616
7904
|
body?: never;
|
|
7617
|
-
path
|
|
7618
|
-
|
|
7619
|
-
location?: {
|
|
7620
|
-
directory?: string;
|
|
7621
|
-
workspace?: string;
|
|
7622
|
-
};
|
|
7905
|
+
path: {
|
|
7906
|
+
sessionID: string;
|
|
7623
7907
|
};
|
|
7624
|
-
|
|
7908
|
+
query?: never;
|
|
7909
|
+
url: "/api/session/{sessionID}/compact";
|
|
7625
7910
|
};
|
|
7626
|
-
export type
|
|
7911
|
+
export type V2SessionCompactErrors = {
|
|
7627
7912
|
/**
|
|
7628
7913
|
* InvalidRequestError
|
|
7629
7914
|
*/
|
|
@@ -7632,25 +7917,32 @@ export type V2QuestionRequestListErrors = {
|
|
|
7632
7917
|
* UnauthorizedError
|
|
7633
7918
|
*/
|
|
7634
7919
|
401: UnauthorizedError;
|
|
7920
|
+
/**
|
|
7921
|
+
* SessionNotFoundError
|
|
7922
|
+
*/
|
|
7923
|
+
404: SessionNotFoundError;
|
|
7924
|
+
/**
|
|
7925
|
+
* ServiceUnavailableError
|
|
7926
|
+
*/
|
|
7927
|
+
503: ServiceUnavailableError;
|
|
7635
7928
|
};
|
|
7636
|
-
export type
|
|
7637
|
-
export type
|
|
7929
|
+
export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors];
|
|
7930
|
+
export type V2SessionCompactResponses = {
|
|
7638
7931
|
/**
|
|
7639
|
-
*
|
|
7932
|
+
* <No Content>
|
|
7640
7933
|
*/
|
|
7641
|
-
|
|
7934
|
+
204: void;
|
|
7642
7935
|
};
|
|
7643
|
-
export type
|
|
7644
|
-
export type
|
|
7645
|
-
body
|
|
7936
|
+
export type V2SessionCompactResponse = V2SessionCompactResponses[keyof V2SessionCompactResponses];
|
|
7937
|
+
export type V2SessionWaitData = {
|
|
7938
|
+
body?: never;
|
|
7646
7939
|
path: {
|
|
7647
7940
|
sessionID: string;
|
|
7648
|
-
requestID: string;
|
|
7649
7941
|
};
|
|
7650
7942
|
query?: never;
|
|
7651
|
-
url: "/api/session/{sessionID}/
|
|
7943
|
+
url: "/api/session/{sessionID}/wait";
|
|
7652
7944
|
};
|
|
7653
|
-
export type
|
|
7945
|
+
export type V2SessionWaitErrors = {
|
|
7654
7946
|
/**
|
|
7655
7947
|
* InvalidRequestError
|
|
7656
7948
|
*/
|
|
@@ -7660,28 +7952,31 @@ export type V2SessionQuestionReplyErrors = {
|
|
|
7660
7952
|
*/
|
|
7661
7953
|
401: UnauthorizedError;
|
|
7662
7954
|
/**
|
|
7663
|
-
* SessionNotFoundError
|
|
7955
|
+
* SessionNotFoundError
|
|
7664
7956
|
*/
|
|
7665
|
-
404: SessionNotFoundError
|
|
7957
|
+
404: SessionNotFoundError;
|
|
7958
|
+
/**
|
|
7959
|
+
* ServiceUnavailableError
|
|
7960
|
+
*/
|
|
7961
|
+
503: ServiceUnavailableError;
|
|
7666
7962
|
};
|
|
7667
|
-
export type
|
|
7668
|
-
export type
|
|
7963
|
+
export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors];
|
|
7964
|
+
export type V2SessionWaitResponses = {
|
|
7669
7965
|
/**
|
|
7670
7966
|
* <No Content>
|
|
7671
7967
|
*/
|
|
7672
7968
|
204: void;
|
|
7673
7969
|
};
|
|
7674
|
-
export type
|
|
7675
|
-
export type
|
|
7970
|
+
export type V2SessionWaitResponse = V2SessionWaitResponses[keyof V2SessionWaitResponses];
|
|
7971
|
+
export type V2SessionContextData = {
|
|
7676
7972
|
body?: never;
|
|
7677
7973
|
path: {
|
|
7678
7974
|
sessionID: string;
|
|
7679
|
-
requestID: string;
|
|
7680
7975
|
};
|
|
7681
7976
|
query?: never;
|
|
7682
|
-
url: "/api/session/{sessionID}/
|
|
7977
|
+
url: "/api/session/{sessionID}/context";
|
|
7683
7978
|
};
|
|
7684
|
-
export type
|
|
7979
|
+
export type V2SessionContextErrors = {
|
|
7685
7980
|
/**
|
|
7686
7981
|
* InvalidRequestError
|
|
7687
7982
|
*/
|
|
@@ -7691,521 +7986,586 @@ export type V2SessionQuestionRejectErrors = {
|
|
|
7691
7986
|
*/
|
|
7692
7987
|
401: UnauthorizedError;
|
|
7693
7988
|
/**
|
|
7694
|
-
* SessionNotFoundError
|
|
7989
|
+
* SessionNotFoundError
|
|
7695
7990
|
*/
|
|
7696
|
-
404: SessionNotFoundError
|
|
7991
|
+
404: SessionNotFoundError;
|
|
7992
|
+
/**
|
|
7993
|
+
* UnknownError
|
|
7994
|
+
*/
|
|
7995
|
+
500: UnknownError1;
|
|
7697
7996
|
};
|
|
7698
|
-
export type
|
|
7699
|
-
export type
|
|
7997
|
+
export type V2SessionContextError = V2SessionContextErrors[keyof V2SessionContextErrors];
|
|
7998
|
+
export type V2SessionContextResponses = {
|
|
7700
7999
|
/**
|
|
7701
|
-
*
|
|
8000
|
+
* Success
|
|
7702
8001
|
*/
|
|
7703
|
-
|
|
8002
|
+
200: {
|
|
8003
|
+
data: Array<SessionMessage>;
|
|
8004
|
+
};
|
|
7704
8005
|
};
|
|
7705
|
-
export type
|
|
7706
|
-
export type
|
|
7707
|
-
body?:
|
|
7708
|
-
|
|
8006
|
+
export type V2SessionContextResponse = V2SessionContextResponses[keyof V2SessionContextResponses];
|
|
8007
|
+
export type V2SessionMessagesData = {
|
|
8008
|
+
body?: never;
|
|
8009
|
+
path: {
|
|
8010
|
+
sessionID: string;
|
|
7709
8011
|
};
|
|
7710
|
-
path?: never;
|
|
7711
8012
|
query?: {
|
|
7712
|
-
|
|
7713
|
-
|
|
8013
|
+
limit?: number;
|
|
8014
|
+
order?: "asc" | "desc";
|
|
8015
|
+
/**
|
|
8016
|
+
* Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response. Do not combine with order.
|
|
8017
|
+
*/
|
|
8018
|
+
cursor?: string;
|
|
7714
8019
|
};
|
|
7715
|
-
url: "/
|
|
8020
|
+
url: "/api/session/{sessionID}/message";
|
|
7716
8021
|
};
|
|
7717
|
-
export type
|
|
8022
|
+
export type V2SessionMessagesErrors = {
|
|
7718
8023
|
/**
|
|
7719
|
-
*
|
|
8024
|
+
* InvalidCursorError | InvalidRequestError
|
|
7720
8025
|
*/
|
|
7721
|
-
400:
|
|
7722
|
-
};
|
|
7723
|
-
export type TuiAppendPromptError = TuiAppendPromptErrors[keyof TuiAppendPromptErrors];
|
|
7724
|
-
export type TuiAppendPromptResponses = {
|
|
8026
|
+
400: InvalidCursorError | InvalidRequestError;
|
|
7725
8027
|
/**
|
|
7726
|
-
*
|
|
8028
|
+
* UnauthorizedError
|
|
7727
8029
|
*/
|
|
7728
|
-
|
|
7729
|
-
};
|
|
7730
|
-
export type TuiAppendPromptResponse = TuiAppendPromptResponses[keyof TuiAppendPromptResponses];
|
|
7731
|
-
export type TuiOpenHelpData = {
|
|
7732
|
-
body?: never;
|
|
7733
|
-
path?: never;
|
|
7734
|
-
query?: {
|
|
7735
|
-
directory?: string;
|
|
7736
|
-
workspace?: string;
|
|
7737
|
-
};
|
|
7738
|
-
url: "/tui/open-help";
|
|
7739
|
-
};
|
|
7740
|
-
export type TuiOpenHelpErrors = {
|
|
8030
|
+
401: UnauthorizedError;
|
|
7741
8031
|
/**
|
|
7742
|
-
*
|
|
8032
|
+
* SessionNotFoundError
|
|
7743
8033
|
*/
|
|
7744
|
-
|
|
8034
|
+
404: SessionNotFoundError;
|
|
8035
|
+
/**
|
|
8036
|
+
* UnknownError
|
|
8037
|
+
*/
|
|
8038
|
+
500: UnknownError1;
|
|
7745
8039
|
};
|
|
7746
|
-
export type
|
|
7747
|
-
export type
|
|
8040
|
+
export type V2SessionMessagesError = V2SessionMessagesErrors[keyof V2SessionMessagesErrors];
|
|
8041
|
+
export type V2SessionMessagesResponses = {
|
|
7748
8042
|
/**
|
|
7749
|
-
*
|
|
8043
|
+
* V2SessionMessagesResponse
|
|
7750
8044
|
*/
|
|
7751
|
-
200:
|
|
8045
|
+
200: V2SessionMessagesResponse;
|
|
7752
8046
|
};
|
|
7753
|
-
export type
|
|
7754
|
-
export type
|
|
8047
|
+
export type V2SessionMessagesResponse2 = V2SessionMessagesResponses[keyof V2SessionMessagesResponses];
|
|
8048
|
+
export type V2ModelListData = {
|
|
7755
8049
|
body?: never;
|
|
7756
8050
|
path?: never;
|
|
7757
8051
|
query?: {
|
|
7758
|
-
|
|
7759
|
-
|
|
8052
|
+
location?: {
|
|
8053
|
+
directory?: string;
|
|
8054
|
+
workspace?: string;
|
|
8055
|
+
};
|
|
7760
8056
|
};
|
|
7761
|
-
url: "/
|
|
8057
|
+
url: "/api/model";
|
|
7762
8058
|
};
|
|
7763
|
-
export type
|
|
8059
|
+
export type V2ModelListErrors = {
|
|
7764
8060
|
/**
|
|
7765
|
-
*
|
|
8061
|
+
* InvalidRequestError
|
|
7766
8062
|
*/
|
|
7767
|
-
400:
|
|
8063
|
+
400: InvalidRequestError;
|
|
8064
|
+
/**
|
|
8065
|
+
* UnauthorizedError
|
|
8066
|
+
*/
|
|
8067
|
+
401: UnauthorizedError;
|
|
8068
|
+
/**
|
|
8069
|
+
* ServiceUnavailableError
|
|
8070
|
+
*/
|
|
8071
|
+
503: ServiceUnavailableError;
|
|
7768
8072
|
};
|
|
7769
|
-
export type
|
|
7770
|
-
export type
|
|
8073
|
+
export type V2ModelListError = V2ModelListErrors[keyof V2ModelListErrors];
|
|
8074
|
+
export type V2ModelListResponses = {
|
|
7771
8075
|
/**
|
|
7772
|
-
*
|
|
8076
|
+
* Success
|
|
7773
8077
|
*/
|
|
7774
|
-
200:
|
|
8078
|
+
200: {
|
|
8079
|
+
location: LocationInfo;
|
|
8080
|
+
data: Array<ModelV2Info>;
|
|
8081
|
+
};
|
|
7775
8082
|
};
|
|
7776
|
-
export type
|
|
7777
|
-
export type
|
|
8083
|
+
export type V2ModelListResponse = V2ModelListResponses[keyof V2ModelListResponses];
|
|
8084
|
+
export type V2ProviderListData = {
|
|
7778
8085
|
body?: never;
|
|
7779
8086
|
path?: never;
|
|
7780
8087
|
query?: {
|
|
7781
|
-
|
|
7782
|
-
|
|
8088
|
+
location?: {
|
|
8089
|
+
directory?: string;
|
|
8090
|
+
workspace?: string;
|
|
8091
|
+
};
|
|
7783
8092
|
};
|
|
7784
|
-
url: "/
|
|
8093
|
+
url: "/api/provider";
|
|
7785
8094
|
};
|
|
7786
|
-
export type
|
|
8095
|
+
export type V2ProviderListErrors = {
|
|
7787
8096
|
/**
|
|
7788
|
-
*
|
|
8097
|
+
* InvalidRequestError
|
|
7789
8098
|
*/
|
|
7790
|
-
400:
|
|
8099
|
+
400: InvalidRequestError;
|
|
8100
|
+
/**
|
|
8101
|
+
* UnauthorizedError
|
|
8102
|
+
*/
|
|
8103
|
+
401: UnauthorizedError;
|
|
8104
|
+
/**
|
|
8105
|
+
* ServiceUnavailableError
|
|
8106
|
+
*/
|
|
8107
|
+
503: ServiceUnavailableError;
|
|
7791
8108
|
};
|
|
7792
|
-
export type
|
|
7793
|
-
export type
|
|
8109
|
+
export type V2ProviderListError = V2ProviderListErrors[keyof V2ProviderListErrors];
|
|
8110
|
+
export type V2ProviderListResponses = {
|
|
7794
8111
|
/**
|
|
7795
|
-
*
|
|
8112
|
+
* Success
|
|
7796
8113
|
*/
|
|
7797
|
-
200:
|
|
8114
|
+
200: {
|
|
8115
|
+
location: LocationInfo;
|
|
8116
|
+
data: Array<ProviderV2Info>;
|
|
8117
|
+
};
|
|
7798
8118
|
};
|
|
7799
|
-
export type
|
|
7800
|
-
export type
|
|
8119
|
+
export type V2ProviderListResponse = V2ProviderListResponses[keyof V2ProviderListResponses];
|
|
8120
|
+
export type V2ProviderGetData = {
|
|
7801
8121
|
body?: never;
|
|
7802
|
-
path
|
|
8122
|
+
path: {
|
|
8123
|
+
providerID: string;
|
|
8124
|
+
};
|
|
7803
8125
|
query?: {
|
|
7804
|
-
|
|
7805
|
-
|
|
8126
|
+
location?: {
|
|
8127
|
+
directory?: string;
|
|
8128
|
+
workspace?: string;
|
|
8129
|
+
};
|
|
7806
8130
|
};
|
|
7807
|
-
url: "/
|
|
8131
|
+
url: "/api/provider/{providerID}";
|
|
7808
8132
|
};
|
|
7809
|
-
export type
|
|
8133
|
+
export type V2ProviderGetErrors = {
|
|
7810
8134
|
/**
|
|
7811
|
-
*
|
|
8135
|
+
* InvalidRequestError
|
|
7812
8136
|
*/
|
|
7813
|
-
400:
|
|
8137
|
+
400: InvalidRequestError;
|
|
8138
|
+
/**
|
|
8139
|
+
* UnauthorizedError
|
|
8140
|
+
*/
|
|
8141
|
+
401: UnauthorizedError;
|
|
8142
|
+
/**
|
|
8143
|
+
* ProviderNotFoundError
|
|
8144
|
+
*/
|
|
8145
|
+
404: ProviderNotFoundError;
|
|
8146
|
+
/**
|
|
8147
|
+
* ServiceUnavailableError
|
|
8148
|
+
*/
|
|
8149
|
+
503: ServiceUnavailableError;
|
|
7814
8150
|
};
|
|
7815
|
-
export type
|
|
7816
|
-
export type
|
|
8151
|
+
export type V2ProviderGetError = V2ProviderGetErrors[keyof V2ProviderGetErrors];
|
|
8152
|
+
export type V2ProviderGetResponses = {
|
|
7817
8153
|
/**
|
|
7818
|
-
*
|
|
8154
|
+
* Success
|
|
7819
8155
|
*/
|
|
7820
|
-
200:
|
|
8156
|
+
200: {
|
|
8157
|
+
location: LocationInfo;
|
|
8158
|
+
data: ProviderV2Info;
|
|
8159
|
+
};
|
|
7821
8160
|
};
|
|
7822
|
-
export type
|
|
7823
|
-
export type
|
|
8161
|
+
export type V2ProviderGetResponse = V2ProviderGetResponses[keyof V2ProviderGetResponses];
|
|
8162
|
+
export type V2PermissionRequestListData = {
|
|
7824
8163
|
body?: never;
|
|
7825
8164
|
path?: never;
|
|
7826
8165
|
query?: {
|
|
7827
|
-
|
|
7828
|
-
|
|
8166
|
+
location?: {
|
|
8167
|
+
directory?: string;
|
|
8168
|
+
workspace?: string;
|
|
8169
|
+
};
|
|
7829
8170
|
};
|
|
7830
|
-
url: "/
|
|
8171
|
+
url: "/api/permission/request";
|
|
7831
8172
|
};
|
|
7832
|
-
export type
|
|
8173
|
+
export type V2PermissionRequestListErrors = {
|
|
7833
8174
|
/**
|
|
7834
|
-
*
|
|
8175
|
+
* InvalidRequestError
|
|
7835
8176
|
*/
|
|
7836
|
-
400:
|
|
8177
|
+
400: InvalidRequestError;
|
|
8178
|
+
/**
|
|
8179
|
+
* UnauthorizedError
|
|
8180
|
+
*/
|
|
8181
|
+
401: UnauthorizedError;
|
|
7837
8182
|
};
|
|
7838
|
-
export type
|
|
7839
|
-
export type
|
|
8183
|
+
export type V2PermissionRequestListError = V2PermissionRequestListErrors[keyof V2PermissionRequestListErrors];
|
|
8184
|
+
export type V2PermissionRequestListResponses = {
|
|
7840
8185
|
/**
|
|
7841
|
-
*
|
|
8186
|
+
* Success
|
|
7842
8187
|
*/
|
|
7843
|
-
200:
|
|
8188
|
+
200: {
|
|
8189
|
+
location: LocationInfo;
|
|
8190
|
+
data: Array<PermissionV2Request>;
|
|
8191
|
+
};
|
|
7844
8192
|
};
|
|
7845
|
-
export type
|
|
7846
|
-
export type
|
|
8193
|
+
export type V2PermissionRequestListResponse = V2PermissionRequestListResponses[keyof V2PermissionRequestListResponses];
|
|
8194
|
+
export type V2SessionPermissionListData = {
|
|
7847
8195
|
body?: never;
|
|
7848
|
-
path
|
|
7849
|
-
|
|
7850
|
-
directory?: string;
|
|
7851
|
-
workspace?: string;
|
|
8196
|
+
path: {
|
|
8197
|
+
sessionID: string;
|
|
7852
8198
|
};
|
|
7853
|
-
|
|
8199
|
+
query?: never;
|
|
8200
|
+
url: "/api/session/{sessionID}/permission/request";
|
|
7854
8201
|
};
|
|
7855
|
-
export type
|
|
8202
|
+
export type V2SessionPermissionListErrors = {
|
|
7856
8203
|
/**
|
|
7857
|
-
*
|
|
8204
|
+
* InvalidRequestError
|
|
7858
8205
|
*/
|
|
7859
|
-
400:
|
|
7860
|
-
};
|
|
7861
|
-
export type TuiClearPromptError = TuiClearPromptErrors[keyof TuiClearPromptErrors];
|
|
7862
|
-
export type TuiClearPromptResponses = {
|
|
8206
|
+
400: InvalidRequestError;
|
|
7863
8207
|
/**
|
|
7864
|
-
*
|
|
8208
|
+
* UnauthorizedError
|
|
7865
8209
|
*/
|
|
7866
|
-
|
|
7867
|
-
};
|
|
7868
|
-
export type TuiClearPromptResponse = TuiClearPromptResponses[keyof TuiClearPromptResponses];
|
|
7869
|
-
export type TuiExecuteCommandData = {
|
|
7870
|
-
body?: {
|
|
7871
|
-
command: string;
|
|
7872
|
-
};
|
|
7873
|
-
path?: never;
|
|
7874
|
-
query?: {
|
|
7875
|
-
directory?: string;
|
|
7876
|
-
workspace?: string;
|
|
7877
|
-
};
|
|
7878
|
-
url: "/tui/execute-command";
|
|
7879
|
-
};
|
|
7880
|
-
export type TuiExecuteCommandErrors = {
|
|
8210
|
+
401: UnauthorizedError;
|
|
7881
8211
|
/**
|
|
7882
|
-
*
|
|
8212
|
+
* SessionNotFoundError
|
|
7883
8213
|
*/
|
|
7884
|
-
|
|
8214
|
+
404: SessionNotFoundError;
|
|
7885
8215
|
};
|
|
7886
|
-
export type
|
|
7887
|
-
export type
|
|
8216
|
+
export type V2SessionPermissionListError = V2SessionPermissionListErrors[keyof V2SessionPermissionListErrors];
|
|
8217
|
+
export type V2SessionPermissionListResponses = {
|
|
7888
8218
|
/**
|
|
7889
|
-
*
|
|
8219
|
+
* Success
|
|
7890
8220
|
*/
|
|
7891
|
-
200:
|
|
8221
|
+
200: {
|
|
8222
|
+
data: Array<PermissionV2Request>;
|
|
8223
|
+
};
|
|
7892
8224
|
};
|
|
7893
|
-
export type
|
|
7894
|
-
export type
|
|
7895
|
-
body
|
|
7896
|
-
|
|
7897
|
-
message
|
|
7898
|
-
variant: "info" | "success" | "warning" | "error";
|
|
7899
|
-
duration?: number;
|
|
8225
|
+
export type V2SessionPermissionListResponse = V2SessionPermissionListResponses[keyof V2SessionPermissionListResponses];
|
|
8226
|
+
export type V2SessionPermissionReplyData = {
|
|
8227
|
+
body: {
|
|
8228
|
+
reply: PermissionV2Reply;
|
|
8229
|
+
message?: string;
|
|
7900
8230
|
};
|
|
7901
|
-
path
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
workspace?: string;
|
|
8231
|
+
path: {
|
|
8232
|
+
sessionID: string;
|
|
8233
|
+
requestID: string;
|
|
7905
8234
|
};
|
|
7906
|
-
|
|
8235
|
+
query?: never;
|
|
8236
|
+
url: "/api/session/{sessionID}/permission/request/{requestID}/reply";
|
|
7907
8237
|
};
|
|
7908
|
-
export type
|
|
8238
|
+
export type V2SessionPermissionReplyErrors = {
|
|
7909
8239
|
/**
|
|
7910
|
-
*
|
|
8240
|
+
* InvalidRequestError
|
|
7911
8241
|
*/
|
|
7912
|
-
400:
|
|
7913
|
-
};
|
|
7914
|
-
export type TuiShowToastError = TuiShowToastErrors[keyof TuiShowToastErrors];
|
|
7915
|
-
export type TuiShowToastResponses = {
|
|
8242
|
+
400: InvalidRequestError;
|
|
7916
8243
|
/**
|
|
7917
|
-
*
|
|
8244
|
+
* UnauthorizedError
|
|
7918
8245
|
*/
|
|
7919
|
-
|
|
7920
|
-
};
|
|
7921
|
-
export type TuiShowToastResponse = TuiShowToastResponses[keyof TuiShowToastResponses];
|
|
7922
|
-
export type TuiPublishData = {
|
|
7923
|
-
body?: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect;
|
|
7924
|
-
path?: never;
|
|
7925
|
-
query?: {
|
|
7926
|
-
directory?: string;
|
|
7927
|
-
workspace?: string;
|
|
7928
|
-
};
|
|
7929
|
-
url: "/tui/publish";
|
|
7930
|
-
};
|
|
7931
|
-
export type TuiPublishErrors = {
|
|
8246
|
+
401: UnauthorizedError;
|
|
7932
8247
|
/**
|
|
7933
|
-
*
|
|
8248
|
+
* SessionNotFoundError | PermissionNotFoundError
|
|
7934
8249
|
*/
|
|
7935
|
-
|
|
8250
|
+
404: SessionNotFoundError | PermissionNotFoundError;
|
|
7936
8251
|
};
|
|
7937
|
-
export type
|
|
7938
|
-
export type
|
|
8252
|
+
export type V2SessionPermissionReplyError = V2SessionPermissionReplyErrors[keyof V2SessionPermissionReplyErrors];
|
|
8253
|
+
export type V2SessionPermissionReplyResponses = {
|
|
7939
8254
|
/**
|
|
7940
|
-
*
|
|
8255
|
+
* <No Content>
|
|
7941
8256
|
*/
|
|
7942
|
-
|
|
8257
|
+
204: void;
|
|
7943
8258
|
};
|
|
7944
|
-
export type
|
|
7945
|
-
export type
|
|
7946
|
-
body?:
|
|
7947
|
-
/**
|
|
7948
|
-
* Session ID to navigate to
|
|
7949
|
-
*/
|
|
7950
|
-
sessionID: string;
|
|
7951
|
-
};
|
|
8259
|
+
export type V2SessionPermissionReplyResponse = V2SessionPermissionReplyResponses[keyof V2SessionPermissionReplyResponses];
|
|
8260
|
+
export type V2PermissionSavedListData = {
|
|
8261
|
+
body?: never;
|
|
7952
8262
|
path?: never;
|
|
7953
8263
|
query?: {
|
|
7954
|
-
|
|
7955
|
-
workspace?: string;
|
|
8264
|
+
projectID?: string;
|
|
7956
8265
|
};
|
|
7957
|
-
url: "/
|
|
8266
|
+
url: "/api/permission/saved";
|
|
7958
8267
|
};
|
|
7959
|
-
export type
|
|
8268
|
+
export type V2PermissionSavedListErrors = {
|
|
7960
8269
|
/**
|
|
7961
|
-
*
|
|
8270
|
+
* InvalidRequestError
|
|
7962
8271
|
*/
|
|
7963
|
-
400:
|
|
8272
|
+
400: InvalidRequestError;
|
|
7964
8273
|
/**
|
|
7965
|
-
*
|
|
8274
|
+
* UnauthorizedError
|
|
7966
8275
|
*/
|
|
7967
|
-
|
|
8276
|
+
401: UnauthorizedError;
|
|
7968
8277
|
};
|
|
7969
|
-
export type
|
|
7970
|
-
export type
|
|
8278
|
+
export type V2PermissionSavedListError = V2PermissionSavedListErrors[keyof V2PermissionSavedListErrors];
|
|
8279
|
+
export type V2PermissionSavedListResponses = {
|
|
7971
8280
|
/**
|
|
7972
|
-
*
|
|
8281
|
+
* Success
|
|
7973
8282
|
*/
|
|
7974
|
-
200:
|
|
8283
|
+
200: {
|
|
8284
|
+
data: Array<PermissionSavedInfo>;
|
|
8285
|
+
};
|
|
7975
8286
|
};
|
|
7976
|
-
export type
|
|
7977
|
-
export type
|
|
8287
|
+
export type V2PermissionSavedListResponse = V2PermissionSavedListResponses[keyof V2PermissionSavedListResponses];
|
|
8288
|
+
export type V2PermissionSavedRemoveData = {
|
|
7978
8289
|
body?: never;
|
|
7979
|
-
path
|
|
7980
|
-
|
|
7981
|
-
directory?: string;
|
|
7982
|
-
workspace?: string;
|
|
8290
|
+
path: {
|
|
8291
|
+
id: string;
|
|
7983
8292
|
};
|
|
7984
|
-
|
|
8293
|
+
query?: never;
|
|
8294
|
+
url: "/api/permission/saved/{id}";
|
|
7985
8295
|
};
|
|
7986
|
-
export type
|
|
8296
|
+
export type V2PermissionSavedRemoveErrors = {
|
|
7987
8297
|
/**
|
|
7988
|
-
*
|
|
8298
|
+
* InvalidRequestError
|
|
7989
8299
|
*/
|
|
7990
|
-
400:
|
|
8300
|
+
400: InvalidRequestError;
|
|
8301
|
+
/**
|
|
8302
|
+
* UnauthorizedError
|
|
8303
|
+
*/
|
|
8304
|
+
401: UnauthorizedError;
|
|
7991
8305
|
};
|
|
7992
|
-
export type
|
|
7993
|
-
export type
|
|
8306
|
+
export type V2PermissionSavedRemoveError = V2PermissionSavedRemoveErrors[keyof V2PermissionSavedRemoveErrors];
|
|
8307
|
+
export type V2PermissionSavedRemoveResponses = {
|
|
7994
8308
|
/**
|
|
7995
|
-
*
|
|
8309
|
+
* <No Content>
|
|
7996
8310
|
*/
|
|
7997
|
-
|
|
7998
|
-
path: string;
|
|
7999
|
-
body: unknown;
|
|
8000
|
-
};
|
|
8311
|
+
204: void;
|
|
8001
8312
|
};
|
|
8002
|
-
export type
|
|
8003
|
-
export type
|
|
8004
|
-
body?:
|
|
8313
|
+
export type V2PermissionSavedRemoveResponse = V2PermissionSavedRemoveResponses[keyof V2PermissionSavedRemoveResponses];
|
|
8314
|
+
export type V2FsReadData = {
|
|
8315
|
+
body?: never;
|
|
8005
8316
|
path?: never;
|
|
8006
|
-
query
|
|
8007
|
-
|
|
8008
|
-
|
|
8317
|
+
query: {
|
|
8318
|
+
location?: {
|
|
8319
|
+
directory?: string;
|
|
8320
|
+
workspace?: string;
|
|
8321
|
+
};
|
|
8322
|
+
path: string;
|
|
8323
|
+
reference?: string;
|
|
8009
8324
|
};
|
|
8010
|
-
url: "/
|
|
8325
|
+
url: "/api/fs/read";
|
|
8011
8326
|
};
|
|
8012
|
-
export type
|
|
8327
|
+
export type V2FsReadErrors = {
|
|
8013
8328
|
/**
|
|
8014
|
-
*
|
|
8329
|
+
* InvalidRequestError
|
|
8015
8330
|
*/
|
|
8016
|
-
400:
|
|
8331
|
+
400: InvalidRequestError;
|
|
8332
|
+
/**
|
|
8333
|
+
* UnauthorizedError
|
|
8334
|
+
*/
|
|
8335
|
+
401: UnauthorizedError;
|
|
8017
8336
|
};
|
|
8018
|
-
export type
|
|
8019
|
-
export type
|
|
8337
|
+
export type V2FsReadError = V2FsReadErrors[keyof V2FsReadErrors];
|
|
8338
|
+
export type V2FsReadResponses = {
|
|
8020
8339
|
/**
|
|
8021
|
-
*
|
|
8340
|
+
* Success
|
|
8022
8341
|
*/
|
|
8023
|
-
200:
|
|
8342
|
+
200: {
|
|
8343
|
+
location: LocationInfo;
|
|
8344
|
+
data: FileSystemTextContent | FileSystemBinaryContent;
|
|
8345
|
+
};
|
|
8024
8346
|
};
|
|
8025
|
-
export type
|
|
8026
|
-
export type
|
|
8347
|
+
export type V2FsReadResponse = V2FsReadResponses[keyof V2FsReadResponses];
|
|
8348
|
+
export type V2FsListData = {
|
|
8027
8349
|
body?: never;
|
|
8028
8350
|
path?: never;
|
|
8029
8351
|
query?: {
|
|
8030
|
-
|
|
8031
|
-
|
|
8352
|
+
location?: {
|
|
8353
|
+
directory?: string;
|
|
8354
|
+
workspace?: string;
|
|
8355
|
+
};
|
|
8356
|
+
path?: string;
|
|
8357
|
+
reference?: string;
|
|
8032
8358
|
};
|
|
8033
|
-
url: "/
|
|
8359
|
+
url: "/api/fs/list";
|
|
8034
8360
|
};
|
|
8035
|
-
export type
|
|
8361
|
+
export type V2FsListErrors = {
|
|
8036
8362
|
/**
|
|
8037
|
-
*
|
|
8363
|
+
* InvalidRequestError
|
|
8038
8364
|
*/
|
|
8039
|
-
400:
|
|
8365
|
+
400: InvalidRequestError;
|
|
8366
|
+
/**
|
|
8367
|
+
* UnauthorizedError
|
|
8368
|
+
*/
|
|
8369
|
+
401: UnauthorizedError;
|
|
8040
8370
|
};
|
|
8041
|
-
export type
|
|
8042
|
-
export type
|
|
8371
|
+
export type V2FsListError = V2FsListErrors[keyof V2FsListErrors];
|
|
8372
|
+
export type V2FsListResponses = {
|
|
8043
8373
|
/**
|
|
8044
|
-
*
|
|
8374
|
+
* Success
|
|
8045
8375
|
*/
|
|
8046
|
-
200:
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
}>;
|
|
8376
|
+
200: {
|
|
8377
|
+
location: LocationInfo;
|
|
8378
|
+
data: Array<FileSystemEntry>;
|
|
8379
|
+
};
|
|
8051
8380
|
};
|
|
8052
|
-
export type
|
|
8053
|
-
export type
|
|
8381
|
+
export type V2FsListResponse = V2FsListResponses[keyof V2FsListResponses];
|
|
8382
|
+
export type V2CommandListData = {
|
|
8054
8383
|
body?: never;
|
|
8055
8384
|
path?: never;
|
|
8056
8385
|
query?: {
|
|
8057
|
-
|
|
8058
|
-
|
|
8386
|
+
location?: {
|
|
8387
|
+
directory?: string;
|
|
8388
|
+
workspace?: string;
|
|
8389
|
+
};
|
|
8059
8390
|
};
|
|
8060
|
-
url: "/
|
|
8391
|
+
url: "/api/command";
|
|
8061
8392
|
};
|
|
8062
|
-
export type
|
|
8393
|
+
export type V2CommandListErrors = {
|
|
8063
8394
|
/**
|
|
8064
|
-
*
|
|
8395
|
+
* InvalidRequestError
|
|
8065
8396
|
*/
|
|
8066
|
-
400:
|
|
8067
|
-
};
|
|
8068
|
-
export type ExperimentalWorkspaceListError = ExperimentalWorkspaceListErrors[keyof ExperimentalWorkspaceListErrors];
|
|
8069
|
-
export type ExperimentalWorkspaceListResponses = {
|
|
8397
|
+
400: InvalidRequestError;
|
|
8070
8398
|
/**
|
|
8071
|
-
*
|
|
8399
|
+
* UnauthorizedError
|
|
8072
8400
|
*/
|
|
8073
|
-
|
|
8401
|
+
401: UnauthorizedError;
|
|
8074
8402
|
};
|
|
8075
|
-
export type
|
|
8076
|
-
export type
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8403
|
+
export type V2CommandListError = V2CommandListErrors[keyof V2CommandListErrors];
|
|
8404
|
+
export type V2CommandListResponses = {
|
|
8405
|
+
/**
|
|
8406
|
+
* Success
|
|
8407
|
+
*/
|
|
8408
|
+
200: {
|
|
8409
|
+
location: LocationInfo;
|
|
8410
|
+
data: Array<CommandV2Info>;
|
|
8082
8411
|
};
|
|
8412
|
+
};
|
|
8413
|
+
export type V2CommandListResponse = V2CommandListResponses[keyof V2CommandListResponses];
|
|
8414
|
+
export type V2SkillListData = {
|
|
8415
|
+
body?: never;
|
|
8083
8416
|
path?: never;
|
|
8084
8417
|
query?: {
|
|
8085
|
-
|
|
8086
|
-
|
|
8418
|
+
location?: {
|
|
8419
|
+
directory?: string;
|
|
8420
|
+
workspace?: string;
|
|
8421
|
+
};
|
|
8087
8422
|
};
|
|
8088
|
-
url: "/
|
|
8423
|
+
url: "/api/skill";
|
|
8089
8424
|
};
|
|
8090
|
-
export type
|
|
8425
|
+
export type V2SkillListErrors = {
|
|
8091
8426
|
/**
|
|
8092
|
-
*
|
|
8427
|
+
* InvalidRequestError
|
|
8093
8428
|
*/
|
|
8094
|
-
400:
|
|
8429
|
+
400: InvalidRequestError;
|
|
8430
|
+
/**
|
|
8431
|
+
* UnauthorizedError
|
|
8432
|
+
*/
|
|
8433
|
+
401: UnauthorizedError;
|
|
8095
8434
|
};
|
|
8096
|
-
export type
|
|
8097
|
-
export type
|
|
8435
|
+
export type V2SkillListError = V2SkillListErrors[keyof V2SkillListErrors];
|
|
8436
|
+
export type V2SkillListResponses = {
|
|
8098
8437
|
/**
|
|
8099
|
-
*
|
|
8438
|
+
* Success
|
|
8100
8439
|
*/
|
|
8101
|
-
200:
|
|
8440
|
+
200: {
|
|
8441
|
+
location: LocationInfo;
|
|
8442
|
+
data: Array<SkillV2Info>;
|
|
8443
|
+
};
|
|
8102
8444
|
};
|
|
8103
|
-
export type
|
|
8104
|
-
export type
|
|
8445
|
+
export type V2SkillListResponse = V2SkillListResponses[keyof V2SkillListResponses];
|
|
8446
|
+
export type V2EventSubscribeData = {
|
|
8105
8447
|
body?: never;
|
|
8106
8448
|
path?: never;
|
|
8107
8449
|
query?: {
|
|
8108
|
-
|
|
8109
|
-
|
|
8450
|
+
location?: {
|
|
8451
|
+
directory?: string;
|
|
8452
|
+
workspace?: string;
|
|
8453
|
+
};
|
|
8110
8454
|
};
|
|
8111
|
-
url: "/
|
|
8455
|
+
url: "/api/event";
|
|
8112
8456
|
};
|
|
8113
|
-
export type
|
|
8457
|
+
export type V2EventSubscribeErrors = {
|
|
8114
8458
|
/**
|
|
8115
|
-
*
|
|
8459
|
+
* InvalidRequestError
|
|
8116
8460
|
*/
|
|
8117
|
-
400:
|
|
8461
|
+
400: InvalidRequestError;
|
|
8462
|
+
/**
|
|
8463
|
+
* UnauthorizedError
|
|
8464
|
+
*/
|
|
8465
|
+
401: UnauthorizedError;
|
|
8118
8466
|
};
|
|
8119
|
-
export type
|
|
8120
|
-
export type
|
|
8467
|
+
export type V2EventSubscribeError = V2EventSubscribeErrors[keyof V2EventSubscribeErrors];
|
|
8468
|
+
export type V2EventSubscribeResponses = {
|
|
8121
8469
|
/**
|
|
8122
|
-
*
|
|
8470
|
+
* Success
|
|
8123
8471
|
*/
|
|
8124
|
-
|
|
8472
|
+
200: string;
|
|
8125
8473
|
};
|
|
8126
|
-
export type
|
|
8127
|
-
export type
|
|
8474
|
+
export type V2EventSubscribeResponse = V2EventSubscribeResponses[keyof V2EventSubscribeResponses];
|
|
8475
|
+
export type V2QuestionRequestListData = {
|
|
8128
8476
|
body?: never;
|
|
8129
8477
|
path?: never;
|
|
8130
8478
|
query?: {
|
|
8131
|
-
|
|
8132
|
-
|
|
8479
|
+
location?: {
|
|
8480
|
+
directory?: string;
|
|
8481
|
+
workspace?: string;
|
|
8482
|
+
};
|
|
8133
8483
|
};
|
|
8134
|
-
url: "/
|
|
8484
|
+
url: "/api/question/request";
|
|
8135
8485
|
};
|
|
8136
|
-
export type
|
|
8486
|
+
export type V2QuestionRequestListErrors = {
|
|
8137
8487
|
/**
|
|
8138
|
-
*
|
|
8488
|
+
* InvalidRequestError
|
|
8139
8489
|
*/
|
|
8140
|
-
400:
|
|
8490
|
+
400: InvalidRequestError;
|
|
8491
|
+
/**
|
|
8492
|
+
* UnauthorizedError
|
|
8493
|
+
*/
|
|
8494
|
+
401: UnauthorizedError;
|
|
8141
8495
|
};
|
|
8142
|
-
export type
|
|
8143
|
-
export type
|
|
8496
|
+
export type V2QuestionRequestListError = V2QuestionRequestListErrors[keyof V2QuestionRequestListErrors];
|
|
8497
|
+
export type V2QuestionRequestListResponses = {
|
|
8144
8498
|
/**
|
|
8145
|
-
*
|
|
8499
|
+
* Success
|
|
8146
8500
|
*/
|
|
8147
|
-
200:
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
}
|
|
8501
|
+
200: {
|
|
8502
|
+
location: LocationInfo;
|
|
8503
|
+
data: Array<QuestionV2Request>;
|
|
8504
|
+
};
|
|
8151
8505
|
};
|
|
8152
|
-
export type
|
|
8153
|
-
export type
|
|
8154
|
-
body
|
|
8506
|
+
export type V2QuestionRequestListResponse = V2QuestionRequestListResponses[keyof V2QuestionRequestListResponses];
|
|
8507
|
+
export type V2SessionQuestionReplyData = {
|
|
8508
|
+
body: QuestionV2Reply;
|
|
8155
8509
|
path: {
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
query?: {
|
|
8159
|
-
directory?: string;
|
|
8160
|
-
workspace?: string;
|
|
8510
|
+
sessionID: string;
|
|
8511
|
+
requestID: string;
|
|
8161
8512
|
};
|
|
8162
|
-
|
|
8513
|
+
query?: never;
|
|
8514
|
+
url: "/api/session/{sessionID}/question/request/{requestID}/reply";
|
|
8163
8515
|
};
|
|
8164
|
-
export type
|
|
8516
|
+
export type V2SessionQuestionReplyErrors = {
|
|
8165
8517
|
/**
|
|
8166
|
-
*
|
|
8518
|
+
* InvalidRequestError
|
|
8167
8519
|
*/
|
|
8168
|
-
400:
|
|
8520
|
+
400: InvalidRequestError;
|
|
8521
|
+
/**
|
|
8522
|
+
* UnauthorizedError
|
|
8523
|
+
*/
|
|
8524
|
+
401: UnauthorizedError;
|
|
8525
|
+
/**
|
|
8526
|
+
* SessionNotFoundError | QuestionNotFoundError
|
|
8527
|
+
*/
|
|
8528
|
+
404: SessionNotFoundError | QuestionNotFoundError;
|
|
8169
8529
|
};
|
|
8170
|
-
export type
|
|
8171
|
-
export type
|
|
8530
|
+
export type V2SessionQuestionReplyError = V2SessionQuestionReplyErrors[keyof V2SessionQuestionReplyErrors];
|
|
8531
|
+
export type V2SessionQuestionReplyResponses = {
|
|
8172
8532
|
/**
|
|
8173
|
-
*
|
|
8533
|
+
* <No Content>
|
|
8174
8534
|
*/
|
|
8175
|
-
|
|
8535
|
+
204: void;
|
|
8176
8536
|
};
|
|
8177
|
-
export type
|
|
8178
|
-
export type
|
|
8179
|
-
body?:
|
|
8180
|
-
|
|
8537
|
+
export type V2SessionQuestionReplyResponse = V2SessionQuestionReplyResponses[keyof V2SessionQuestionReplyResponses];
|
|
8538
|
+
export type V2SessionQuestionRejectData = {
|
|
8539
|
+
body?: never;
|
|
8540
|
+
path: {
|
|
8181
8541
|
sessionID: string;
|
|
8182
|
-
|
|
8183
|
-
};
|
|
8184
|
-
path?: never;
|
|
8185
|
-
query?: {
|
|
8186
|
-
directory?: string;
|
|
8187
|
-
workspace?: string;
|
|
8542
|
+
requestID: string;
|
|
8188
8543
|
};
|
|
8189
|
-
|
|
8544
|
+
query?: never;
|
|
8545
|
+
url: "/api/session/{sessionID}/question/request/{requestID}/reject";
|
|
8190
8546
|
};
|
|
8191
|
-
export type
|
|
8547
|
+
export type V2SessionQuestionRejectErrors = {
|
|
8192
8548
|
/**
|
|
8193
|
-
*
|
|
8549
|
+
* InvalidRequestError
|
|
8194
8550
|
*/
|
|
8195
|
-
400:
|
|
8551
|
+
400: InvalidRequestError;
|
|
8196
8552
|
/**
|
|
8197
|
-
*
|
|
8553
|
+
* UnauthorizedError
|
|
8198
8554
|
*/
|
|
8199
|
-
|
|
8555
|
+
401: UnauthorizedError;
|
|
8556
|
+
/**
|
|
8557
|
+
* SessionNotFoundError | QuestionNotFoundError
|
|
8558
|
+
*/
|
|
8559
|
+
404: SessionNotFoundError | QuestionNotFoundError;
|
|
8200
8560
|
};
|
|
8201
|
-
export type
|
|
8202
|
-
export type
|
|
8561
|
+
export type V2SessionQuestionRejectError = V2SessionQuestionRejectErrors[keyof V2SessionQuestionRejectErrors];
|
|
8562
|
+
export type V2SessionQuestionRejectResponses = {
|
|
8203
8563
|
/**
|
|
8204
|
-
*
|
|
8564
|
+
* <No Content>
|
|
8205
8565
|
*/
|
|
8206
8566
|
204: void;
|
|
8207
8567
|
};
|
|
8208
|
-
export type
|
|
8568
|
+
export type V2SessionQuestionRejectResponse = V2SessionQuestionRejectResponses[keyof V2SessionQuestionRejectResponses];
|
|
8209
8569
|
export type PtyConnectData = {
|
|
8210
8570
|
body?: never;
|
|
8211
8571
|
path: {
|