@visa/cli 4.1.0-rc.163 → 4.1.0-rc.165
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 +310 -310
- package/dist/mcp-server/index.js +238 -238
- package/dist/skills/pair-visa-agent/SKILL.md +21 -4
- package/native/bin/win32-x64/visa-keychain-win.exe +0 -0
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -6,7 +6,7 @@ allowed-tools: Bash(visa:*) Bash(visa-cli:*) Bash(node:*) Bash(npm:*) Bash(npx:*
|
|
|
6
6
|
metadata:
|
|
7
7
|
author: visa
|
|
8
8
|
homepage: https://visacli.sh/agents
|
|
9
|
-
version: '0.7.
|
|
9
|
+
version: '0.7.1'
|
|
10
10
|
# OpenClaw-namespaced extension (agentskills.io keeps `metadata` free-form, so
|
|
11
11
|
# non-standard runtime config lives here — `user-invocable` is not a standard
|
|
12
12
|
# top-level field). OpenClaw auto-installs `install[]` when `requires.bins` are
|
|
@@ -40,6 +40,16 @@ protocol v2 has one ceremony and three equivalent ways to drive it:
|
|
|
40
40
|
Use the first surface available. Do not mix this flow with older pairing or login flows;
|
|
41
41
|
all three surfaces above wrap the same v2 enrollment ceremony and local pending state.
|
|
42
42
|
|
|
43
|
+
**Console handoff codes are a separate, compound ceremony.** When the human brings a
|
|
44
|
+
one-time code minted by the Console's Create-agent flow, claim it instead of pairing:
|
|
45
|
+
the code carries server-held, pre-approved terms and resolves identity + spending in one
|
|
46
|
+
run (card auto-activates from the mint consent; wallet still needs one browser approval).
|
|
47
|
+
The MCP tool `agent_handoff_claim` exists only on `@visa/cli` **4.1.0-rc.159 and newer**
|
|
48
|
+
— on an older CLI it is absent from the served tool list and the only path is shelling
|
|
49
|
+
`visa agent handoff-claim <code> --format json`, a different integration with different
|
|
50
|
+
failure modes (the approval URL and verification code arrive mid-run as a structured
|
|
51
|
+
stderr frame). Never assume the tool from documentation alone: check the served list.
|
|
52
|
+
|
|
43
53
|
## What pairing establishes
|
|
44
54
|
|
|
45
55
|
Pairing activates an agent identity on this runtime:
|
|
@@ -134,9 +144,16 @@ mcp_servers:
|
|
|
134
144
|
```
|
|
135
145
|
|
|
136
146
|
Hermes also loads skills **per profile** from `~/.hermes/profiles/<profile>/skills/`, not
|
|
137
|
-
from `~/.hermes/skills
|
|
138
|
-
|
|
139
|
-
and
|
|
147
|
+
from `~/.hermes/skills/`. `visa agent skill --runtime hermes` resolves this automatically:
|
|
148
|
+
it targets the single profile when exactly one exists (or the one named by
|
|
149
|
+
`HERMES_PROFILE`), and **fails loudly** on a multi-profile box instead of planting into
|
|
150
|
+
the flat dir nothing reads — pass `--dir ~/.hermes/profiles/<profile>/skills` to choose.
|
|
151
|
+
|
|
152
|
+
**Hermes sanitizes MCP server names when registering tools.** A server declared
|
|
153
|
+
`visa-cli` in `mcp_servers:` registers its tools as `mcp__visa_cli__<tool>` — with an
|
|
154
|
+
UNDERSCORE, not the declared hyphen. Anything that hardcodes `mcp__visa-cli__<tool>` gets
|
|
155
|
+
`unknown tool` on every call while looking correct in review. Read tool names off the
|
|
156
|
+
live registry; never derive them from the config key.
|
|
140
157
|
|
|
141
158
|
In Hermes, `hermes claw migrate` can also import this skill and MCP configuration from an
|
|
142
159
|
existing OpenClaw installation. See `RUNTIMES.md` for the complete runtime map.
|
|
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-10-17/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.165",
|
|
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.165",
|
|
13
13
|
"transport": {
|
|
14
14
|
"type": "stdio"
|
|
15
15
|
},
|