@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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ai-sdk/mcp
2
2
 
3
+ ## 1.0.89
4
+
5
+ ### Patch Changes
6
+
7
+ - cdc5b56: Preserve prototype-named tools, providers, and provider metadata as own properties without changing lookup object prototypes. Prevent inherited names from resolving as registered providers or causing image metadata aggregation to fail.
8
+
9
+ ## 1.0.88
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [29dc427]
14
+ - @ai-sdk/provider-utils@4.0.56
15
+
3
16
  ## 1.0.87
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2598,7 +2598,7 @@ var DefaultMCPClient = class {
2598
2598
  */
2599
2599
  toolsFromDefinitions(definitions, { schemas = "automatic" } = {}) {
2600
2600
  var _a3, _b3;
2601
- const tools = {};
2601
+ const tools = /* @__PURE__ */ Object.create(null);
2602
2602
  for (const {
2603
2603
  name: name3,
2604
2604
  title,