@visa/cli 5.0.0-rc.354 → 5.0.0-rc.356
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 +7 -5
- package/dist/cli.js +247 -248
- package/dist/mcp-server/index.js +201 -207
- package/dist/merchant-ucp-mcp/index.js +3 -3
- package/native/bin/darwin-arm64/visa-runtime-signer +0 -0
- package/native/bin/darwin-x64/visa-runtime-signer +0 -0
- package/native/bin/linux-arm64/visa-runtime-signer +0 -0
- package/native/bin/linux-x64/visa-runtime-signer +0 -0
- 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
package/README.md
CHANGED
|
@@ -454,17 +454,19 @@ Deterministic preconditions always resolve to a specific code:
|
|
|
454
454
|
| The signer exited (the `error` text carries its exit code and last stderr) | `native_runtime_closed` | `platform` |
|
|
455
455
|
| The login keychain is locked or unavailable to the signer | `keychain_locked_or_unavailable` | `platform` |
|
|
456
456
|
|
|
457
|
-
**The Console says "
|
|
457
|
+
**The Console says "This agent's approval needs renewing"**
|
|
458
458
|
`get_status` answers `walletKey` for the selected agent (and `walletKeys` for
|
|
459
459
|
every agent this machine holds): `state` is what the wallet store on this
|
|
460
460
|
machine says (`installed`, `wallet_setup_pending`, `missing`, `revoking`,
|
|
461
461
|
`revoked`, or `unreadable` with the reason), `authority` is what Visa says
|
|
462
462
|
about that key right now (`live`, `expired`, `absent`, or `unreachable`; it is
|
|
463
463
|
asked every time and never remembered), and `nextStep` is the one move that
|
|
464
|
-
follows.
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
464
|
+
follows. The owner's approval of an installed key lasts a year. When it has
|
|
465
|
+
lapsed, the owner renews it in the Visa Console: it renews on its own when
|
|
466
|
+
they open the Console, or with one **Renew** press. Nothing on this machine
|
|
467
|
+
takes part, the agent need not be running, and re-enrolling would mint a
|
|
468
|
+
second agent, so an agent that sees `authority: "expired"` reports it and
|
|
469
|
+
waits.
|
|
468
470
|
|
|
469
471
|
`unspecified_error` (`platform`) is reserved for failures the CLI cannot
|
|
470
472
|
classify and is intentionally kept on two guards: a wallet binding that does not
|