@ai-sdk/mcp 2.0.60 → 2.0.62
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 +17 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/tool/mcp-client.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @ai-sdk/mcp
|
|
2
2
|
|
|
3
|
+
## 2.0.62
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 868c475: 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
|
+
- Updated dependencies [c2511c1]
|
|
9
|
+
- @ai-sdk/provider-utils@5.0.51
|
|
10
|
+
|
|
11
|
+
## 2.0.61
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [e3605f6]
|
|
16
|
+
- Updated dependencies [525efc5]
|
|
17
|
+
- @ai-sdk/provider-utils@5.0.50
|
|
18
|
+
- @ai-sdk/provider@4.0.19
|
|
19
|
+
|
|
3
20
|
## 2.0.60
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -3173,7 +3173,7 @@ var DefaultMCPClient = class {
|
|
|
3173
3173
|
*/
|
|
3174
3174
|
toolsFromDefinitions(definitions, { schemas = "automatic" } = {}) {
|
|
3175
3175
|
definitions = this.prepareToolDefinitions(definitions);
|
|
3176
|
-
const tools =
|
|
3176
|
+
const tools = /* @__PURE__ */ Object.create(null);
|
|
3177
3177
|
for (const {
|
|
3178
3178
|
name: name3,
|
|
3179
3179
|
title,
|