@opencode-ai/sdk 0.0.0-dev-202605201838 → 0.0.0-dev-202605201930

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.
@@ -1408,6 +1408,16 @@ export type V2SessionMessagesResponse = {
1408
1408
  next?: string;
1409
1409
  };
1410
1410
  };
1411
+ export type ServiceUnavailableError = {
1412
+ _tag: "ServiceUnavailableError";
1413
+ message: string;
1414
+ service?: string;
1415
+ };
1416
+ export type ProviderNotFoundError = {
1417
+ _tag: "ProviderNotFoundError";
1418
+ providerID: string;
1419
+ message: string;
1420
+ };
1411
1421
  export type EventTuiPromptAppend2 = {
1412
1422
  type: "tui.prompt.append";
1413
1423
  properties: {
@@ -6121,6 +6131,10 @@ export type V2ModelListErrors = {
6121
6131
  * UnauthorizedError
6122
6132
  */
6123
6133
  401: UnauthorizedError;
6134
+ /**
6135
+ * ServiceUnavailableError
6136
+ */
6137
+ 503: ServiceUnavailableError;
6124
6138
  };
6125
6139
  export type V2ModelListError = V2ModelListErrors[keyof V2ModelListErrors];
6126
6140
  export type V2ModelListResponses = {
@@ -6150,6 +6164,10 @@ export type V2ProviderListErrors = {
6150
6164
  * UnauthorizedError
6151
6165
  */
6152
6166
  401: UnauthorizedError;
6167
+ /**
6168
+ * ServiceUnavailableError
6169
+ */
6170
+ 503: ServiceUnavailableError;
6153
6171
  };
6154
6172
  export type V2ProviderListError = V2ProviderListErrors[keyof V2ProviderListErrors];
6155
6173
  export type V2ProviderListResponses = {
@@ -6182,9 +6200,13 @@ export type V2ProviderGetErrors = {
6182
6200
  */
6183
6201
  401: UnauthorizedError;
6184
6202
  /**
6185
- * NotFoundError
6203
+ * ProviderNotFoundError
6186
6204
  */
6187
- 404: NotFoundError;
6205
+ 404: ProviderNotFoundError;
6206
+ /**
6207
+ * ServiceUnavailableError
6208
+ */
6209
+ 503: ServiceUnavailableError;
6188
6210
  };
6189
6211
  export type V2ProviderGetError = V2ProviderGetErrors[keyof V2ProviderGetErrors];
6190
6212
  export type V2ProviderGetResponses = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/sdk",
4
- "version": "0.0.0-dev-202605201838",
4
+ "version": "0.0.0-dev-202605201930",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {