@opencode-ai/sdk 1.1.52 → 1.1.54

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.
@@ -133,6 +133,13 @@ export type MessageAbortedError = {
133
133
  message: string;
134
134
  };
135
135
  };
136
+ export type ContextOverflowError = {
137
+ name: "ContextOverflowError";
138
+ data: {
139
+ message: string;
140
+ responseBody?: string;
141
+ };
142
+ };
136
143
  export type ApiError = {
137
144
  name: "APIError";
138
145
  data: {
@@ -156,7 +163,7 @@ export type AssistantMessage = {
156
163
  created: number;
157
164
  completed?: number;
158
165
  };
159
- error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ApiError;
166
+ error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ContextOverflowError | ApiError;
160
167
  parentID: string;
161
168
  modelID: string;
162
169
  providerID: string;
@@ -177,6 +184,7 @@ export type AssistantMessage = {
177
184
  write: number;
178
185
  };
179
186
  };
187
+ variant?: string;
180
188
  finish?: string;
181
189
  };
182
190
  export type Message = UserMessage | AssistantMessage;
@@ -705,7 +713,7 @@ export type EventSessionError = {
705
713
  type: "session.error";
706
714
  properties: {
707
715
  sessionID?: string;
708
- error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ApiError;
716
+ error?: ProviderAuthError | UnknownError | MessageOutputLengthError | MessageAbortedError | ContextOverflowError | ApiError;
709
717
  };
710
718
  };
711
719
  export type EventVcsBranchUpdated = {
@@ -1458,6 +1466,10 @@ export type Config = {
1458
1466
  * Additional paths to skill folders
1459
1467
  */
1460
1468
  paths?: Array<string>;
1469
+ /**
1470
+ * URLs to fetch skills from (e.g., https://example.com/.well-known/skills/)
1471
+ */
1472
+ urls?: Array<string>;
1461
1473
  };
1462
1474
  watcher?: {
1463
1475
  ignore?: Array<string>;
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": "1.1.52",
4
+ "version": "1.1.54",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "scripts": {