toolcraft 0.0.3 → 0.0.4
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/README.md +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -285,8 +285,11 @@ defineGroup({
|
|
|
285
285
|
|
|
286
286
|
- `tools` filters by upstream tool name.
|
|
287
287
|
- `rename` remaps to dotted toolcraft paths; missing intermediate groups are created.
|
|
288
|
-
-
|
|
288
|
+
- Proxy discovery is eager for `runCLI` and `runMCP`: they resolve every `defineGroup({ mcp })` proxy in the root tree before routing, command execution, or CLI help rendering. SDK proxies resolve when the deferred SDK is awaited or first used.
|
|
289
|
+
- On a first run without cached schemas, even `my-cli --help` or `my-cli some-group --help` may connect to every configured upstream MCP server.
|
|
290
|
+
- Discovery is cached at `<projectRoot>/.toolcraft/mcp/<group>.json` (project root = nearest ancestor with `package.json`), so successful discovery avoids repeated upstream connects unless refreshed.
|
|
289
291
|
- `TOOLCRAFT_MCP_REFRESH=1` refreshes all proxies; `TOOLCRAFT_MCP_REFRESH=github,linear` refreshes specific ones.
|
|
292
|
+
- Selective or lazy discovery for only the requested command path is not currently supported. CLIs that wrap many MCP servers should expect first-run help to touch all of them.
|
|
290
293
|
- Discovery output goes to stderr only.
|
|
291
294
|
|
|
292
295
|
## Human-in-loop approvals
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "toolcraft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"console-table-printer": "^2.15.0",
|
|
51
51
|
"tiny-mcp-client": "*",
|
|
52
52
|
"tiny-stdio-mcp-server": "^0.1.0",
|
|
53
|
-
"toolcraft-schema": "^0.0.
|
|
53
|
+
"toolcraft-schema": "^0.0.4"
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
56
|
"dist"
|