@ai-sdk/mcp 1.0.87 → 1.0.89

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/mcp",
3
- "version": "1.0.87",
3
+ "version": "1.0.89",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "cross-spawn": "^7.0.6",
36
36
  "pkce-challenge": "^5.0.0",
37
37
  "@ai-sdk/provider": "3.0.18",
38
- "@ai-sdk/provider-utils": "4.0.55"
38
+ "@ai-sdk/provider-utils": "4.0.56"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/cross-spawn": "^6.0.6",
@@ -904,7 +904,8 @@ class DefaultMCPClient implements MCPClient {
904
904
  schemas?: TOOL_SCHEMAS;
905
905
  },
906
906
  ): McpToolSet<TOOL_SCHEMAS> {
907
- const tools: Record<string, Tool & { _meta?: ToolMeta }> = {};
907
+ const tools: Record<string, Tool & { _meta?: ToolMeta }> =
908
+ Object.create(null);
908
909
 
909
910
  for (const {
910
911
  name,