@visa/cli 5.0.0-rc.416 → 5.0.0-rc.417
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 +125 -71
- package/bin/update.cjs +38 -8
- package/bin/visa-cli.js +10 -1
- package/bin/visa-tool.js +12 -0
- package/dist/cli.js +121 -111
- package/dist/managed-runtime/resolve-and-update.mjs +2 -2
- package/dist/mcp-server/index.js +251 -250
- package/dist/mcp-server/tool-answers.js +21059 -0
- package/dist/tool-call.js +67 -60
- package/install.sh +3 -7
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/enrollment-finisher.js +0 -102
package/install.sh
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# Visa CLI installer for macOS and Linux
|
|
3
|
-
# Usage: curl -fsSL https://app.visacli.sh/cli | bash
|
|
3
|
+
# Usage: bash -o pipefail -c 'curl -fsSL https://app.visacli.sh/cli | bash'
|
|
4
4
|
#
|
|
5
5
|
# The entire body is wrapped in _visa_install() so bash must parse the full
|
|
6
6
|
# file before executing anything — prevents partial-download execution if
|
|
@@ -40,10 +40,7 @@ esac
|
|
|
40
40
|
|
|
41
41
|
# ── check Node.js ─────────────────────────────────────────────────────────────
|
|
42
42
|
if ! command -v node &>/dev/null; then
|
|
43
|
-
fail "Node.js
|
|
44
|
-
Install from https://nodejs.org/ or use nvm:
|
|
45
|
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
|
46
|
-
nvm install ${REQUIRED_NODE_MAJOR}"
|
|
43
|
+
fail "Install Node.js ${REQUIRED_NODE_MAJOR}+ from https://nodejs.org/."
|
|
47
44
|
fi
|
|
48
45
|
|
|
49
46
|
NODE_VERSION="$(node --version)"
|
|
@@ -55,8 +52,7 @@ case "$NODE_MAJOR" in
|
|
|
55
52
|
esac
|
|
56
53
|
|
|
57
54
|
if [ "$NODE_MAJOR" -lt "$REQUIRED_NODE_MAJOR" ]; then
|
|
58
|
-
fail "Node.js ${
|
|
59
|
-
Install from https://nodejs.org/ or: nvm install ${REQUIRED_NODE_MAJOR}"
|
|
55
|
+
fail "Install Node.js ${REQUIRED_NODE_MAJOR}+ from https://nodejs.org/."
|
|
60
56
|
fi
|
|
61
57
|
|
|
62
58
|
ok "Node.js ${NODE_VERSION}"
|
package/package.json
CHANGED
package/server.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.visa-crypto-labs/visa-cli",
|
|
4
|
-
"version": "5.0.0-rc.
|
|
4
|
+
"version": "5.0.0-rc.417",
|
|
5
5
|
"title": "Visa CLI",
|
|
6
6
|
"description": "Connect an owner-approved agent, then discover and pay supported Tempo MPP services within its limits.",
|
|
7
7
|
"websiteUrl": "https://web-visa-code-preview.up.railway.app/docs",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"registryType": "npm",
|
|
11
11
|
"identifier": "@visa/cli",
|
|
12
|
-
"version": "5.0.0-rc.
|
|
12
|
+
"version": "5.0.0-rc.417",
|
|
13
13
|
"transport": {
|
|
14
14
|
"type": "stdio"
|
|
15
15
|
},
|