@agent-smith/cli 0.0.98 → 0.0.99
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.
|
@@ -54,7 +54,7 @@ async function readTask(name, payload, options, agent) {
|
|
|
54
54
|
}
|
|
55
55
|
if (taskFileSpec?.mcp) {
|
|
56
56
|
for (const [servername, tool] of Object.entries(taskFileSpec.mcp)) {
|
|
57
|
-
const mcp = new McpClient(servername, tool.command, tool.
|
|
57
|
+
const mcp = new McpClient(servername, tool.command, tool.arguments, tool?.tools ?? null);
|
|
58
58
|
mcpServers.push(mcp);
|
|
59
59
|
await mcp.start();
|
|
60
60
|
const tools = await mcp.extractTools();
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@agent-smith/cli",
|
|
3
3
|
"description": "Agent Smith: terminal client for language model agents",
|
|
4
4
|
"repository": "https://github.com/synw/agent-smith",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.99",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"buildrl": "rm -rf dist/* && rollup -c",
|
|
8
8
|
"build": "rm -rf dist/* && tsc",
|