agent.libx.js 0.93.16 → 0.93.17
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/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/dist/{mcp-wwgXyhbi.d.ts → mcp-DGWuuWJm.d.ts} +23 -1
- package/dist/mcp.client.d.ts +17 -2
- package/dist/mcp.client.js +131 -1
- package/dist/mcp.client.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4979,7 +4979,7 @@ async function mountMcpServer(name, cfg) {
|
|
|
4979
4979
|
const init = await client.connect();
|
|
4980
4980
|
const specs = await client.listTools();
|
|
4981
4981
|
const tools = mcpToolsToAgentTools(specs, (tool, a) => client.callTool(tool, a), `mcp__${name}__`);
|
|
4982
|
-
return { name, client, tools, serverInfo: init?.serverInfo };
|
|
4982
|
+
return { name, client, tools, specs, serverInfo: init?.serverInfo };
|
|
4983
4983
|
}
|
|
4984
4984
|
async function mountMcpServers(servers = {}) {
|
|
4985
4985
|
const out = [];
|