@visa/cli 5.0.0-rc.391 → 5.0.0-rc.392
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 +16 -0
- package/dist/cli.js +291 -292
- package/dist/mcp-server/index.js +318 -319
- package/dist/merchant-ucp-mcp/index.js +6 -6
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -204,6 +204,15 @@ Two browser approvals remain: the sign-in page, then the protected-agent page
|
|
|
204
204
|
where the owner approves the device and its limits. Each prints one URL and one
|
|
205
205
|
short code at a time. Never relay the code on the owner's behalf.
|
|
206
206
|
|
|
207
|
+
After the device is approved, the owner's page sets up the agent's key on
|
|
208
|
+
their Tempo wallet (it asks for USDC.e first if the wallet is empty, and keeps
|
|
209
|
+
trying on its own while it is open). `visa connect` waits up to two minutes
|
|
210
|
+
for it and says "Connected. Nothing is owed." only once the key is set up;
|
|
211
|
+
until then the device line is pending with `wallet_key_setup_pending` and the
|
|
212
|
+
next step. `get_status` reports the same in `walletKey.tempoKey`. Reopening
|
|
213
|
+
the approval link, in the same tab or a new one, lands on the same approval;
|
|
214
|
+
it never asks again for a code the terminal has already used.
|
|
215
|
+
|
|
207
216
|
`visa connect --restart` starts a fresh approval for this machine: choose
|
|
208
217
|
**Replacing** on the approval page to give the same agent new keys (its budget
|
|
209
218
|
and history stay; the old keys are retired and this machine's old local records
|
|
@@ -418,6 +427,13 @@ Console with the human's approval.
|
|
|
418
427
|
That URL is not payment-gated. That is an answer, not a fault: search for the
|
|
419
428
|
service's paid route with `discover { "query": "<what you want>" }`.
|
|
420
429
|
|
|
430
|
+
**`wallet_key_setup_pending` after `visa connect`**
|
|
431
|
+
The agent is connected, but its key on the owner's Tempo wallet is not set up
|
|
432
|
+
yet, so it cannot pay. The open approval page finishes it on its own (add
|
|
433
|
+
USDC.e to the wallet if it asks); if that page was closed, opening the Visa
|
|
434
|
+
Console finishes it the same way. Then run `visa connect` again to confirm. Do
|
|
435
|
+
not use `--restart`.
|
|
436
|
+
|
|
421
437
|
**Enrollment ended `expired` or `cancelled`**
|
|
422
438
|
The ceremony timed out — run `visa connect` again. Do not look for a resume
|
|
423
439
|
command; the retired setup doors are removed, and `connect` is idempotent.
|