@opencode-ai/sdk 0.15.27 → 0.15.29
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.
- package/dist/gen/types.gen.d.ts +8 -0
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -258,6 +258,10 @@ export type McpLocalConfig = {
|
|
|
258
258
|
* Enable or disable the MCP server on startup
|
|
259
259
|
*/
|
|
260
260
|
enabled?: boolean;
|
|
261
|
+
/**
|
|
262
|
+
* Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified.
|
|
263
|
+
*/
|
|
264
|
+
timeout?: number;
|
|
261
265
|
};
|
|
262
266
|
export type McpRemoteConfig = {
|
|
263
267
|
/**
|
|
@@ -278,6 +282,10 @@ export type McpRemoteConfig = {
|
|
|
278
282
|
headers?: {
|
|
279
283
|
[key: string]: string;
|
|
280
284
|
};
|
|
285
|
+
/**
|
|
286
|
+
* Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified.
|
|
287
|
+
*/
|
|
288
|
+
timeout?: number;
|
|
281
289
|
};
|
|
282
290
|
/**
|
|
283
291
|
* @deprecated Always uses stretch layout.
|