@smithery/cli 3.15.1 → 3.18.0
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/index.js +272 -265
- package/package.json +2 -2
- package/scripts/postinstall.js +3 -24
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithery/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://smithery.ai/",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@anthropic-ai/mcpb": "^1.1.1",
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
45
45
|
"@ngrok/ngrok": "^1.5.1",
|
|
46
|
-
"@smithery/api": "0.
|
|
46
|
+
"@smithery/api": "0.39.0",
|
|
47
47
|
"chalk": "^4.1.2",
|
|
48
48
|
"cli-spinners": "^3.3.0",
|
|
49
49
|
"commander": "^14.0.0",
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
const line = "=".repeat(60)
|
|
9
|
-
|
|
10
|
-
// Use stderr because npm suppresses stdout from postinstall scripts
|
|
11
|
-
process.stderr.write(`
|
|
12
|
-
${line}
|
|
13
|
-
Smithery CLI installed!
|
|
14
|
-
${line}
|
|
15
|
-
|
|
16
|
-
Get started:
|
|
17
|
-
smithery --help Show all commands
|
|
18
|
-
smithery servers search Browse MCP servers
|
|
19
|
-
smithery skills search Browse skills
|
|
20
|
-
|
|
21
|
-
For agents: you should install the Smithery skill to learn how to use this CLI:
|
|
22
|
-
smithery skills install smithery-ai/cli --agent <agent-name>
|
|
23
|
-
|
|
24
|
-
Explore 100K+ tools and skills at https://smithery.ai
|
|
25
|
-
${line}
|
|
26
|
-
`)
|
|
3
|
+
// Postinstall is intentionally empty.
|
|
4
|
+
// npm v7+ suppresses postinstall output, so we show the welcome message
|
|
5
|
+
// when users run `smithery` or `npx @smithery/cli` without arguments instead.
|