@ai-sdk/mcp 0.0.36 → 0.0.38
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 +13 -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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/mcp
|
|
2
2
|
|
|
3
|
+
## 0.0.38
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 58d303f: 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
|
+
## 0.0.37
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [14810cb]
|
|
14
|
+
- @ai-sdk/provider-utils@3.0.40
|
|
15
|
+
|
|
3
16
|
## 0.0.36
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -1876,7 +1876,7 @@ var DefaultMCPClient = class {
|
|
|
1876
1876
|
schemas = "automatic"
|
|
1877
1877
|
} = {}) {
|
|
1878
1878
|
var _a3;
|
|
1879
|
-
const tools =
|
|
1879
|
+
const tools = /* @__PURE__ */ Object.create(null);
|
|
1880
1880
|
let listToolsResult = await this.listTools();
|
|
1881
1881
|
const toolDefinitions = [...listToolsResult.tools];
|
|
1882
1882
|
while (listToolsResult.nextCursor != null) {
|