@opencode-ai/sdk 0.0.0-opentui-202510301549 → 0.0.0-opentui-202510301703

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.
@@ -190,6 +190,10 @@ export type McpLocalConfig = {
190
190
  * Enable or disable the MCP server on startup
191
191
  */
192
192
  enabled?: boolean;
193
+ /**
194
+ * Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified.
195
+ */
196
+ timeout?: number;
193
197
  };
194
198
  export type McpRemoteConfig = {
195
199
  /**
@@ -210,6 +214,10 @@ export type McpRemoteConfig = {
210
214
  headers?: {
211
215
  [key: string]: string;
212
216
  };
217
+ /**
218
+ * Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified.
219
+ */
220
+ timeout?: number;
213
221
  };
214
222
  /**
215
223
  * @deprecated Always uses stretch layout.
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-opentui-202510301549",
4
+ "version": "0.0.0-opentui-202510301703",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "typecheck": "tsgo --noEmit",