@visa/cli 5.0.0-rc.353 → 5.0.0-rc.355
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 +20 -0
- package/dist/cli.js +248 -249
- package/dist/managed-runtime/resolve-and-update.mjs +0 -0
- package/dist/mcp-server/index.js +201 -207
- package/dist/merchant-ucp-mcp/index.js +3 -3
- package/install.sh +0 -0
- 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 +37 -35
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -447,6 +447,26 @@ Deterministic preconditions always resolve to a specific code:
|
|
|
447
447
|
| Managed wallet limits are owner-set (`limits` with caps) | `managed_limits_owner_controlled` | `platform` |
|
|
448
448
|
| Listing is not x402 (`pay`) | `invalid_argument` | `caller` |
|
|
449
449
|
| Activity id not found or not attributable (`history {id}`) | `activity_entry_not_found` | `caller` |
|
|
450
|
+
| The bundled signer is missing from this install (`agent_enroll`, `pay`) | `native_runtime_signer_not_installed` | `platform` |
|
|
451
|
+
| The bundled signer is present but cannot be made executable | `native_runtime_signer_not_executable` | `platform` |
|
|
452
|
+
| No signer is built for this OS/CPU | `native_runtime_platform_unsupported` | `platform` |
|
|
453
|
+
| The signer could not be started (the `error` text carries the spawn errno) | `native_runtime_unavailable` | `platform` |
|
|
454
|
+
| The signer exited (the `error` text carries its exit code and last stderr) | `native_runtime_closed` | `platform` |
|
|
455
|
+
| The login keychain is locked or unavailable to the signer | `keychain_locked_or_unavailable` | `platform` |
|
|
456
|
+
|
|
457
|
+
**The Console says "This agent's approval needs renewing"**
|
|
458
|
+
`get_status` answers `walletKey` for the selected agent (and `walletKeys` for
|
|
459
|
+
every agent this machine holds): `state` is what the wallet store on this
|
|
460
|
+
machine says (`installed`, `wallet_setup_pending`, `missing`, `revoking`,
|
|
461
|
+
`revoked`, or `unreadable` with the reason), `authority` is what Visa says
|
|
462
|
+
about that key right now (`live`, `expired`, `absent`, or `unreachable`; it is
|
|
463
|
+
asked every time and never remembered), and `nextStep` is the one move that
|
|
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.
|
|
450
470
|
|
|
451
471
|
`unspecified_error` (`platform`) is reserved for failures the CLI cannot
|
|
452
472
|
classify and is intentionally kept on two guards: a wallet binding that does not
|