@ai-sdk/mcp 1.0.40 → 1.0.41
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 +8 -0
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/tool/mcp-client.ts +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -2004,8 +2004,8 @@ var DefaultMCPClient = class {
|
|
|
2004
2004
|
const toolWithExecute = schemas === "automatic" ? (0, import_provider_utils5.dynamicTool)({
|
|
2005
2005
|
description,
|
|
2006
2006
|
title: resolvedTitle,
|
|
2007
|
-
|
|
2008
|
-
|
|
2007
|
+
metadata: {
|
|
2008
|
+
clientName: this.clientInfo.name
|
|
2009
2009
|
},
|
|
2010
2010
|
inputSchema: (0, import_provider_utils5.jsonSchema)({
|
|
2011
2011
|
...inputSchema,
|
|
@@ -2017,8 +2017,8 @@ var DefaultMCPClient = class {
|
|
|
2017
2017
|
}) : (0, import_provider_utils5.tool)({
|
|
2018
2018
|
description,
|
|
2019
2019
|
title: resolvedTitle,
|
|
2020
|
-
|
|
2021
|
-
|
|
2020
|
+
metadata: {
|
|
2021
|
+
clientName: this.clientInfo.name
|
|
2022
2022
|
},
|
|
2023
2023
|
inputSchema: schemas[name3].inputSchema,
|
|
2024
2024
|
...outputSchema != null ? { outputSchema } : {},
|