@visa/cli 4.1.0-rc.170 → 4.1.0-rc.172
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 +218 -218
- package/dist/mcp-server/index.js +170 -170
- package/dist/skills/pair-visa-agent/SKILL.md +5 -7
- package/native/bin/win32-x64/visa-keychain-win.exe +0 -0
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -217,12 +217,11 @@ It returns `browserUrl`, `pairingId`, stable `agentId`, the full public
|
|
|
217
217
|
`requestKeyFingerprint`, and — on newer builds — `confirmationCode` **immediately**. It
|
|
218
218
|
starts a detached activation process only after the pending identity and private key are
|
|
219
219
|
durable. Present the link, returned confirmation code, and fingerprint for browser
|
|
220
|
-
comparison; omit only a confirmation code the result did not provide. When `claiming` is `background`,
|
|
220
|
+
comparison; omit only a confirmation code the result did not provide. When driving `visa agent pair --format json` and `claiming` is `background`,
|
|
221
221
|
activation completes after approval without another command; if it is `manual`, run the
|
|
222
222
|
returned `recoveryCommand` after approval. Use the step-by-step flow
|
|
223
|
-
below when `pair` is unavailable or when driving the plugin/MCP tools — `enroll_agent`
|
|
224
|
-
|
|
225
|
-
detached poller.
|
|
223
|
+
below when `pair` is unavailable or when driving the plugin/MCP tools — `enroll_agent` and `visa agent enroll`
|
|
224
|
+
are explicit two-step flows (`start` returns `state: "needs_owner"` and `nextAction: {tool: "enroll_agent", action: "claim"}`; `claim` completes activation after human approval). There is no detached background poller for `enroll_agent` or `visa agent enroll`.
|
|
226
225
|
|
|
227
226
|
## Returning & already-connected — do NOT re-pair
|
|
228
227
|
|
|
@@ -416,10 +415,9 @@ state. Asking the human to report back is what strands a pairing: they approve i
|
|
|
416
415
|
browser, the server records it, and nothing ever writes the local record — so the ceremony
|
|
417
416
|
expires while both sides believe the other is acting.
|
|
418
417
|
|
|
419
|
-
When the start result reports `claiming: "background"`, a detached poller is already
|
|
418
|
+
When driving `visa agent pair --format json` and the start result reports `claiming: "background"`, a detached poller is already
|
|
420
419
|
finishing activation and it will complete even if this turn ends; poll anyway so you can
|
|
421
|
-
confirm the outcome. When
|
|
422
|
-
polling in this turn is the ONLY thing that will complete the pairing.
|
|
420
|
+
confirm the outcome. When driving `enroll_agent` or `visa agent enroll`, there is no detached poller: calling `enroll_agent` with `{"action":"claim"}` (or `visa agent enroll-claim`) is required to complete the pairing and write the local credential.
|
|
423
421
|
|
|
424
422
|
### 2. Poll
|
|
425
423
|
|
|
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.172",
|
|
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.172",
|
|
13
13
|
"transport": {
|
|
14
14
|
"type": "stdio"
|
|
15
15
|
},
|