@kilocode/sdk 7.3.46 → 7.3.49

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 = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | 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 = EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow1 | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventInstallationUpdated | EventInstallationUpdateAvailable | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | 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";
@@ -185,6 +194,7 @@ export type UnknownError = {
185
194
  name: "UnknownError";
186
195
  data: {
187
196
  message: string;
197
+ ref?: string;
188
198
  };
189
199
  };
190
200
  export type MessageOutputLengthError = {
@@ -694,7 +704,7 @@ export type GlobalEvent = {
694
704
  directory: string;
695
705
  project?: string;
696
706
  workspace?: string;
697
- payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | 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;
707
+ payload: EventServerConnected | EventGlobalDisposed | EventGlobalConfigUpdated | EventTuiPromptAppend | EventTuiCommandExecute | EventTuiToastShow | EventTuiSessionSelect | EventKilocodeAgentManagerStart | EventIndexingStatus | EventIndexingWarning | EventServerInstanceDisposed | EventFileEdited | EventFileWatcherUpdated | EventQuestionAsked | EventQuestionReplied | EventQuestionRejected | EventLspClientDiagnostics | EventLspUpdated | EventMcpToolsChanged | EventMcpBrowserOpenFailed | EventSessionNetworkAsked | EventSessionNetworkReplied | EventSessionNetworkRejected | EventSessionNetworkRestored | EventMessagePartDelta | EventPermissionAsked | EventPermissionReplied | EventBackgroundProcessUpdated | EventBackgroundProcessDeleted | EventSessionTurnOpen | EventSessionTurnClose | EventSessionDiff | EventSessionError | EventTodoUpdated | EventSessionStatus | EventSessionIdle | EventInstallationUpdated | EventInstallationUpdateAvailable | EventSuggestionShown | EventSuggestionAccepted | EventSuggestionDismissed | EventCommandExecuted | EventProjectUpdated | EventSessionCompacted | EventVcsBranchUpdated | EventKiloSessionsRemoteStatusChanged | EventWorkspaceReady | EventWorkspaceFailed | EventWorkspaceStatus | EventWorktreeReady | EventWorktreeFailed | EventPtyCreated | EventPtyUpdated | EventPtyExited | EventPtyDeleted | 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;
698
708
  };
699
709
  /**
700
710
  * Log level
@@ -930,6 +940,7 @@ export type McpOAuthConfig = {
930
940
  clientId?: string;
931
941
  clientSecret?: string;
932
942
  scope?: string;
943
+ callbackPort?: number;
933
944
  redirectUri?: string;
934
945
  };
935
946
  export type McpRemoteConfig = {
@@ -1012,6 +1023,8 @@ export type Config = {
1012
1023
  diff_style?: "unified" | "split";
1013
1024
  };
1014
1025
  terminal_command_display?: "expanded" | "collapsed";
1026
+ code_edit_display?: "expanded" | "collapsed";
1027
+ hide_prompt_training_models?: boolean;
1015
1028
  model?: string;
1016
1029
  small_model?: string;
1017
1030
  subagent_model?: string;
@@ -1210,9 +1223,15 @@ export type Model = {
1210
1223
  export type Provider = {
1211
1224
  id: string;
1212
1225
  name: string;
1226
+ description?: string;
1213
1227
  source: "env" | "config" | "custom" | "api";
1214
1228
  env: Array<string>;
1215
1229
  key?: string;
1230
+ metadata?: {
1231
+ noteKey?: string;
1232
+ icon?: string;
1233
+ priority?: number;
1234
+ };
1216
1235
  options: {
1217
1236
  [key: string]: unknown;
1218
1237
  };
@@ -1235,6 +1254,10 @@ export type ToolListItem = {
1235
1254
  };
1236
1255
  export type ToolList = Array<ToolListItem>;
1237
1256
  export type ToolIds = Array<string>;
1257
+ export type WorktreeListItem = {
1258
+ directory: string;
1259
+ managed: boolean;
1260
+ };
1238
1261
  export type WorktreeError = {
1239
1262
  name: "WorktreeNotGitError" | "WorktreeNameGenerationFailedError" | "WorktreeCreateFailedError" | "WorktreeStartCommandFailedError" | "WorktreeRemoveFailedError" | "WorktreeResetFailedError" | "WorktreeListFailedError";
1240
1263
  data: {
@@ -1473,14 +1496,34 @@ export type McpStatus = McpStatusConnected | McpStatusDisabled | McpStatusFailed
1473
1496
  export type McpUnsupportedOAuthError = {
1474
1497
  error: string;
1475
1498
  };
1476
- export type NotFoundError = {
1477
- name: "NotFoundError";
1478
- data: {
1479
- message: string;
1480
- };
1499
+ export type McpServerNotFoundError = {
1500
+ _tag: "McpServerNotFoundError";
1501
+ name: string;
1502
+ message: string;
1481
1503
  };
1482
- export type EffectHttpApiErrorForbidden = {
1483
- _tag: "Forbidden";
1504
+ export type ProjectNotFoundError = {
1505
+ _tag: "ProjectNotFoundError";
1506
+ projectID: string;
1507
+ message: string;
1508
+ };
1509
+ export type PtyNotFoundError = {
1510
+ _tag: "PtyNotFoundError";
1511
+ ptyID: string;
1512
+ message: string;
1513
+ };
1514
+ export type PtyForbiddenError = {
1515
+ _tag: "PtyForbiddenError";
1516
+ message: string;
1517
+ };
1518
+ export type QuestionNotFoundError = {
1519
+ _tag: "QuestionNotFoundError";
1520
+ requestID: string;
1521
+ message: string;
1522
+ };
1523
+ export type PermissionNotFoundError = {
1524
+ _tag: "PermissionNotFoundError";
1525
+ requestID: string;
1526
+ message: string;
1484
1527
  };
1485
1528
  export type ProviderAuthMethod = {
1486
1529
  type: "oauth" | "api";
@@ -1525,6 +1568,12 @@ export type ProviderAuthError1 = {
1525
1568
  kind?: string;
1526
1569
  };
1527
1570
  };
1571
+ export type NotFoundError = {
1572
+ name: "NotFoundError";
1573
+ data: {
1574
+ message: string;
1575
+ };
1576
+ };
1528
1577
  export type TextPartInput = {
1529
1578
  id?: string;
1530
1579
  type: "text";
@@ -1569,6 +1618,11 @@ export type SubtaskPartInput = {
1569
1618
  };
1570
1619
  command?: string;
1571
1620
  };
1621
+ export type SessionBusyError = {
1622
+ _tag: "SessionBusyError";
1623
+ sessionID: string;
1624
+ message: string;
1625
+ };
1572
1626
  export type V2SessionsResponse = {
1573
1627
  items: Array<SessionInfo>;
1574
1628
  cursor: {
@@ -1576,6 +1630,29 @@ export type V2SessionsResponse = {
1576
1630
  next?: string;
1577
1631
  };
1578
1632
  };
1633
+ export type InvalidCursorError = {
1634
+ _tag: "InvalidCursorError";
1635
+ message: string;
1636
+ };
1637
+ export type UnauthorizedError = {
1638
+ _tag: "UnauthorizedError";
1639
+ message: string;
1640
+ };
1641
+ export type SessionNotFoundError = {
1642
+ _tag: "SessionNotFoundError";
1643
+ sessionID: string;
1644
+ message: string;
1645
+ };
1646
+ export type ServiceUnavailableError = {
1647
+ _tag: "ServiceUnavailableError";
1648
+ message: string;
1649
+ service?: string;
1650
+ };
1651
+ export type UnknownError1 = {
1652
+ _tag: "UnknownError";
1653
+ message: string;
1654
+ ref?: string;
1655
+ };
1579
1656
  export type V2SessionMessagesResponse = {
1580
1657
  items: Array<SessionMessage>;
1581
1658
  cursor: {
@@ -1583,6 +1660,11 @@ export type V2SessionMessagesResponse = {
1583
1660
  next?: string;
1584
1661
  };
1585
1662
  };
1663
+ export type ProviderNotFoundError = {
1664
+ _tag: "ProviderNotFoundError";
1665
+ providerID: string;
1666
+ message: string;
1667
+ };
1586
1668
  export type EventTuiPromptAppend2 = {
1587
1669
  type: "tui.prompt.append";
1588
1670
  properties: {
@@ -1742,6 +1824,10 @@ export type TuiConfigGetResponse = {
1742
1824
  plugin_enabled?: {
1743
1825
  [key: string]: boolean;
1744
1826
  };
1827
+ /**
1828
+ * Status icon style shown in terminal titles
1829
+ */
1830
+ title_icon?: "none" | "unicode" | "emojis";
1745
1831
  scroll_speed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1746
1832
  scroll_acceleration?: {
1747
1833
  enabled: boolean;
@@ -1789,6 +1875,9 @@ export type KilocodeSessionImportResult = {
1789
1875
  id: string;
1790
1876
  skipped?: boolean;
1791
1877
  };
1878
+ export type EffectHttpApiErrorForbidden = {
1879
+ _tag: "Forbidden";
1880
+ };
1792
1881
  export type SyncEventMessageUpdated = {
1793
1882
  type: "sync";
1794
1883
  name: "message.updated.1";
@@ -2527,6 +2616,20 @@ export type EventSessionIdle = {
2527
2616
  sessionID: string;
2528
2617
  };
2529
2618
  };
2619
+ export type EventInstallationUpdated = {
2620
+ id: string;
2621
+ type: "installation.updated";
2622
+ properties: {
2623
+ version: string;
2624
+ };
2625
+ };
2626
+ export type EventInstallationUpdateAvailable = {
2627
+ id: string;
2628
+ type: "installation.update-available";
2629
+ properties: {
2630
+ version: string;
2631
+ };
2632
+ };
2530
2633
  export type EventSuggestionShown = {
2531
2634
  id: string;
2532
2635
  type: "suggestion.shown";
@@ -2663,20 +2766,6 @@ export type EventPtyDeleted = {
2663
2766
  id: string;
2664
2767
  };
2665
2768
  };
2666
- export type EventInstallationUpdated = {
2667
- id: string;
2668
- type: "installation.updated";
2669
- properties: {
2670
- version: string;
2671
- };
2672
- };
2673
- export type EventInstallationUpdateAvailable = {
2674
- id: string;
2675
- type: "installation.update-available";
2676
- properties: {
2677
- version: string;
2678
- };
2679
- };
2680
2769
  export type EventMessageUpdated = {
2681
2770
  id: string;
2682
2771
  type: "message.updated";
@@ -3179,6 +3268,57 @@ export type EventCatalogModelUpdated = {
3179
3268
  model: ModelV2Info;
3180
3269
  };
3181
3270
  };
3271
+ export type EventModelsDevRefreshed = {
3272
+ id: string;
3273
+ type: "models-dev.refreshed";
3274
+ properties: {
3275
+ [key: string]: unknown;
3276
+ };
3277
+ };
3278
+ export type AccountV2oAuthCredential = {
3279
+ type: "oauth";
3280
+ refresh: string;
3281
+ access: string;
3282
+ expires: number;
3283
+ accountId?: string;
3284
+ };
3285
+ export type AccountV2ApiKeyCredential = {
3286
+ type: "api";
3287
+ key: string;
3288
+ metadata?: {
3289
+ [key: string]: string;
3290
+ };
3291
+ };
3292
+ export type AccountV2Credential = AccountV2oAuthCredential | AccountV2ApiKeyCredential;
3293
+ export type AccountV2Info = {
3294
+ id: string;
3295
+ serviceID: string;
3296
+ description: string;
3297
+ credential: AccountV2Credential;
3298
+ };
3299
+ export type EventAccountAdded = {
3300
+ id: string;
3301
+ type: "account.added";
3302
+ properties: {
3303
+ account: AccountV2Info;
3304
+ };
3305
+ };
3306
+ export type EventAccountRemoved = {
3307
+ id: string;
3308
+ type: "account.removed";
3309
+ properties: {
3310
+ account: AccountV2Info;
3311
+ };
3312
+ };
3313
+ export type EventAccountSwitched = {
3314
+ id: string;
3315
+ type: "account.switched";
3316
+ properties: {
3317
+ serviceID: string;
3318
+ from?: string;
3319
+ to?: string;
3320
+ };
3321
+ };
3182
3322
  export type SessionInfo = {
3183
3323
  id: string;
3184
3324
  parentID?: string;
@@ -3393,7 +3533,7 @@ export type ProviderV2Info = {
3393
3533
  via: "env";
3394
3534
  name: string;
3395
3535
  } | {
3396
- via: "auth";
3536
+ via: "account";
3397
3537
  service: string;
3398
3538
  } | {
3399
3539
  via: "custom";
@@ -3558,9 +3698,9 @@ export type AuthRemoveData = {
3558
3698
  };
3559
3699
  export type AuthRemoveErrors = {
3560
3700
  /**
3561
- * Bad request
3701
+ * BadRequest | InvalidRequestError
3562
3702
  */
3563
- 400: BadRequestError;
3703
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3564
3704
  };
3565
3705
  export type AuthRemoveError = AuthRemoveErrors[keyof AuthRemoveErrors];
3566
3706
  export type AuthRemoveResponses = {
@@ -3580,9 +3720,9 @@ export type AuthSetData = {
3580
3720
  };
3581
3721
  export type AuthSetErrors = {
3582
3722
  /**
3583
- * Bad request
3723
+ * BadRequest | InvalidRequestError
3584
3724
  */
3585
- 400: BadRequestError;
3725
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3586
3726
  };
3587
3727
  export type AuthSetError = AuthSetErrors[keyof AuthSetErrors];
3588
3728
  export type AuthSetResponses = {
@@ -3619,9 +3759,9 @@ export type AppLogData = {
3619
3759
  };
3620
3760
  export type AppLogErrors = {
3621
3761
  /**
3622
- * Bad request
3762
+ * BadRequest | InvalidRequestError
3623
3763
  */
3624
- 400: BadRequestError;
3764
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3625
3765
  };
3626
3766
  export type AppLogError = AppLogErrors[keyof AppLogErrors];
3627
3767
  export type AppLogResponses = {
@@ -3637,6 +3777,13 @@ export type GlobalHealthData = {
3637
3777
  query?: never;
3638
3778
  url: "/global/health";
3639
3779
  };
3780
+ export type GlobalHealthErrors = {
3781
+ /**
3782
+ * Bad request
3783
+ */
3784
+ 400: BadRequestError;
3785
+ };
3786
+ export type GlobalHealthError = GlobalHealthErrors[keyof GlobalHealthErrors];
3640
3787
  export type GlobalHealthResponses = {
3641
3788
  /**
3642
3789
  * Health information
@@ -3653,6 +3800,13 @@ export type GlobalEventData = {
3653
3800
  query?: never;
3654
3801
  url: "/global/event";
3655
3802
  };
3803
+ export type GlobalEventErrors = {
3804
+ /**
3805
+ * Bad request
3806
+ */
3807
+ 400: BadRequestError;
3808
+ };
3809
+ export type GlobalEventError = GlobalEventErrors[keyof GlobalEventErrors];
3656
3810
  export type GlobalEventResponses = {
3657
3811
  /**
3658
3812
  * Event stream
@@ -3666,6 +3820,13 @@ export type GlobalConfigGetData = {
3666
3820
  query?: never;
3667
3821
  url: "/global/config";
3668
3822
  };
3823
+ export type GlobalConfigGetErrors = {
3824
+ /**
3825
+ * Bad request
3826
+ */
3827
+ 400: BadRequestError;
3828
+ };
3829
+ export type GlobalConfigGetError = GlobalConfigGetErrors[keyof GlobalConfigGetErrors];
3669
3830
  export type GlobalConfigGetResponses = {
3670
3831
  /**
3671
3832
  * Get global config info
@@ -3681,9 +3842,9 @@ export type GlobalConfigUpdateData = {
3681
3842
  };
3682
3843
  export type GlobalConfigUpdateErrors = {
3683
3844
  /**
3684
- * Bad request
3845
+ * BadRequest | InvalidRequestError
3685
3846
  */
3686
- 400: BadRequestError;
3847
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3687
3848
  };
3688
3849
  export type GlobalConfigUpdateError = GlobalConfigUpdateErrors[keyof GlobalConfigUpdateErrors];
3689
3850
  export type GlobalConfigUpdateResponses = {
@@ -3699,6 +3860,13 @@ export type GlobalDisposeData = {
3699
3860
  query?: never;
3700
3861
  url: "/global/dispose";
3701
3862
  };
3863
+ export type GlobalDisposeErrors = {
3864
+ /**
3865
+ * Bad request
3866
+ */
3867
+ 400: BadRequestError;
3868
+ };
3869
+ export type GlobalDisposeError = GlobalDisposeErrors[keyof GlobalDisposeErrors];
3702
3870
  export type GlobalDisposeResponses = {
3703
3871
  /**
3704
3872
  * Global disposed
@@ -3716,9 +3884,9 @@ export type GlobalUpgradeData = {
3716
3884
  };
3717
3885
  export type GlobalUpgradeErrors = {
3718
3886
  /**
3719
- * Bad request
3887
+ * BadRequest | InvalidRequestError
3720
3888
  */
3721
- 400: BadRequestError;
3889
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3722
3890
  };
3723
3891
  export type GlobalUpgradeError = GlobalUpgradeErrors[keyof GlobalUpgradeErrors];
3724
3892
  export type GlobalUpgradeResponses = {
@@ -3759,6 +3927,13 @@ export type ConfigGetData = {
3759
3927
  };
3760
3928
  url: "/config";
3761
3929
  };
3930
+ export type ConfigGetErrors = {
3931
+ /**
3932
+ * Bad request
3933
+ */
3934
+ 400: BadRequestError;
3935
+ };
3936
+ export type ConfigGetError = ConfigGetErrors[keyof ConfigGetErrors];
3762
3937
  export type ConfigGetResponses = {
3763
3938
  /**
3764
3939
  * Get config info
@@ -3777,9 +3952,9 @@ export type ConfigUpdateData = {
3777
3952
  };
3778
3953
  export type ConfigUpdateErrors = {
3779
3954
  /**
3780
- * Bad request
3955
+ * BadRequest | InvalidRequestError
3781
3956
  */
3782
- 400: BadRequestError;
3957
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3783
3958
  };
3784
3959
  export type ConfigUpdateError = ConfigUpdateErrors[keyof ConfigUpdateErrors];
3785
3960
  export type ConfigUpdateResponses = {
@@ -3798,6 +3973,13 @@ export type ConfigWarningsData = {
3798
3973
  };
3799
3974
  url: "/config/warnings";
3800
3975
  };
3976
+ export type ConfigWarningsErrors = {
3977
+ /**
3978
+ * Bad request
3979
+ */
3980
+ 400: BadRequestError;
3981
+ };
3982
+ export type ConfigWarningsError = ConfigWarningsErrors[keyof ConfigWarningsErrors];
3801
3983
  export type ConfigWarningsResponses = {
3802
3984
  /**
3803
3985
  * Config warnings
@@ -3818,6 +4000,13 @@ export type ConfigProvidersData = {
3818
4000
  };
3819
4001
  url: "/config/providers";
3820
4002
  };
4003
+ export type ConfigProvidersErrors = {
4004
+ /**
4005
+ * Bad request
4006
+ */
4007
+ 400: BadRequestError;
4008
+ };
4009
+ export type ConfigProvidersError = ConfigProvidersErrors[keyof ConfigProvidersErrors];
3821
4010
  export type ConfigProvidersResponses = {
3822
4011
  /**
3823
4012
  * List of providers
@@ -3840,6 +4029,10 @@ export type ExperimentalConsoleGetData = {
3840
4029
  url: "/experimental/console";
3841
4030
  };
3842
4031
  export type ExperimentalConsoleGetErrors = {
4032
+ /**
4033
+ * Bad request
4034
+ */
4035
+ 400: BadRequestError;
3843
4036
  /**
3844
4037
  * InternalServerError
3845
4038
  */
@@ -3863,6 +4056,10 @@ export type ExperimentalConsoleListOrgsData = {
3863
4056
  url: "/experimental/console/orgs";
3864
4057
  };
3865
4058
  export type ExperimentalConsoleListOrgsErrors = {
4059
+ /**
4060
+ * Bad request
4061
+ */
4062
+ 400: BadRequestError;
3866
4063
  /**
3867
4064
  * InternalServerError
3868
4065
  */
@@ -3917,9 +4114,9 @@ export type ToolListData = {
3917
4114
  };
3918
4115
  export type ToolListErrors = {
3919
4116
  /**
3920
- * Bad request
4117
+ * BadRequest | InvalidRequestError
3921
4118
  */
3922
- 400: BadRequestError;
4119
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3923
4120
  };
3924
4121
  export type ToolListError = ToolListErrors[keyof ToolListErrors];
3925
4122
  export type ToolListResponses = {
@@ -3940,9 +4137,9 @@ export type ToolIdsData = {
3940
4137
  };
3941
4138
  export type ToolIdsErrors = {
3942
4139
  /**
3943
- * Bad request
4140
+ * BadRequest | InvalidRequestError
3944
4141
  */
3945
- 400: BadRequestError;
4142
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
3946
4143
  };
3947
4144
  export type ToolIdsError = ToolIdsErrors[keyof ToolIdsErrors];
3948
4145
  export type ToolIdsResponses = {
@@ -3963,9 +4160,9 @@ export type WorktreeRemoveData = {
3963
4160
  };
3964
4161
  export type WorktreeRemoveErrors = {
3965
4162
  /**
3966
- * WorktreeError
4163
+ * WorktreeError | InvalidRequestError
3967
4164
  */
3968
- 400: WorktreeError;
4165
+ 400: WorktreeError | InvalidRequestError;
3969
4166
  };
3970
4167
  export type WorktreeRemoveError = WorktreeRemoveErrors[keyof WorktreeRemoveErrors];
3971
4168
  export type WorktreeRemoveResponses = {
@@ -3986,16 +4183,16 @@ export type WorktreeListData = {
3986
4183
  };
3987
4184
  export type WorktreeListErrors = {
3988
4185
  /**
3989
- * WorktreeError
4186
+ * WorktreeError | InvalidRequestError
3990
4187
  */
3991
- 400: WorktreeError;
4188
+ 400: WorktreeError | InvalidRequestError;
3992
4189
  };
3993
4190
  export type WorktreeListError = WorktreeListErrors[keyof WorktreeListErrors];
3994
4191
  export type WorktreeListResponses = {
3995
4192
  /**
3996
- * List of worktree directories
4193
+ * List of worktrees
3997
4194
  */
3998
- 200: Array<string>;
4195
+ 200: Array<WorktreeListItem>;
3999
4196
  };
4000
4197
  export type WorktreeListResponse = WorktreeListResponses[keyof WorktreeListResponses];
4001
4198
  export type WorktreeCreateData = {
@@ -4009,9 +4206,9 @@ export type WorktreeCreateData = {
4009
4206
  };
4010
4207
  export type WorktreeCreateErrors = {
4011
4208
  /**
4012
- * WorktreeError
4209
+ * WorktreeError | InvalidRequestError
4013
4210
  */
4014
- 400: WorktreeError;
4211
+ 400: WorktreeError | InvalidRequestError;
4015
4212
  };
4016
4213
  export type WorktreeCreateError = WorktreeCreateErrors[keyof WorktreeCreateErrors];
4017
4214
  export type WorktreeCreateResponses = {
@@ -4032,9 +4229,9 @@ export type WorktreeResetData = {
4032
4229
  };
4033
4230
  export type WorktreeResetErrors = {
4034
4231
  /**
4035
- * WorktreeError
4232
+ * WorktreeError | InvalidRequestError
4036
4233
  */
4037
- 400: WorktreeError;
4234
+ 400: WorktreeError | InvalidRequestError;
4038
4235
  };
4039
4236
  export type WorktreeResetError = WorktreeResetErrors[keyof WorktreeResetErrors];
4040
4237
  export type WorktreeResetResponses = {
@@ -4056,9 +4253,9 @@ export type WorktreeDiffData = {
4056
4253
  };
4057
4254
  export type WorktreeDiffErrors = {
4058
4255
  /**
4059
- * Bad request
4256
+ * BadRequest | InvalidRequestError
4060
4257
  */
4061
- 400: BadRequestError;
4258
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4062
4259
  };
4063
4260
  export type WorktreeDiffError = WorktreeDiffErrors[keyof WorktreeDiffErrors];
4064
4261
  export type WorktreeDiffResponses = {
@@ -4080,9 +4277,9 @@ export type WorktreeDiffSummaryData = {
4080
4277
  };
4081
4278
  export type WorktreeDiffSummaryErrors = {
4082
4279
  /**
4083
- * Bad request
4280
+ * BadRequest | InvalidRequestError
4084
4281
  */
4085
- 400: BadRequestError;
4282
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4086
4283
  };
4087
4284
  export type WorktreeDiffSummaryError = WorktreeDiffSummaryErrors[keyof WorktreeDiffSummaryErrors];
4088
4285
  export type WorktreeDiffSummaryResponses = {
@@ -4105,9 +4302,9 @@ export type WorktreeDiffFileData = {
4105
4302
  };
4106
4303
  export type WorktreeDiffFileErrors = {
4107
4304
  /**
4108
- * Bad request
4305
+ * BadRequest | InvalidRequestError
4109
4306
  */
4110
- 400: BadRequestError;
4307
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4111
4308
  };
4112
4309
  export type WorktreeDiffFileError = WorktreeDiffFileErrors[keyof WorktreeDiffFileErrors];
4113
4310
  export type WorktreeDiffFileResponses = {
@@ -4125,6 +4322,7 @@ export type ExperimentalSessionListData = {
4125
4322
  workspace?: string;
4126
4323
  projectID?: string;
4127
4324
  worktrees?: boolean;
4325
+ current?: "true" | "false";
4128
4326
  roots?: boolean | "true" | "false";
4129
4327
  start?: number;
4130
4328
  cursor?: number;
@@ -4134,6 +4332,13 @@ export type ExperimentalSessionListData = {
4134
4332
  };
4135
4333
  url: "/experimental/session";
4136
4334
  };
4335
+ export type ExperimentalSessionListErrors = {
4336
+ /**
4337
+ * Bad request
4338
+ */
4339
+ 400: BadRequestError;
4340
+ };
4341
+ export type ExperimentalSessionListError = ExperimentalSessionListErrors[keyof ExperimentalSessionListErrors];
4137
4342
  export type ExperimentalSessionListResponses = {
4138
4343
  /**
4139
4344
  * List of sessions
@@ -4150,6 +4355,13 @@ export type ExperimentalResourceListData = {
4150
4355
  };
4151
4356
  url: "/experimental/resource";
4152
4357
  };
4358
+ export type ExperimentalResourceListErrors = {
4359
+ /**
4360
+ * Bad request
4361
+ */
4362
+ 400: BadRequestError;
4363
+ };
4364
+ export type ExperimentalResourceListError = ExperimentalResourceListErrors[keyof ExperimentalResourceListErrors];
4153
4365
  export type ExperimentalResourceListResponses = {
4154
4366
  /**
4155
4367
  * MCP resources
@@ -4169,6 +4381,13 @@ export type FindTextData = {
4169
4381
  };
4170
4382
  url: "/find";
4171
4383
  };
4384
+ export type FindTextErrors = {
4385
+ /**
4386
+ * Bad request
4387
+ */
4388
+ 400: BadRequestError;
4389
+ };
4390
+ export type FindTextError = FindTextErrors[keyof FindTextErrors];
4172
4391
  export type FindTextResponses = {
4173
4392
  /**
4174
4393
  * Matches
@@ -4205,6 +4424,13 @@ export type FindFilesData = {
4205
4424
  };
4206
4425
  url: "/find/file";
4207
4426
  };
4427
+ export type FindFilesErrors = {
4428
+ /**
4429
+ * Bad request
4430
+ */
4431
+ 400: BadRequestError;
4432
+ };
4433
+ export type FindFilesError = FindFilesErrors[keyof FindFilesErrors];
4208
4434
  export type FindFilesResponses = {
4209
4435
  /**
4210
4436
  * File paths
@@ -4222,6 +4448,13 @@ export type FindSymbolsData = {
4222
4448
  };
4223
4449
  url: "/find/symbol";
4224
4450
  };
4451
+ export type FindSymbolsErrors = {
4452
+ /**
4453
+ * Bad request
4454
+ */
4455
+ 400: BadRequestError;
4456
+ };
4457
+ export type FindSymbolsError = FindSymbolsErrors[keyof FindSymbolsErrors];
4225
4458
  export type FindSymbolsResponses = {
4226
4459
  /**
4227
4460
  * Symbols
@@ -4239,6 +4472,13 @@ export type FileListData = {
4239
4472
  };
4240
4473
  url: "/file";
4241
4474
  };
4475
+ export type FileListErrors = {
4476
+ /**
4477
+ * Bad request
4478
+ */
4479
+ 400: BadRequestError;
4480
+ };
4481
+ export type FileListError = FileListErrors[keyof FileListErrors];
4242
4482
  export type FileListResponses = {
4243
4483
  /**
4244
4484
  * Files and directories
@@ -4256,6 +4496,13 @@ export type FileReadData = {
4256
4496
  };
4257
4497
  url: "/file/content";
4258
4498
  };
4499
+ export type FileReadErrors = {
4500
+ /**
4501
+ * Bad request
4502
+ */
4503
+ 400: BadRequestError;
4504
+ };
4505
+ export type FileReadError = FileReadErrors[keyof FileReadErrors];
4259
4506
  export type FileReadResponses = {
4260
4507
  /**
4261
4508
  * File content
@@ -4272,6 +4519,13 @@ export type FileStatusData = {
4272
4519
  };
4273
4520
  url: "/file/status";
4274
4521
  };
4522
+ export type FileStatusErrors = {
4523
+ /**
4524
+ * Bad request
4525
+ */
4526
+ 400: BadRequestError;
4527
+ };
4528
+ export type FileStatusError = FileStatusErrors[keyof FileStatusErrors];
4275
4529
  export type FileStatusResponses = {
4276
4530
  /**
4277
4531
  * File status
@@ -4288,6 +4542,13 @@ export type InstanceDisposeData = {
4288
4542
  };
4289
4543
  url: "/instance/dispose";
4290
4544
  };
4545
+ export type InstanceDisposeErrors = {
4546
+ /**
4547
+ * Bad request
4548
+ */
4549
+ 400: BadRequestError;
4550
+ };
4551
+ export type InstanceDisposeError = InstanceDisposeErrors[keyof InstanceDisposeErrors];
4291
4552
  export type InstanceDisposeResponses = {
4292
4553
  /**
4293
4554
  * Instance disposed
@@ -4304,6 +4565,13 @@ export type PathGetData = {
4304
4565
  };
4305
4566
  url: "/path";
4306
4567
  };
4568
+ export type PathGetErrors = {
4569
+ /**
4570
+ * Bad request
4571
+ */
4572
+ 400: BadRequestError;
4573
+ };
4574
+ export type PathGetError = PathGetErrors[keyof PathGetErrors];
4307
4575
  export type PathGetResponses = {
4308
4576
  /**
4309
4577
  * Path
@@ -4320,6 +4588,13 @@ export type VcsGetData = {
4320
4588
  };
4321
4589
  url: "/vcs";
4322
4590
  };
4591
+ export type VcsGetErrors = {
4592
+ /**
4593
+ * Bad request
4594
+ */
4595
+ 400: BadRequestError;
4596
+ };
4597
+ export type VcsGetError = VcsGetErrors[keyof VcsGetErrors];
4323
4598
  export type VcsGetResponses = {
4324
4599
  /**
4325
4600
  * VCS info
@@ -4336,6 +4611,13 @@ export type VcsStatusData = {
4336
4611
  };
4337
4612
  url: "/vcs/status";
4338
4613
  };
4614
+ export type VcsStatusErrors = {
4615
+ /**
4616
+ * Bad request
4617
+ */
4618
+ 400: BadRequestError;
4619
+ };
4620
+ export type VcsStatusError = VcsStatusErrors[keyof VcsStatusErrors];
4339
4621
  export type VcsStatusResponses = {
4340
4622
  /**
4341
4623
  * VCS status
@@ -4350,9 +4632,17 @@ export type VcsDiffData = {
4350
4632
  directory?: string;
4351
4633
  workspace?: string;
4352
4634
  mode: "git" | "branch";
4635
+ context?: number;
4353
4636
  };
4354
4637
  url: "/vcs/diff";
4355
4638
  };
4639
+ export type VcsDiffErrors = {
4640
+ /**
4641
+ * Bad request
4642
+ */
4643
+ 400: BadRequestError;
4644
+ };
4645
+ export type VcsDiffError = VcsDiffErrors[keyof VcsDiffErrors];
4356
4646
  export type VcsDiffResponses = {
4357
4647
  /**
4358
4648
  * VCS diff
@@ -4369,6 +4659,13 @@ export type VcsDiffRawData = {
4369
4659
  };
4370
4660
  url: "/vcs/diff/raw";
4371
4661
  };
4662
+ export type VcsDiffRawErrors = {
4663
+ /**
4664
+ * Bad request
4665
+ */
4666
+ 400: BadRequestError;
4667
+ };
4668
+ export type VcsDiffRawError = VcsDiffRawErrors[keyof VcsDiffRawErrors];
4372
4669
  export type VcsDiffRawResponses = {
4373
4670
  /**
4374
4671
  * Raw VCS diff
@@ -4389,9 +4686,9 @@ export type VcsApplyData = {
4389
4686
  };
4390
4687
  export type VcsApplyErrors = {
4391
4688
  /**
4392
- * VcsApplyError
4689
+ * VcsApplyError | InvalidRequestError
4393
4690
  */
4394
- 400: VcsApplyError;
4691
+ 400: VcsApplyError | InvalidRequestError;
4395
4692
  };
4396
4693
  export type VcsApplyError2 = VcsApplyErrors[keyof VcsApplyErrors];
4397
4694
  export type VcsApplyResponses = {
@@ -4412,9 +4709,16 @@ export type CommandListData = {
4412
4709
  };
4413
4710
  url: "/command";
4414
4711
  };
4415
- export type CommandListResponses = {
4712
+ export type CommandListErrors = {
4416
4713
  /**
4417
- * List of commands
4714
+ * Bad request
4715
+ */
4716
+ 400: BadRequestError;
4717
+ };
4718
+ export type CommandListError = CommandListErrors[keyof CommandListErrors];
4719
+ export type CommandListResponses = {
4720
+ /**
4721
+ * List of commands
4418
4722
  */
4419
4723
  200: Array<Command>;
4420
4724
  };
@@ -4428,6 +4732,13 @@ export type AppAgentsData = {
4428
4732
  };
4429
4733
  url: "/agent";
4430
4734
  };
4735
+ export type AppAgentsErrors = {
4736
+ /**
4737
+ * Bad request
4738
+ */
4739
+ 400: BadRequestError;
4740
+ };
4741
+ export type AppAgentsError = AppAgentsErrors[keyof AppAgentsErrors];
4431
4742
  export type AppAgentsResponses = {
4432
4743
  /**
4433
4744
  * List of agents
@@ -4444,6 +4755,13 @@ export type AppSkillsData = {
4444
4755
  };
4445
4756
  url: "/skill";
4446
4757
  };
4758
+ export type AppSkillsErrors = {
4759
+ /**
4760
+ * Bad request
4761
+ */
4762
+ 400: BadRequestError;
4763
+ };
4764
+ export type AppSkillsError = AppSkillsErrors[keyof AppSkillsErrors];
4447
4765
  export type AppSkillsResponses = {
4448
4766
  /**
4449
4767
  * List of skills
@@ -4465,6 +4783,13 @@ export type LspStatusData = {
4465
4783
  };
4466
4784
  url: "/lsp";
4467
4785
  };
4786
+ export type LspStatusErrors = {
4787
+ /**
4788
+ * Bad request
4789
+ */
4790
+ 400: BadRequestError;
4791
+ };
4792
+ export type LspStatusError = LspStatusErrors[keyof LspStatusErrors];
4468
4793
  export type LspStatusResponses = {
4469
4794
  /**
4470
4795
  * LSP server status
@@ -4481,6 +4806,13 @@ export type FormatterStatusData = {
4481
4806
  };
4482
4807
  url: "/formatter";
4483
4808
  };
4809
+ export type FormatterStatusErrors = {
4810
+ /**
4811
+ * Bad request
4812
+ */
4813
+ 400: BadRequestError;
4814
+ };
4815
+ export type FormatterStatusError = FormatterStatusErrors[keyof FormatterStatusErrors];
4484
4816
  export type FormatterStatusResponses = {
4485
4817
  /**
4486
4818
  * Formatter status
@@ -4497,6 +4829,13 @@ export type McpStatusData = {
4497
4829
  };
4498
4830
  url: "/mcp";
4499
4831
  };
4832
+ export type McpStatusErrors = {
4833
+ /**
4834
+ * Bad request
4835
+ */
4836
+ 400: BadRequestError;
4837
+ };
4838
+ export type McpStatusError = McpStatusErrors[keyof McpStatusErrors];
4500
4839
  export type McpStatusResponses = {
4501
4840
  /**
4502
4841
  * MCP server status
@@ -4520,9 +4859,9 @@ export type McpAddData = {
4520
4859
  };
4521
4860
  export type McpAddErrors = {
4522
4861
  /**
4523
- * Bad request
4862
+ * BadRequest | InvalidRequestError
4524
4863
  */
4525
- 400: BadRequestError;
4864
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4526
4865
  };
4527
4866
  export type McpAddError = McpAddErrors[keyof McpAddErrors];
4528
4867
  export type McpAddResponses = {
@@ -4547,9 +4886,13 @@ export type McpAuthRemoveData = {
4547
4886
  };
4548
4887
  export type McpAuthRemoveErrors = {
4549
4888
  /**
4550
- * Not found
4889
+ * Bad request
4551
4890
  */
4552
- 404: NotFoundError;
4891
+ 400: BadRequestError;
4892
+ /**
4893
+ * McpServerNotFoundError
4894
+ */
4895
+ 404: McpServerNotFoundError;
4553
4896
  };
4554
4897
  export type McpAuthRemoveError = McpAuthRemoveErrors[keyof McpAuthRemoveErrors];
4555
4898
  export type McpAuthRemoveResponses = {
@@ -4574,13 +4917,13 @@ export type McpAuthStartData = {
4574
4917
  };
4575
4918
  export type McpAuthStartErrors = {
4576
4919
  /**
4577
- * McpUnsupportedOAuthError
4920
+ * McpUnsupportedOAuthError | InvalidRequestError
4578
4921
  */
4579
- 400: McpUnsupportedOAuthError;
4922
+ 400: McpUnsupportedOAuthError | InvalidRequestError;
4580
4923
  /**
4581
- * Not found
4924
+ * McpServerNotFoundError
4582
4925
  */
4583
- 404: NotFoundError;
4926
+ 404: McpServerNotFoundError;
4584
4927
  };
4585
4928
  export type McpAuthStartError = McpAuthStartErrors[keyof McpAuthStartErrors];
4586
4929
  export type McpAuthStartResponses = {
@@ -4608,13 +4951,13 @@ export type McpAuthCallbackData = {
4608
4951
  };
4609
4952
  export type McpAuthCallbackErrors = {
4610
4953
  /**
4611
- * Bad request
4954
+ * BadRequest | InvalidRequestError
4612
4955
  */
4613
- 400: BadRequestError;
4956
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4614
4957
  /**
4615
- * Not found
4958
+ * McpServerNotFoundError
4616
4959
  */
4617
- 404: NotFoundError;
4960
+ 404: McpServerNotFoundError;
4618
4961
  };
4619
4962
  export type McpAuthCallbackError = McpAuthCallbackErrors[keyof McpAuthCallbackErrors];
4620
4963
  export type McpAuthCallbackResponses = {
@@ -4637,13 +4980,13 @@ export type McpAuthAuthenticateData = {
4637
4980
  };
4638
4981
  export type McpAuthAuthenticateErrors = {
4639
4982
  /**
4640
- * McpUnsupportedOAuthError
4983
+ * McpUnsupportedOAuthError | InvalidRequestError
4641
4984
  */
4642
- 400: McpUnsupportedOAuthError;
4985
+ 400: McpUnsupportedOAuthError | InvalidRequestError;
4643
4986
  /**
4644
- * Not found
4987
+ * McpServerNotFoundError
4645
4988
  */
4646
- 404: NotFoundError;
4989
+ 404: McpServerNotFoundError;
4647
4990
  };
4648
4991
  export type McpAuthAuthenticateError = McpAuthAuthenticateErrors[keyof McpAuthAuthenticateErrors];
4649
4992
  export type McpAuthAuthenticateResponses = {
@@ -4664,6 +5007,17 @@ export type McpConnectData = {
4664
5007
  };
4665
5008
  url: "/mcp/{name}/connect";
4666
5009
  };
5010
+ export type McpConnectErrors = {
5011
+ /**
5012
+ * Bad request
5013
+ */
5014
+ 400: BadRequestError;
5015
+ /**
5016
+ * McpServerNotFoundError
5017
+ */
5018
+ 404: McpServerNotFoundError;
5019
+ };
5020
+ export type McpConnectError = McpConnectErrors[keyof McpConnectErrors];
4667
5021
  export type McpConnectResponses = {
4668
5022
  /**
4669
5023
  * MCP server connected successfully
@@ -4682,6 +5036,17 @@ export type McpDisconnectData = {
4682
5036
  };
4683
5037
  url: "/mcp/{name}/disconnect";
4684
5038
  };
5039
+ export type McpDisconnectErrors = {
5040
+ /**
5041
+ * Bad request
5042
+ */
5043
+ 400: BadRequestError;
5044
+ /**
5045
+ * McpServerNotFoundError
5046
+ */
5047
+ 404: McpServerNotFoundError;
5048
+ };
5049
+ export type McpDisconnectError = McpDisconnectErrors[keyof McpDisconnectErrors];
4685
5050
  export type McpDisconnectResponses = {
4686
5051
  /**
4687
5052
  * MCP server disconnected successfully
@@ -4698,6 +5063,13 @@ export type ProjectListData = {
4698
5063
  };
4699
5064
  url: "/project";
4700
5065
  };
5066
+ export type ProjectListErrors = {
5067
+ /**
5068
+ * Bad request
5069
+ */
5070
+ 400: BadRequestError;
5071
+ };
5072
+ export type ProjectListError = ProjectListErrors[keyof ProjectListErrors];
4701
5073
  export type ProjectListResponses = {
4702
5074
  /**
4703
5075
  * List of projects
@@ -4714,6 +5086,13 @@ export type ProjectCurrentData = {
4714
5086
  };
4715
5087
  url: "/project/current";
4716
5088
  };
5089
+ export type ProjectCurrentErrors = {
5090
+ /**
5091
+ * Bad request
5092
+ */
5093
+ 400: BadRequestError;
5094
+ };
5095
+ export type ProjectCurrentError = ProjectCurrentErrors[keyof ProjectCurrentErrors];
4717
5096
  export type ProjectCurrentResponses = {
4718
5097
  /**
4719
5098
  * Current project information
@@ -4730,6 +5109,13 @@ export type ProjectInitGitData = {
4730
5109
  };
4731
5110
  url: "/project/git/init";
4732
5111
  };
5112
+ export type ProjectInitGitErrors = {
5113
+ /**
5114
+ * Bad request
5115
+ */
5116
+ 400: BadRequestError;
5117
+ };
5118
+ export type ProjectInitGitError = ProjectInitGitErrors[keyof ProjectInitGitErrors];
4733
5119
  export type ProjectInitGitResponses = {
4734
5120
  /**
4735
5121
  * Project information after git initialization
@@ -4763,13 +5149,13 @@ export type ProjectUpdateData = {
4763
5149
  };
4764
5150
  export type ProjectUpdateErrors = {
4765
5151
  /**
4766
- * Bad request
5152
+ * BadRequest | InvalidRequestError
4767
5153
  */
4768
- 400: BadRequestError;
5154
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4769
5155
  /**
4770
- * Not found
5156
+ * ProjectNotFoundError
4771
5157
  */
4772
- 404: NotFoundError;
5158
+ 404: ProjectNotFoundError;
4773
5159
  };
4774
5160
  export type ProjectUpdateError = ProjectUpdateErrors[keyof ProjectUpdateErrors];
4775
5161
  export type ProjectUpdateResponses = {
@@ -4788,6 +5174,13 @@ export type PtyShellsData = {
4788
5174
  };
4789
5175
  url: "/pty/shells";
4790
5176
  };
5177
+ export type PtyShellsErrors = {
5178
+ /**
5179
+ * Bad request
5180
+ */
5181
+ 400: BadRequestError;
5182
+ };
5183
+ export type PtyShellsError = PtyShellsErrors[keyof PtyShellsErrors];
4791
5184
  export type PtyShellsResponses = {
4792
5185
  /**
4793
5186
  * List of shells
@@ -4808,6 +5201,13 @@ export type PtyListData = {
4808
5201
  };
4809
5202
  url: "/pty";
4810
5203
  };
5204
+ export type PtyListErrors = {
5205
+ /**
5206
+ * Bad request
5207
+ */
5208
+ 400: BadRequestError;
5209
+ };
5210
+ export type PtyListError = PtyListErrors[keyof PtyListErrors];
4811
5211
  export type PtyListResponses = {
4812
5212
  /**
4813
5213
  * List of sessions
@@ -4834,9 +5234,9 @@ export type PtyCreateData = {
4834
5234
  };
4835
5235
  export type PtyCreateErrors = {
4836
5236
  /**
4837
- * Bad request
5237
+ * BadRequest | InvalidRequestError
4838
5238
  */
4839
- 400: BadRequestError;
5239
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
4840
5240
  };
4841
5241
  export type PtyCreateError = PtyCreateErrors[keyof PtyCreateErrors];
4842
5242
  export type PtyCreateResponses = {
@@ -4859,9 +5259,13 @@ export type PtyRemoveData = {
4859
5259
  };
4860
5260
  export type PtyRemoveErrors = {
4861
5261
  /**
4862
- * NotFoundError
5262
+ * Bad request
4863
5263
  */
4864
- 404: NotFoundError;
5264
+ 400: BadRequestError;
5265
+ /**
5266
+ * PtyNotFoundError
5267
+ */
5268
+ 404: PtyNotFoundError;
4865
5269
  };
4866
5270
  export type PtyRemoveError = PtyRemoveErrors[keyof PtyRemoveErrors];
4867
5271
  export type PtyRemoveResponses = {
@@ -4884,9 +5288,13 @@ export type PtyGetData = {
4884
5288
  };
4885
5289
  export type PtyGetErrors = {
4886
5290
  /**
4887
- * NotFoundError
5291
+ * Bad request
4888
5292
  */
4889
- 404: NotFoundError;
5293
+ 400: BadRequestError;
5294
+ /**
5295
+ * PtyNotFoundError
5296
+ */
5297
+ 404: PtyNotFoundError;
4890
5298
  };
4891
5299
  export type PtyGetError = PtyGetErrors[keyof PtyGetErrors];
4892
5300
  export type PtyGetResponses = {
@@ -4916,9 +5324,13 @@ export type PtyUpdateData = {
4916
5324
  };
4917
5325
  export type PtyUpdateErrors = {
4918
5326
  /**
4919
- * Bad request
5327
+ * BadRequest | InvalidRequestError
4920
5328
  */
4921
- 400: BadRequestError;
5329
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5330
+ /**
5331
+ * PtyNotFoundError
5332
+ */
5333
+ 404: PtyNotFoundError;
4922
5334
  };
4923
5335
  export type PtyUpdateError = PtyUpdateErrors[keyof PtyUpdateErrors];
4924
5336
  export type PtyUpdateResponses = {
@@ -4941,13 +5353,17 @@ export type PtyConnectTokenData = {
4941
5353
  };
4942
5354
  export type PtyConnectTokenErrors = {
4943
5355
  /**
4944
- * Forbidden
5356
+ * Bad request
4945
5357
  */
4946
- 403: EffectHttpApiErrorForbidden;
5358
+ 400: BadRequestError;
4947
5359
  /**
4948
- * NotFoundError
5360
+ * PtyForbiddenError
4949
5361
  */
4950
- 404: NotFoundError;
5362
+ 403: PtyForbiddenError;
5363
+ /**
5364
+ * PtyNotFoundError
5365
+ */
5366
+ 404: PtyNotFoundError;
4951
5367
  };
4952
5368
  export type PtyConnectTokenError = PtyConnectTokenErrors[keyof PtyConnectTokenErrors];
4953
5369
  export type PtyConnectTokenResponses = {
@@ -4969,6 +5385,13 @@ export type QuestionListData = {
4969
5385
  };
4970
5386
  url: "/question";
4971
5387
  };
5388
+ export type QuestionListErrors = {
5389
+ /**
5390
+ * Bad request
5391
+ */
5392
+ 400: BadRequestError;
5393
+ };
5394
+ export type QuestionListError = QuestionListErrors[keyof QuestionListErrors];
4972
5395
  export type QuestionListResponses = {
4973
5396
  /**
4974
5397
  * List of pending questions
@@ -4994,13 +5417,13 @@ export type QuestionReplyData = {
4994
5417
  };
4995
5418
  export type QuestionReplyErrors = {
4996
5419
  /**
4997
- * Bad request
5420
+ * BadRequest | InvalidRequestError
4998
5421
  */
4999
- 400: BadRequestError;
5422
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5000
5423
  /**
5001
- * Not found
5424
+ * QuestionNotFoundError
5002
5425
  */
5003
- 404: NotFoundError;
5426
+ 404: QuestionNotFoundError;
5004
5427
  };
5005
5428
  export type QuestionReplyError = QuestionReplyErrors[keyof QuestionReplyErrors];
5006
5429
  export type QuestionReplyResponses = {
@@ -5023,13 +5446,13 @@ export type QuestionRejectData = {
5023
5446
  };
5024
5447
  export type QuestionRejectErrors = {
5025
5448
  /**
5026
- * Bad request
5449
+ * BadRequest | InvalidRequestError
5027
5450
  */
5028
- 400: BadRequestError;
5451
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5029
5452
  /**
5030
- * Not found
5453
+ * QuestionNotFoundError
5031
5454
  */
5032
- 404: NotFoundError;
5455
+ 404: QuestionNotFoundError;
5033
5456
  };
5034
5457
  export type QuestionRejectError = QuestionRejectErrors[keyof QuestionRejectErrors];
5035
5458
  export type QuestionRejectResponses = {
@@ -5048,6 +5471,13 @@ export type PermissionListData = {
5048
5471
  };
5049
5472
  url: "/permission";
5050
5473
  };
5474
+ export type PermissionListErrors = {
5475
+ /**
5476
+ * Bad request
5477
+ */
5478
+ 400: BadRequestError;
5479
+ };
5480
+ export type PermissionListError = PermissionListErrors[keyof PermissionListErrors];
5051
5481
  export type PermissionListResponses = {
5052
5482
  /**
5053
5483
  * List of pending permissions
@@ -5071,13 +5501,13 @@ export type PermissionReplyData = {
5071
5501
  };
5072
5502
  export type PermissionReplyErrors = {
5073
5503
  /**
5074
- * Bad request
5504
+ * BadRequest | InvalidRequestError
5075
5505
  */
5076
- 400: BadRequestError;
5506
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5077
5507
  /**
5078
- * NotFoundError
5508
+ * PermissionNotFoundError
5079
5509
  */
5080
- 404: NotFoundError;
5510
+ 404: PermissionNotFoundError;
5081
5511
  };
5082
5512
  export type PermissionReplyError = PermissionReplyErrors[keyof PermissionReplyErrors];
5083
5513
  export type PermissionReplyResponses = {
@@ -5103,9 +5533,13 @@ export type PermissionSaveAlwaysRulesData = {
5103
5533
  };
5104
5534
  export type PermissionSaveAlwaysRulesErrors = {
5105
5535
  /**
5106
- * NotFoundError
5536
+ * Bad request
5107
5537
  */
5108
- 404: NotFoundError;
5538
+ 400: BadRequestError;
5539
+ /**
5540
+ * PermissionNotFoundError
5541
+ */
5542
+ 404: PermissionNotFoundError;
5109
5543
  };
5110
5544
  export type PermissionSaveAlwaysRulesError = PermissionSaveAlwaysRulesErrors[keyof PermissionSaveAlwaysRulesErrors];
5111
5545
  export type PermissionSaveAlwaysRulesResponses = {
@@ -5130,13 +5564,13 @@ export type PermissionAllowEverythingData = {
5130
5564
  };
5131
5565
  export type PermissionAllowEverythingErrors = {
5132
5566
  /**
5133
- * Bad request
5567
+ * BadRequest | InvalidRequestError
5134
5568
  */
5135
- 400: BadRequestError;
5569
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5136
5570
  /**
5137
- * Not found
5571
+ * PermissionNotFoundError
5138
5572
  */
5139
- 404: NotFoundError;
5573
+ 404: PermissionNotFoundError;
5140
5574
  };
5141
5575
  export type PermissionAllowEverythingError = PermissionAllowEverythingErrors[keyof PermissionAllowEverythingErrors];
5142
5576
  export type PermissionAllowEverythingResponses = {
@@ -5155,6 +5589,13 @@ export type ProviderListData = {
5155
5589
  };
5156
5590
  url: "/provider";
5157
5591
  };
5592
+ export type ProviderListErrors = {
5593
+ /**
5594
+ * Bad request
5595
+ */
5596
+ 400: BadRequestError;
5597
+ };
5598
+ export type ProviderListError = ProviderListErrors[keyof ProviderListErrors];
5158
5599
  export type ProviderListResponses = {
5159
5600
  /**
5160
5601
  * List of providers
@@ -5178,6 +5619,13 @@ export type ProviderAuthData = {
5178
5619
  };
5179
5620
  url: "/provider/auth";
5180
5621
  };
5622
+ export type ProviderAuthErrors = {
5623
+ /**
5624
+ * Bad request
5625
+ */
5626
+ 400: BadRequestError;
5627
+ };
5628
+ export type ProviderAuthError2 = ProviderAuthErrors[keyof ProviderAuthErrors];
5181
5629
  export type ProviderAuthResponses = {
5182
5630
  /**
5183
5631
  * Provider auth methods
@@ -5208,9 +5656,9 @@ export type ProviderOauthAuthorizeData = {
5208
5656
  };
5209
5657
  export type ProviderOauthAuthorizeErrors = {
5210
5658
  /**
5211
- * ProviderAuthError
5659
+ * ProviderAuthError | InvalidRequestError
5212
5660
  */
5213
- 400: ProviderAuthError1;
5661
+ 400: ProviderAuthError1 | InvalidRequestError;
5214
5662
  };
5215
5663
  export type ProviderOauthAuthorizeError = ProviderOauthAuthorizeErrors[keyof ProviderOauthAuthorizeErrors];
5216
5664
  export type ProviderOauthAuthorizeResponses = {
@@ -5239,9 +5687,9 @@ export type ProviderOauthCallbackData = {
5239
5687
  };
5240
5688
  export type ProviderOauthCallbackErrors = {
5241
5689
  /**
5242
- * ProviderAuthError
5690
+ * ProviderAuthError | InvalidRequestError
5243
5691
  */
5244
- 400: ProviderAuthError1;
5692
+ 400: ProviderAuthError1 | InvalidRequestError;
5245
5693
  };
5246
5694
  export type ProviderOauthCallbackError = ProviderOauthCallbackErrors[keyof ProviderOauthCallbackErrors];
5247
5695
  export type ProviderOauthCallbackResponses = {
@@ -5266,6 +5714,13 @@ export type SessionListData = {
5266
5714
  };
5267
5715
  url: "/session";
5268
5716
  };
5717
+ export type SessionListErrors = {
5718
+ /**
5719
+ * Bad request
5720
+ */
5721
+ 400: BadRequestError;
5722
+ };
5723
+ export type SessionListError = SessionListErrors[keyof SessionListErrors];
5269
5724
  export type SessionListResponses = {
5270
5725
  /**
5271
5726
  * List of sessions
@@ -5296,9 +5751,9 @@ export type SessionCreateData = {
5296
5751
  };
5297
5752
  export type SessionCreateErrors = {
5298
5753
  /**
5299
- * Bad request
5754
+ * BadRequest | InvalidRequestError
5300
5755
  */
5301
- 400: BadRequestError;
5756
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5302
5757
  };
5303
5758
  export type SessionCreateError = SessionCreateErrors[keyof SessionCreateErrors];
5304
5759
  export type SessionCreateResponses = {
@@ -5319,9 +5774,9 @@ export type SessionStatusData = {
5319
5774
  };
5320
5775
  export type SessionStatusErrors = {
5321
5776
  /**
5322
- * Bad request
5777
+ * BadRequest | InvalidRequestError
5323
5778
  */
5324
- 400: BadRequestError;
5779
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5325
5780
  };
5326
5781
  export type SessionStatusError = SessionStatusErrors[keyof SessionStatusErrors];
5327
5782
  export type SessionStatusResponses = {
@@ -5346,9 +5801,9 @@ export type SessionDeleteData = {
5346
5801
  };
5347
5802
  export type SessionDeleteErrors = {
5348
5803
  /**
5349
- * Bad request
5804
+ * BadRequest | InvalidRequestError
5350
5805
  */
5351
- 400: BadRequestError;
5806
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5352
5807
  /**
5353
5808
  * NotFoundError
5354
5809
  */
@@ -5375,9 +5830,9 @@ export type SessionGetData = {
5375
5830
  };
5376
5831
  export type SessionGetErrors = {
5377
5832
  /**
5378
- * Bad request
5833
+ * BadRequest | InvalidRequestError
5379
5834
  */
5380
- 400: BadRequestError;
5835
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5381
5836
  /**
5382
5837
  * NotFoundError
5383
5838
  */
@@ -5410,9 +5865,9 @@ export type SessionUpdateData = {
5410
5865
  };
5411
5866
  export type SessionUpdateErrors = {
5412
5867
  /**
5413
- * Bad request
5868
+ * BadRequest | InvalidRequestError
5414
5869
  */
5415
- 400: BadRequestError;
5870
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5416
5871
  /**
5417
5872
  * NotFoundError
5418
5873
  */
@@ -5439,9 +5894,9 @@ export type SessionChildrenData = {
5439
5894
  };
5440
5895
  export type SessionChildrenErrors = {
5441
5896
  /**
5442
- * Bad request
5897
+ * BadRequest | InvalidRequestError
5443
5898
  */
5444
- 400: BadRequestError;
5899
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5445
5900
  /**
5446
5901
  * NotFoundError
5447
5902
  */
@@ -5468,9 +5923,9 @@ export type SessionTodoData = {
5468
5923
  };
5469
5924
  export type SessionTodoErrors = {
5470
5925
  /**
5471
- * Bad request
5926
+ * BadRequest | InvalidRequestError
5472
5927
  */
5473
- 400: BadRequestError;
5928
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5474
5929
  /**
5475
5930
  * NotFoundError
5476
5931
  */
@@ -5496,6 +5951,13 @@ export type SessionDiffData = {
5496
5951
  };
5497
5952
  url: "/session/{sessionID}/diff";
5498
5953
  };
5954
+ export type SessionDiffErrors = {
5955
+ /**
5956
+ * Bad request
5957
+ */
5958
+ 400: BadRequestError;
5959
+ };
5960
+ export type SessionDiffError = SessionDiffErrors[keyof SessionDiffErrors];
5499
5961
  export type SessionDiffResponses = {
5500
5962
  /**
5501
5963
  * Successfully retrieved diff
@@ -5518,9 +5980,9 @@ export type SessionMessagesData = {
5518
5980
  };
5519
5981
  export type SessionMessagesErrors = {
5520
5982
  /**
5521
- * Bad request
5983
+ * BadRequest | InvalidRequestError
5522
5984
  */
5523
- 400: BadRequestError;
5985
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5524
5986
  /**
5525
5987
  * NotFoundError
5526
5988
  */
@@ -5572,9 +6034,9 @@ export type SessionPromptData = {
5572
6034
  };
5573
6035
  export type SessionPromptErrors = {
5574
6036
  /**
5575
- * Bad request
6037
+ * BadRequest | InvalidRequestError
5576
6038
  */
5577
- 400: BadRequestError;
6039
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5578
6040
  /**
5579
6041
  * NotFoundError
5580
6042
  */
@@ -5605,13 +6067,17 @@ export type SessionDeleteMessageData = {
5605
6067
  };
5606
6068
  export type SessionDeleteMessageErrors = {
5607
6069
  /**
5608
- * Bad request
6070
+ * BadRequest | InvalidRequestError
5609
6071
  */
5610
- 400: BadRequestError;
6072
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5611
6073
  /**
5612
6074
  * NotFoundError
5613
6075
  */
5614
6076
  404: NotFoundError;
6077
+ /**
6078
+ * SessionBusyError
6079
+ */
6080
+ 409: SessionBusyError;
5615
6081
  };
5616
6082
  export type SessionDeleteMessageError = SessionDeleteMessageErrors[keyof SessionDeleteMessageErrors];
5617
6083
  export type SessionDeleteMessageResponses = {
@@ -5635,9 +6101,9 @@ export type SessionMessageData = {
5635
6101
  };
5636
6102
  export type SessionMessageErrors = {
5637
6103
  /**
5638
- * Bad request
6104
+ * BadRequest | InvalidRequestError
5639
6105
  */
5640
- 400: BadRequestError;
6106
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5641
6107
  /**
5642
6108
  * NotFoundError
5643
6109
  */
@@ -5669,9 +6135,9 @@ export type SessionForkData = {
5669
6135
  };
5670
6136
  export type SessionForkErrors = {
5671
6137
  /**
5672
- * Bad request
6138
+ * BadRequest | InvalidRequestError
5673
6139
  */
5674
- 400: BadRequestError;
6140
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5675
6141
  /**
5676
6142
  * NotFoundError
5677
6143
  */
@@ -5698,9 +6164,9 @@ export type SessionAbortData = {
5698
6164
  };
5699
6165
  export type SessionAbortErrors = {
5700
6166
  /**
5701
- * Bad request
6167
+ * BadRequest | InvalidRequestError
5702
6168
  */
5703
- 400: BadRequestError;
6169
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5704
6170
  };
5705
6171
  export type SessionAbortError = SessionAbortErrors[keyof SessionAbortErrors];
5706
6172
  export type SessionAbortResponses = {
@@ -5727,9 +6193,9 @@ export type SessionInitData = {
5727
6193
  };
5728
6194
  export type SessionInitErrors = {
5729
6195
  /**
5730
- * Bad request
6196
+ * BadRequest | InvalidRequestError
5731
6197
  */
5732
- 400: BadRequestError;
6198
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5733
6199
  /**
5734
6200
  * NotFoundError
5735
6201
  */
@@ -5755,6 +6221,10 @@ export type SessionUnshareData = {
5755
6221
  url: "/session/{sessionID}/share";
5756
6222
  };
5757
6223
  export type SessionUnshareErrors = {
6224
+ /**
6225
+ * Bad request
6226
+ */
6227
+ 400: BadRequestError;
5758
6228
  /**
5759
6229
  * NotFoundError
5760
6230
  */
@@ -5784,6 +6254,10 @@ export type SessionShareData = {
5784
6254
  url: "/session/{sessionID}/share";
5785
6255
  };
5786
6256
  export type SessionShareErrors = {
6257
+ /**
6258
+ * Bad request
6259
+ */
6260
+ 400: BadRequestError;
5787
6261
  /**
5788
6262
  * NotFoundError
5789
6263
  */
@@ -5818,9 +6292,9 @@ export type SessionSummarizeData = {
5818
6292
  };
5819
6293
  export type SessionSummarizeErrors = {
5820
6294
  /**
5821
- * Bad request
6295
+ * BadRequest | InvalidRequestError
5822
6296
  */
5823
- 400: BadRequestError;
6297
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5824
6298
  /**
5825
6299
  * NotFoundError
5826
6300
  */
@@ -5869,9 +6343,9 @@ export type SessionPromptAsyncData = {
5869
6343
  };
5870
6344
  export type SessionPromptAsyncErrors = {
5871
6345
  /**
5872
- * Bad request
6346
+ * BadRequest | InvalidRequestError
5873
6347
  */
5874
- 400: BadRequestError;
6348
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5875
6349
  /**
5876
6350
  * NotFoundError
5877
6351
  */
@@ -5914,9 +6388,9 @@ export type SessionCommandData = {
5914
6388
  };
5915
6389
  export type SessionCommandErrors = {
5916
6390
  /**
5917
- * Bad request
6391
+ * BadRequest | InvalidRequestError
5918
6392
  */
5919
- 400: BadRequestError;
6393
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5920
6394
  /**
5921
6395
  * NotFoundError
5922
6396
  */
@@ -5954,13 +6428,17 @@ export type SessionShellData = {
5954
6428
  };
5955
6429
  export type SessionShellErrors = {
5956
6430
  /**
5957
- * Bad request
6431
+ * BadRequest | InvalidRequestError
5958
6432
  */
5959
- 400: BadRequestError;
6433
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5960
6434
  /**
5961
6435
  * NotFoundError
5962
6436
  */
5963
6437
  404: NotFoundError;
6438
+ /**
6439
+ * SessionBusyError
6440
+ */
6441
+ 409: SessionBusyError;
5964
6442
  };
5965
6443
  export type SessionShellError = SessionShellErrors[keyof SessionShellErrors];
5966
6444
  export type SessionShellResponses = {
@@ -5989,13 +6467,17 @@ export type SessionRevertData = {
5989
6467
  };
5990
6468
  export type SessionRevertErrors = {
5991
6469
  /**
5992
- * Bad request
6470
+ * BadRequest | InvalidRequestError
5993
6471
  */
5994
- 400: BadRequestError;
6472
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
5995
6473
  /**
5996
6474
  * NotFoundError
5997
6475
  */
5998
6476
  404: NotFoundError;
6477
+ /**
6478
+ * SessionBusyError
6479
+ */
6480
+ 409: SessionBusyError;
5999
6481
  };
6000
6482
  export type SessionRevertError = SessionRevertErrors[keyof SessionRevertErrors];
6001
6483
  export type SessionRevertResponses = {
@@ -6018,13 +6500,17 @@ export type SessionUnrevertData = {
6018
6500
  };
6019
6501
  export type SessionUnrevertErrors = {
6020
6502
  /**
6021
- * Bad request
6503
+ * BadRequest | InvalidRequestError
6022
6504
  */
6023
- 400: BadRequestError;
6505
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6024
6506
  /**
6025
6507
  * NotFoundError
6026
6508
  */
6027
6509
  404: NotFoundError;
6510
+ /**
6511
+ * SessionBusyError
6512
+ */
6513
+ 409: SessionBusyError;
6028
6514
  };
6029
6515
  export type SessionUnrevertError = SessionUnrevertErrors[keyof SessionUnrevertErrors];
6030
6516
  export type SessionUnrevertResponses = {
@@ -6050,13 +6536,13 @@ export type PermissionRespondData = {
6050
6536
  };
6051
6537
  export type PermissionRespondErrors = {
6052
6538
  /**
6053
- * Bad request
6539
+ * BadRequest | InvalidRequestError
6054
6540
  */
6055
- 400: BadRequestError;
6541
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6056
6542
  /**
6057
- * NotFoundError
6543
+ * NotFoundError | PermissionNotFoundError
6058
6544
  */
6059
- 404: NotFoundError;
6545
+ 404: NotFoundError | PermissionNotFoundError;
6060
6546
  };
6061
6547
  export type PermissionRespondError = PermissionRespondErrors[keyof PermissionRespondErrors];
6062
6548
  export type PermissionRespondResponses = {
@@ -6081,9 +6567,9 @@ export type PartDeleteData = {
6081
6567
  };
6082
6568
  export type PartDeleteErrors = {
6083
6569
  /**
6084
- * Bad request
6570
+ * BadRequest | InvalidRequestError
6085
6571
  */
6086
- 400: BadRequestError;
6572
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6087
6573
  /**
6088
6574
  * NotFoundError
6089
6575
  */
@@ -6112,9 +6598,9 @@ export type PartUpdateData = {
6112
6598
  };
6113
6599
  export type PartUpdateErrors = {
6114
6600
  /**
6115
- * Bad request
6601
+ * BadRequest | InvalidRequestError
6116
6602
  */
6117
- 400: BadRequestError;
6603
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6118
6604
  /**
6119
6605
  * NotFoundError
6120
6606
  */
@@ -6140,6 +6626,13 @@ export type SessionViewedData = {
6140
6626
  };
6141
6627
  url: "/session/viewed";
6142
6628
  };
6629
+ export type SessionViewedErrors = {
6630
+ /**
6631
+ * Bad request
6632
+ */
6633
+ 400: BadRequestError;
6634
+ };
6635
+ export type SessionViewedError = SessionViewedErrors[keyof SessionViewedErrors];
6143
6636
  export type SessionViewedResponses = {
6144
6637
  /**
6145
6638
  * Viewed sessions updated
@@ -6156,6 +6649,13 @@ export type SyncStartData = {
6156
6649
  };
6157
6650
  url: "/sync/start";
6158
6651
  };
6652
+ export type SyncStartErrors = {
6653
+ /**
6654
+ * Bad request
6655
+ */
6656
+ 400: BadRequestError;
6657
+ };
6658
+ export type SyncStartError = SyncStartErrors[keyof SyncStartErrors];
6159
6659
  export type SyncStartResponses = {
6160
6660
  /**
6161
6661
  * Workspace sync started
@@ -6185,9 +6685,9 @@ export type SyncReplayData = {
6185
6685
  };
6186
6686
  export type SyncReplayErrors = {
6187
6687
  /**
6188
- * Bad request
6688
+ * BadRequest | InvalidRequestError
6189
6689
  */
6190
- 400: BadRequestError;
6690
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6191
6691
  };
6192
6692
  export type SyncReplayError = SyncReplayErrors[keyof SyncReplayErrors];
6193
6693
  export type SyncReplayResponses = {
@@ -6212,9 +6712,9 @@ export type SyncStealData = {
6212
6712
  };
6213
6713
  export type SyncStealErrors = {
6214
6714
  /**
6215
- * Bad request
6715
+ * BadRequest | InvalidRequestError
6216
6716
  */
6217
- 400: BadRequestError;
6717
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6218
6718
  };
6219
6719
  export type SyncStealError = SyncStealErrors[keyof SyncStealErrors];
6220
6720
  export type SyncStealResponses = {
@@ -6239,9 +6739,9 @@ export type SyncHistoryListData = {
6239
6739
  };
6240
6740
  export type SyncHistoryListErrors = {
6241
6741
  /**
6242
- * Bad request
6742
+ * BadRequest | InvalidRequestError
6243
6743
  */
6244
- 400: BadRequestError;
6744
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6245
6745
  };
6246
6746
  export type SyncHistoryListError = SyncHistoryListErrors[keyof SyncHistoryListErrors];
6247
6747
  export type SyncHistoryListResponses = {
@@ -6280,9 +6780,13 @@ export type V2SessionListData = {
6280
6780
  };
6281
6781
  export type V2SessionListErrors = {
6282
6782
  /**
6283
- * Bad request
6783
+ * InvalidCursorError | InvalidRequestError
6284
6784
  */
6285
- 400: BadRequestError;
6785
+ 400: InvalidCursorError | InvalidRequestError;
6786
+ /**
6787
+ * UnauthorizedError
6788
+ */
6789
+ 401: UnauthorizedError;
6286
6790
  };
6287
6791
  export type V2SessionListError = V2SessionListErrors[keyof V2SessionListErrors];
6288
6792
  export type V2SessionListResponses = {
@@ -6306,6 +6810,25 @@ export type V2SessionPromptData = {
6306
6810
  };
6307
6811
  url: "/api/session/{sessionID}/prompt";
6308
6812
  };
6813
+ export type V2SessionPromptErrors = {
6814
+ /**
6815
+ * InvalidRequestError
6816
+ */
6817
+ 400: InvalidRequestError;
6818
+ /**
6819
+ * UnauthorizedError
6820
+ */
6821
+ 401: UnauthorizedError;
6822
+ /**
6823
+ * SessionNotFoundError
6824
+ */
6825
+ 404: SessionNotFoundError;
6826
+ /**
6827
+ * ServiceUnavailableError
6828
+ */
6829
+ 503: ServiceUnavailableError;
6830
+ };
6831
+ export type V2SessionPromptError = V2SessionPromptErrors[keyof V2SessionPromptErrors];
6309
6832
  export type V2SessionPromptResponses = {
6310
6833
  /**
6311
6834
  * Session.Message
@@ -6324,6 +6847,25 @@ export type V2SessionCompactData = {
6324
6847
  };
6325
6848
  url: "/api/session/{sessionID}/compact";
6326
6849
  };
6850
+ export type V2SessionCompactErrors = {
6851
+ /**
6852
+ * InvalidRequestError
6853
+ */
6854
+ 400: InvalidRequestError;
6855
+ /**
6856
+ * UnauthorizedError
6857
+ */
6858
+ 401: UnauthorizedError;
6859
+ /**
6860
+ * SessionNotFoundError
6861
+ */
6862
+ 404: SessionNotFoundError;
6863
+ /**
6864
+ * ServiceUnavailableError
6865
+ */
6866
+ 503: ServiceUnavailableError;
6867
+ };
6868
+ export type V2SessionCompactError = V2SessionCompactErrors[keyof V2SessionCompactErrors];
6327
6869
  export type V2SessionCompactResponses = {
6328
6870
  /**
6329
6871
  * <No Content>
@@ -6342,6 +6884,25 @@ export type V2SessionWaitData = {
6342
6884
  };
6343
6885
  url: "/api/session/{sessionID}/wait";
6344
6886
  };
6887
+ export type V2SessionWaitErrors = {
6888
+ /**
6889
+ * InvalidRequestError
6890
+ */
6891
+ 400: InvalidRequestError;
6892
+ /**
6893
+ * UnauthorizedError
6894
+ */
6895
+ 401: UnauthorizedError;
6896
+ /**
6897
+ * SessionNotFoundError
6898
+ */
6899
+ 404: SessionNotFoundError;
6900
+ /**
6901
+ * ServiceUnavailableError
6902
+ */
6903
+ 503: ServiceUnavailableError;
6904
+ };
6905
+ export type V2SessionWaitError = V2SessionWaitErrors[keyof V2SessionWaitErrors];
6345
6906
  export type V2SessionWaitResponses = {
6346
6907
  /**
6347
6908
  * <No Content>
@@ -6360,6 +6921,25 @@ export type V2SessionContextData = {
6360
6921
  };
6361
6922
  url: "/api/session/{sessionID}/context";
6362
6923
  };
6924
+ export type V2SessionContextErrors = {
6925
+ /**
6926
+ * InvalidRequestError
6927
+ */
6928
+ 400: InvalidRequestError;
6929
+ /**
6930
+ * UnauthorizedError
6931
+ */
6932
+ 401: UnauthorizedError;
6933
+ /**
6934
+ * SessionNotFoundError
6935
+ */
6936
+ 404: SessionNotFoundError;
6937
+ /**
6938
+ * UnknownError
6939
+ */
6940
+ 500: UnknownError1;
6941
+ };
6942
+ export type V2SessionContextError = V2SessionContextErrors[keyof V2SessionContextErrors];
6363
6943
  export type V2SessionContextResponses = {
6364
6944
  /**
6365
6945
  * Success
@@ -6386,9 +6966,21 @@ export type V2SessionMessagesData = {
6386
6966
  };
6387
6967
  export type V2SessionMessagesErrors = {
6388
6968
  /**
6389
- * Bad request
6969
+ * InvalidCursorError | InvalidRequestError
6390
6970
  */
6391
- 400: BadRequestError;
6971
+ 400: InvalidCursorError | InvalidRequestError;
6972
+ /**
6973
+ * UnauthorizedError
6974
+ */
6975
+ 401: UnauthorizedError;
6976
+ /**
6977
+ * SessionNotFoundError
6978
+ */
6979
+ 404: SessionNotFoundError;
6980
+ /**
6981
+ * UnknownError
6982
+ */
6983
+ 500: UnknownError1;
6392
6984
  };
6393
6985
  export type V2SessionMessagesError = V2SessionMessagesErrors[keyof V2SessionMessagesErrors];
6394
6986
  export type V2SessionMessagesResponses = {
@@ -6409,6 +7001,21 @@ export type V2ModelListData = {
6409
7001
  };
6410
7002
  url: "/api/model";
6411
7003
  };
7004
+ export type V2ModelListErrors = {
7005
+ /**
7006
+ * InvalidRequestError
7007
+ */
7008
+ 400: InvalidRequestError;
7009
+ /**
7010
+ * UnauthorizedError
7011
+ */
7012
+ 401: UnauthorizedError;
7013
+ /**
7014
+ * ServiceUnavailableError
7015
+ */
7016
+ 503: ServiceUnavailableError;
7017
+ };
7018
+ export type V2ModelListError = V2ModelListErrors[keyof V2ModelListErrors];
6412
7019
  export type V2ModelListResponses = {
6413
7020
  /**
6414
7021
  * Success
@@ -6427,6 +7034,21 @@ export type V2ProviderListData = {
6427
7034
  };
6428
7035
  url: "/api/provider";
6429
7036
  };
7037
+ export type V2ProviderListErrors = {
7038
+ /**
7039
+ * InvalidRequestError
7040
+ */
7041
+ 400: InvalidRequestError;
7042
+ /**
7043
+ * UnauthorizedError
7044
+ */
7045
+ 401: UnauthorizedError;
7046
+ /**
7047
+ * ServiceUnavailableError
7048
+ */
7049
+ 503: ServiceUnavailableError;
7050
+ };
7051
+ export type V2ProviderListError = V2ProviderListErrors[keyof V2ProviderListErrors];
6430
7052
  export type V2ProviderListResponses = {
6431
7053
  /**
6432
7054
  * Success
@@ -6449,9 +7071,21 @@ export type V2ProviderGetData = {
6449
7071
  };
6450
7072
  export type V2ProviderGetErrors = {
6451
7073
  /**
6452
- * NotFoundError
7074
+ * InvalidRequestError
6453
7075
  */
6454
- 404: NotFoundError;
7076
+ 400: InvalidRequestError;
7077
+ /**
7078
+ * UnauthorizedError
7079
+ */
7080
+ 401: UnauthorizedError;
7081
+ /**
7082
+ * ProviderNotFoundError
7083
+ */
7084
+ 404: ProviderNotFoundError;
7085
+ /**
7086
+ * ServiceUnavailableError
7087
+ */
7088
+ 503: ServiceUnavailableError;
6455
7089
  };
6456
7090
  export type V2ProviderGetError = V2ProviderGetErrors[keyof V2ProviderGetErrors];
6457
7091
  export type V2ProviderGetResponses = {
@@ -6474,9 +7108,9 @@ export type TuiAppendPromptData = {
6474
7108
  };
6475
7109
  export type TuiAppendPromptErrors = {
6476
7110
  /**
6477
- * Bad request
7111
+ * BadRequest | InvalidRequestError
6478
7112
  */
6479
- 400: BadRequestError;
7113
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6480
7114
  };
6481
7115
  export type TuiAppendPromptError = TuiAppendPromptErrors[keyof TuiAppendPromptErrors];
6482
7116
  export type TuiAppendPromptResponses = {
@@ -6495,6 +7129,13 @@ export type TuiOpenHelpData = {
6495
7129
  };
6496
7130
  url: "/tui/open-help";
6497
7131
  };
7132
+ export type TuiOpenHelpErrors = {
7133
+ /**
7134
+ * Bad request
7135
+ */
7136
+ 400: BadRequestError;
7137
+ };
7138
+ export type TuiOpenHelpError = TuiOpenHelpErrors[keyof TuiOpenHelpErrors];
6498
7139
  export type TuiOpenHelpResponses = {
6499
7140
  /**
6500
7141
  * Help dialog opened successfully
@@ -6511,6 +7152,13 @@ export type TuiOpenSessionsData = {
6511
7152
  };
6512
7153
  url: "/tui/open-sessions";
6513
7154
  };
7155
+ export type TuiOpenSessionsErrors = {
7156
+ /**
7157
+ * Bad request
7158
+ */
7159
+ 400: BadRequestError;
7160
+ };
7161
+ export type TuiOpenSessionsError = TuiOpenSessionsErrors[keyof TuiOpenSessionsErrors];
6514
7162
  export type TuiOpenSessionsResponses = {
6515
7163
  /**
6516
7164
  * Session dialog opened successfully
@@ -6527,6 +7175,13 @@ export type TuiOpenThemesData = {
6527
7175
  };
6528
7176
  url: "/tui/open-themes";
6529
7177
  };
7178
+ export type TuiOpenThemesErrors = {
7179
+ /**
7180
+ * Bad request
7181
+ */
7182
+ 400: BadRequestError;
7183
+ };
7184
+ export type TuiOpenThemesError = TuiOpenThemesErrors[keyof TuiOpenThemesErrors];
6530
7185
  export type TuiOpenThemesResponses = {
6531
7186
  /**
6532
7187
  * Theme dialog opened successfully
@@ -6543,6 +7198,13 @@ export type TuiOpenModelsData = {
6543
7198
  };
6544
7199
  url: "/tui/open-models";
6545
7200
  };
7201
+ export type TuiOpenModelsErrors = {
7202
+ /**
7203
+ * Bad request
7204
+ */
7205
+ 400: BadRequestError;
7206
+ };
7207
+ export type TuiOpenModelsError = TuiOpenModelsErrors[keyof TuiOpenModelsErrors];
6546
7208
  export type TuiOpenModelsResponses = {
6547
7209
  /**
6548
7210
  * Model dialog opened successfully
@@ -6559,6 +7221,13 @@ export type TuiSubmitPromptData = {
6559
7221
  };
6560
7222
  url: "/tui/submit-prompt";
6561
7223
  };
7224
+ export type TuiSubmitPromptErrors = {
7225
+ /**
7226
+ * Bad request
7227
+ */
7228
+ 400: BadRequestError;
7229
+ };
7230
+ export type TuiSubmitPromptError = TuiSubmitPromptErrors[keyof TuiSubmitPromptErrors];
6562
7231
  export type TuiSubmitPromptResponses = {
6563
7232
  /**
6564
7233
  * Prompt submitted successfully
@@ -6575,6 +7244,13 @@ export type TuiClearPromptData = {
6575
7244
  };
6576
7245
  url: "/tui/clear-prompt";
6577
7246
  };
7247
+ export type TuiClearPromptErrors = {
7248
+ /**
7249
+ * Bad request
7250
+ */
7251
+ 400: BadRequestError;
7252
+ };
7253
+ export type TuiClearPromptError = TuiClearPromptErrors[keyof TuiClearPromptErrors];
6578
7254
  export type TuiClearPromptResponses = {
6579
7255
  /**
6580
7256
  * Prompt cleared successfully
@@ -6595,9 +7271,9 @@ export type TuiExecuteCommandData = {
6595
7271
  };
6596
7272
  export type TuiExecuteCommandErrors = {
6597
7273
  /**
6598
- * Bad request
7274
+ * BadRequest | InvalidRequestError
6599
7275
  */
6600
- 400: BadRequestError;
7276
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6601
7277
  };
6602
7278
  export type TuiExecuteCommandError = TuiExecuteCommandErrors[keyof TuiExecuteCommandErrors];
6603
7279
  export type TuiExecuteCommandResponses = {
@@ -6621,6 +7297,13 @@ export type TuiShowToastData = {
6621
7297
  };
6622
7298
  url: "/tui/show-toast";
6623
7299
  };
7300
+ export type TuiShowToastErrors = {
7301
+ /**
7302
+ * Bad request
7303
+ */
7304
+ 400: BadRequestError;
7305
+ };
7306
+ export type TuiShowToastError = TuiShowToastErrors[keyof TuiShowToastErrors];
6624
7307
  export type TuiShowToastResponses = {
6625
7308
  /**
6626
7309
  * Toast notification shown successfully
@@ -6639,9 +7322,9 @@ export type TuiPublishData = {
6639
7322
  };
6640
7323
  export type TuiPublishErrors = {
6641
7324
  /**
6642
- * Bad request
7325
+ * BadRequest | InvalidRequestError
6643
7326
  */
6644
- 400: BadRequestError;
7327
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6645
7328
  };
6646
7329
  export type TuiPublishError = TuiPublishErrors[keyof TuiPublishErrors];
6647
7330
  export type TuiPublishResponses = {
@@ -6667,9 +7350,9 @@ export type TuiSelectSessionData = {
6667
7350
  };
6668
7351
  export type TuiSelectSessionErrors = {
6669
7352
  /**
6670
- * Bad request
7353
+ * BadRequest | InvalidRequestError
6671
7354
  */
6672
- 400: BadRequestError;
7355
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6673
7356
  /**
6674
7357
  * NotFoundError
6675
7358
  */
@@ -6692,6 +7375,13 @@ export type TuiControlNextData = {
6692
7375
  };
6693
7376
  url: "/tui/control/next";
6694
7377
  };
7378
+ export type TuiControlNextErrors = {
7379
+ /**
7380
+ * Bad request
7381
+ */
7382
+ 400: BadRequestError;
7383
+ };
7384
+ export type TuiControlNextError = TuiControlNextErrors[keyof TuiControlNextErrors];
6695
7385
  export type TuiControlNextResponses = {
6696
7386
  /**
6697
7387
  * Next TUI request
@@ -6711,6 +7401,13 @@ export type TuiControlResponseData = {
6711
7401
  };
6712
7402
  url: "/tui/control/response";
6713
7403
  };
7404
+ export type TuiControlResponseErrors = {
7405
+ /**
7406
+ * Bad request
7407
+ */
7408
+ 400: BadRequestError;
7409
+ };
7410
+ export type TuiControlResponseError = TuiControlResponseErrors[keyof TuiControlResponseErrors];
6714
7411
  export type TuiControlResponseResponses = {
6715
7412
  /**
6716
7413
  * Response submitted successfully
@@ -6727,6 +7424,13 @@ export type ExperimentalWorkspaceAdapterListData = {
6727
7424
  };
6728
7425
  url: "/experimental/workspace/adapter";
6729
7426
  };
7427
+ export type ExperimentalWorkspaceAdapterListErrors = {
7428
+ /**
7429
+ * Bad request
7430
+ */
7431
+ 400: BadRequestError;
7432
+ };
7433
+ export type ExperimentalWorkspaceAdapterListError = ExperimentalWorkspaceAdapterListErrors[keyof ExperimentalWorkspaceAdapterListErrors];
6730
7434
  export type ExperimentalWorkspaceAdapterListResponses = {
6731
7435
  /**
6732
7436
  * Workspace adapters
@@ -6747,6 +7451,13 @@ export type ExperimentalWorkspaceListData = {
6747
7451
  };
6748
7452
  url: "/experimental/workspace";
6749
7453
  };
7454
+ export type ExperimentalWorkspaceListErrors = {
7455
+ /**
7456
+ * Bad request
7457
+ */
7458
+ 400: BadRequestError;
7459
+ };
7460
+ export type ExperimentalWorkspaceListError = ExperimentalWorkspaceListErrors[keyof ExperimentalWorkspaceListErrors];
6750
7461
  export type ExperimentalWorkspaceListResponses = {
6751
7462
  /**
6752
7463
  * Workspaces
@@ -6770,9 +7481,9 @@ export type ExperimentalWorkspaceCreateData = {
6770
7481
  };
6771
7482
  export type ExperimentalWorkspaceCreateErrors = {
6772
7483
  /**
6773
- * Bad request
7484
+ * BadRequest | InvalidRequestError
6774
7485
  */
6775
- 400: BadRequestError;
7486
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6776
7487
  };
6777
7488
  export type ExperimentalWorkspaceCreateError = ExperimentalWorkspaceCreateErrors[keyof ExperimentalWorkspaceCreateErrors];
6778
7489
  export type ExperimentalWorkspaceCreateResponses = {
@@ -6791,6 +7502,13 @@ export type ExperimentalWorkspaceSyncListData = {
6791
7502
  };
6792
7503
  url: "/experimental/workspace/sync-list";
6793
7504
  };
7505
+ export type ExperimentalWorkspaceSyncListErrors = {
7506
+ /**
7507
+ * Bad request
7508
+ */
7509
+ 400: BadRequestError;
7510
+ };
7511
+ export type ExperimentalWorkspaceSyncListError = ExperimentalWorkspaceSyncListErrors[keyof ExperimentalWorkspaceSyncListErrors];
6794
7512
  export type ExperimentalWorkspaceSyncListResponses = {
6795
7513
  /**
6796
7514
  * Workspace list synced
@@ -6807,6 +7525,13 @@ export type ExperimentalWorkspaceStatusData = {
6807
7525
  };
6808
7526
  url: "/experimental/workspace/status";
6809
7527
  };
7528
+ export type ExperimentalWorkspaceStatusErrors = {
7529
+ /**
7530
+ * Bad request
7531
+ */
7532
+ 400: BadRequestError;
7533
+ };
7534
+ export type ExperimentalWorkspaceStatusError = ExperimentalWorkspaceStatusErrors[keyof ExperimentalWorkspaceStatusErrors];
6810
7535
  export type ExperimentalWorkspaceStatusResponses = {
6811
7536
  /**
6812
7537
  * Workspace status
@@ -6830,9 +7555,9 @@ export type ExperimentalWorkspaceRemoveData = {
6830
7555
  };
6831
7556
  export type ExperimentalWorkspaceRemoveErrors = {
6832
7557
  /**
6833
- * Bad request
7558
+ * BadRequest | InvalidRequestError
6834
7559
  */
6835
- 400: BadRequestError;
7560
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6836
7561
  };
6837
7562
  export type ExperimentalWorkspaceRemoveError = ExperimentalWorkspaceRemoveErrors[keyof ExperimentalWorkspaceRemoveErrors];
6838
7563
  export type ExperimentalWorkspaceRemoveResponses = {
@@ -6857,9 +7582,13 @@ export type ExperimentalWorkspaceWarpData = {
6857
7582
  };
6858
7583
  export type ExperimentalWorkspaceWarpErrors = {
6859
7584
  /**
6860
- * WorkspaceWarpError | VcsApplyError
7585
+ * WorkspaceWarpError | VcsApplyError | InvalidRequestError
7586
+ */
7587
+ 400: WorkspaceWarpError | VcsApplyError | InvalidRequestError;
7588
+ /**
7589
+ * NotFoundError
6861
7590
  */
6862
- 400: WorkspaceWarpError | VcsApplyError;
7591
+ 404: NotFoundError;
6863
7592
  };
6864
7593
  export type ExperimentalWorkspaceWarpError = ExperimentalWorkspaceWarpErrors[keyof ExperimentalWorkspaceWarpErrors];
6865
7594
  export type ExperimentalWorkspaceWarpResponses = {
@@ -6893,9 +7622,9 @@ export type AgentBuilderPreviewData = {
6893
7622
  };
6894
7623
  export type AgentBuilderPreviewErrors = {
6895
7624
  /**
6896
- * Bad request
7625
+ * BadRequest | InvalidRequestError
6897
7626
  */
6898
- 400: BadRequestError;
7627
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6899
7628
  };
6900
7629
  export type AgentBuilderPreviewError = AgentBuilderPreviewErrors[keyof AgentBuilderPreviewErrors];
6901
7630
  export type AgentBuilderPreviewResponses = {
@@ -6936,9 +7665,9 @@ export type AgentBuilderSaveData = {
6936
7665
  };
6937
7666
  export type AgentBuilderSaveErrors = {
6938
7667
  /**
6939
- * Bad request
7668
+ * BadRequest | InvalidRequestError
6940
7669
  */
6941
- 400: BadRequestError;
7670
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
6942
7671
  };
6943
7672
  export type AgentBuilderSaveError = AgentBuilderSaveErrors[keyof AgentBuilderSaveErrors];
6944
7673
  export type AgentBuilderSaveResponses = {
@@ -6962,6 +7691,13 @@ export type BackgroundProcessListData = {
6962
7691
  };
6963
7692
  url: "/background-process";
6964
7693
  };
7694
+ export type BackgroundProcessListErrors = {
7695
+ /**
7696
+ * Bad request
7697
+ */
7698
+ 400: BadRequestError;
7699
+ };
7700
+ export type BackgroundProcessListError = BackgroundProcessListErrors[keyof BackgroundProcessListErrors];
6965
7701
  export type BackgroundProcessListResponses = {
6966
7702
  /**
6967
7703
  * List of background processes
@@ -6981,6 +7717,10 @@ export type BackgroundProcessGetData = {
6981
7717
  url: "/background-process/{processID}";
6982
7718
  };
6983
7719
  export type BackgroundProcessGetErrors = {
7720
+ /**
7721
+ * Bad request
7722
+ */
7723
+ 400: BadRequestError;
6984
7724
  /**
6985
7725
  * Not found
6986
7726
  */
@@ -7006,6 +7746,10 @@ export type BackgroundProcessLogsData = {
7006
7746
  url: "/background-process/{processID}/logs";
7007
7747
  };
7008
7748
  export type BackgroundProcessLogsErrors = {
7749
+ /**
7750
+ * Bad request
7751
+ */
7752
+ 400: BadRequestError;
7009
7753
  /**
7010
7754
  * Not found
7011
7755
  */
@@ -7031,6 +7775,10 @@ export type BackgroundProcessStopData = {
7031
7775
  url: "/background-process/{processID}/stop";
7032
7776
  };
7033
7777
  export type BackgroundProcessStopErrors = {
7778
+ /**
7779
+ * Bad request
7780
+ */
7781
+ 400: BadRequestError;
7034
7782
  /**
7035
7783
  * Not found
7036
7784
  */
@@ -7056,6 +7804,10 @@ export type BackgroundProcessRestartData = {
7056
7804
  url: "/background-process/{processID}/restart";
7057
7805
  };
7058
7806
  export type BackgroundProcessRestartErrors = {
7807
+ /**
7808
+ * Bad request
7809
+ */
7810
+ 400: BadRequestError;
7059
7811
  /**
7060
7812
  * Not found
7061
7813
  */
@@ -7080,6 +7832,13 @@ export type BackgroundProcessStopSessionData = {
7080
7832
  };
7081
7833
  url: "/background-process/session/{sessionID}/stop";
7082
7834
  };
7835
+ export type BackgroundProcessStopSessionErrors = {
7836
+ /**
7837
+ * Bad request
7838
+ */
7839
+ 400: BadRequestError;
7840
+ };
7841
+ export type BackgroundProcessStopSessionError = BackgroundProcessStopSessionErrors[keyof BackgroundProcessStopSessionErrors];
7083
7842
  export type BackgroundProcessStopSessionResponses = {
7084
7843
  /**
7085
7844
  * Stopped session background processes
@@ -7105,9 +7864,9 @@ export type CommitMessageGenerateData = {
7105
7864
  };
7106
7865
  export type CommitMessageGenerateErrors = {
7107
7866
  /**
7108
- * Bad request
7867
+ * BadRequest | InvalidRequestError
7109
7868
  */
7110
- 400: BadRequestError;
7869
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7111
7870
  };
7112
7871
  export type CommitMessageGenerateError = CommitMessageGenerateErrors[keyof CommitMessageGenerateErrors];
7113
7872
  export type CommitMessageGenerateResponses = {
@@ -7129,6 +7888,13 @@ export type ConfigOverlayData = {
7129
7888
  };
7130
7889
  url: "/config/overlay";
7131
7890
  };
7891
+ export type ConfigOverlayErrors = {
7892
+ /**
7893
+ * Bad request
7894
+ */
7895
+ 400: BadRequestError;
7896
+ };
7897
+ export type ConfigOverlayError = ConfigOverlayErrors[keyof ConfigOverlayErrors];
7132
7898
  export type ConfigOverlayResponses = {
7133
7899
  /**
7134
7900
  * Resolved config overlay
@@ -7151,6 +7917,13 @@ export type ConfigOverlayUpdateData = {
7151
7917
  };
7152
7918
  url: "/config/overlay";
7153
7919
  };
7920
+ export type ConfigOverlayUpdateErrors = {
7921
+ /**
7922
+ * Bad request
7923
+ */
7924
+ 400: BadRequestError;
7925
+ };
7926
+ export type ConfigOverlayUpdateError = ConfigOverlayUpdateErrors[keyof ConfigOverlayUpdateErrors];
7154
7927
  export type ConfigOverlayUpdateResponses = {
7155
7928
  /**
7156
7929
  * Effective configuration after patch
@@ -7167,6 +7940,13 @@ export type ConfigSourcesData = {
7167
7940
  };
7168
7941
  url: "/config/sources";
7169
7942
  };
7943
+ export type ConfigSourcesErrors = {
7944
+ /**
7945
+ * Bad request
7946
+ */
7947
+ 400: BadRequestError;
7948
+ };
7949
+ export type ConfigSourcesError = ConfigSourcesErrors[keyof ConfigSourcesErrors];
7170
7950
  export type ConfigSourcesResponses = {
7171
7951
  /**
7172
7952
  * Config source inventory
@@ -7183,6 +7963,13 @@ export type ConfigEffectiveData = {
7183
7963
  };
7184
7964
  url: "/config/effective";
7185
7965
  };
7966
+ export type ConfigEffectiveErrors = {
7967
+ /**
7968
+ * Bad request
7969
+ */
7970
+ 400: BadRequestError;
7971
+ };
7972
+ export type ConfigEffectiveError = ConfigEffectiveErrors[keyof ConfigEffectiveErrors];
7186
7973
  export type ConfigEffectiveResponses = {
7187
7974
  /**
7188
7975
  * Effective config info
@@ -7200,6 +7987,13 @@ export type ConfigRulesData = {
7200
7987
  };
7201
7988
  url: "/config/rules";
7202
7989
  };
7990
+ export type ConfigRulesErrors = {
7991
+ /**
7992
+ * Bad request
7993
+ */
7994
+ 400: BadRequestError;
7995
+ };
7996
+ export type ConfigRulesError = ConfigRulesErrors[keyof ConfigRulesErrors];
7203
7997
  export type ConfigRulesResponses = {
7204
7998
  /**
7205
7999
  * Project rules
@@ -7219,6 +8013,13 @@ export type ConfigRulesUpdateData = {
7219
8013
  };
7220
8014
  url: "/config/rules";
7221
8015
  };
8016
+ export type ConfigRulesUpdateErrors = {
8017
+ /**
8018
+ * Bad request
8019
+ */
8020
+ 400: BadRequestError;
8021
+ };
8022
+ export type ConfigRulesUpdateError = ConfigRulesUpdateErrors[keyof ConfigRulesUpdateErrors];
7222
8023
  export type ConfigRulesUpdateResponses = {
7223
8024
  /**
7224
8025
  * Project rules after update
@@ -7235,6 +8036,13 @@ export type ConfigModelStateData = {
7235
8036
  };
7236
8037
  url: "/config/model-state";
7237
8038
  };
8039
+ export type ConfigModelStateErrors = {
8040
+ /**
8041
+ * Bad request
8042
+ */
8043
+ 400: BadRequestError;
8044
+ };
8045
+ export type ConfigModelStateError = ConfigModelStateErrors[keyof ConfigModelStateErrors];
7238
8046
  export type ConfigModelStateResponses = {
7239
8047
  /**
7240
8048
  * Model state
@@ -7256,6 +8064,13 @@ export type ConfigModelStateUpdateData = {
7256
8064
  };
7257
8065
  url: "/config/model-state";
7258
8066
  };
8067
+ export type ConfigModelStateUpdateErrors = {
8068
+ /**
8069
+ * Bad request
8070
+ */
8071
+ 400: BadRequestError;
8072
+ };
8073
+ export type ConfigModelStateUpdateError = ConfigModelStateUpdateErrors[keyof ConfigModelStateUpdateErrors];
7259
8074
  export type ConfigModelStateUpdateResponses = {
7260
8075
  /**
7261
8076
  * Updated model state
@@ -7272,6 +8087,13 @@ export type TuiConfigGetData = {
7272
8087
  };
7273
8088
  url: "/tui/config";
7274
8089
  };
8090
+ export type TuiConfigGetErrors = {
8091
+ /**
8092
+ * Bad request
8093
+ */
8094
+ 400: BadRequestError;
8095
+ };
8096
+ export type TuiConfigGetError = TuiConfigGetErrors[keyof TuiConfigGetErrors];
7275
8097
  export type TuiConfigGetResponses = {
7276
8098
  /**
7277
8099
  * Effective TUI configuration
@@ -7295,6 +8117,10 @@ export type TuiConfigUpdateData = {
7295
8117
  plugin_enabled?: {
7296
8118
  [key: string]: boolean;
7297
8119
  };
8120
+ /**
8121
+ * Status icon style shown in terminal titles
8122
+ */
8123
+ title_icon?: "none" | "unicode" | "emojis";
7298
8124
  scroll_speed?: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
7299
8125
  scroll_acceleration?: {
7300
8126
  enabled: boolean;
@@ -7318,9 +8144,9 @@ export type TuiConfigUpdateData = {
7318
8144
  };
7319
8145
  export type TuiConfigUpdateErrors = {
7320
8146
  /**
7321
- * Bad request
8147
+ * BadRequest | InvalidRequestError
7322
8148
  */
7323
- 400: BadRequestError;
8149
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7324
8150
  };
7325
8151
  export type TuiConfigUpdateError = TuiConfigUpdateErrors[keyof TuiConfigUpdateErrors];
7326
8152
  export type TuiConfigUpdateResponses = {
@@ -7339,6 +8165,13 @@ export type TuiKeybindListData = {
7339
8165
  };
7340
8166
  url: "/tui/keybinds";
7341
8167
  };
8168
+ export type TuiKeybindListErrors = {
8169
+ /**
8170
+ * Bad request
8171
+ */
8172
+ 400: BadRequestError;
8173
+ };
8174
+ export type TuiKeybindListError = TuiKeybindListErrors[keyof TuiKeybindListErrors];
7342
8175
  export type TuiKeybindListResponses = {
7343
8176
  /**
7344
8177
  * TUI keybind metadata
@@ -7362,9 +8195,9 @@ export type EnhancePromptEnhanceData = {
7362
8195
  };
7363
8196
  export type EnhancePromptEnhanceErrors = {
7364
8197
  /**
7365
- * Bad request
8198
+ * BadRequest | InvalidRequestError
7366
8199
  */
7367
- 400: BadRequestError;
8200
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7368
8201
  };
7369
8202
  export type EnhancePromptEnhanceError = EnhancePromptEnhanceErrors[keyof EnhancePromptEnhanceErrors];
7370
8203
  export type EnhancePromptEnhanceResponses = {
@@ -7385,6 +8218,13 @@ export type IndexingStatusData = {
7385
8218
  };
7386
8219
  url: "/indexing/status";
7387
8220
  };
8221
+ export type IndexingStatusErrors = {
8222
+ /**
8223
+ * Bad request
8224
+ */
8225
+ 400: BadRequestError;
8226
+ };
8227
+ export type IndexingStatusError = IndexingStatusErrors[keyof IndexingStatusErrors];
7388
8228
  export type IndexingStatusResponses = {
7389
8229
  /**
7390
8230
  * Indexing status
@@ -7401,6 +8241,13 @@ export type IndexingWarningsData = {
7401
8241
  };
7402
8242
  url: "/indexing/warnings";
7403
8243
  };
8244
+ export type IndexingWarningsErrors = {
8245
+ /**
8246
+ * Bad request
8247
+ */
8248
+ 400: BadRequestError;
8249
+ };
8250
+ export type IndexingWarningsError = IndexingWarningsErrors[keyof IndexingWarningsErrors];
7404
8251
  export type IndexingWarningsResponses = {
7405
8252
  /**
7406
8253
  * Indexing warnings
@@ -7417,6 +8264,13 @@ export type IndexingModelsData = {
7417
8264
  };
7418
8265
  url: "/indexing/models";
7419
8266
  };
8267
+ export type IndexingModelsErrors = {
8268
+ /**
8269
+ * Bad request
8270
+ */
8271
+ 400: BadRequestError;
8272
+ };
8273
+ export type IndexingModelsError = IndexingModelsErrors[keyof IndexingModelsErrors];
7420
8274
  export type IndexingModelsResponses = {
7421
8275
  /**
7422
8276
  * Kilo embedding model catalog
@@ -7435,9 +8289,9 @@ export type KiloProfileData = {
7435
8289
  };
7436
8290
  export type KiloProfileErrors = {
7437
8291
  /**
7438
- * Bad request
8292
+ * BadRequest | InvalidRequestError
7439
8293
  */
7440
- 400: BadRequestError;
8294
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7441
8295
  };
7442
8296
  export type KiloProfileError = KiloProfileErrors[keyof KiloProfileErrors];
7443
8297
  export type KiloProfileResponses = {
@@ -7461,6 +8315,32 @@ export type KiloProfileResponses = {
7461
8315
  };
7462
8316
  };
7463
8317
  export type KiloProfileResponse = KiloProfileResponses[keyof KiloProfileResponses];
8318
+ export type KiloAuthStatusData = {
8319
+ body?: never;
8320
+ path?: never;
8321
+ query?: {
8322
+ directory?: string;
8323
+ workspace?: string;
8324
+ };
8325
+ url: "/kilo/auth-status";
8326
+ };
8327
+ export type KiloAuthStatusErrors = {
8328
+ /**
8329
+ * BadRequest | InvalidRequestError
8330
+ */
8331
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8332
+ };
8333
+ export type KiloAuthStatusError = KiloAuthStatusErrors[keyof KiloAuthStatusErrors];
8334
+ export type KiloAuthStatusResponses = {
8335
+ /**
8336
+ * Kilo authentication status
8337
+ */
8338
+ 200: {
8339
+ authenticated: boolean;
8340
+ type?: "api" | "oauth";
8341
+ };
8342
+ };
8343
+ export type KiloAuthStatusResponse = KiloAuthStatusResponses[keyof KiloAuthStatusResponses];
7464
8344
  export type KiloModesData = {
7465
8345
  body?: never;
7466
8346
  path?: never;
@@ -7470,6 +8350,13 @@ export type KiloModesData = {
7470
8350
  };
7471
8351
  url: "/kilo/modes";
7472
8352
  };
8353
+ export type KiloModesErrors = {
8354
+ /**
8355
+ * Bad request
8356
+ */
8357
+ 400: BadRequestError;
8358
+ };
8359
+ export type KiloModesError = KiloModesErrors[keyof KiloModesErrors];
7473
8360
  export type KiloModesResponses = {
7474
8361
  /**
7475
8362
  * Organization modes list
@@ -7518,9 +8405,9 @@ export type KiloFimData = {
7518
8405
  };
7519
8406
  export type KiloFimErrors = {
7520
8407
  /**
7521
- * Bad request
8408
+ * BadRequest | InvalidRequestError
7522
8409
  */
7523
- 400: BadRequestError;
8410
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7524
8411
  };
7525
8412
  export type KiloFimError = KiloFimErrors[keyof KiloFimErrors];
7526
8413
  export type KiloFimResponses = {
@@ -7568,9 +8455,9 @@ export type KiloEditData = {
7568
8455
  };
7569
8456
  export type KiloEditErrors = {
7570
8457
  /**
7571
- * Bad request
8458
+ * BadRequest | InvalidRequestError
7572
8459
  */
7573
- 400: BadRequestError;
8460
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7574
8461
  };
7575
8462
  export type KiloEditError = KiloEditErrors[keyof KiloEditErrors];
7576
8463
  export type KiloEditResponses = {
@@ -7606,9 +8493,9 @@ export type KiloAudioTranscriptionsData = {
7606
8493
  };
7607
8494
  export type KiloAudioTranscriptionsErrors = {
7608
8495
  /**
7609
- * Bad request
8496
+ * BadRequest | InvalidRequestError
7610
8497
  */
7611
- 400: BadRequestError;
8498
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7612
8499
  };
7613
8500
  export type KiloAudioTranscriptionsError = KiloAudioTranscriptionsErrors[keyof KiloAudioTranscriptionsErrors];
7614
8501
  export type KiloAudioTranscriptionsResponses = {
@@ -7632,9 +8519,9 @@ export type KiloNotificationsData = {
7632
8519
  };
7633
8520
  export type KiloNotificationsErrors = {
7634
8521
  /**
7635
- * Bad request
8522
+ * BadRequest | InvalidRequestError
7636
8523
  */
7637
- 400: BadRequestError;
8524
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7638
8525
  };
7639
8526
  export type KiloNotificationsError = KiloNotificationsErrors[keyof KiloNotificationsErrors];
7640
8527
  export type KiloNotificationsResponses = {
@@ -7667,9 +8554,9 @@ export type KiloOrganizationSetData = {
7667
8554
  };
7668
8555
  export type KiloOrganizationSetErrors = {
7669
8556
  /**
7670
- * Bad request
8557
+ * BadRequest | InvalidRequestError
7671
8558
  */
7672
- 400: BadRequestError;
8559
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7673
8560
  };
7674
8561
  export type KiloOrganizationSetError = KiloOrganizationSetErrors[keyof KiloOrganizationSetErrors];
7675
8562
  export type KiloOrganizationSetResponses = {
@@ -7689,6 +8576,10 @@ export type KiloClawStatusData = {
7689
8576
  url: "/kilo/claw/status";
7690
8577
  };
7691
8578
  export type KiloClawStatusErrors = {
8579
+ /**
8580
+ * Bad request
8581
+ */
8582
+ 400: BadRequestError;
7692
8583
  /**
7693
8584
  * ServiceUnavailable
7694
8585
  */
@@ -7726,6 +8617,13 @@ export type KiloClawChatCredentialsData = {
7726
8617
  };
7727
8618
  url: "/kilo/claw/chat-credentials";
7728
8619
  };
8620
+ export type KiloClawChatCredentialsErrors = {
8621
+ /**
8622
+ * Bad request
8623
+ */
8624
+ 400: BadRequestError;
8625
+ };
8626
+ export type KiloClawChatCredentialsError = KiloClawChatCredentialsErrors[keyof KiloClawChatCredentialsErrors];
7729
8627
  export type KiloClawChatCredentialsResponses = {
7730
8628
  /**
7731
8629
  * Kilo Chat credentials or null
@@ -7752,9 +8650,9 @@ export type KiloCloudSessionsData = {
7752
8650
  };
7753
8651
  export type KiloCloudSessionsErrors = {
7754
8652
  /**
7755
- * Bad request
8653
+ * BadRequest | InvalidRequestError
7756
8654
  */
7757
- 400: BadRequestError;
8655
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7758
8656
  };
7759
8657
  export type KiloCloudSessionsError = KiloCloudSessionsErrors[keyof KiloCloudSessionsErrors];
7760
8658
  export type KiloCloudSessionsResponses = {
@@ -7785,6 +8683,10 @@ export type KiloCloudSessionGetData = {
7785
8683
  url: "/kilo/cloud/session/{id}";
7786
8684
  };
7787
8685
  export type KiloCloudSessionGetErrors = {
8686
+ /**
8687
+ * Bad request
8688
+ */
8689
+ 400: BadRequestError;
7788
8690
  /**
7789
8691
  * Not found
7790
8692
  */
@@ -7837,9 +8739,9 @@ export type KiloCloudSessionImportData = {
7837
8739
  };
7838
8740
  export type KiloCloudSessionImportErrors = {
7839
8741
  /**
7840
- * Bad request
8742
+ * BadRequest | InvalidRequestError
7841
8743
  */
7842
- 400: BadRequestError;
8744
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7843
8745
  /**
7844
8746
  * Not found
7845
8747
  */
@@ -7871,9 +8773,9 @@ export type KilocodeHeapSnapshotData = {
7871
8773
  };
7872
8774
  export type KilocodeHeapSnapshotErrors = {
7873
8775
  /**
7874
- * Bad request
8776
+ * BadRequest | InvalidRequestError
7875
8777
  */
7876
- 400: BadRequestError;
8778
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7877
8779
  };
7878
8780
  export type KilocodeHeapSnapshotError = KilocodeHeapSnapshotErrors[keyof KilocodeHeapSnapshotErrors];
7879
8781
  export type KilocodeHeapSnapshotResponses = {
@@ -7896,9 +8798,9 @@ export type KilocodeRemoveSkillData = {
7896
8798
  };
7897
8799
  export type KilocodeRemoveSkillErrors = {
7898
8800
  /**
7899
- * Bad request
8801
+ * BadRequest | InvalidRequestError
7900
8802
  */
7901
- 400: BadRequestError;
8803
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7902
8804
  };
7903
8805
  export type KilocodeRemoveSkillError = KilocodeRemoveSkillErrors[keyof KilocodeRemoveSkillErrors];
7904
8806
  export type KilocodeRemoveSkillResponses = {
@@ -7921,9 +8823,9 @@ export type KilocodeRemoveAgentData = {
7921
8823
  };
7922
8824
  export type KilocodeRemoveAgentErrors = {
7923
8825
  /**
7924
- * Bad request
8826
+ * BadRequest | InvalidRequestError
7925
8827
  */
7926
- 400: BadRequestError;
8828
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7927
8829
  };
7928
8830
  export type KilocodeRemoveAgentError = KilocodeRemoveAgentErrors[keyof KilocodeRemoveAgentErrors];
7929
8831
  export type KilocodeRemoveAgentResponses = {
@@ -7942,6 +8844,13 @@ export type NetworkListData = {
7942
8844
  };
7943
8845
  url: "/network";
7944
8846
  };
8847
+ export type NetworkListErrors = {
8848
+ /**
8849
+ * Bad request
8850
+ */
8851
+ 400: BadRequestError;
8852
+ };
8853
+ export type NetworkListError = NetworkListErrors[keyof NetworkListErrors];
7945
8854
  export type NetworkListResponses = {
7946
8855
  /**
7947
8856
  * List of pending network reconnect requests
@@ -7962,9 +8871,9 @@ export type NetworkReplyData = {
7962
8871
  };
7963
8872
  export type NetworkReplyErrors = {
7964
8873
  /**
7965
- * Bad request
8874
+ * BadRequest | InvalidRequestError
7966
8875
  */
7967
- 400: BadRequestError;
8876
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7968
8877
  /**
7969
8878
  * Not found
7970
8879
  */
@@ -7991,9 +8900,9 @@ export type NetworkRejectData = {
7991
8900
  };
7992
8901
  export type NetworkRejectErrors = {
7993
8902
  /**
7994
- * Bad request
8903
+ * BadRequest | InvalidRequestError
7995
8904
  */
7996
- 400: BadRequestError;
8905
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7997
8906
  /**
7998
8907
  * Not found
7999
8908
  */
@@ -8016,6 +8925,13 @@ export type RemoteEnableData = {
8016
8925
  };
8017
8926
  url: "/remote/enable";
8018
8927
  };
8928
+ export type RemoteEnableErrors = {
8929
+ /**
8930
+ * Bad request
8931
+ */
8932
+ 400: BadRequestError;
8933
+ };
8934
+ export type RemoteEnableError = RemoteEnableErrors[keyof RemoteEnableErrors];
8019
8935
  export type RemoteEnableResponses = {
8020
8936
  /**
8021
8937
  * Remote connection enabled
@@ -8035,6 +8951,13 @@ export type RemoteDisableData = {
8035
8951
  };
8036
8952
  url: "/remote/disable";
8037
8953
  };
8954
+ export type RemoteDisableErrors = {
8955
+ /**
8956
+ * Bad request
8957
+ */
8958
+ 400: BadRequestError;
8959
+ };
8960
+ export type RemoteDisableError = RemoteDisableErrors[keyof RemoteDisableErrors];
8038
8961
  export type RemoteDisableResponses = {
8039
8962
  /**
8040
8963
  * Remote connection disabled
@@ -8054,6 +8977,13 @@ export type RemoteStatusData = {
8054
8977
  };
8055
8978
  url: "/remote/status";
8056
8979
  };
8980
+ export type RemoteStatusErrors = {
8981
+ /**
8982
+ * Bad request
8983
+ */
8984
+ 400: BadRequestError;
8985
+ };
8986
+ export type RemoteStatusError = RemoteStatusErrors[keyof RemoteStatusErrors];
8057
8987
  export type RemoteStatusResponses = {
8058
8988
  /**
8059
8989
  * Remote connection status
@@ -8089,9 +9019,9 @@ export type KilocodeSessionImportProjectData = {
8089
9019
  };
8090
9020
  export type KilocodeSessionImportProjectErrors = {
8091
9021
  /**
8092
- * Bad request
9022
+ * BadRequest | InvalidRequestError
8093
9023
  */
8094
- 400: BadRequestError;
9024
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8095
9025
  };
8096
9026
  export type KilocodeSessionImportProjectError = KilocodeSessionImportProjectErrors[keyof KilocodeSessionImportProjectErrors];
8097
9027
  export type KilocodeSessionImportProjectResponses = {
@@ -8144,9 +9074,9 @@ export type KilocodeSessionImportSessionData = {
8144
9074
  };
8145
9075
  export type KilocodeSessionImportSessionErrors = {
8146
9076
  /**
8147
- * Bad request
9077
+ * BadRequest | InvalidRequestError
8148
9078
  */
8149
- 400: BadRequestError;
9079
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8150
9080
  };
8151
9081
  export type KilocodeSessionImportSessionError = KilocodeSessionImportSessionErrors[keyof KilocodeSessionImportSessionErrors];
8152
9082
  export type KilocodeSessionImportSessionResponses = {
@@ -8215,9 +9145,9 @@ export type KilocodeSessionImportMessageData = {
8215
9145
  };
8216
9146
  export type KilocodeSessionImportMessageErrors = {
8217
9147
  /**
8218
- * Bad request
9148
+ * BadRequest | InvalidRequestError
8219
9149
  */
8220
- 400: BadRequestError;
9150
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8221
9151
  };
8222
9152
  export type KilocodeSessionImportMessageError = KilocodeSessionImportMessageErrors[keyof KilocodeSessionImportMessageErrors];
8223
9153
  export type KilocodeSessionImportMessageResponses = {
@@ -8320,9 +9250,9 @@ export type KilocodeSessionImportPartData = {
8320
9250
  };
8321
9251
  export type KilocodeSessionImportPartErrors = {
8322
9252
  /**
8323
- * Bad request
9253
+ * BadRequest | InvalidRequestError
8324
9254
  */
8325
- 400: BadRequestError;
9255
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8326
9256
  };
8327
9257
  export type KilocodeSessionImportPartError = KilocodeSessionImportPartErrors[keyof KilocodeSessionImportPartErrors];
8328
9258
  export type KilocodeSessionImportPartResponses = {
@@ -8341,6 +9271,13 @@ export type SuggestionListData = {
8341
9271
  };
8342
9272
  url: "/suggestion";
8343
9273
  };
9274
+ export type SuggestionListErrors = {
9275
+ /**
9276
+ * Bad request
9277
+ */
9278
+ 400: BadRequestError;
9279
+ };
9280
+ export type SuggestionListError = SuggestionListErrors[keyof SuggestionListErrors];
8344
9281
  export type SuggestionListResponses = {
8345
9282
  /**
8346
9283
  * List of pending suggestions
@@ -8366,9 +9303,9 @@ export type SuggestionAcceptData = {
8366
9303
  };
8367
9304
  export type SuggestionAcceptErrors = {
8368
9305
  /**
8369
- * Bad request
9306
+ * BadRequest | InvalidRequestError
8370
9307
  */
8371
- 400: BadRequestError;
9308
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8372
9309
  /**
8373
9310
  * Not found
8374
9311
  */
@@ -8395,9 +9332,9 @@ export type SuggestionDismissData = {
8395
9332
  };
8396
9333
  export type SuggestionDismissErrors = {
8397
9334
  /**
8398
- * Bad request
9335
+ * BadRequest | InvalidRequestError
8399
9336
  */
8400
- 400: BadRequestError;
9337
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8401
9338
  /**
8402
9339
  * Not found
8403
9340
  */
@@ -8430,9 +9367,9 @@ export type TelemetryCaptureData = {
8430
9367
  };
8431
9368
  export type TelemetryCaptureErrors = {
8432
9369
  /**
8433
- * Bad request
9370
+ * BadRequest | InvalidRequestError
8434
9371
  */
8435
- 400: BadRequestError;
9372
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8436
9373
  };
8437
9374
  export type TelemetryCaptureError = TelemetryCaptureErrors[keyof TelemetryCaptureErrors];
8438
9375
  export type TelemetryCaptureResponses = {
@@ -8455,9 +9392,9 @@ export type TelemetrySetEnabledData = {
8455
9392
  };
8456
9393
  export type TelemetrySetEnabledErrors = {
8457
9394
  /**
8458
- * Bad request
9395
+ * BadRequest | InvalidRequestError
8459
9396
  */
8460
- 400: BadRequestError;
9397
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
8461
9398
  };
8462
9399
  export type TelemetrySetEnabledError = TelemetrySetEnabledErrors[keyof TelemetrySetEnabledErrors];
8463
9400
  export type TelemetrySetEnabledResponses = {