@opencode-ai/sdk 1.15.5 → 1.15.7

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.
@@ -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;
@@ -23,6 +23,15 @@ export type WellKnownAuth = {
23
23
  token: string;
24
24
  };
25
25
  export type Auth = OAuth | ApiAuth | WellKnownAuth;
26
+ export type EffectHttpApiErrorBadRequest = {
27
+ _tag: "BadRequest";
28
+ };
29
+ export type InvalidRequestError = {
30
+ _tag: "InvalidRequestError";
31
+ message: string;
32
+ kind?: string;
33
+ field?: string;
34
+ };
26
35
  export type EventTuiPromptAppend = {
27
36
  id: string;
28
37
  type: "tui.prompt.append";
@@ -89,6 +98,7 @@ export type UnknownError = {
89
98
  name: "UnknownError";
90
99
  data: {
91
100
  message: string;
101
+ ref?: string;
92
102
  };
93
103
  };
94
104
  export type MessageOutputLengthError = {
@@ -609,7 +619,7 @@ export type GlobalEvent = {
609
619
  directory: string;
610
620
  project?: string;
611
621
  workspace?: string;
612
- 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;
613
623
  };
614
624
  /**
615
625
  * Log level
@@ -1384,6 +1394,29 @@ export type V2SessionsResponse = {
1384
1394
  next?: string;
1385
1395
  };
1386
1396
  };
1397
+ export type InvalidCursorError = {
1398
+ _tag: "InvalidCursorError";
1399
+ message: string;
1400
+ };
1401
+ export type UnauthorizedError = {
1402
+ _tag: "UnauthorizedError";
1403
+ message: string;
1404
+ };
1405
+ export type SessionNotFoundError = {
1406
+ _tag: "SessionNotFoundError";
1407
+ sessionID: string;
1408
+ message: string;
1409
+ };
1410
+ export type ServiceUnavailableError = {
1411
+ _tag: "ServiceUnavailableError";
1412
+ message: string;
1413
+ service?: string;
1414
+ };
1415
+ export type UnknownError1 = {
1416
+ _tag: "UnknownError";
1417
+ message: string;
1418
+ ref?: string;
1419
+ };
1387
1420
  export type V2SessionMessagesResponse = {
1388
1421
  items: Array<SessionMessage>;
1389
1422
  cursor: {
@@ -1391,6 +1424,11 @@ export type V2SessionMessagesResponse = {
1391
1424
  next?: string;
1392
1425
  };
1393
1426
  };
1427
+ export type ProviderNotFoundError = {
1428
+ _tag: "ProviderNotFoundError";
1429
+ providerID: string;
1430
+ message: string;
1431
+ };
1394
1432
  export type EventTuiPromptAppend2 = {
1395
1433
  type: "tui.prompt.append";
1396
1434
  properties: {
@@ -2692,6 +2730,56 @@ export type EventCatalogModelUpdated = {
2692
2730
  model: ModelV2Info;
2693
2731
  };
2694
2732
  };
2733
+ export type EventModelsDevRefreshed = {
2734
+ id: string;
2735
+ type: "models-dev.refreshed";
2736
+ properties: {
2737
+ [key: string]: unknown;
2738
+ };
2739
+ };
2740
+ export type AccountV2oAuthCredential = {
2741
+ type: "oauth";
2742
+ refresh: string;
2743
+ access: string;
2744
+ expires: number;
2745
+ };
2746
+ export type AccountV2ApiKeyCredential = {
2747
+ type: "api";
2748
+ key: string;
2749
+ metadata?: {
2750
+ [key: string]: string;
2751
+ };
2752
+ };
2753
+ export type AccountV2Credential = AccountV2oAuthCredential | AccountV2ApiKeyCredential;
2754
+ export type AccountV2Info = {
2755
+ id: string;
2756
+ serviceID: string;
2757
+ description: string;
2758
+ credential: AccountV2Credential;
2759
+ };
2760
+ export type EventAccountAdded = {
2761
+ id: string;
2762
+ type: "account.added";
2763
+ properties: {
2764
+ account: AccountV2Info;
2765
+ };
2766
+ };
2767
+ export type EventAccountRemoved = {
2768
+ id: string;
2769
+ type: "account.removed";
2770
+ properties: {
2771
+ account: AccountV2Info;
2772
+ };
2773
+ };
2774
+ export type EventAccountSwitched = {
2775
+ id: string;
2776
+ type: "account.switched";
2777
+ properties: {
2778
+ serviceID: string;
2779
+ from?: string;
2780
+ to?: string;
2781
+ };
2782
+ };
2695
2783
  export type SessionInfo = {
2696
2784
  id: string;
2697
2785
  parentID?: string;
@@ -2906,7 +2994,7 @@ export type ProviderV2Info = {
2906
2994
  via: "env";
2907
2995
  name: string;
2908
2996
  } | {
2909
- via: "auth";
2997
+ via: "account";
2910
2998
  service: string;
2911
2999
  } | {
2912
3000
  via: "custom";
@@ -3071,9 +3159,9 @@ export type AuthRemoveData = {
3071
3159
  };
3072
3160
  export type AuthRemoveErrors = {
3073
3161
  /**
3074
- * Bad request
3162
+ * BadRequest | InvalidRequestError
3075
3163
  */
3076
- 400: BadRequestError;
3164
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3077
3165
  };
3078
3166
  export type AuthRemoveError = AuthRemoveErrors[keyof AuthRemoveErrors];
3079
3167
  export type AuthRemoveResponses = {
@@ -3093,9 +3181,9 @@ export type AuthSetData = {
3093
3181
  };
3094
3182
  export type AuthSetErrors = {
3095
3183
  /**
3096
- * Bad request
3184
+ * BadRequest | InvalidRequestError
3097
3185
  */
3098
- 400: BadRequestError;
3186
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3099
3187
  };
3100
3188
  export type AuthSetError = AuthSetErrors[keyof AuthSetErrors];
3101
3189
  export type AuthSetResponses = {
@@ -3132,9 +3220,9 @@ export type AppLogData = {
3132
3220
  };
3133
3221
  export type AppLogErrors = {
3134
3222
  /**
3135
- * Bad request
3223
+ * BadRequest | InvalidRequestError
3136
3224
  */
3137
- 400: BadRequestError;
3225
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3138
3226
  };
3139
3227
  export type AppLogError = AppLogErrors[keyof AppLogErrors];
3140
3228
  export type AppLogResponses = {
@@ -3150,6 +3238,13 @@ export type GlobalHealthData = {
3150
3238
  query?: never;
3151
3239
  url: "/global/health";
3152
3240
  };
3241
+ export type GlobalHealthErrors = {
3242
+ /**
3243
+ * Bad request
3244
+ */
3245
+ 400: BadRequestError;
3246
+ };
3247
+ export type GlobalHealthError = GlobalHealthErrors[keyof GlobalHealthErrors];
3153
3248
  export type GlobalHealthResponses = {
3154
3249
  /**
3155
3250
  * Health information
@@ -3166,6 +3261,13 @@ export type GlobalEventData = {
3166
3261
  query?: never;
3167
3262
  url: "/global/event";
3168
3263
  };
3264
+ export type GlobalEventErrors = {
3265
+ /**
3266
+ * Bad request
3267
+ */
3268
+ 400: BadRequestError;
3269
+ };
3270
+ export type GlobalEventError = GlobalEventErrors[keyof GlobalEventErrors];
3169
3271
  export type GlobalEventResponses = {
3170
3272
  /**
3171
3273
  * Event stream
@@ -3179,6 +3281,13 @@ export type GlobalConfigGetData = {
3179
3281
  query?: never;
3180
3282
  url: "/global/config";
3181
3283
  };
3284
+ export type GlobalConfigGetErrors = {
3285
+ /**
3286
+ * Bad request
3287
+ */
3288
+ 400: BadRequestError;
3289
+ };
3290
+ export type GlobalConfigGetError = GlobalConfigGetErrors[keyof GlobalConfigGetErrors];
3182
3291
  export type GlobalConfigGetResponses = {
3183
3292
  /**
3184
3293
  * Get global config info
@@ -3194,9 +3303,9 @@ export type GlobalConfigUpdateData = {
3194
3303
  };
3195
3304
  export type GlobalConfigUpdateErrors = {
3196
3305
  /**
3197
- * Bad request
3306
+ * BadRequest | InvalidRequestError
3198
3307
  */
3199
- 400: BadRequestError;
3308
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3200
3309
  };
3201
3310
  export type GlobalConfigUpdateError = GlobalConfigUpdateErrors[keyof GlobalConfigUpdateErrors];
3202
3311
  export type GlobalConfigUpdateResponses = {
@@ -3212,6 +3321,13 @@ export type GlobalDisposeData = {
3212
3321
  query?: never;
3213
3322
  url: "/global/dispose";
3214
3323
  };
3324
+ export type GlobalDisposeErrors = {
3325
+ /**
3326
+ * Bad request
3327
+ */
3328
+ 400: BadRequestError;
3329
+ };
3330
+ export type GlobalDisposeError = GlobalDisposeErrors[keyof GlobalDisposeErrors];
3215
3331
  export type GlobalDisposeResponses = {
3216
3332
  /**
3217
3333
  * Global disposed
@@ -3229,9 +3345,9 @@ export type GlobalUpgradeData = {
3229
3345
  };
3230
3346
  export type GlobalUpgradeErrors = {
3231
3347
  /**
3232
- * Bad request
3348
+ * BadRequest | InvalidRequestError
3233
3349
  */
3234
- 400: BadRequestError;
3350
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3235
3351
  };
3236
3352
  export type GlobalUpgradeError = GlobalUpgradeErrors[keyof GlobalUpgradeErrors];
3237
3353
  export type GlobalUpgradeResponses = {
@@ -3272,6 +3388,13 @@ export type ConfigGetData = {
3272
3388
  };
3273
3389
  url: "/config";
3274
3390
  };
3391
+ export type ConfigGetErrors = {
3392
+ /**
3393
+ * Bad request
3394
+ */
3395
+ 400: BadRequestError;
3396
+ };
3397
+ export type ConfigGetError = ConfigGetErrors[keyof ConfigGetErrors];
3275
3398
  export type ConfigGetResponses = {
3276
3399
  /**
3277
3400
  * Get config info
@@ -3290,9 +3413,9 @@ export type ConfigUpdateData = {
3290
3413
  };
3291
3414
  export type ConfigUpdateErrors = {
3292
3415
  /**
3293
- * Bad request
3416
+ * BadRequest | InvalidRequestError
3294
3417
  */
3295
- 400: BadRequestError;
3418
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3296
3419
  };
3297
3420
  export type ConfigUpdateError = ConfigUpdateErrors[keyof ConfigUpdateErrors];
3298
3421
  export type ConfigUpdateResponses = {
@@ -3311,6 +3434,13 @@ export type ConfigProvidersData = {
3311
3434
  };
3312
3435
  url: "/config/providers";
3313
3436
  };
3437
+ export type ConfigProvidersErrors = {
3438
+ /**
3439
+ * Bad request
3440
+ */
3441
+ 400: BadRequestError;
3442
+ };
3443
+ export type ConfigProvidersError = ConfigProvidersErrors[keyof ConfigProvidersErrors];
3314
3444
  export type ConfigProvidersResponses = {
3315
3445
  /**
3316
3446
  * List of providers
@@ -3333,6 +3463,10 @@ export type ExperimentalConsoleGetData = {
3333
3463
  url: "/experimental/console";
3334
3464
  };
3335
3465
  export type ExperimentalConsoleGetErrors = {
3466
+ /**
3467
+ * Bad request
3468
+ */
3469
+ 400: BadRequestError;
3336
3470
  /**
3337
3471
  * InternalServerError
3338
3472
  */
@@ -3356,6 +3490,10 @@ export type ExperimentalConsoleListOrgsData = {
3356
3490
  url: "/experimental/console/orgs";
3357
3491
  };
3358
3492
  export type ExperimentalConsoleListOrgsErrors = {
3493
+ /**
3494
+ * Bad request
3495
+ */
3496
+ 400: BadRequestError;
3359
3497
  /**
3360
3498
  * InternalServerError
3361
3499
  */
@@ -3410,9 +3548,9 @@ export type ToolListData = {
3410
3548
  };
3411
3549
  export type ToolListErrors = {
3412
3550
  /**
3413
- * Bad request
3551
+ * BadRequest | InvalidRequestError
3414
3552
  */
3415
- 400: BadRequestError;
3553
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3416
3554
  };
3417
3555
  export type ToolListError = ToolListErrors[keyof ToolListErrors];
3418
3556
  export type ToolListResponses = {
@@ -3433,9 +3571,9 @@ export type ToolIdsData = {
3433
3571
  };
3434
3572
  export type ToolIdsErrors = {
3435
3573
  /**
3436
- * Bad request
3574
+ * BadRequest | InvalidRequestError
3437
3575
  */
3438
- 400: BadRequestError;
3576
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3439
3577
  };
3440
3578
  export type ToolIdsError = ToolIdsErrors[keyof ToolIdsErrors];
3441
3579
  export type ToolIdsResponses = {
@@ -3456,9 +3594,9 @@ export type WorktreeRemoveData = {
3456
3594
  };
3457
3595
  export type WorktreeRemoveErrors = {
3458
3596
  /**
3459
- * WorktreeError
3597
+ * WorktreeError | InvalidRequestError
3460
3598
  */
3461
- 400: WorktreeError;
3599
+ 400: WorktreeError | InvalidRequestError;
3462
3600
  };
3463
3601
  export type WorktreeRemoveError = WorktreeRemoveErrors[keyof WorktreeRemoveErrors];
3464
3602
  export type WorktreeRemoveResponses = {
@@ -3479,9 +3617,9 @@ export type WorktreeListData = {
3479
3617
  };
3480
3618
  export type WorktreeListErrors = {
3481
3619
  /**
3482
- * WorktreeError
3620
+ * WorktreeError | InvalidRequestError
3483
3621
  */
3484
- 400: WorktreeError;
3622
+ 400: WorktreeError | InvalidRequestError;
3485
3623
  };
3486
3624
  export type WorktreeListError = WorktreeListErrors[keyof WorktreeListErrors];
3487
3625
  export type WorktreeListResponses = {
@@ -3502,9 +3640,9 @@ export type WorktreeCreateData = {
3502
3640
  };
3503
3641
  export type WorktreeCreateErrors = {
3504
3642
  /**
3505
- * WorktreeError
3643
+ * WorktreeError | InvalidRequestError
3506
3644
  */
3507
- 400: WorktreeError;
3645
+ 400: WorktreeError | InvalidRequestError;
3508
3646
  };
3509
3647
  export type WorktreeCreateError = WorktreeCreateErrors[keyof WorktreeCreateErrors];
3510
3648
  export type WorktreeCreateResponses = {
@@ -3525,9 +3663,9 @@ export type WorktreeResetData = {
3525
3663
  };
3526
3664
  export type WorktreeResetErrors = {
3527
3665
  /**
3528
- * WorktreeError
3666
+ * WorktreeError | InvalidRequestError
3529
3667
  */
3530
- 400: WorktreeError;
3668
+ 400: WorktreeError | InvalidRequestError;
3531
3669
  };
3532
3670
  export type WorktreeResetError = WorktreeResetErrors[keyof WorktreeResetErrors];
3533
3671
  export type WorktreeResetResponses = {
@@ -3552,6 +3690,13 @@ export type ExperimentalSessionListData = {
3552
3690
  };
3553
3691
  url: "/experimental/session";
3554
3692
  };
3693
+ export type ExperimentalSessionListErrors = {
3694
+ /**
3695
+ * Bad request
3696
+ */
3697
+ 400: BadRequestError;
3698
+ };
3699
+ export type ExperimentalSessionListError = ExperimentalSessionListErrors[keyof ExperimentalSessionListErrors];
3555
3700
  export type ExperimentalSessionListResponses = {
3556
3701
  /**
3557
3702
  * List of sessions
@@ -3568,6 +3713,13 @@ export type ExperimentalResourceListData = {
3568
3713
  };
3569
3714
  url: "/experimental/resource";
3570
3715
  };
3716
+ export type ExperimentalResourceListErrors = {
3717
+ /**
3718
+ * Bad request
3719
+ */
3720
+ 400: BadRequestError;
3721
+ };
3722
+ export type ExperimentalResourceListError = ExperimentalResourceListErrors[keyof ExperimentalResourceListErrors];
3571
3723
  export type ExperimentalResourceListResponses = {
3572
3724
  /**
3573
3725
  * MCP resources
@@ -3587,6 +3739,13 @@ export type FindTextData = {
3587
3739
  };
3588
3740
  url: "/find";
3589
3741
  };
3742
+ export type FindTextErrors = {
3743
+ /**
3744
+ * Bad request
3745
+ */
3746
+ 400: BadRequestError;
3747
+ };
3748
+ export type FindTextError = FindTextErrors[keyof FindTextErrors];
3590
3749
  export type FindTextResponses = {
3591
3750
  /**
3592
3751
  * Matches
@@ -3623,6 +3782,13 @@ export type FindFilesData = {
3623
3782
  };
3624
3783
  url: "/find/file";
3625
3784
  };
3785
+ export type FindFilesErrors = {
3786
+ /**
3787
+ * Bad request
3788
+ */
3789
+ 400: BadRequestError;
3790
+ };
3791
+ export type FindFilesError = FindFilesErrors[keyof FindFilesErrors];
3626
3792
  export type FindFilesResponses = {
3627
3793
  /**
3628
3794
  * File paths
@@ -3640,6 +3806,13 @@ export type FindSymbolsData = {
3640
3806
  };
3641
3807
  url: "/find/symbol";
3642
3808
  };
3809
+ export type FindSymbolsErrors = {
3810
+ /**
3811
+ * Bad request
3812
+ */
3813
+ 400: BadRequestError;
3814
+ };
3815
+ export type FindSymbolsError = FindSymbolsErrors[keyof FindSymbolsErrors];
3643
3816
  export type FindSymbolsResponses = {
3644
3817
  /**
3645
3818
  * Symbols
@@ -3657,6 +3830,13 @@ export type FileListData = {
3657
3830
  };
3658
3831
  url: "/file";
3659
3832
  };
3833
+ export type FileListErrors = {
3834
+ /**
3835
+ * Bad request
3836
+ */
3837
+ 400: BadRequestError;
3838
+ };
3839
+ export type FileListError = FileListErrors[keyof FileListErrors];
3660
3840
  export type FileListResponses = {
3661
3841
  /**
3662
3842
  * Files and directories
@@ -3674,6 +3854,13 @@ export type FileReadData = {
3674
3854
  };
3675
3855
  url: "/file/content";
3676
3856
  };
3857
+ export type FileReadErrors = {
3858
+ /**
3859
+ * Bad request
3860
+ */
3861
+ 400: BadRequestError;
3862
+ };
3863
+ export type FileReadError = FileReadErrors[keyof FileReadErrors];
3677
3864
  export type FileReadResponses = {
3678
3865
  /**
3679
3866
  * File content
@@ -3690,6 +3877,13 @@ export type FileStatusData = {
3690
3877
  };
3691
3878
  url: "/file/status";
3692
3879
  };
3880
+ export type FileStatusErrors = {
3881
+ /**
3882
+ * Bad request
3883
+ */
3884
+ 400: BadRequestError;
3885
+ };
3886
+ export type FileStatusError = FileStatusErrors[keyof FileStatusErrors];
3693
3887
  export type FileStatusResponses = {
3694
3888
  /**
3695
3889
  * File status
@@ -3706,6 +3900,13 @@ export type InstanceDisposeData = {
3706
3900
  };
3707
3901
  url: "/instance/dispose";
3708
3902
  };
3903
+ export type InstanceDisposeErrors = {
3904
+ /**
3905
+ * Bad request
3906
+ */
3907
+ 400: BadRequestError;
3908
+ };
3909
+ export type InstanceDisposeError = InstanceDisposeErrors[keyof InstanceDisposeErrors];
3709
3910
  export type InstanceDisposeResponses = {
3710
3911
  /**
3711
3912
  * Instance disposed
@@ -3722,6 +3923,13 @@ export type PathGetData = {
3722
3923
  };
3723
3924
  url: "/path";
3724
3925
  };
3926
+ export type PathGetErrors = {
3927
+ /**
3928
+ * Bad request
3929
+ */
3930
+ 400: BadRequestError;
3931
+ };
3932
+ export type PathGetError = PathGetErrors[keyof PathGetErrors];
3725
3933
  export type PathGetResponses = {
3726
3934
  /**
3727
3935
  * Path
@@ -3738,6 +3946,13 @@ export type VcsGetData = {
3738
3946
  };
3739
3947
  url: "/vcs";
3740
3948
  };
3949
+ export type VcsGetErrors = {
3950
+ /**
3951
+ * Bad request
3952
+ */
3953
+ 400: BadRequestError;
3954
+ };
3955
+ export type VcsGetError = VcsGetErrors[keyof VcsGetErrors];
3741
3956
  export type VcsGetResponses = {
3742
3957
  /**
3743
3958
  * VCS info
@@ -3754,6 +3969,13 @@ export type VcsStatusData = {
3754
3969
  };
3755
3970
  url: "/vcs/status";
3756
3971
  };
3972
+ export type VcsStatusErrors = {
3973
+ /**
3974
+ * Bad request
3975
+ */
3976
+ 400: BadRequestError;
3977
+ };
3978
+ export type VcsStatusError = VcsStatusErrors[keyof VcsStatusErrors];
3757
3979
  export type VcsStatusResponses = {
3758
3980
  /**
3759
3981
  * VCS status
@@ -3771,6 +3993,13 @@ export type VcsDiffData = {
3771
3993
  };
3772
3994
  url: "/vcs/diff";
3773
3995
  };
3996
+ export type VcsDiffErrors = {
3997
+ /**
3998
+ * Bad request
3999
+ */
4000
+ 400: BadRequestError;
4001
+ };
4002
+ export type VcsDiffError = VcsDiffErrors[keyof VcsDiffErrors];
3774
4003
  export type VcsDiffResponses = {
3775
4004
  /**
3776
4005
  * VCS diff
@@ -3787,6 +4016,13 @@ export type VcsDiffRawData = {
3787
4016
  };
3788
4017
  url: "/vcs/diff/raw";
3789
4018
  };
4019
+ export type VcsDiffRawErrors = {
4020
+ /**
4021
+ * Bad request
4022
+ */
4023
+ 400: BadRequestError;
4024
+ };
4025
+ export type VcsDiffRawError = VcsDiffRawErrors[keyof VcsDiffRawErrors];
3790
4026
  export type VcsDiffRawResponses = {
3791
4027
  /**
3792
4028
  * Raw VCS diff
@@ -3807,9 +4043,9 @@ export type VcsApplyData = {
3807
4043
  };
3808
4044
  export type VcsApplyErrors = {
3809
4045
  /**
3810
- * VcsApplyError
4046
+ * VcsApplyError | InvalidRequestError
3811
4047
  */
3812
- 400: VcsApplyError;
4048
+ 400: VcsApplyError | InvalidRequestError;
3813
4049
  };
3814
4050
  export type VcsApplyError2 = VcsApplyErrors[keyof VcsApplyErrors];
3815
4051
  export type VcsApplyResponses = {
@@ -3830,6 +4066,13 @@ export type CommandListData = {
3830
4066
  };
3831
4067
  url: "/command";
3832
4068
  };
4069
+ export type CommandListErrors = {
4070
+ /**
4071
+ * Bad request
4072
+ */
4073
+ 400: BadRequestError;
4074
+ };
4075
+ export type CommandListError = CommandListErrors[keyof CommandListErrors];
3833
4076
  export type CommandListResponses = {
3834
4077
  /**
3835
4078
  * List of commands
@@ -3846,6 +4089,13 @@ export type AppAgentsData = {
3846
4089
  };
3847
4090
  url: "/agent";
3848
4091
  };
4092
+ export type AppAgentsErrors = {
4093
+ /**
4094
+ * Bad request
4095
+ */
4096
+ 400: BadRequestError;
4097
+ };
4098
+ export type AppAgentsError = AppAgentsErrors[keyof AppAgentsErrors];
3849
4099
  export type AppAgentsResponses = {
3850
4100
  /**
3851
4101
  * List of agents
@@ -3862,6 +4112,13 @@ export type AppSkillsData = {
3862
4112
  };
3863
4113
  url: "/skill";
3864
4114
  };
4115
+ export type AppSkillsErrors = {
4116
+ /**
4117
+ * Bad request
4118
+ */
4119
+ 400: BadRequestError;
4120
+ };
4121
+ export type AppSkillsError = AppSkillsErrors[keyof AppSkillsErrors];
3865
4122
  export type AppSkillsResponses = {
3866
4123
  /**
3867
4124
  * List of skills
@@ -3883,6 +4140,13 @@ export type LspStatusData = {
3883
4140
  };
3884
4141
  url: "/lsp";
3885
4142
  };
4143
+ export type LspStatusErrors = {
4144
+ /**
4145
+ * Bad request
4146
+ */
4147
+ 400: BadRequestError;
4148
+ };
4149
+ export type LspStatusError = LspStatusErrors[keyof LspStatusErrors];
3886
4150
  export type LspStatusResponses = {
3887
4151
  /**
3888
4152
  * LSP server status
@@ -3899,6 +4163,13 @@ export type FormatterStatusData = {
3899
4163
  };
3900
4164
  url: "/formatter";
3901
4165
  };
4166
+ export type FormatterStatusErrors = {
4167
+ /**
4168
+ * Bad request
4169
+ */
4170
+ 400: BadRequestError;
4171
+ };
4172
+ export type FormatterStatusError = FormatterStatusErrors[keyof FormatterStatusErrors];
3902
4173
  export type FormatterStatusResponses = {
3903
4174
  /**
3904
4175
  * Formatter status
@@ -3915,6 +4186,13 @@ export type McpStatusData = {
3915
4186
  };
3916
4187
  url: "/mcp";
3917
4188
  };
4189
+ export type McpStatusErrors = {
4190
+ /**
4191
+ * Bad request
4192
+ */
4193
+ 400: BadRequestError;
4194
+ };
4195
+ export type McpStatusError = McpStatusErrors[keyof McpStatusErrors];
3918
4196
  export type McpStatusResponses = {
3919
4197
  /**
3920
4198
  * MCP server status
@@ -3938,9 +4216,9 @@ export type McpAddData = {
3938
4216
  };
3939
4217
  export type McpAddErrors = {
3940
4218
  /**
3941
- * Bad request
4219
+ * BadRequest | InvalidRequestError
3942
4220
  */
3943
- 400: BadRequestError;
4221
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3944
4222
  };
3945
4223
  export type McpAddError = McpAddErrors[keyof McpAddErrors];
3946
4224
  export type McpAddResponses = {
@@ -3964,6 +4242,10 @@ export type McpAuthRemoveData = {
3964
4242
  url: "/mcp/{name}/auth";
3965
4243
  };
3966
4244
  export type McpAuthRemoveErrors = {
4245
+ /**
4246
+ * Bad request
4247
+ */
4248
+ 400: BadRequestError;
3967
4249
  /**
3968
4250
  * Not found
3969
4251
  */
@@ -3992,9 +4274,9 @@ export type McpAuthStartData = {
3992
4274
  };
3993
4275
  export type McpAuthStartErrors = {
3994
4276
  /**
3995
- * McpUnsupportedOAuthError
4277
+ * McpUnsupportedOAuthError | InvalidRequestError
3996
4278
  */
3997
- 400: McpUnsupportedOAuthError;
4279
+ 400: McpUnsupportedOAuthError | InvalidRequestError;
3998
4280
  /**
3999
4281
  * Not found
4000
4282
  */
@@ -4026,9 +4308,9 @@ export type McpAuthCallbackData = {
4026
4308
  };
4027
4309
  export type McpAuthCallbackErrors = {
4028
4310
  /**
4029
- * Bad request
4311
+ * BadRequest | InvalidRequestError
4030
4312
  */
4031
- 400: BadRequestError;
4313
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4032
4314
  /**
4033
4315
  * Not found
4034
4316
  */
@@ -4055,9 +4337,9 @@ export type McpAuthAuthenticateData = {
4055
4337
  };
4056
4338
  export type McpAuthAuthenticateErrors = {
4057
4339
  /**
4058
- * McpUnsupportedOAuthError
4340
+ * McpUnsupportedOAuthError | InvalidRequestError
4059
4341
  */
4060
- 400: McpUnsupportedOAuthError;
4342
+ 400: McpUnsupportedOAuthError | InvalidRequestError;
4061
4343
  /**
4062
4344
  * Not found
4063
4345
  */
@@ -4082,6 +4364,13 @@ export type McpConnectData = {
4082
4364
  };
4083
4365
  url: "/mcp/{name}/connect";
4084
4366
  };
4367
+ export type McpConnectErrors = {
4368
+ /**
4369
+ * Bad request
4370
+ */
4371
+ 400: BadRequestError;
4372
+ };
4373
+ export type McpConnectError = McpConnectErrors[keyof McpConnectErrors];
4085
4374
  export type McpConnectResponses = {
4086
4375
  /**
4087
4376
  * MCP server connected successfully
@@ -4100,6 +4389,13 @@ export type McpDisconnectData = {
4100
4389
  };
4101
4390
  url: "/mcp/{name}/disconnect";
4102
4391
  };
4392
+ export type McpDisconnectErrors = {
4393
+ /**
4394
+ * Bad request
4395
+ */
4396
+ 400: BadRequestError;
4397
+ };
4398
+ export type McpDisconnectError = McpDisconnectErrors[keyof McpDisconnectErrors];
4103
4399
  export type McpDisconnectResponses = {
4104
4400
  /**
4105
4401
  * MCP server disconnected successfully
@@ -4116,6 +4412,13 @@ export type ProjectListData = {
4116
4412
  };
4117
4413
  url: "/project";
4118
4414
  };
4415
+ export type ProjectListErrors = {
4416
+ /**
4417
+ * Bad request
4418
+ */
4419
+ 400: BadRequestError;
4420
+ };
4421
+ export type ProjectListError = ProjectListErrors[keyof ProjectListErrors];
4119
4422
  export type ProjectListResponses = {
4120
4423
  /**
4121
4424
  * List of projects
@@ -4132,6 +4435,13 @@ export type ProjectCurrentData = {
4132
4435
  };
4133
4436
  url: "/project/current";
4134
4437
  };
4438
+ export type ProjectCurrentErrors = {
4439
+ /**
4440
+ * Bad request
4441
+ */
4442
+ 400: BadRequestError;
4443
+ };
4444
+ export type ProjectCurrentError = ProjectCurrentErrors[keyof ProjectCurrentErrors];
4135
4445
  export type ProjectCurrentResponses = {
4136
4446
  /**
4137
4447
  * Current project information
@@ -4148,6 +4458,13 @@ export type ProjectInitGitData = {
4148
4458
  };
4149
4459
  url: "/project/git/init";
4150
4460
  };
4461
+ export type ProjectInitGitErrors = {
4462
+ /**
4463
+ * Bad request
4464
+ */
4465
+ 400: BadRequestError;
4466
+ };
4467
+ export type ProjectInitGitError = ProjectInitGitErrors[keyof ProjectInitGitErrors];
4151
4468
  export type ProjectInitGitResponses = {
4152
4469
  /**
4153
4470
  * Project information after git initialization
@@ -4181,9 +4498,9 @@ export type ProjectUpdateData = {
4181
4498
  };
4182
4499
  export type ProjectUpdateErrors = {
4183
4500
  /**
4184
- * Bad request
4501
+ * BadRequest | InvalidRequestError
4185
4502
  */
4186
- 400: BadRequestError;
4503
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4187
4504
  /**
4188
4505
  * Not found
4189
4506
  */
@@ -4206,6 +4523,13 @@ export type PtyShellsData = {
4206
4523
  };
4207
4524
  url: "/pty/shells";
4208
4525
  };
4526
+ export type PtyShellsErrors = {
4527
+ /**
4528
+ * Bad request
4529
+ */
4530
+ 400: BadRequestError;
4531
+ };
4532
+ export type PtyShellsError = PtyShellsErrors[keyof PtyShellsErrors];
4209
4533
  export type PtyShellsResponses = {
4210
4534
  /**
4211
4535
  * List of shells
@@ -4226,6 +4550,13 @@ export type PtyListData = {
4226
4550
  };
4227
4551
  url: "/pty";
4228
4552
  };
4553
+ export type PtyListErrors = {
4554
+ /**
4555
+ * Bad request
4556
+ */
4557
+ 400: BadRequestError;
4558
+ };
4559
+ export type PtyListError = PtyListErrors[keyof PtyListErrors];
4229
4560
  export type PtyListResponses = {
4230
4561
  /**
4231
4562
  * List of sessions
@@ -4252,9 +4583,9 @@ export type PtyCreateData = {
4252
4583
  };
4253
4584
  export type PtyCreateErrors = {
4254
4585
  /**
4255
- * Bad request
4586
+ * BadRequest | InvalidRequestError
4256
4587
  */
4257
- 400: BadRequestError;
4588
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4258
4589
  };
4259
4590
  export type PtyCreateError = PtyCreateErrors[keyof PtyCreateErrors];
4260
4591
  export type PtyCreateResponses = {
@@ -4276,6 +4607,10 @@ export type PtyRemoveData = {
4276
4607
  url: "/pty/{ptyID}";
4277
4608
  };
4278
4609
  export type PtyRemoveErrors = {
4610
+ /**
4611
+ * Bad request
4612
+ */
4613
+ 400: BadRequestError;
4279
4614
  /**
4280
4615
  * NotFoundError
4281
4616
  */
@@ -4301,6 +4636,10 @@ export type PtyGetData = {
4301
4636
  url: "/pty/{ptyID}";
4302
4637
  };
4303
4638
  export type PtyGetErrors = {
4639
+ /**
4640
+ * Bad request
4641
+ */
4642
+ 400: BadRequestError;
4304
4643
  /**
4305
4644
  * NotFoundError
4306
4645
  */
@@ -4333,9 +4672,9 @@ export type PtyUpdateData = {
4333
4672
  };
4334
4673
  export type PtyUpdateErrors = {
4335
4674
  /**
4336
- * Bad request
4675
+ * BadRequest | InvalidRequestError
4337
4676
  */
4338
- 400: BadRequestError;
4677
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4339
4678
  };
4340
4679
  export type PtyUpdateError = PtyUpdateErrors[keyof PtyUpdateErrors];
4341
4680
  export type PtyUpdateResponses = {
@@ -4357,6 +4696,10 @@ export type PtyConnectTokenData = {
4357
4696
  url: "/pty/{ptyID}/connect-token";
4358
4697
  };
4359
4698
  export type PtyConnectTokenErrors = {
4699
+ /**
4700
+ * Bad request
4701
+ */
4702
+ 400: BadRequestError;
4360
4703
  /**
4361
4704
  * Forbidden
4362
4705
  */
@@ -4386,6 +4729,13 @@ export type QuestionListData = {
4386
4729
  };
4387
4730
  url: "/question";
4388
4731
  };
4732
+ export type QuestionListErrors = {
4733
+ /**
4734
+ * Bad request
4735
+ */
4736
+ 400: BadRequestError;
4737
+ };
4738
+ export type QuestionListError = QuestionListErrors[keyof QuestionListErrors];
4389
4739
  export type QuestionListResponses = {
4390
4740
  /**
4391
4741
  * List of pending questions
@@ -4411,9 +4761,9 @@ export type QuestionReplyData = {
4411
4761
  };
4412
4762
  export type QuestionReplyErrors = {
4413
4763
  /**
4414
- * Bad request
4764
+ * BadRequest | InvalidRequestError
4415
4765
  */
4416
- 400: BadRequestError;
4766
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4417
4767
  /**
4418
4768
  * Not found
4419
4769
  */
@@ -4440,9 +4790,9 @@ export type QuestionRejectData = {
4440
4790
  };
4441
4791
  export type QuestionRejectErrors = {
4442
4792
  /**
4443
- * Bad request
4793
+ * BadRequest | InvalidRequestError
4444
4794
  */
4445
- 400: BadRequestError;
4795
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4446
4796
  /**
4447
4797
  * Not found
4448
4798
  */
@@ -4465,6 +4815,13 @@ export type PermissionListData = {
4465
4815
  };
4466
4816
  url: "/permission";
4467
4817
  };
4818
+ export type PermissionListErrors = {
4819
+ /**
4820
+ * Bad request
4821
+ */
4822
+ 400: BadRequestError;
4823
+ };
4824
+ export type PermissionListError = PermissionListErrors[keyof PermissionListErrors];
4468
4825
  export type PermissionListResponses = {
4469
4826
  /**
4470
4827
  * List of pending permissions
@@ -4488,9 +4845,9 @@ export type PermissionReplyData = {
4488
4845
  };
4489
4846
  export type PermissionReplyErrors = {
4490
4847
  /**
4491
- * Bad request
4848
+ * BadRequest | InvalidRequestError
4492
4849
  */
4493
- 400: BadRequestError;
4850
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4494
4851
  /**
4495
4852
  * Not found
4496
4853
  */
@@ -4513,6 +4870,13 @@ export type ProviderListData = {
4513
4870
  };
4514
4871
  url: "/provider";
4515
4872
  };
4873
+ export type ProviderListErrors = {
4874
+ /**
4875
+ * Bad request
4876
+ */
4877
+ 400: BadRequestError;
4878
+ };
4879
+ export type ProviderListError = ProviderListErrors[keyof ProviderListErrors];
4516
4880
  export type ProviderListResponses = {
4517
4881
  /**
4518
4882
  * List of providers
@@ -4535,6 +4899,13 @@ export type ProviderAuthData = {
4535
4899
  };
4536
4900
  url: "/provider/auth";
4537
4901
  };
4902
+ export type ProviderAuthErrors = {
4903
+ /**
4904
+ * Bad request
4905
+ */
4906
+ 400: BadRequestError;
4907
+ };
4908
+ export type ProviderAuthError2 = ProviderAuthErrors[keyof ProviderAuthErrors];
4538
4909
  export type ProviderAuthResponses = {
4539
4910
  /**
4540
4911
  * Provider auth methods
@@ -4565,9 +4936,9 @@ export type ProviderOauthAuthorizeData = {
4565
4936
  };
4566
4937
  export type ProviderOauthAuthorizeErrors = {
4567
4938
  /**
4568
- * ProviderAuthError
4939
+ * ProviderAuthError | InvalidRequestError
4569
4940
  */
4570
- 400: ProviderAuthError1;
4941
+ 400: ProviderAuthError1 | InvalidRequestError;
4571
4942
  };
4572
4943
  export type ProviderOauthAuthorizeError = ProviderOauthAuthorizeErrors[keyof ProviderOauthAuthorizeErrors];
4573
4944
  export type ProviderOauthAuthorizeResponses = {
@@ -4596,9 +4967,9 @@ export type ProviderOauthCallbackData = {
4596
4967
  };
4597
4968
  export type ProviderOauthCallbackErrors = {
4598
4969
  /**
4599
- * ProviderAuthError
4970
+ * ProviderAuthError | InvalidRequestError
4600
4971
  */
4601
- 400: ProviderAuthError1;
4972
+ 400: ProviderAuthError1 | InvalidRequestError;
4602
4973
  };
4603
4974
  export type ProviderOauthCallbackError = ProviderOauthCallbackErrors[keyof ProviderOauthCallbackErrors];
4604
4975
  export type ProviderOauthCallbackResponses = {
@@ -4623,6 +4994,13 @@ export type SessionListData = {
4623
4994
  };
4624
4995
  url: "/session";
4625
4996
  };
4997
+ export type SessionListErrors = {
4998
+ /**
4999
+ * Bad request
5000
+ */
5001
+ 400: BadRequestError;
5002
+ };
5003
+ export type SessionListError = SessionListErrors[keyof SessionListErrors];
4626
5004
  export type SessionListResponses = {
4627
5005
  /**
4628
5006
  * List of sessions
@@ -4652,9 +5030,9 @@ export type SessionCreateData = {
4652
5030
  };
4653
5031
  export type SessionCreateErrors = {
4654
5032
  /**
4655
- * Bad request
5033
+ * BadRequest | InvalidRequestError
4656
5034
  */
4657
- 400: BadRequestError;
5035
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4658
5036
  };
4659
5037
  export type SessionCreateError = SessionCreateErrors[keyof SessionCreateErrors];
4660
5038
  export type SessionCreateResponses = {
@@ -4675,9 +5053,9 @@ export type SessionStatusData = {
4675
5053
  };
4676
5054
  export type SessionStatusErrors = {
4677
5055
  /**
4678
- * Bad request
5056
+ * BadRequest | InvalidRequestError
4679
5057
  */
4680
- 400: BadRequestError;
5058
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4681
5059
  };
4682
5060
  export type SessionStatusError = SessionStatusErrors[keyof SessionStatusErrors];
4683
5061
  export type SessionStatusResponses = {
@@ -4702,9 +5080,9 @@ export type SessionDeleteData = {
4702
5080
  };
4703
5081
  export type SessionDeleteErrors = {
4704
5082
  /**
4705
- * Bad request
5083
+ * BadRequest | InvalidRequestError
4706
5084
  */
4707
- 400: BadRequestError;
5085
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4708
5086
  /**
4709
5087
  * NotFoundError
4710
5088
  */
@@ -4731,9 +5109,9 @@ export type SessionGetData = {
4731
5109
  };
4732
5110
  export type SessionGetErrors = {
4733
5111
  /**
4734
- * Bad request
5112
+ * BadRequest | InvalidRequestError
4735
5113
  */
4736
- 400: BadRequestError;
5114
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4737
5115
  /**
4738
5116
  * NotFoundError
4739
5117
  */
@@ -4766,9 +5144,9 @@ export type SessionUpdateData = {
4766
5144
  };
4767
5145
  export type SessionUpdateErrors = {
4768
5146
  /**
4769
- * Bad request
5147
+ * BadRequest | InvalidRequestError
4770
5148
  */
4771
- 400: BadRequestError;
5149
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4772
5150
  /**
4773
5151
  * NotFoundError
4774
5152
  */
@@ -4795,9 +5173,9 @@ export type SessionChildrenData = {
4795
5173
  };
4796
5174
  export type SessionChildrenErrors = {
4797
5175
  /**
4798
- * Bad request
5176
+ * BadRequest | InvalidRequestError
4799
5177
  */
4800
- 400: BadRequestError;
5178
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4801
5179
  /**
4802
5180
  * NotFoundError
4803
5181
  */
@@ -4824,9 +5202,9 @@ export type SessionTodoData = {
4824
5202
  };
4825
5203
  export type SessionTodoErrors = {
4826
5204
  /**
4827
- * Bad request
5205
+ * BadRequest | InvalidRequestError
4828
5206
  */
4829
- 400: BadRequestError;
5207
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4830
5208
  /**
4831
5209
  * NotFoundError
4832
5210
  */
@@ -4852,6 +5230,13 @@ export type SessionDiffData = {
4852
5230
  };
4853
5231
  url: "/session/{sessionID}/diff";
4854
5232
  };
5233
+ export type SessionDiffErrors = {
5234
+ /**
5235
+ * Bad request
5236
+ */
5237
+ 400: BadRequestError;
5238
+ };
5239
+ export type SessionDiffError = SessionDiffErrors[keyof SessionDiffErrors];
4855
5240
  export type SessionDiffResponses = {
4856
5241
  /**
4857
5242
  * Successfully retrieved diff
@@ -4874,9 +5259,9 @@ export type SessionMessagesData = {
4874
5259
  };
4875
5260
  export type SessionMessagesErrors = {
4876
5261
  /**
4877
- * Bad request
5262
+ * BadRequest | InvalidRequestError
4878
5263
  */
4879
- 400: BadRequestError;
5264
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4880
5265
  /**
4881
5266
  * NotFoundError
4882
5267
  */
@@ -4921,9 +5306,9 @@ export type SessionPromptData = {
4921
5306
  };
4922
5307
  export type SessionPromptErrors = {
4923
5308
  /**
4924
- * Bad request
5309
+ * BadRequest | InvalidRequestError
4925
5310
  */
4926
- 400: BadRequestError;
5311
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4927
5312
  /**
4928
5313
  * NotFoundError
4929
5314
  */
@@ -4954,9 +5339,9 @@ export type SessionDeleteMessageData = {
4954
5339
  };
4955
5340
  export type SessionDeleteMessageErrors = {
4956
5341
  /**
4957
- * Bad request
5342
+ * BadRequest | InvalidRequestError
4958
5343
  */
4959
- 400: BadRequestError;
5344
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4960
5345
  /**
4961
5346
  * NotFoundError
4962
5347
  */
@@ -4984,9 +5369,9 @@ export type SessionMessageData = {
4984
5369
  };
4985
5370
  export type SessionMessageErrors = {
4986
5371
  /**
4987
- * Bad request
5372
+ * BadRequest | InvalidRequestError
4988
5373
  */
4989
- 400: BadRequestError;
5374
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4990
5375
  /**
4991
5376
  * NotFoundError
4992
5377
  */
@@ -5018,9 +5403,9 @@ export type SessionForkData = {
5018
5403
  };
5019
5404
  export type SessionForkErrors = {
5020
5405
  /**
5021
- * Bad request
5406
+ * BadRequest | InvalidRequestError
5022
5407
  */
5023
- 400: BadRequestError;
5408
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5024
5409
  /**
5025
5410
  * NotFoundError
5026
5411
  */
@@ -5047,9 +5432,9 @@ export type SessionAbortData = {
5047
5432
  };
5048
5433
  export type SessionAbortErrors = {
5049
5434
  /**
5050
- * Bad request
5435
+ * BadRequest | InvalidRequestError
5051
5436
  */
5052
- 400: BadRequestError;
5437
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5053
5438
  };
5054
5439
  export type SessionAbortError = SessionAbortErrors[keyof SessionAbortErrors];
5055
5440
  export type SessionAbortResponses = {
@@ -5076,9 +5461,9 @@ export type SessionInitData = {
5076
5461
  };
5077
5462
  export type SessionInitErrors = {
5078
5463
  /**
5079
- * Bad request
5464
+ * BadRequest | InvalidRequestError
5080
5465
  */
5081
- 400: BadRequestError;
5466
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5082
5467
  /**
5083
5468
  * NotFoundError
5084
5469
  */
@@ -5104,6 +5489,10 @@ export type SessionUnshareData = {
5104
5489
  url: "/session/{sessionID}/share";
5105
5490
  };
5106
5491
  export type SessionUnshareErrors = {
5492
+ /**
5493
+ * Bad request
5494
+ */
5495
+ 400: BadRequestError;
5107
5496
  /**
5108
5497
  * NotFoundError
5109
5498
  */
@@ -5133,6 +5522,10 @@ export type SessionShareData = {
5133
5522
  url: "/session/{sessionID}/share";
5134
5523
  };
5135
5524
  export type SessionShareErrors = {
5525
+ /**
5526
+ * Bad request
5527
+ */
5528
+ 400: BadRequestError;
5136
5529
  /**
5137
5530
  * NotFoundError
5138
5531
  */
@@ -5167,9 +5560,9 @@ export type SessionSummarizeData = {
5167
5560
  };
5168
5561
  export type SessionSummarizeErrors = {
5169
5562
  /**
5170
- * Bad request
5563
+ * BadRequest | InvalidRequestError
5171
5564
  */
5172
- 400: BadRequestError;
5565
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5173
5566
  /**
5174
5567
  * NotFoundError
5175
5568
  */
@@ -5211,9 +5604,9 @@ export type SessionPromptAsyncData = {
5211
5604
  };
5212
5605
  export type SessionPromptAsyncErrors = {
5213
5606
  /**
5214
- * Bad request
5607
+ * BadRequest | InvalidRequestError
5215
5608
  */
5216
- 400: BadRequestError;
5609
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5217
5610
  /**
5218
5611
  * NotFoundError
5219
5612
  */
@@ -5255,9 +5648,9 @@ export type SessionCommandData = {
5255
5648
  };
5256
5649
  export type SessionCommandErrors = {
5257
5650
  /**
5258
- * Bad request
5651
+ * BadRequest | InvalidRequestError
5259
5652
  */
5260
- 400: BadRequestError;
5653
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5261
5654
  /**
5262
5655
  * NotFoundError
5263
5656
  */
@@ -5295,9 +5688,9 @@ export type SessionShellData = {
5295
5688
  };
5296
5689
  export type SessionShellErrors = {
5297
5690
  /**
5298
- * Bad request
5691
+ * BadRequest | InvalidRequestError
5299
5692
  */
5300
- 400: BadRequestError;
5693
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5301
5694
  /**
5302
5695
  * NotFoundError
5303
5696
  */
@@ -5330,9 +5723,9 @@ export type SessionRevertData = {
5330
5723
  };
5331
5724
  export type SessionRevertErrors = {
5332
5725
  /**
5333
- * Bad request
5726
+ * BadRequest | InvalidRequestError
5334
5727
  */
5335
- 400: BadRequestError;
5728
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5336
5729
  /**
5337
5730
  * NotFoundError
5338
5731
  */
@@ -5359,9 +5752,9 @@ export type SessionUnrevertData = {
5359
5752
  };
5360
5753
  export type SessionUnrevertErrors = {
5361
5754
  /**
5362
- * Bad request
5755
+ * BadRequest | InvalidRequestError
5363
5756
  */
5364
- 400: BadRequestError;
5757
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5365
5758
  /**
5366
5759
  * NotFoundError
5367
5760
  */
@@ -5391,9 +5784,9 @@ export type PermissionRespondData = {
5391
5784
  };
5392
5785
  export type PermissionRespondErrors = {
5393
5786
  /**
5394
- * Bad request
5787
+ * BadRequest | InvalidRequestError
5395
5788
  */
5396
- 400: BadRequestError;
5789
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5397
5790
  /**
5398
5791
  * NotFoundError
5399
5792
  */
@@ -5422,9 +5815,9 @@ export type PartDeleteData = {
5422
5815
  };
5423
5816
  export type PartDeleteErrors = {
5424
5817
  /**
5425
- * Bad request
5818
+ * BadRequest | InvalidRequestError
5426
5819
  */
5427
- 400: BadRequestError;
5820
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5428
5821
  /**
5429
5822
  * NotFoundError
5430
5823
  */
@@ -5453,9 +5846,9 @@ export type PartUpdateData = {
5453
5846
  };
5454
5847
  export type PartUpdateErrors = {
5455
5848
  /**
5456
- * Bad request
5849
+ * BadRequest | InvalidRequestError
5457
5850
  */
5458
- 400: BadRequestError;
5851
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5459
5852
  /**
5460
5853
  * NotFoundError
5461
5854
  */
@@ -5478,6 +5871,13 @@ export type SyncStartData = {
5478
5871
  };
5479
5872
  url: "/sync/start";
5480
5873
  };
5874
+ export type SyncStartErrors = {
5875
+ /**
5876
+ * Bad request
5877
+ */
5878
+ 400: BadRequestError;
5879
+ };
5880
+ export type SyncStartError = SyncStartErrors[keyof SyncStartErrors];
5481
5881
  export type SyncStartResponses = {
5482
5882
  /**
5483
5883
  * Workspace sync started
@@ -5507,9 +5907,9 @@ export type SyncReplayData = {
5507
5907
  };
5508
5908
  export type SyncReplayErrors = {
5509
5909
  /**
5510
- * Bad request
5910
+ * BadRequest | InvalidRequestError
5511
5911
  */
5512
- 400: BadRequestError;
5912
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5513
5913
  };
5514
5914
  export type SyncReplayError = SyncReplayErrors[keyof SyncReplayErrors];
5515
5915
  export type SyncReplayResponses = {
@@ -5534,9 +5934,9 @@ export type SyncStealData = {
5534
5934
  };
5535
5935
  export type SyncStealErrors = {
5536
5936
  /**
5537
- * Bad request
5937
+ * BadRequest | InvalidRequestError
5538
5938
  */
5539
- 400: BadRequestError;
5939
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5540
5940
  };
5541
5941
  export type SyncStealError = SyncStealErrors[keyof SyncStealErrors];
5542
5942
  export type SyncStealResponses = {
@@ -5561,9 +5961,9 @@ export type SyncHistoryListData = {
5561
5961
  };
5562
5962
  export type SyncHistoryListErrors = {
5563
5963
  /**
5564
- * Bad request
5964
+ * BadRequest | InvalidRequestError
5565
5965
  */
5566
- 400: BadRequestError;
5966
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5567
5967
  };
5568
5968
  export type SyncHistoryListError = SyncHistoryListErrors[keyof SyncHistoryListErrors];
5569
5969
  export type SyncHistoryListResponses = {
@@ -5602,9 +6002,13 @@ export type V2SessionListData = {
5602
6002
  };
5603
6003
  export type V2SessionListErrors = {
5604
6004
  /**
5605
- * Bad request
6005
+ * InvalidCursorError | InvalidRequestError
5606
6006
  */
5607
- 400: BadRequestError;
6007
+ 400: InvalidCursorError | InvalidRequestError;
6008
+ /**
6009
+ * UnauthorizedError
6010
+ */
6011
+ 401: UnauthorizedError;
5608
6012
  };
5609
6013
  export type V2SessionListError = V2SessionListErrors[keyof V2SessionListErrors];
5610
6014
  export type V2SessionListResponses = {
@@ -5628,6 +6032,25 @@ export type V2SessionPromptData = {
5628
6032
  };
5629
6033
  url: "/api/session/{sessionID}/prompt";
5630
6034
  };
6035
+ export type V2SessionPromptErrors = {
6036
+ /**
6037
+ * InvalidRequestError
6038
+ */
6039
+ 400: InvalidRequestError;
6040
+ /**
6041
+ * UnauthorizedError
6042
+ */
6043
+ 401: UnauthorizedError;
6044
+ /**
6045
+ * SessionNotFoundError
6046
+ */
6047
+ 404: SessionNotFoundError;
6048
+ /**
6049
+ * ServiceUnavailableError
6050
+ */
6051
+ 503: ServiceUnavailableError;
6052
+ };
6053
+ export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors];
5631
6054
  export type V2SessionPromptResponses = {
5632
6055
  /**
5633
6056
  * Session.Message
@@ -5646,6 +6069,25 @@ export type V2SessionCompactData = {
5646
6069
  };
5647
6070
  url: "/api/session/{sessionID}/compact";
5648
6071
  };
6072
+ export type V2SessionCompactErrors = {
6073
+ /**
6074
+ * InvalidRequestError
6075
+ */
6076
+ 400: InvalidRequestError;
6077
+ /**
6078
+ * UnauthorizedError
6079
+ */
6080
+ 401: UnauthorizedError;
6081
+ /**
6082
+ * SessionNotFoundError
6083
+ */
6084
+ 404: SessionNotFoundError;
6085
+ /**
6086
+ * ServiceUnavailableError
6087
+ */
6088
+ 503: ServiceUnavailableError;
6089
+ };
6090
+ export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors];
5649
6091
  export type V2SessionCompactResponses = {
5650
6092
  /**
5651
6093
  * <No Content>
@@ -5664,6 +6106,25 @@ export type V2SessionWaitData = {
5664
6106
  };
5665
6107
  url: "/api/session/{sessionID}/wait";
5666
6108
  };
6109
+ export type V2SessionWaitErrors = {
6110
+ /**
6111
+ * InvalidRequestError
6112
+ */
6113
+ 400: InvalidRequestError;
6114
+ /**
6115
+ * UnauthorizedError
6116
+ */
6117
+ 401: UnauthorizedError;
6118
+ /**
6119
+ * SessionNotFoundError
6120
+ */
6121
+ 404: SessionNotFoundError;
6122
+ /**
6123
+ * ServiceUnavailableError
6124
+ */
6125
+ 503: ServiceUnavailableError;
6126
+ };
6127
+ export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors];
5667
6128
  export type V2SessionWaitResponses = {
5668
6129
  /**
5669
6130
  * <No Content>
@@ -5682,6 +6143,25 @@ export type V2SessionContextData = {
5682
6143
  };
5683
6144
  url: "/api/session/{sessionID}/context";
5684
6145
  };
6146
+ export type V2SessionContextErrors = {
6147
+ /**
6148
+ * InvalidRequestError
6149
+ */
6150
+ 400: InvalidRequestError;
6151
+ /**
6152
+ * UnauthorizedError
6153
+ */
6154
+ 401: UnauthorizedError;
6155
+ /**
6156
+ * SessionNotFoundError
6157
+ */
6158
+ 404: SessionNotFoundError;
6159
+ /**
6160
+ * UnknownError
6161
+ */
6162
+ 500: UnknownError1;
6163
+ };
6164
+ export type V2SessionContextError = V2SessionContextErrors[keyof V2SessionContextErrors];
5685
6165
  export type V2SessionContextResponses = {
5686
6166
  /**
5687
6167
  * Success
@@ -5708,9 +6188,21 @@ export type V2SessionMessagesData = {
5708
6188
  };
5709
6189
  export type V2SessionMessagesErrors = {
5710
6190
  /**
5711
- * Bad request
6191
+ * InvalidCursorError | InvalidRequestError
5712
6192
  */
5713
- 400: BadRequestError;
6193
+ 400: InvalidCursorError | InvalidRequestError;
6194
+ /**
6195
+ * UnauthorizedError
6196
+ */
6197
+ 401: UnauthorizedError;
6198
+ /**
6199
+ * SessionNotFoundError
6200
+ */
6201
+ 404: SessionNotFoundError;
6202
+ /**
6203
+ * UnknownError
6204
+ */
6205
+ 500: UnknownError1;
5714
6206
  };
5715
6207
  export type V2SessionMessagesError = V2SessionMessagesErrors[keyof V2SessionMessagesErrors];
5716
6208
  export type V2SessionMessagesResponses = {
@@ -5731,6 +6223,21 @@ export type V2ModelListData = {
5731
6223
  };
5732
6224
  url: "/api/model";
5733
6225
  };
6226
+ export type V2ModelListErrors = {
6227
+ /**
6228
+ * InvalidRequestError
6229
+ */
6230
+ 400: InvalidRequestError;
6231
+ /**
6232
+ * UnauthorizedError
6233
+ */
6234
+ 401: UnauthorizedError;
6235
+ /**
6236
+ * ServiceUnavailableError
6237
+ */
6238
+ 503: ServiceUnavailableError;
6239
+ };
6240
+ export type V2ModelListError = V2ModelListErrors[keyof V2ModelListErrors];
5734
6241
  export type V2ModelListResponses = {
5735
6242
  /**
5736
6243
  * Success
@@ -5749,6 +6256,21 @@ export type V2ProviderListData = {
5749
6256
  };
5750
6257
  url: "/api/provider";
5751
6258
  };
6259
+ export type V2ProviderListErrors = {
6260
+ /**
6261
+ * InvalidRequestError
6262
+ */
6263
+ 400: InvalidRequestError;
6264
+ /**
6265
+ * UnauthorizedError
6266
+ */
6267
+ 401: UnauthorizedError;
6268
+ /**
6269
+ * ServiceUnavailableError
6270
+ */
6271
+ 503: ServiceUnavailableError;
6272
+ };
6273
+ export type V2ProviderListError = V2ProviderListErrors[keyof V2ProviderListErrors];
5752
6274
  export type V2ProviderListResponses = {
5753
6275
  /**
5754
6276
  * Success
@@ -5771,9 +6293,21 @@ export type V2ProviderGetData = {
5771
6293
  };
5772
6294
  export type V2ProviderGetErrors = {
5773
6295
  /**
5774
- * NotFoundError
6296
+ * InvalidRequestError
5775
6297
  */
5776
- 404: NotFoundError;
6298
+ 400: InvalidRequestError;
6299
+ /**
6300
+ * UnauthorizedError
6301
+ */
6302
+ 401: UnauthorizedError;
6303
+ /**
6304
+ * ProviderNotFoundError
6305
+ */
6306
+ 404: ProviderNotFoundError;
6307
+ /**
6308
+ * ServiceUnavailableError
6309
+ */
6310
+ 503: ServiceUnavailableError;
5777
6311
  };
5778
6312
  export type V2ProviderGetError = V2ProviderGetErrors[keyof V2ProviderGetErrors];
5779
6313
  export type V2ProviderGetResponses = {
@@ -5796,9 +6330,9 @@ export type TuiAppendPromptData = {
5796
6330
  };
5797
6331
  export type TuiAppendPromptErrors = {
5798
6332
  /**
5799
- * Bad request
6333
+ * BadRequest | InvalidRequestError
5800
6334
  */
5801
- 400: BadRequestError;
6335
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5802
6336
  };
5803
6337
  export type TuiAppendPromptError = TuiAppendPromptErrors[keyof TuiAppendPromptErrors];
5804
6338
  export type TuiAppendPromptResponses = {
@@ -5817,6 +6351,13 @@ export type TuiOpenHelpData = {
5817
6351
  };
5818
6352
  url: "/tui/open-help";
5819
6353
  };
6354
+ export type TuiOpenHelpErrors = {
6355
+ /**
6356
+ * Bad request
6357
+ */
6358
+ 400: BadRequestError;
6359
+ };
6360
+ export type TuiOpenHelpError = TuiOpenHelpErrors[keyof TuiOpenHelpErrors];
5820
6361
  export type TuiOpenHelpResponses = {
5821
6362
  /**
5822
6363
  * Help dialog opened successfully
@@ -5833,6 +6374,13 @@ export type TuiOpenSessionsData = {
5833
6374
  };
5834
6375
  url: "/tui/open-sessions";
5835
6376
  };
6377
+ export type TuiOpenSessionsErrors = {
6378
+ /**
6379
+ * Bad request
6380
+ */
6381
+ 400: BadRequestError;
6382
+ };
6383
+ export type TuiOpenSessionsError = TuiOpenSessionsErrors[keyof TuiOpenSessionsErrors];
5836
6384
  export type TuiOpenSessionsResponses = {
5837
6385
  /**
5838
6386
  * Session dialog opened successfully
@@ -5849,6 +6397,13 @@ export type TuiOpenThemesData = {
5849
6397
  };
5850
6398
  url: "/tui/open-themes";
5851
6399
  };
6400
+ export type TuiOpenThemesErrors = {
6401
+ /**
6402
+ * Bad request
6403
+ */
6404
+ 400: BadRequestError;
6405
+ };
6406
+ export type TuiOpenThemesError = TuiOpenThemesErrors[keyof TuiOpenThemesErrors];
5852
6407
  export type TuiOpenThemesResponses = {
5853
6408
  /**
5854
6409
  * Theme dialog opened successfully
@@ -5865,6 +6420,13 @@ export type TuiOpenModelsData = {
5865
6420
  };
5866
6421
  url: "/tui/open-models";
5867
6422
  };
6423
+ export type TuiOpenModelsErrors = {
6424
+ /**
6425
+ * Bad request
6426
+ */
6427
+ 400: BadRequestError;
6428
+ };
6429
+ export type TuiOpenModelsError = TuiOpenModelsErrors[keyof TuiOpenModelsErrors];
5868
6430
  export type TuiOpenModelsResponses = {
5869
6431
  /**
5870
6432
  * Model dialog opened successfully
@@ -5881,6 +6443,13 @@ export type TuiSubmitPromptData = {
5881
6443
  };
5882
6444
  url: "/tui/submit-prompt";
5883
6445
  };
6446
+ export type TuiSubmitPromptErrors = {
6447
+ /**
6448
+ * Bad request
6449
+ */
6450
+ 400: BadRequestError;
6451
+ };
6452
+ export type TuiSubmitPromptError = TuiSubmitPromptErrors[keyof TuiSubmitPromptErrors];
5884
6453
  export type TuiSubmitPromptResponses = {
5885
6454
  /**
5886
6455
  * Prompt submitted successfully
@@ -5897,6 +6466,13 @@ export type TuiClearPromptData = {
5897
6466
  };
5898
6467
  url: "/tui/clear-prompt";
5899
6468
  };
6469
+ export type TuiClearPromptErrors = {
6470
+ /**
6471
+ * Bad request
6472
+ */
6473
+ 400: BadRequestError;
6474
+ };
6475
+ export type TuiClearPromptError = TuiClearPromptErrors[keyof TuiClearPromptErrors];
5900
6476
  export type TuiClearPromptResponses = {
5901
6477
  /**
5902
6478
  * Prompt cleared successfully
@@ -5917,9 +6493,9 @@ export type TuiExecuteCommandData = {
5917
6493
  };
5918
6494
  export type TuiExecuteCommandErrors = {
5919
6495
  /**
5920
- * Bad request
6496
+ * BadRequest | InvalidRequestError
5921
6497
  */
5922
- 400: BadRequestError;
6498
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5923
6499
  };
5924
6500
  export type TuiExecuteCommandError = TuiExecuteCommandErrors[keyof TuiExecuteCommandErrors];
5925
6501
  export type TuiExecuteCommandResponses = {
@@ -5943,6 +6519,13 @@ export type TuiShowToastData = {
5943
6519
  };
5944
6520
  url: "/tui/show-toast";
5945
6521
  };
6522
+ export type TuiShowToastErrors = {
6523
+ /**
6524
+ * Bad request
6525
+ */
6526
+ 400: BadRequestError;
6527
+ };
6528
+ export type TuiShowToastError = TuiShowToastErrors[keyof TuiShowToastErrors];
5946
6529
  export type TuiShowToastResponses = {
5947
6530
  /**
5948
6531
  * Toast notification shown successfully
@@ -5961,9 +6544,9 @@ export type TuiPublishData = {
5961
6544
  };
5962
6545
  export type TuiPublishErrors = {
5963
6546
  /**
5964
- * Bad request
6547
+ * BadRequest | InvalidRequestError
5965
6548
  */
5966
- 400: BadRequestError;
6549
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5967
6550
  };
5968
6551
  export type TuiPublishError = TuiPublishErrors[keyof TuiPublishErrors];
5969
6552
  export type TuiPublishResponses = {
@@ -5989,9 +6572,9 @@ export type TuiSelectSessionData = {
5989
6572
  };
5990
6573
  export type TuiSelectSessionErrors = {
5991
6574
  /**
5992
- * Bad request
6575
+ * BadRequest | InvalidRequestError
5993
6576
  */
5994
- 400: BadRequestError;
6577
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5995
6578
  /**
5996
6579
  * NotFoundError
5997
6580
  */
@@ -6014,6 +6597,13 @@ export type TuiControlNextData = {
6014
6597
  };
6015
6598
  url: "/tui/control/next";
6016
6599
  };
6600
+ export type TuiControlNextErrors = {
6601
+ /**
6602
+ * Bad request
6603
+ */
6604
+ 400: BadRequestError;
6605
+ };
6606
+ export type TuiControlNextError = TuiControlNextErrors[keyof TuiControlNextErrors];
6017
6607
  export type TuiControlNextResponses = {
6018
6608
  /**
6019
6609
  * Next TUI request
@@ -6033,6 +6623,13 @@ export type TuiControlResponseData = {
6033
6623
  };
6034
6624
  url: "/tui/control/response";
6035
6625
  };
6626
+ export type TuiControlResponseErrors = {
6627
+ /**
6628
+ * Bad request
6629
+ */
6630
+ 400: BadRequestError;
6631
+ };
6632
+ export type TuiControlResponseError = TuiControlResponseErrors[keyof TuiControlResponseErrors];
6036
6633
  export type TuiControlResponseResponses = {
6037
6634
  /**
6038
6635
  * Response submitted successfully
@@ -6049,6 +6646,13 @@ export type ExperimentalWorkspaceAdapterListData = {
6049
6646
  };
6050
6647
  url: "/experimental/workspace/adapter";
6051
6648
  };
6649
+ export type ExperimentalWorkspaceAdapterListErrors = {
6650
+ /**
6651
+ * Bad request
6652
+ */
6653
+ 400: BadRequestError;
6654
+ };
6655
+ export type ExperimentalWorkspaceAdapterListError = ExperimentalWorkspaceAdapterListErrors[keyof ExperimentalWorkspaceAdapterListErrors];
6052
6656
  export type ExperimentalWorkspaceAdapterListResponses = {
6053
6657
  /**
6054
6658
  * Workspace adapters
@@ -6069,6 +6673,13 @@ export type ExperimentalWorkspaceListData = {
6069
6673
  };
6070
6674
  url: "/experimental/workspace";
6071
6675
  };
6676
+ export type ExperimentalWorkspaceListErrors = {
6677
+ /**
6678
+ * Bad request
6679
+ */
6680
+ 400: BadRequestError;
6681
+ };
6682
+ export type ExperimentalWorkspaceListError = ExperimentalWorkspaceListErrors[keyof ExperimentalWorkspaceListErrors];
6072
6683
  export type ExperimentalWorkspaceListResponses = {
6073
6684
  /**
6074
6685
  * Workspaces
@@ -6092,9 +6703,9 @@ export type ExperimentalWorkspaceCreateData = {
6092
6703
  };
6093
6704
  export type ExperimentalWorkspaceCreateErrors = {
6094
6705
  /**
6095
- * Bad request
6706
+ * BadRequest | InvalidRequestError
6096
6707
  */
6097
- 400: BadRequestError;
6708
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6098
6709
  };
6099
6710
  export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
6100
6711
  export type ExperimentalWorkspaceCreateResponses = {
@@ -6113,6 +6724,13 @@ export type ExperimentalWorkspaceSyncListData = {
6113
6724
  };
6114
6725
  url: "/experimental/workspace/sync-list";
6115
6726
  };
6727
+ export type ExperimentalWorkspaceSyncListErrors = {
6728
+ /**
6729
+ * Bad request
6730
+ */
6731
+ 400: BadRequestError;
6732
+ };
6733
+ export type ExperimentalWorkspaceSyncListError = ExperimentalWorkspaceSyncListErrors[keyof ExperimentalWorkspaceSyncListErrors];
6116
6734
  export type ExperimentalWorkspaceSyncListResponses = {
6117
6735
  /**
6118
6736
  * Workspace list synced
@@ -6129,6 +6747,13 @@ export type ExperimentalWorkspaceStatusData = {
6129
6747
  };
6130
6748
  url: "/experimental/workspace/status";
6131
6749
  };
6750
+ export type ExperimentalWorkspaceStatusErrors = {
6751
+ /**
6752
+ * Bad request
6753
+ */
6754
+ 400: BadRequestError;
6755
+ };
6756
+ export type ExperimentalWorkspaceStatusError = ExperimentalWorkspaceStatusErrors[keyof ExperimentalWorkspaceStatusErrors];
6132
6757
  export type ExperimentalWorkspaceStatusResponses = {
6133
6758
  /**
6134
6759
  * Workspace status
@@ -6152,9 +6777,9 @@ export type ExperimentalWorkspaceRemoveData = {
6152
6777
  };
6153
6778
  export type ExperimentalWorkspaceRemoveErrors = {
6154
6779
  /**
6155
- * Bad request
6780
+ * BadRequest | InvalidRequestError
6156
6781
  */
6157
- 400: BadRequestError;
6782
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6158
6783
  };
6159
6784
  export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
6160
6785
  export type ExperimentalWorkspaceRemoveResponses = {
@@ -6179,9 +6804,9 @@ export type ExperimentalWorkspaceWarpData = {
6179
6804
  };
6180
6805
  export type ExperimentalWorkspaceWarpErrors = {
6181
6806
  /**
6182
- * WorkspaceWarpError | VcsApplyError
6807
+ * WorkspaceWarpError | VcsApplyError | InvalidRequestError
6183
6808
  */
6184
- 400: WorkspaceWarpError | VcsApplyError;
6809
+ 400: WorkspaceWarpError | VcsApplyError | InvalidRequestError;
6185
6810
  };
6186
6811
  export type ExperimentalWorkspaceWarpError = ExperimentalWorkspaceWarpErrors[keyof ExperimentalWorkspaceWarpErrors];
6187
6812
  export type ExperimentalWorkspaceWarpResponses = {