@ai-sdk/mcp 1.0.88 → 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 +6 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/tool/mcp-client.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
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
|
+
|
|
3
9
|
## 1.0.88
|
|
4
10
|
|
|
5
11
|
### 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,
|