@opencode-ai/sdk 1.15.6 → 1.15.8
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 +1 -0
- package/dist/v2/gen/sdk.gen.js +1 -0
- package/dist/v2/gen/types.gen.d.ts +210 -41
- package/package.json +1 -1
package/dist/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -502,6 +502,7 @@ export declare class Vcs extends HeyApiClient {
|
|
|
502
502
|
directory?: string;
|
|
503
503
|
workspace?: string;
|
|
504
504
|
mode: "git" | "branch";
|
|
505
|
+
context?: number;
|
|
505
506
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<VcsDiffResponses, VcsDiffErrors, ThrowOnError, "fields">;
|
|
506
507
|
/**
|
|
507
508
|
* Apply VCS patch
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: `${string}://${string}` | (string & {});
|
|
3
3
|
};
|
|
4
|
-
export type Event = EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventInstallationUpdated | EventInstallationUpdateAvailable | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventCatalogModelUpdated;
|
|
4
|
+
export type Event = EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventInstallationUpdated | EventInstallationUpdateAvailable | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventCatalogModelUpdated | EventModelsDevRefreshed | EventAccountAdded | EventAccountRemoved | EventAccountSwitched;
|
|
5
5
|
export type OAuth = {
|
|
6
6
|
type: "oauth";
|
|
7
7
|
refresh: string;
|
|
@@ -98,6 +98,7 @@ export type UnknownError = {
|
|
|
98
98
|
name: "UnknownError";
|
|
99
99
|
data: {
|
|
100
100
|
message: string;
|
|
101
|
+
ref?: string;
|
|
101
102
|
};
|
|
102
103
|
};
|
|
103
104
|
export type MessageOutputLengthError = {
|
|
@@ -618,7 +619,7 @@ export type GlobalEvent = {
|
|
|
618
619
|
directory: string;
|
|
619
620
|
project?: string;
|
|
620
621
|
workspace?: string;
|
|
621
|
-
payload: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventInstallationUpdated | EventInstallationUpdateAvailable | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventCatalogModelUpdated | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextDelta | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningDelta | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputDelta | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
622
|
+
payload: EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventServerConnected | EventGlobalDisposed | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventLspClientDiagnostics | EventLspUpdated | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventSessionDiff | EventSessionError | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | EventInstallationUpdated | EventInstallationUpdateAvailable | EventMessageUpdated | EventMessageRemoved | EventMessagePartUpdated | EventMessagePartRemoved | EventSessionCreated | EventSessionUpdated | EventSessionDeleted | EventSessionNextAgentSwitched | EventSessionNextModelSwitched | EventSessionNextPrompted | EventSessionNextSynthetic | EventSessionNextShellStarted | EventSessionNextShellEnded | EventSessionNextStepStarted | EventSessionNextStepEnded | EventSessionNextStepFailed | EventSessionNextTextStarted | EventSessionNextTextDelta | EventSessionNextTextEnded | EventSessionNextReasoningStarted | EventSessionNextReasoningDelta | EventSessionNextReasoningEnded | EventSessionNextToolInputStarted | EventSessionNextToolInputDelta | EventSessionNextToolInputEnded | EventSessionNextToolCalled | EventSessionNextToolProgress | EventSessionNextToolSuccess | EventSessionNextToolFailed | EventSessionNextRetried | EventSessionNextCompactionStarted | EventSessionNextCompactionDelta | EventSessionNextCompactionEnded | EventCatalogModelUpdated | EventModelsDevRefreshed | EventAccountAdded | EventAccountRemoved | EventAccountSwitched | SyncEventMessageUpdated | SyncEventMessageRemoved | SyncEventMessagePartUpdated | SyncEventMessagePartRemoved | SyncEventSessionCreated | SyncEventSessionUpdated | SyncEventSessionDeleted | SyncEventSessionNextAgentSwitched | SyncEventSessionNextModelSwitched | SyncEventSessionNextPrompted | SyncEventSessionNextSynthetic | SyncEventSessionNextShellStarted | SyncEventSessionNextShellEnded | SyncEventSessionNextStepStarted | SyncEventSessionNextStepEnded | SyncEventSessionNextStepFailed | SyncEventSessionNextTextStarted | SyncEventSessionNextTextDelta | SyncEventSessionNextTextEnded | SyncEventSessionNextReasoningStarted | SyncEventSessionNextReasoningDelta | SyncEventSessionNextReasoningEnded | SyncEventSessionNextToolInputStarted | SyncEventSessionNextToolInputDelta | SyncEventSessionNextToolInputEnded | SyncEventSessionNextToolCalled | SyncEventSessionNextToolProgress | SyncEventSessionNextToolSuccess | SyncEventSessionNextToolFailed | SyncEventSessionNextRetried | SyncEventSessionNextCompactionStarted | SyncEventSessionNextCompactionDelta | SyncEventSessionNextCompactionEnded;
|
|
622
623
|
};
|
|
623
624
|
/**
|
|
624
625
|
* Log level
|
|
@@ -800,6 +801,7 @@ export type McpOAuthConfig = {
|
|
|
800
801
|
clientId?: string;
|
|
801
802
|
clientSecret?: string;
|
|
802
803
|
scope?: string;
|
|
804
|
+
callbackPort?: number;
|
|
803
805
|
redirectUri?: string;
|
|
804
806
|
};
|
|
805
807
|
export type McpRemoteConfig = {
|
|
@@ -1290,14 +1292,34 @@ export type McpStatus = McpStatusConnected | McpStatusDisabled | McpStatusFailed
|
|
|
1290
1292
|
export type McpUnsupportedOAuthError = {
|
|
1291
1293
|
error: string;
|
|
1292
1294
|
};
|
|
1293
|
-
export type
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
};
|
|
1295
|
+
export type McpServerNotFoundError = {
|
|
1296
|
+
_tag: "McpServerNotFoundError";
|
|
1297
|
+
name: string;
|
|
1298
|
+
message: string;
|
|
1298
1299
|
};
|
|
1299
|
-
export type
|
|
1300
|
-
_tag: "
|
|
1300
|
+
export type ProjectNotFoundError = {
|
|
1301
|
+
_tag: "ProjectNotFoundError";
|
|
1302
|
+
projectID: string;
|
|
1303
|
+
message: string;
|
|
1304
|
+
};
|
|
1305
|
+
export type PtyNotFoundError = {
|
|
1306
|
+
_tag: "PtyNotFoundError";
|
|
1307
|
+
ptyID: string;
|
|
1308
|
+
message: string;
|
|
1309
|
+
};
|
|
1310
|
+
export type PtyForbiddenError = {
|
|
1311
|
+
_tag: "PtyForbiddenError";
|
|
1312
|
+
message: string;
|
|
1313
|
+
};
|
|
1314
|
+
export type QuestionNotFoundError = {
|
|
1315
|
+
_tag: "QuestionNotFoundError";
|
|
1316
|
+
requestID: string;
|
|
1317
|
+
message: string;
|
|
1318
|
+
};
|
|
1319
|
+
export type PermissionNotFoundError = {
|
|
1320
|
+
_tag: "PermissionNotFoundError";
|
|
1321
|
+
requestID: string;
|
|
1322
|
+
message: string;
|
|
1301
1323
|
};
|
|
1302
1324
|
export type ProviderAuthMethod = {
|
|
1303
1325
|
type: "oauth" | "api";
|
|
@@ -1342,6 +1364,12 @@ export type ProviderAuthError1 = {
|
|
|
1342
1364
|
kind?: string;
|
|
1343
1365
|
};
|
|
1344
1366
|
};
|
|
1367
|
+
export type NotFoundError = {
|
|
1368
|
+
name: "NotFoundError";
|
|
1369
|
+
data: {
|
|
1370
|
+
message: string;
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1345
1373
|
export type TextPartInput = {
|
|
1346
1374
|
id?: string;
|
|
1347
1375
|
type: "text";
|
|
@@ -1386,6 +1414,11 @@ export type SubtaskPartInput = {
|
|
|
1386
1414
|
};
|
|
1387
1415
|
command?: string;
|
|
1388
1416
|
};
|
|
1417
|
+
export type SessionBusyError = {
|
|
1418
|
+
_tag: "SessionBusyError";
|
|
1419
|
+
sessionID: string;
|
|
1420
|
+
message: string;
|
|
1421
|
+
};
|
|
1389
1422
|
export type V2SessionsResponse = {
|
|
1390
1423
|
items: Array<SessionInfo>;
|
|
1391
1424
|
cursor: {
|
|
@@ -1401,6 +1434,21 @@ export type UnauthorizedError = {
|
|
|
1401
1434
|
_tag: "UnauthorizedError";
|
|
1402
1435
|
message: string;
|
|
1403
1436
|
};
|
|
1437
|
+
export type SessionNotFoundError = {
|
|
1438
|
+
_tag: "SessionNotFoundError";
|
|
1439
|
+
sessionID: string;
|
|
1440
|
+
message: string;
|
|
1441
|
+
};
|
|
1442
|
+
export type ServiceUnavailableError = {
|
|
1443
|
+
_tag: "ServiceUnavailableError";
|
|
1444
|
+
message: string;
|
|
1445
|
+
service?: string;
|
|
1446
|
+
};
|
|
1447
|
+
export type UnknownError1 = {
|
|
1448
|
+
_tag: "UnknownError";
|
|
1449
|
+
message: string;
|
|
1450
|
+
ref?: string;
|
|
1451
|
+
};
|
|
1404
1452
|
export type V2SessionMessagesResponse = {
|
|
1405
1453
|
items: Array<SessionMessage>;
|
|
1406
1454
|
cursor: {
|
|
@@ -1408,11 +1456,6 @@ export type V2SessionMessagesResponse = {
|
|
|
1408
1456
|
next?: string;
|
|
1409
1457
|
};
|
|
1410
1458
|
};
|
|
1411
|
-
export type ServiceUnavailableError = {
|
|
1412
|
-
_tag: "ServiceUnavailableError";
|
|
1413
|
-
message: string;
|
|
1414
|
-
service?: string;
|
|
1415
|
-
};
|
|
1416
1459
|
export type ProviderNotFoundError = {
|
|
1417
1460
|
_tag: "ProviderNotFoundError";
|
|
1418
1461
|
providerID: string;
|
|
@@ -1464,6 +1507,9 @@ export type WorkspaceWarpError = {
|
|
|
1464
1507
|
message: string;
|
|
1465
1508
|
};
|
|
1466
1509
|
};
|
|
1510
|
+
export type EffectHttpApiErrorForbidden = {
|
|
1511
|
+
_tag: "Forbidden";
|
|
1512
|
+
};
|
|
1467
1513
|
export type SyncEventMessageUpdated = {
|
|
1468
1514
|
type: "sync";
|
|
1469
1515
|
name: "message.updated.1";
|
|
@@ -2719,6 +2765,56 @@ export type EventCatalogModelUpdated = {
|
|
|
2719
2765
|
model: ModelV2Info;
|
|
2720
2766
|
};
|
|
2721
2767
|
};
|
|
2768
|
+
export type EventModelsDevRefreshed = {
|
|
2769
|
+
id: string;
|
|
2770
|
+
type: "models-dev.refreshed";
|
|
2771
|
+
properties: {
|
|
2772
|
+
[key: string]: unknown;
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
export type AccountV2oAuthCredential = {
|
|
2776
|
+
type: "oauth";
|
|
2777
|
+
refresh: string;
|
|
2778
|
+
access: string;
|
|
2779
|
+
expires: number;
|
|
2780
|
+
};
|
|
2781
|
+
export type AccountV2ApiKeyCredential = {
|
|
2782
|
+
type: "api";
|
|
2783
|
+
key: string;
|
|
2784
|
+
metadata?: {
|
|
2785
|
+
[key: string]: string;
|
|
2786
|
+
};
|
|
2787
|
+
};
|
|
2788
|
+
export type AccountV2Credential = AccountV2oAuthCredential | AccountV2ApiKeyCredential;
|
|
2789
|
+
export type AccountV2Info = {
|
|
2790
|
+
id: string;
|
|
2791
|
+
serviceID: string;
|
|
2792
|
+
description: string;
|
|
2793
|
+
credential: AccountV2Credential;
|
|
2794
|
+
};
|
|
2795
|
+
export type EventAccountAdded = {
|
|
2796
|
+
id: string;
|
|
2797
|
+
type: "account.added";
|
|
2798
|
+
properties: {
|
|
2799
|
+
account: AccountV2Info;
|
|
2800
|
+
};
|
|
2801
|
+
};
|
|
2802
|
+
export type EventAccountRemoved = {
|
|
2803
|
+
id: string;
|
|
2804
|
+
type: "account.removed";
|
|
2805
|
+
properties: {
|
|
2806
|
+
account: AccountV2Info;
|
|
2807
|
+
};
|
|
2808
|
+
};
|
|
2809
|
+
export type EventAccountSwitched = {
|
|
2810
|
+
id: string;
|
|
2811
|
+
type: "account.switched";
|
|
2812
|
+
properties: {
|
|
2813
|
+
serviceID: string;
|
|
2814
|
+
from?: string;
|
|
2815
|
+
to?: string;
|
|
2816
|
+
};
|
|
2817
|
+
};
|
|
2722
2818
|
export type SessionInfo = {
|
|
2723
2819
|
id: string;
|
|
2724
2820
|
parentID?: string;
|
|
@@ -2933,7 +3029,7 @@ export type ProviderV2Info = {
|
|
|
2933
3029
|
via: "env";
|
|
2934
3030
|
name: string;
|
|
2935
3031
|
} | {
|
|
2936
|
-
via: "
|
|
3032
|
+
via: "account";
|
|
2937
3033
|
service: string;
|
|
2938
3034
|
} | {
|
|
2939
3035
|
via: "custom";
|
|
@@ -3929,6 +4025,7 @@ export type VcsDiffData = {
|
|
|
3929
4025
|
directory?: string;
|
|
3930
4026
|
workspace?: string;
|
|
3931
4027
|
mode: "git" | "branch";
|
|
4028
|
+
context?: number;
|
|
3932
4029
|
};
|
|
3933
4030
|
url: "/vcs/diff";
|
|
3934
4031
|
};
|
|
@@ -4186,9 +4283,9 @@ export type McpAuthRemoveErrors = {
|
|
|
4186
4283
|
*/
|
|
4187
4284
|
400: BadRequestError;
|
|
4188
4285
|
/**
|
|
4189
|
-
*
|
|
4286
|
+
* McpServerNotFoundError
|
|
4190
4287
|
*/
|
|
4191
|
-
404:
|
|
4288
|
+
404: McpServerNotFoundError;
|
|
4192
4289
|
};
|
|
4193
4290
|
export type McpAuthRemoveError = McpAuthRemoveErrors[keyof McpAuthRemoveErrors];
|
|
4194
4291
|
export type McpAuthRemoveResponses = {
|
|
@@ -4217,9 +4314,9 @@ export type McpAuthStartErrors = {
|
|
|
4217
4314
|
*/
|
|
4218
4315
|
400: McpUnsupportedOAuthError | InvalidRequestError;
|
|
4219
4316
|
/**
|
|
4220
|
-
*
|
|
4317
|
+
* McpServerNotFoundError
|
|
4221
4318
|
*/
|
|
4222
|
-
404:
|
|
4319
|
+
404: McpServerNotFoundError;
|
|
4223
4320
|
};
|
|
4224
4321
|
export type McpAuthStartError = McpAuthStartErrors[keyof McpAuthStartErrors];
|
|
4225
4322
|
export type McpAuthStartResponses = {
|
|
@@ -4251,9 +4348,9 @@ export type McpAuthCallbackErrors = {
|
|
|
4251
4348
|
*/
|
|
4252
4349
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
4253
4350
|
/**
|
|
4254
|
-
*
|
|
4351
|
+
* McpServerNotFoundError
|
|
4255
4352
|
*/
|
|
4256
|
-
404:
|
|
4353
|
+
404: McpServerNotFoundError;
|
|
4257
4354
|
};
|
|
4258
4355
|
export type McpAuthCallbackError = McpAuthCallbackErrors[keyof McpAuthCallbackErrors];
|
|
4259
4356
|
export type McpAuthCallbackResponses = {
|
|
@@ -4280,9 +4377,9 @@ export type McpAuthAuthenticateErrors = {
|
|
|
4280
4377
|
*/
|
|
4281
4378
|
400: McpUnsupportedOAuthError | InvalidRequestError;
|
|
4282
4379
|
/**
|
|
4283
|
-
*
|
|
4380
|
+
* McpServerNotFoundError
|
|
4284
4381
|
*/
|
|
4285
|
-
404:
|
|
4382
|
+
404: McpServerNotFoundError;
|
|
4286
4383
|
};
|
|
4287
4384
|
export type McpAuthAuthenticateError = McpAuthAuthenticateErrors[keyof McpAuthAuthenticateErrors];
|
|
4288
4385
|
export type McpAuthAuthenticateResponses = {
|
|
@@ -4308,6 +4405,10 @@ export type McpConnectErrors = {
|
|
|
4308
4405
|
* Bad request
|
|
4309
4406
|
*/
|
|
4310
4407
|
400: BadRequestError;
|
|
4408
|
+
/**
|
|
4409
|
+
* McpServerNotFoundError
|
|
4410
|
+
*/
|
|
4411
|
+
404: McpServerNotFoundError;
|
|
4311
4412
|
};
|
|
4312
4413
|
export type McpConnectError = McpConnectErrors[keyof McpConnectErrors];
|
|
4313
4414
|
export type McpConnectResponses = {
|
|
@@ -4333,6 +4434,10 @@ export type McpDisconnectErrors = {
|
|
|
4333
4434
|
* Bad request
|
|
4334
4435
|
*/
|
|
4335
4436
|
400: BadRequestError;
|
|
4437
|
+
/**
|
|
4438
|
+
* McpServerNotFoundError
|
|
4439
|
+
*/
|
|
4440
|
+
404: McpServerNotFoundError;
|
|
4336
4441
|
};
|
|
4337
4442
|
export type McpDisconnectError = McpDisconnectErrors[keyof McpDisconnectErrors];
|
|
4338
4443
|
export type McpDisconnectResponses = {
|
|
@@ -4441,9 +4546,9 @@ export type ProjectUpdateErrors = {
|
|
|
4441
4546
|
*/
|
|
4442
4547
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
4443
4548
|
/**
|
|
4444
|
-
*
|
|
4549
|
+
* ProjectNotFoundError
|
|
4445
4550
|
*/
|
|
4446
|
-
404:
|
|
4551
|
+
404: ProjectNotFoundError;
|
|
4447
4552
|
};
|
|
4448
4553
|
export type ProjectUpdateError = ProjectUpdateErrors[keyof ProjectUpdateErrors];
|
|
4449
4554
|
export type ProjectUpdateResponses = {
|
|
@@ -4551,9 +4656,9 @@ export type PtyRemoveErrors = {
|
|
|
4551
4656
|
*/
|
|
4552
4657
|
400: BadRequestError;
|
|
4553
4658
|
/**
|
|
4554
|
-
*
|
|
4659
|
+
* PtyNotFoundError
|
|
4555
4660
|
*/
|
|
4556
|
-
404:
|
|
4661
|
+
404: PtyNotFoundError;
|
|
4557
4662
|
};
|
|
4558
4663
|
export type PtyRemoveError = PtyRemoveErrors[keyof PtyRemoveErrors];
|
|
4559
4664
|
export type PtyRemoveResponses = {
|
|
@@ -4580,9 +4685,9 @@ export type PtyGetErrors = {
|
|
|
4580
4685
|
*/
|
|
4581
4686
|
400: BadRequestError;
|
|
4582
4687
|
/**
|
|
4583
|
-
*
|
|
4688
|
+
* PtyNotFoundError
|
|
4584
4689
|
*/
|
|
4585
|
-
404:
|
|
4690
|
+
404: PtyNotFoundError;
|
|
4586
4691
|
};
|
|
4587
4692
|
export type PtyGetError = PtyGetErrors[keyof PtyGetErrors];
|
|
4588
4693
|
export type PtyGetResponses = {
|
|
@@ -4614,6 +4719,10 @@ export type PtyUpdateErrors = {
|
|
|
4614
4719
|
* BadRequest | InvalidRequestError
|
|
4615
4720
|
*/
|
|
4616
4721
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
4722
|
+
/**
|
|
4723
|
+
* PtyNotFoundError
|
|
4724
|
+
*/
|
|
4725
|
+
404: PtyNotFoundError;
|
|
4617
4726
|
};
|
|
4618
4727
|
export type PtyUpdateError = PtyUpdateErrors[keyof PtyUpdateErrors];
|
|
4619
4728
|
export type PtyUpdateResponses = {
|
|
@@ -4640,13 +4749,13 @@ export type PtyConnectTokenErrors = {
|
|
|
4640
4749
|
*/
|
|
4641
4750
|
400: BadRequestError;
|
|
4642
4751
|
/**
|
|
4643
|
-
*
|
|
4752
|
+
* PtyForbiddenError
|
|
4644
4753
|
*/
|
|
4645
|
-
403:
|
|
4754
|
+
403: PtyForbiddenError;
|
|
4646
4755
|
/**
|
|
4647
|
-
*
|
|
4756
|
+
* PtyNotFoundError
|
|
4648
4757
|
*/
|
|
4649
|
-
404:
|
|
4758
|
+
404: PtyNotFoundError;
|
|
4650
4759
|
};
|
|
4651
4760
|
export type PtyConnectTokenError = PtyConnectTokenErrors[keyof PtyConnectTokenErrors];
|
|
4652
4761
|
export type PtyConnectTokenResponses = {
|
|
@@ -4704,9 +4813,9 @@ export type QuestionReplyErrors = {
|
|
|
4704
4813
|
*/
|
|
4705
4814
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
4706
4815
|
/**
|
|
4707
|
-
*
|
|
4816
|
+
* QuestionNotFoundError
|
|
4708
4817
|
*/
|
|
4709
|
-
404:
|
|
4818
|
+
404: QuestionNotFoundError;
|
|
4710
4819
|
};
|
|
4711
4820
|
export type QuestionReplyError = QuestionReplyErrors[keyof QuestionReplyErrors];
|
|
4712
4821
|
export type QuestionReplyResponses = {
|
|
@@ -4733,9 +4842,9 @@ export type QuestionRejectErrors = {
|
|
|
4733
4842
|
*/
|
|
4734
4843
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
4735
4844
|
/**
|
|
4736
|
-
*
|
|
4845
|
+
* QuestionNotFoundError
|
|
4737
4846
|
*/
|
|
4738
|
-
404:
|
|
4847
|
+
404: QuestionNotFoundError;
|
|
4739
4848
|
};
|
|
4740
4849
|
export type QuestionRejectError = QuestionRejectErrors[keyof QuestionRejectErrors];
|
|
4741
4850
|
export type QuestionRejectResponses = {
|
|
@@ -4788,9 +4897,9 @@ export type PermissionReplyErrors = {
|
|
|
4788
4897
|
*/
|
|
4789
4898
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
4790
4899
|
/**
|
|
4791
|
-
*
|
|
4900
|
+
* PermissionNotFoundError
|
|
4792
4901
|
*/
|
|
4793
|
-
404:
|
|
4902
|
+
404: PermissionNotFoundError;
|
|
4794
4903
|
};
|
|
4795
4904
|
export type PermissionReplyError = PermissionReplyErrors[keyof PermissionReplyErrors];
|
|
4796
4905
|
export type PermissionReplyResponses = {
|
|
@@ -5285,6 +5394,10 @@ export type SessionDeleteMessageErrors = {
|
|
|
5285
5394
|
* NotFoundError
|
|
5286
5395
|
*/
|
|
5287
5396
|
404: NotFoundError;
|
|
5397
|
+
/**
|
|
5398
|
+
* SessionBusyError
|
|
5399
|
+
*/
|
|
5400
|
+
409: SessionBusyError;
|
|
5288
5401
|
};
|
|
5289
5402
|
export type SessionDeleteMessageError = SessionDeleteMessageErrors[keyof SessionDeleteMessageErrors];
|
|
5290
5403
|
export type SessionDeleteMessageResponses = {
|
|
@@ -5634,6 +5747,10 @@ export type SessionShellErrors = {
|
|
|
5634
5747
|
* NotFoundError
|
|
5635
5748
|
*/
|
|
5636
5749
|
404: NotFoundError;
|
|
5750
|
+
/**
|
|
5751
|
+
* SessionBusyError
|
|
5752
|
+
*/
|
|
5753
|
+
409: SessionBusyError;
|
|
5637
5754
|
};
|
|
5638
5755
|
export type SessionShellError = SessionShellErrors[keyof SessionShellErrors];
|
|
5639
5756
|
export type SessionShellResponses = {
|
|
@@ -5669,6 +5786,10 @@ export type SessionRevertErrors = {
|
|
|
5669
5786
|
* NotFoundError
|
|
5670
5787
|
*/
|
|
5671
5788
|
404: NotFoundError;
|
|
5789
|
+
/**
|
|
5790
|
+
* SessionBusyError
|
|
5791
|
+
*/
|
|
5792
|
+
409: SessionBusyError;
|
|
5672
5793
|
};
|
|
5673
5794
|
export type SessionRevertError = SessionRevertErrors[keyof SessionRevertErrors];
|
|
5674
5795
|
export type SessionRevertResponses = {
|
|
@@ -5698,6 +5819,10 @@ export type SessionUnrevertErrors = {
|
|
|
5698
5819
|
* NotFoundError
|
|
5699
5820
|
*/
|
|
5700
5821
|
404: NotFoundError;
|
|
5822
|
+
/**
|
|
5823
|
+
* SessionBusyError
|
|
5824
|
+
*/
|
|
5825
|
+
409: SessionBusyError;
|
|
5701
5826
|
};
|
|
5702
5827
|
export type SessionUnrevertError = SessionUnrevertErrors[keyof SessionUnrevertErrors];
|
|
5703
5828
|
export type SessionUnrevertResponses = {
|
|
@@ -5727,9 +5852,9 @@ export type PermissionRespondErrors = {
|
|
|
5727
5852
|
*/
|
|
5728
5853
|
400: EffectHttpApiErrorBadRequest | InvalidRequestError;
|
|
5729
5854
|
/**
|
|
5730
|
-
* NotFoundError
|
|
5855
|
+
* NotFoundError | PermissionNotFoundError
|
|
5731
5856
|
*/
|
|
5732
|
-
404: NotFoundError;
|
|
5857
|
+
404: NotFoundError | PermissionNotFoundError;
|
|
5733
5858
|
};
|
|
5734
5859
|
export type PermissionRespondError = PermissionRespondErrors[keyof PermissionRespondErrors];
|
|
5735
5860
|
export type PermissionRespondResponses = {
|
|
@@ -5980,6 +6105,14 @@ export type V2SessionPromptErrors = {
|
|
|
5980
6105
|
* UnauthorizedError
|
|
5981
6106
|
*/
|
|
5982
6107
|
401: UnauthorizedError;
|
|
6108
|
+
/**
|
|
6109
|
+
* SessionNotFoundError
|
|
6110
|
+
*/
|
|
6111
|
+
404: SessionNotFoundError;
|
|
6112
|
+
/**
|
|
6113
|
+
* ServiceUnavailableError
|
|
6114
|
+
*/
|
|
6115
|
+
503: ServiceUnavailableError;
|
|
5983
6116
|
};
|
|
5984
6117
|
export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors];
|
|
5985
6118
|
export type V2SessionPromptResponses = {
|
|
@@ -6009,6 +6142,14 @@ export type V2SessionCompactErrors = {
|
|
|
6009
6142
|
* UnauthorizedError
|
|
6010
6143
|
*/
|
|
6011
6144
|
401: UnauthorizedError;
|
|
6145
|
+
/**
|
|
6146
|
+
* SessionNotFoundError
|
|
6147
|
+
*/
|
|
6148
|
+
404: SessionNotFoundError;
|
|
6149
|
+
/**
|
|
6150
|
+
* ServiceUnavailableError
|
|
6151
|
+
*/
|
|
6152
|
+
503: ServiceUnavailableError;
|
|
6012
6153
|
};
|
|
6013
6154
|
export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors];
|
|
6014
6155
|
export type V2SessionCompactResponses = {
|
|
@@ -6038,6 +6179,14 @@ export type V2SessionWaitErrors = {
|
|
|
6038
6179
|
* UnauthorizedError
|
|
6039
6180
|
*/
|
|
6040
6181
|
401: UnauthorizedError;
|
|
6182
|
+
/**
|
|
6183
|
+
* SessionNotFoundError
|
|
6184
|
+
*/
|
|
6185
|
+
404: SessionNotFoundError;
|
|
6186
|
+
/**
|
|
6187
|
+
* ServiceUnavailableError
|
|
6188
|
+
*/
|
|
6189
|
+
503: ServiceUnavailableError;
|
|
6041
6190
|
};
|
|
6042
6191
|
export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors];
|
|
6043
6192
|
export type V2SessionWaitResponses = {
|
|
@@ -6067,6 +6216,14 @@ export type V2SessionContextErrors = {
|
|
|
6067
6216
|
* UnauthorizedError
|
|
6068
6217
|
*/
|
|
6069
6218
|
401: UnauthorizedError;
|
|
6219
|
+
/**
|
|
6220
|
+
* SessionNotFoundError
|
|
6221
|
+
*/
|
|
6222
|
+
404: SessionNotFoundError;
|
|
6223
|
+
/**
|
|
6224
|
+
* UnknownError
|
|
6225
|
+
*/
|
|
6226
|
+
500: UnknownError1;
|
|
6070
6227
|
};
|
|
6071
6228
|
export type V2SessionContextError = V2SessionContextErrors[keyof V2SessionContextErrors];
|
|
6072
6229
|
export type V2SessionContextResponses = {
|
|
@@ -6102,6 +6259,14 @@ export type V2SessionMessagesErrors = {
|
|
|
6102
6259
|
* UnauthorizedError
|
|
6103
6260
|
*/
|
|
6104
6261
|
401: UnauthorizedError;
|
|
6262
|
+
/**
|
|
6263
|
+
* SessionNotFoundError
|
|
6264
|
+
*/
|
|
6265
|
+
404: SessionNotFoundError;
|
|
6266
|
+
/**
|
|
6267
|
+
* UnknownError
|
|
6268
|
+
*/
|
|
6269
|
+
500: UnknownError1;
|
|
6105
6270
|
};
|
|
6106
6271
|
export type V2SessionMessagesError = V2SessionMessagesErrors[keyof V2SessionMessagesErrors];
|
|
6107
6272
|
export type V2SessionMessagesResponses = {
|
|
@@ -6706,6 +6871,10 @@ export type ExperimentalWorkspaceWarpErrors = {
|
|
|
6706
6871
|
* WorkspaceWarpError | VcsApplyError | InvalidRequestError
|
|
6707
6872
|
*/
|
|
6708
6873
|
400: WorkspaceWarpError | VcsApplyError | InvalidRequestError;
|
|
6874
|
+
/**
|
|
6875
|
+
* NotFoundError
|
|
6876
|
+
*/
|
|
6877
|
+
404: NotFoundError;
|
|
6709
6878
|
};
|
|
6710
6879
|
export type ExperimentalWorkspaceWarpError = ExperimentalWorkspaceWarpErrors[keyof ExperimentalWorkspaceWarpErrors];
|
|
6711
6880
|
export type ExperimentalWorkspaceWarpResponses = {
|