@zyraxon-ai/sdk 19.0.4 → 19.0.6

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.
Files changed (122) hide show
  1. package/dist/client.d.ts.map +1 -1
  2. package/dist/client.js +1 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/error-interceptor.d.ts.map +1 -1
  5. package/dist/error-interceptor.js +1 -0
  6. package/dist/error-interceptor.js.map +1 -1
  7. package/dist/gen/client/client.gen.d.ts.map +1 -1
  8. package/dist/gen/client/client.gen.js +1 -0
  9. package/dist/gen/client/client.gen.js.map +1 -1
  10. package/dist/gen/client/index.d.ts.map +1 -1
  11. package/dist/gen/client/index.js +1 -1
  12. package/dist/gen/client/index.js.map +1 -1
  13. package/dist/gen/client/types.gen.d.ts.map +1 -1
  14. package/dist/gen/client/types.gen.js +1 -1
  15. package/dist/gen/client/types.gen.js.map +1 -1
  16. package/dist/gen/client/utils.gen.d.ts.map +1 -1
  17. package/dist/gen/client/utils.gen.js +1 -0
  18. package/dist/gen/client/utils.gen.js.map +1 -1
  19. package/dist/gen/client.gen.d.ts.map +1 -1
  20. package/dist/gen/client.gen.js +1 -1
  21. package/dist/gen/client.gen.js.map +1 -1
  22. package/dist/gen/core/auth.gen.d.ts.map +1 -1
  23. package/dist/gen/core/auth.gen.js +1 -1
  24. package/dist/gen/core/auth.gen.js.map +1 -1
  25. package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -1
  26. package/dist/gen/core/bodySerializer.gen.js +1 -1
  27. package/dist/gen/core/bodySerializer.gen.js.map +1 -1
  28. package/dist/gen/core/params.gen.d.ts.map +1 -1
  29. package/dist/gen/core/params.gen.js +1 -1
  30. package/dist/gen/core/params.gen.js.map +1 -1
  31. package/dist/gen/core/pathSerializer.gen.d.ts.map +1 -1
  32. package/dist/gen/core/pathSerializer.gen.js +1 -1
  33. package/dist/gen/core/pathSerializer.gen.js.map +1 -1
  34. package/dist/gen/core/queryKeySerializer.gen.d.ts +1 -1
  35. package/dist/gen/core/queryKeySerializer.gen.d.ts.map +1 -1
  36. package/dist/gen/core/queryKeySerializer.gen.js +1 -1
  37. package/dist/gen/core/queryKeySerializer.gen.js.map +1 -1
  38. package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -1
  39. package/dist/gen/core/serverSentEvents.gen.js +1 -1
  40. package/dist/gen/core/serverSentEvents.gen.js.map +1 -1
  41. package/dist/gen/core/types.gen.d.ts.map +1 -1
  42. package/dist/gen/core/types.gen.js +1 -1
  43. package/dist/gen/core/types.gen.js.map +1 -1
  44. package/dist/gen/core/utils.gen.d.ts.map +1 -1
  45. package/dist/gen/core/utils.gen.js +1 -1
  46. package/dist/gen/core/utils.gen.js.map +1 -1
  47. package/dist/gen/sdk.gen.d.ts.map +1 -1
  48. package/dist/gen/sdk.gen.js +1 -1
  49. package/dist/gen/sdk.gen.js.map +1 -1
  50. package/dist/gen/types.gen.d.ts.map +1 -1
  51. package/dist/gen/types.gen.js +1 -1
  52. package/dist/gen/types.gen.js.map +1 -1
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +1 -0
  55. package/dist/index.js.map +1 -1
  56. package/dist/process.d.ts.map +1 -1
  57. package/dist/process.js +1 -0
  58. package/dist/process.js.map +1 -1
  59. package/dist/server.d.ts.map +1 -1
  60. package/dist/server.js +1 -0
  61. package/dist/server.js.map +1 -1
  62. package/dist/v2/client.d.ts.map +1 -1
  63. package/dist/v2/client.js +1 -0
  64. package/dist/v2/client.js.map +1 -1
  65. package/dist/v2/data.d.ts.map +1 -1
  66. package/dist/v2/data.js +1 -0
  67. package/dist/v2/data.js.map +1 -1
  68. package/dist/v2/gen/client/client.gen.d.ts.map +1 -1
  69. package/dist/v2/gen/client/client.gen.js +1 -0
  70. package/dist/v2/gen/client/client.gen.js.map +1 -1
  71. package/dist/v2/gen/client/index.d.ts.map +1 -1
  72. package/dist/v2/gen/client/index.js +1 -1
  73. package/dist/v2/gen/client/index.js.map +1 -1
  74. package/dist/v2/gen/client/types.gen.d.ts.map +1 -1
  75. package/dist/v2/gen/client/types.gen.js +1 -1
  76. package/dist/v2/gen/client/types.gen.js.map +1 -1
  77. package/dist/v2/gen/client/utils.gen.d.ts.map +1 -1
  78. package/dist/v2/gen/client/utils.gen.js +1 -0
  79. package/dist/v2/gen/client/utils.gen.js.map +1 -1
  80. package/dist/v2/gen/client.gen.d.ts.map +1 -1
  81. package/dist/v2/gen/client.gen.js +1 -0
  82. package/dist/v2/gen/client.gen.js.map +1 -1
  83. package/dist/v2/gen/core/auth.gen.d.ts.map +1 -1
  84. package/dist/v2/gen/core/auth.gen.js +1 -1
  85. package/dist/v2/gen/core/auth.gen.js.map +1 -1
  86. package/dist/v2/gen/core/bodySerializer.gen.d.ts.map +1 -1
  87. package/dist/v2/gen/core/bodySerializer.gen.js +1 -1
  88. package/dist/v2/gen/core/bodySerializer.gen.js.map +1 -1
  89. package/dist/v2/gen/core/params.gen.d.ts.map +1 -1
  90. package/dist/v2/gen/core/params.gen.js +1 -1
  91. package/dist/v2/gen/core/params.gen.js.map +1 -1
  92. package/dist/v2/gen/core/pathSerializer.gen.d.ts.map +1 -1
  93. package/dist/v2/gen/core/pathSerializer.gen.js +1 -1
  94. package/dist/v2/gen/core/pathSerializer.gen.js.map +1 -1
  95. package/dist/v2/gen/core/queryKeySerializer.gen.d.ts +1 -1
  96. package/dist/v2/gen/core/queryKeySerializer.gen.d.ts.map +1 -1
  97. package/dist/v2/gen/core/queryKeySerializer.gen.js +1 -1
  98. package/dist/v2/gen/core/queryKeySerializer.gen.js.map +1 -1
  99. package/dist/v2/gen/core/serverSentEvents.gen.d.ts.map +1 -1
  100. package/dist/v2/gen/core/serverSentEvents.gen.js +1 -1
  101. package/dist/v2/gen/core/serverSentEvents.gen.js.map +1 -1
  102. package/dist/v2/gen/core/types.gen.d.ts.map +1 -1
  103. package/dist/v2/gen/core/types.gen.js +1 -1
  104. package/dist/v2/gen/core/types.gen.js.map +1 -1
  105. package/dist/v2/gen/core/utils.gen.d.ts.map +1 -1
  106. package/dist/v2/gen/core/utils.gen.js +1 -1
  107. package/dist/v2/gen/core/utils.gen.js.map +1 -1
  108. package/dist/v2/gen/sdk.gen.d.ts +144 -1
  109. package/dist/v2/gen/sdk.gen.d.ts.map +1 -1
  110. package/dist/v2/gen/sdk.gen.js +294 -0
  111. package/dist/v2/gen/sdk.gen.js.map +1 -1
  112. package/dist/v2/gen/types.gen.d.ts +467 -3
  113. package/dist/v2/gen/types.gen.d.ts.map +1 -1
  114. package/dist/v2/gen/types.gen.js +1 -1
  115. package/dist/v2/gen/types.gen.js.map +1 -1
  116. package/dist/v2/index.d.ts.map +1 -1
  117. package/dist/v2/index.js +1 -0
  118. package/dist/v2/index.js.map +1 -1
  119. package/dist/v2/server.d.ts.map +1 -1
  120. package/dist/v2/server.js +1 -0
  121. package/dist/v2/server.js.map +1 -1
  122. package/package.json +2 -2
@@ -1481,6 +1481,8 @@ export type McpOAuthConfig = {
1481
1481
  scope?: string;
1482
1482
  callbackPort?: number;
1483
1483
  redirectUri?: string;
1484
+ authorizationUrl?: string;
1485
+ tokenUrl?: string;
1484
1486
  };
1485
1487
  export type McpRemoteConfig = {
1486
1488
  /**
@@ -1585,6 +1587,7 @@ export type Config = {
1585
1587
  enabled: boolean;
1586
1588
  };
1587
1589
  };
1590
+ mcp_browser?: string;
1588
1591
  /**
1589
1592
  * Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides.
1590
1593
  */
@@ -1713,7 +1716,7 @@ export type Model = {
1713
1716
  input?: number;
1714
1717
  output: number;
1715
1718
  };
1716
- status: "alpha" | "beta" | "deprecated" | "active" | "disabled";
1719
+ status: "alpha" | "beta" | "deprecated" | "active";
1717
1720
  options: {
1718
1721
  [key: string]: unknown;
1719
1722
  };
@@ -1962,6 +1965,46 @@ export type FormatterStatus = {
1962
1965
  extensions: Array<string>;
1963
1966
  enabled: boolean;
1964
1967
  };
1968
+ export type LocalModelInfo = {
1969
+ id: string;
1970
+ name: string;
1971
+ path: string;
1972
+ sizeBytes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1973
+ quantization?: string;
1974
+ family?: string;
1975
+ kind: string;
1976
+ };
1977
+ export type LocalBackendInfo = {
1978
+ name: string;
1979
+ available: boolean;
1980
+ path?: string;
1981
+ };
1982
+ export type LocalHfModel = {
1983
+ id: string;
1984
+ downloads: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1985
+ likes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1986
+ pipelineTag?: string;
1987
+ kind: string;
1988
+ };
1989
+ export type LocalHfFile = {
1990
+ name: string;
1991
+ sizeBytes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1992
+ };
1993
+ export type LocalDownloadProgress = {
1994
+ id: string;
1995
+ filename: string;
1996
+ receivedBytes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1997
+ totalBytes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
1998
+ done: boolean;
1999
+ error?: string;
2000
+ };
2001
+ export type LocalChatResult = {
2002
+ text: string;
2003
+ };
2004
+ export type LocalSpeakResult = {
2005
+ mime: string;
2006
+ audio: string;
2007
+ };
1965
2008
  export type McpStatusConnected = {
1966
2009
  status: "connected";
1967
2010
  };
@@ -2334,6 +2377,39 @@ export type ProjectCopyError = {
2334
2377
  forceRequired?: boolean;
2335
2378
  };
2336
2379
  };
2380
+ export type StorageUsage = {
2381
+ path: string;
2382
+ bytes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2383
+ pages: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2384
+ freelistPages: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2385
+ pageSize: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2386
+ sessions: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2387
+ messages: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2388
+ parts: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2389
+ };
2390
+ export type StorageResult = {
2391
+ sessions: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2392
+ messages: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2393
+ parts: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2394
+ bytesBefore: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2395
+ bytesAfter: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2396
+ };
2397
+ export type StoragePurgeInput = {
2398
+ sessionIDs?: Array<string>;
2399
+ olderThan?: string;
2400
+ };
2401
+ export type StorageLocation = {
2402
+ id: string;
2403
+ label: string;
2404
+ kind: "database" | "directory" | "config" | "mcp";
2405
+ path: string;
2406
+ exists: boolean;
2407
+ bytes: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN";
2408
+ deletable: boolean;
2409
+ };
2410
+ export type StorageLocations = {
2411
+ locations: Array<StorageLocation>;
2412
+ };
2337
2413
  export type EffectHttpApiErrorForbidden = {
2338
2414
  _tag: "Forbidden";
2339
2415
  };
@@ -3252,6 +3328,7 @@ export type SessionMessageUser = {
3252
3328
  text: string;
3253
3329
  files?: Array<PromptFileAttachment>;
3254
3330
  agents?: Array<PromptAgentAttachment>;
3331
+ replyLanguage?: string;
3255
3332
  type: "user";
3256
3333
  };
3257
3334
  export type SessionMessageSynthetic = {
@@ -6848,9 +6925,9 @@ export type FileListData = {
6848
6925
  };
6849
6926
  export type FileListErrors = {
6850
6927
  /**
6851
- * Bad request
6928
+ * InvalidRequestError
6852
6929
  */
6853
- 400: BadRequestError;
6930
+ 400: InvalidRequestError;
6854
6931
  };
6855
6932
  export type FileListError = FileListErrors[keyof FileListErrors];
6856
6933
  export type FileListResponses = {
@@ -7194,6 +7271,204 @@ export type FormatterStatusResponses = {
7194
7271
  200: Array<FormatterStatus>;
7195
7272
  };
7196
7273
  export type FormatterStatusResponse = FormatterStatusResponses[keyof FormatterStatusResponses];
7274
+ export type LocalModelsData = {
7275
+ body?: never;
7276
+ path?: never;
7277
+ query?: {
7278
+ directory?: string;
7279
+ workspace?: string;
7280
+ };
7281
+ url: "/local/models";
7282
+ };
7283
+ export type LocalModelsErrors = {
7284
+ /**
7285
+ * Bad request
7286
+ */
7287
+ 400: BadRequestError;
7288
+ };
7289
+ export type LocalModelsError = LocalModelsErrors[keyof LocalModelsErrors];
7290
+ export type LocalModelsResponses = {
7291
+ /**
7292
+ * Models already present on disk
7293
+ */
7294
+ 200: Array<LocalModelInfo>;
7295
+ };
7296
+ export type LocalModelsResponse = LocalModelsResponses[keyof LocalModelsResponses];
7297
+ export type LocalBackendsData = {
7298
+ body?: never;
7299
+ path?: never;
7300
+ query?: {
7301
+ directory?: string;
7302
+ workspace?: string;
7303
+ };
7304
+ url: "/local/backends";
7305
+ };
7306
+ export type LocalBackendsErrors = {
7307
+ /**
7308
+ * Bad request
7309
+ */
7310
+ 400: BadRequestError;
7311
+ };
7312
+ export type LocalBackendsError = LocalBackendsErrors[keyof LocalBackendsErrors];
7313
+ export type LocalBackendsResponses = {
7314
+ /**
7315
+ * Available local inference backends
7316
+ */
7317
+ 200: Array<LocalBackendInfo>;
7318
+ };
7319
+ export type LocalBackendsResponse = LocalBackendsResponses[keyof LocalBackendsResponses];
7320
+ export type LocalSearchData = {
7321
+ body?: never;
7322
+ path?: never;
7323
+ query: {
7324
+ q: string;
7325
+ directory?: string;
7326
+ workspace?: string;
7327
+ };
7328
+ url: "/local/search";
7329
+ };
7330
+ export type LocalSearchErrors = {
7331
+ /**
7332
+ * Bad request
7333
+ */
7334
+ 400: BadRequestError;
7335
+ };
7336
+ export type LocalSearchError = LocalSearchErrors[keyof LocalSearchErrors];
7337
+ export type LocalSearchResponses = {
7338
+ /**
7339
+ * HuggingFace search results
7340
+ */
7341
+ 200: Array<LocalHfModel>;
7342
+ };
7343
+ export type LocalSearchResponse = LocalSearchResponses[keyof LocalSearchResponses];
7344
+ export type LocalFilesData = {
7345
+ body?: never;
7346
+ path?: never;
7347
+ query: {
7348
+ repo: string;
7349
+ directory?: string;
7350
+ workspace?: string;
7351
+ };
7352
+ url: "/local/files";
7353
+ };
7354
+ export type LocalFilesErrors = {
7355
+ /**
7356
+ * Bad request
7357
+ */
7358
+ 400: BadRequestError;
7359
+ };
7360
+ export type LocalFilesError = LocalFilesErrors[keyof LocalFilesErrors];
7361
+ export type LocalFilesResponses = {
7362
+ /**
7363
+ * GGUF files in a Hub repo
7364
+ */
7365
+ 200: Array<LocalHfFile>;
7366
+ };
7367
+ export type LocalFilesResponse = LocalFilesResponses[keyof LocalFilesResponses];
7368
+ export type LocalDownloadData = {
7369
+ body?: {
7370
+ repo: string;
7371
+ file: string;
7372
+ };
7373
+ path?: never;
7374
+ query?: {
7375
+ directory?: string;
7376
+ workspace?: string;
7377
+ };
7378
+ url: "/local/download";
7379
+ };
7380
+ export type LocalDownloadErrors = {
7381
+ /**
7382
+ * Bad request
7383
+ */
7384
+ 400: BadRequestError;
7385
+ };
7386
+ export type LocalDownloadError = LocalDownloadErrors[keyof LocalDownloadErrors];
7387
+ export type LocalDownloadResponses = {
7388
+ /**
7389
+ * Downloaded model
7390
+ */
7391
+ 200: LocalModelInfo;
7392
+ };
7393
+ export type LocalDownloadResponse = LocalDownloadResponses[keyof LocalDownloadResponses];
7394
+ export type LocalDownloadsData = {
7395
+ body?: never;
7396
+ path?: never;
7397
+ query?: {
7398
+ directory?: string;
7399
+ workspace?: string;
7400
+ };
7401
+ url: "/local/downloads";
7402
+ };
7403
+ export type LocalDownloadsErrors = {
7404
+ /**
7405
+ * Bad request
7406
+ */
7407
+ 400: BadRequestError;
7408
+ };
7409
+ export type LocalDownloadsError = LocalDownloadsErrors[keyof LocalDownloadsErrors];
7410
+ export type LocalDownloadsResponses = {
7411
+ /**
7412
+ * Active downloads
7413
+ */
7414
+ 200: Array<LocalDownloadProgress>;
7415
+ };
7416
+ export type LocalDownloadsResponse = LocalDownloadsResponses[keyof LocalDownloadsResponses];
7417
+ export type LocalChatData = {
7418
+ body?: {
7419
+ model: string;
7420
+ messages: Array<{
7421
+ role: string;
7422
+ content: string;
7423
+ }>;
7424
+ };
7425
+ path?: never;
7426
+ query?: {
7427
+ directory?: string;
7428
+ workspace?: string;
7429
+ };
7430
+ url: "/local/chat";
7431
+ };
7432
+ export type LocalChatErrors = {
7433
+ /**
7434
+ * Bad request
7435
+ */
7436
+ 400: BadRequestError;
7437
+ };
7438
+ export type LocalChatError = LocalChatErrors[keyof LocalChatErrors];
7439
+ export type LocalChatResponses = {
7440
+ /**
7441
+ * Local model reply
7442
+ */
7443
+ 200: LocalChatResult;
7444
+ };
7445
+ export type LocalChatResponse = LocalChatResponses[keyof LocalChatResponses];
7446
+ export type LocalSpeakData = {
7447
+ body?: {
7448
+ text: string;
7449
+ voice?: string;
7450
+ };
7451
+ path?: never;
7452
+ query?: {
7453
+ directory?: string;
7454
+ workspace?: string;
7455
+ };
7456
+ url: "/local/speak";
7457
+ };
7458
+ export type LocalSpeakErrors = {
7459
+ /**
7460
+ * Bad request
7461
+ */
7462
+ 400: BadRequestError;
7463
+ };
7464
+ export type LocalSpeakError = LocalSpeakErrors[keyof LocalSpeakErrors];
7465
+ export type LocalSpeakResponses = {
7466
+ /**
7467
+ * Synthesised speech as base64 audio
7468
+ */
7469
+ 200: LocalSpeakResult;
7470
+ };
7471
+ export type LocalSpeakResponse = LocalSpeakResponses[keyof LocalSpeakResponses];
7197
7472
  export type McpStatusData = {
7198
7473
  body?: never;
7199
7474
  path?: never;
@@ -7286,6 +7561,7 @@ export type McpAuthStartData = {
7286
7561
  query?: {
7287
7562
  directory?: string;
7288
7563
  workspace?: string;
7564
+ open?: string;
7289
7565
  };
7290
7566
  url: "/mcp/{name}/auth";
7291
7567
  };
@@ -7310,6 +7586,37 @@ export type McpAuthStartResponses = {
7310
7586
  };
7311
7587
  };
7312
7588
  export type McpAuthStartResponse = McpAuthStartResponses[keyof McpAuthStartResponses];
7589
+ export type McpAuthHasTokensData = {
7590
+ body?: never;
7591
+ path: {
7592
+ name: string;
7593
+ };
7594
+ query?: {
7595
+ directory?: string;
7596
+ workspace?: string;
7597
+ };
7598
+ url: "/mcp/{name}/auth/has-tokens";
7599
+ };
7600
+ export type McpAuthHasTokensErrors = {
7601
+ /**
7602
+ * Bad request
7603
+ */
7604
+ 400: BadRequestError;
7605
+ /**
7606
+ * McpServerNotFoundError
7607
+ */
7608
+ 404: McpServerNotFoundError;
7609
+ };
7610
+ export type McpAuthHasTokensError = McpAuthHasTokensErrors[keyof McpAuthHasTokensErrors];
7611
+ export type McpAuthHasTokensResponses = {
7612
+ /**
7613
+ * Stored MCP credentials
7614
+ */
7615
+ 200: {
7616
+ hasTokens: boolean;
7617
+ };
7618
+ };
7619
+ export type McpAuthHasTokensResponse = McpAuthHasTokensResponses[keyof McpAuthHasTokensResponses];
7313
7620
  export type McpAuthCallbackData = {
7314
7621
  body?: {
7315
7622
  code: string;
@@ -7428,6 +7735,33 @@ export type McpDisconnectResponses = {
7428
7735
  200: boolean;
7429
7736
  };
7430
7737
  export type McpDisconnectResponse = McpDisconnectResponses[keyof McpDisconnectResponses];
7738
+ export type McpOpenUrlData = {
7739
+ body?: {
7740
+ url: string;
7741
+ };
7742
+ path?: never;
7743
+ query?: {
7744
+ directory?: string;
7745
+ workspace?: string;
7746
+ };
7747
+ url: "/mcp/open-url";
7748
+ };
7749
+ export type McpOpenUrlErrors = {
7750
+ /**
7751
+ * BadRequest | InvalidRequestError
7752
+ */
7753
+ 400: EffectHttpApiErrorBadRequest | InvalidRequestError;
7754
+ };
7755
+ export type McpOpenUrlError = McpOpenUrlErrors[keyof McpOpenUrlErrors];
7756
+ export type McpOpenUrlResponses = {
7757
+ /**
7758
+ * URL opened in the machine's real browser
7759
+ */
7760
+ 200: {
7761
+ success: true;
7762
+ };
7763
+ };
7764
+ export type McpOpenUrlResponse = McpOpenUrlResponses[keyof McpOpenUrlResponses];
7431
7765
  export type ProjectListData = {
7432
7766
  body?: never;
7433
7767
  path?: never;
@@ -8370,6 +8704,7 @@ export type SessionPromptData = {
8370
8704
  format?: OutputFormat;
8371
8705
  system?: string;
8372
8706
  variant?: string;
8707
+ replyLanguage?: string;
8373
8708
  parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
8374
8709
  };
8375
8710
  path: {
@@ -8672,6 +9007,7 @@ export type SessionPromptAsyncData = {
8672
9007
  format?: OutputFormat;
8673
9008
  system?: string;
8674
9009
  variant?: string;
9010
+ replyLanguage?: string;
8675
9011
  parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
8676
9012
  };
8677
9013
  path: {
@@ -11620,6 +11956,134 @@ export type V2ProjectCopyRefreshResponses = {
11620
11956
  204: void;
11621
11957
  };
11622
11958
  export type V2ProjectCopyRefreshResponse = V2ProjectCopyRefreshResponses[keyof V2ProjectCopyRefreshResponses];
11959
+ export type V2StorageUsageData = {
11960
+ body?: never;
11961
+ path?: never;
11962
+ query?: {
11963
+ location?: {
11964
+ directory?: string;
11965
+ workspace?: string;
11966
+ };
11967
+ };
11968
+ url: "/api/storage";
11969
+ };
11970
+ export type V2StorageUsageErrors = {
11971
+ /**
11972
+ * InvalidRequestError
11973
+ */
11974
+ 400: InvalidRequestError;
11975
+ /**
11976
+ * UnauthorizedError
11977
+ */
11978
+ 401: UnauthorizedError;
11979
+ };
11980
+ export type V2StorageUsageError = V2StorageUsageErrors[keyof V2StorageUsageErrors];
11981
+ export type V2StorageUsageResponses = {
11982
+ /**
11983
+ * Success
11984
+ */
11985
+ 200: {
11986
+ location: LocationInfo;
11987
+ data: StorageUsage;
11988
+ };
11989
+ };
11990
+ export type V2StorageUsageResponse = V2StorageUsageResponses[keyof V2StorageUsageResponses];
11991
+ export type V2StorageCompactData = {
11992
+ body?: never;
11993
+ path?: never;
11994
+ query?: {
11995
+ location?: {
11996
+ directory?: string;
11997
+ workspace?: string;
11998
+ };
11999
+ };
12000
+ url: "/api/storage/compact";
12001
+ };
12002
+ export type V2StorageCompactErrors = {
12003
+ /**
12004
+ * InvalidRequestError
12005
+ */
12006
+ 400: InvalidRequestError;
12007
+ /**
12008
+ * UnauthorizedError
12009
+ */
12010
+ 401: UnauthorizedError;
12011
+ };
12012
+ export type V2StorageCompactError = V2StorageCompactErrors[keyof V2StorageCompactErrors];
12013
+ export type V2StorageCompactResponses = {
12014
+ /**
12015
+ * Success
12016
+ */
12017
+ 200: {
12018
+ location: LocationInfo;
12019
+ data: StorageResult;
12020
+ };
12021
+ };
12022
+ export type V2StorageCompactResponse = V2StorageCompactResponses[keyof V2StorageCompactResponses];
12023
+ export type V2StoragePurgeData = {
12024
+ body: StoragePurgeInput;
12025
+ path?: never;
12026
+ query?: {
12027
+ location?: {
12028
+ directory?: string;
12029
+ workspace?: string;
12030
+ };
12031
+ };
12032
+ url: "/api/storage/purge";
12033
+ };
12034
+ export type V2StoragePurgeErrors = {
12035
+ /**
12036
+ * InvalidRequestError
12037
+ */
12038
+ 400: InvalidRequestError;
12039
+ /**
12040
+ * UnauthorizedError
12041
+ */
12042
+ 401: UnauthorizedError;
12043
+ };
12044
+ export type V2StoragePurgeError = V2StoragePurgeErrors[keyof V2StoragePurgeErrors];
12045
+ export type V2StoragePurgeResponses = {
12046
+ /**
12047
+ * Success
12048
+ */
12049
+ 200: {
12050
+ location: LocationInfo;
12051
+ data: StorageResult;
12052
+ };
12053
+ };
12054
+ export type V2StoragePurgeResponse = V2StoragePurgeResponses[keyof V2StoragePurgeResponses];
12055
+ export type V2StorageLocationsData = {
12056
+ body?: never;
12057
+ path?: never;
12058
+ query?: {
12059
+ location?: {
12060
+ directory?: string;
12061
+ workspace?: string;
12062
+ };
12063
+ };
12064
+ url: "/api/storage/locations";
12065
+ };
12066
+ export type V2StorageLocationsErrors = {
12067
+ /**
12068
+ * InvalidRequestError
12069
+ */
12070
+ 400: InvalidRequestError;
12071
+ /**
12072
+ * UnauthorizedError
12073
+ */
12074
+ 401: UnauthorizedError;
12075
+ };
12076
+ export type V2StorageLocationsError = V2StorageLocationsErrors[keyof V2StorageLocationsErrors];
12077
+ export type V2StorageLocationsResponses = {
12078
+ /**
12079
+ * Success
12080
+ */
12081
+ 200: {
12082
+ location: LocationInfo;
12083
+ data: StorageLocations;
12084
+ };
12085
+ };
12086
+ export type V2StorageLocationsResponse = V2StorageLocationsResponses[keyof V2StorageLocationsResponses];
11623
12087
  export type PtyConnectData = {
11624
12088
  body?: never;
11625
12089
  path: {