summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk
diff options
context:
space:
mode:
authoropencode <[email protected]>2025-10-30 06:49:34 +0000
committeropencode <[email protected]>2025-10-30 06:49:34 +0000
commit4b3a841dd95d67b7176351314571eb0de276aea1 (patch)
tree322f4c0a9915fc047804acf80b3f65d347f851b1 /packages/sdk
parentaca32eaa1c1e16ca1e4044ac9ea28050a78d5381 (diff)
downloadopencode-4b3a841dd95d67b7176351314571eb0de276aea1.tar.gz
opencode-4b3a841dd95d67b7176351314571eb0de276aea1.zip
release: v0.15.29
Diffstat (limited to 'packages/sdk')
-rw-r--r--packages/sdk/js/package.json2
-rw-r--r--packages/sdk/js/src/gen/types.gen.ts8
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json
index 88a1595f0..3c00bafcb 100644
--- a/packages/sdk/js/package.json
+++ b/packages/sdk/js/package.json
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/sdk",
- "version": "0.15.28",
+ "version": "0.15.29",
"type": "module",
"scripts": {
"typecheck": "tsgo --noEmit",
diff --git a/packages/sdk/js/src/gen/types.gen.ts b/packages/sdk/js/src/gen/types.gen.ts
index 14343f5a1..0ff1f032f 100644
--- a/packages/sdk/js/src/gen/types.gen.ts
+++ b/packages/sdk/js/src/gen/types.gen.ts
@@ -275,6 +275,10 @@ export type McpLocalConfig = {
* Enable or disable the MCP server on startup
*/
enabled?: boolean
+ /**
+ * Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified.
+ */
+ timeout?: number
}
export type McpRemoteConfig = {
@@ -296,6 +300,10 @@ export type McpRemoteConfig = {
headers?: {
[key: string]: string
}
+ /**
+ * Timeout in ms for fetching tools from the MCP server. Defaults to 5000 (5 seconds) if not specified.
+ */
+ timeout?: number
}
/**