@visa/cli 5.0.0-rc.405 → 5.0.0-rc.407

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 CHANGED
@@ -227,6 +227,10 @@ known). A revoked agent is also `revoked` in `pairing.agents[].state`. Reopening
227
227
  the approval link, in the same tab or a new one, lands on the same approval;
228
228
  it never asks again for a code the terminal has already used.
229
229
 
230
+ If the owner's approval window closes before they approve, `visa connect` and
231
+ `agent_enroll` say the link expired (`enrollment_expired`) instead of offering
232
+ it again; `visa connect --restart` (`restart: true`) makes a new link.
233
+
230
234
  On a machine that already holds its agent, `visa connect` (and `agent_enroll`)
231
235
  also looks after the agent's card key. That key's certificate runs to the end
232
236
  of the card approval it was issued under, and renewing the limits in the
@@ -545,15 +549,11 @@ Deterministic preconditions always resolve to a specific code:
545
549
  | Listing is not x402 (`pay`) | `invalid_argument` | `caller` |
546
550
  | Activity id not found or not attributable (`visa://receipt/{id}`) | `activity_entry_not_found` | `caller` |
547
551
  | A retired parameter was sent (`history` with `id` or `merchants`) | `invalid_argument` | `caller` |
548
- | The bundled signer is missing from this install (`agent_enroll`, `pay`) | `native_runtime_signer_not_installed` | `platform` |
549
- | The bundled signer is present but cannot be made executable | `native_runtime_signer_not_executable` | `platform` |
550
- | No signer is built for this OS/CPU | `native_runtime_platform_unsupported` | `platform` |
551
- | The signer could not be started (the `error` text carries the spawn errno) | `native_runtime_unavailable` | `platform` |
552
- | The signer exited (the `error` text carries its exit code and last stderr) | `native_runtime_closed` | `platform` |
553
- | The login keychain is locked or unavailable to the signer | `keychain_locked_or_unavailable` | `platform` |
552
+ | The login keychain is locked or unavailable to the agent-key store | `keychain_locked_or_unavailable` | `platform` |
554
553
  | The Linux keyring is locked, missing, or did not answer in time | `secret_service_locked_or_unavailable`, `secret_service_unavailable`, `secret_service_timeout` | `platform` |
555
554
  | Windows DPAPI refused the device key (usually a different Windows user) | `dpapi_locked_or_unavailable` | `platform` |
556
555
  | `visa connect --restart` while this computer's setup still waits for the owner's device approval (run `visa connect` to reopen it) | `enrollment_device_approval_pending` | `platform` |
556
+ | The owner's approval link expired before they approved it (`visa connect`, `agent_enroll`); run `visa connect --restart` (`restart: true`) for a new link | `enrollment_expired` | `caller` |
557
557
  | The signer refused: this key is bound to another purpose, or an identity key was asked for a financial proof (nothing was signed or sent; update the CLI) | `key_purpose_mismatch`, `legacy_custody_profile_required` | `platform` |
558
558
  | The signer refused: the request named another agent or runtime than the key is bound to | `identity_binding_mismatch` | `platform` |
559
559
  | The signer refused a proof timestamp outside its window (the machine clock is wrong) | `proof_time_invalid` | `platform` |