@visa/cli 4.1.0-rc.279 → 4.1.0-rc.280
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 +10 -10
- package/dist/mcp-server/index.js +8 -8
- package/dist/merchant-ucp-mcp/index.js +3 -3
- package/dist/skills/pair-visa-agent/RUNTIMES.md +6 -6
- package/dist/skills/pair-visa-agent/SKILL.md +5 -4
- package/native/bin/win32-arm64/visa-runtime-signer.exe +0 -0
- package/native/bin/win32-x64/visa-keychain-win.exe +0 -0
- package/native/bin/win32-x64/visa-runtime-signer.exe +0 -0
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -105,12 +105,12 @@ checked.
|
|
|
105
105
|
|
|
106
106
|
## Runtime setup map
|
|
107
107
|
|
|
108
|
-
| Runtime | Setup surface
|
|
109
|
-
| ------------- |
|
|
110
|
-
| OpenClaw | Install `@visa/visa-cli
|
|
111
|
-
| Hermes | Run `visa-cli connect hermes`, install the skill with `visa agent skill --runtime hermes` (it resolves the per-profile dir), and use `setup_start`. `hermes claw migrate` can import an existing OpenClaw setup.
|
|
112
|
-
| Codex | Run `visa agent skill --runtime codex`. It plants the skill under `~/.codex/skills/` and mounts the Visa MCP server into `~/.codex/config.toml` in the same step.
|
|
113
|
-
| Other runtime | Put `visa` on `PATH`, mount the same MCP server if supported, or use the raw `visa setup start` and `visa setup status` commands as the universal fallback.
|
|
108
|
+
| Runtime | Setup surface |
|
|
109
|
+
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
110
|
+
| OpenClaw | Install `@visa/cli@rc` (`npm install -g @visa/cli@rc`) and run `visa agent skill --runtime openclaw` (or `visa-cli connect openclaw`). It plants the skill under `~/.openclaw/skills/` and mounts the Visa MCP server into `~/.openclaw/openclaw.json`. (The `@visa/visa-cli-openclaw` plugin package is prerelease). |
|
|
111
|
+
| Hermes | Run `visa-cli connect hermes`, install the skill with `visa agent skill --runtime hermes` (it resolves the per-profile dir), and use `setup_start`. `hermes claw migrate` can import an existing OpenClaw setup. |
|
|
112
|
+
| Codex | Run `visa agent skill --runtime codex`. It plants the skill under `~/.codex/skills/` and mounts the Visa MCP server into `~/.codex/config.toml` in the same step. |
|
|
113
|
+
| Other runtime | Put `visa` on `PATH`, mount the same MCP server if supported, or use the raw `visa setup start` and `visa setup status` commands as the universal fallback. |
|
|
114
114
|
|
|
115
115
|
The skill itself can be installed with `visa agent skill`. Pass `--runtime <name>` or
|
|
116
116
|
`--dir <path>` when auto-detection is not appropriate, then reload the runtime.
|
|
@@ -92,7 +92,7 @@ the agent runtime after installation so it registers the skill.
|
|
|
92
92
|
Access remains enforced by the Visa service. Installing the public package or skill does
|
|
93
93
|
not authorize an account to pair.
|
|
94
94
|
|
|
95
|
-
OpenClaw users
|
|
95
|
+
OpenClaw users receive the skill via `visa agent skill --runtime openclaw` (or through the `@visa/visa-cli-openclaw` plugin when running from source).
|
|
96
96
|
|
|
97
97
|
## Getting set up
|
|
98
98
|
|
|
@@ -101,8 +101,9 @@ OpenClaw users also receive the skill with the `@visa/visa-cli-openclaw` plugin.
|
|
|
101
101
|
the v4 setup tools. Installation puts `visa` and `visa-cli` on `PATH` and includes
|
|
102
102
|
`@visa/cli/dist/mcp-server/index.js`.
|
|
103
103
|
2. **Mount the MCP server when the runtime supports MCP.**
|
|
104
|
-
- **OpenClaw:**
|
|
105
|
-
`mcp.servers["visa-cli"]` in `~/.openclaw/openclaw.json`.
|
|
104
|
+
- **OpenClaw:** run `visa agent skill --runtime openclaw` (or `visa-cli connect openclaw`)
|
|
105
|
+
to install the skill and write `mcp.servers["visa-cli"]` in `~/.openclaw/openclaw.json`.
|
|
106
|
+
(Installing `@visa/visa-cli-openclaw` from source/tarball also auto-mounts the server).
|
|
106
107
|
- **Hermes or another supported runtime:** run `visa-cli connect hermes` or
|
|
107
108
|
`visa-cli connect <runtime>`. For Hermes, the entry is written under `mcp_servers`
|
|
108
109
|
in `~/.hermes/config.yaml`.
|
|
@@ -398,7 +399,7 @@ against its **exact `agentId`** — never a name, never "the most recent one":
|
|
|
398
399
|
shorten, or guess a Visa URL, and never open it yourself.
|
|
399
400
|
- [ ] **The owner approves once** on the v4 agent dashboard, confirming the caps.
|
|
400
401
|
- [ ] **Poll to activation** with `agent_connect_poll` (`{"attachId":"<from
|
|
401
|
-
|
|
402
|
+
agent_connect>"}`) — one bounded poll per call, until
|
|
402
403
|
`{"ok":true,"state":"grant_activated"}`.
|
|
403
404
|
- [ ] **Confirm the rail is live.** Wallet: `wallet_status` / `visa wallet show`
|
|
404
405
|
(`agent_capabilities.wallet.available`). Card: `agent_capabilities.card.available`.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
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": "4.1.0-rc.
|
|
4
|
+
"version": "4.1.0-rc.280",
|
|
5
5
|
"title": "Visa CLI",
|
|
6
6
|
"description": "Pair a human-approved agent identity, configure payment capabilities separately, and discover and pay x402 services from your AI coding assistant.",
|
|
7
7
|
"websiteUrl": "https://github.com/Visa-Crypto-Labs/Visa-mono/tree/main/packages/cli#readme",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"registryType": "npm",
|
|
11
11
|
"identifier": "@visa/cli",
|
|
12
|
-
"version": "4.1.0-rc.
|
|
12
|
+
"version": "4.1.0-rc.280",
|
|
13
13
|
"transport": {
|
|
14
14
|
"type": "stdio"
|
|
15
15
|
},
|