@visa/cli 5.0.0-rc.371 → 5.0.0-rc.373

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
@@ -211,12 +211,16 @@ are kept as `*.replaced-<time>` backups). `--restart` never touches the
211
211
  installed `pair-visa-agent` skill; `--force-skill` replaces it, moving a locally
212
212
  edited copy to `.visa-cli-managed/backups/` first.
213
213
 
214
- On macOS and Linux the private identity key lives under `~/.visa-cli/` in an
215
- owner-only directory with file mode `0600`. It is an exportable local file:
216
- copying it transfers identity proof, and losing it blocks new proofs, because
217
- same-agent key recovery does not exist yet. Protocol-v2 identity pairing fails
218
- closed on Windows until the CLI can apply and verify an owner-only Windows ACL.
219
- The approval link carries no credential and no private key.
214
+ The agent's keys (wallet, card and TAP) live in the operating system's
215
+ store: the macOS Keychain, Windows data protection (DPAPI), or the Linux Secret
216
+ Service; a server without one uses an owner-only `0600` file only when
217
+ `VISA_RUNTIME_CUSTODY_PROFILE=headless` is set. There are no password prompts,
218
+ and software running as you on this machine can use the keys, so treat the
219
+ machine as the key: pause or revoke the agent in the Console if it is lost. To
220
+ move an agent to another computer, run `visa connect` there and choose
221
+ **Replacing** on the approval page: the same agent gets new keys, keeps its
222
+ budget and history, and the old keys are retired. The approval link carries no
223
+ credential and no private key.
220
224
 
221
225
  ## Limits: what may be spent
222
226
 
@@ -490,6 +494,7 @@ Deterministic preconditions always resolve to a specific code:
490
494
  | The login keychain is locked or unavailable to the signer | `keychain_locked_or_unavailable` | `platform` |
491
495
  | The Linux keyring is locked, missing, or did not answer in time | `secret_service_locked_or_unavailable`, `secret_service_unavailable`, `secret_service_timeout` | `platform` |
492
496
  | Windows DPAPI refused the device key (usually a different Windows user) | `dpapi_locked_or_unavailable` | `platform` |
497
+ | `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` |
493
498
  | 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` |
494
499
  | The signer refused: the request named another agent or runtime than the key is bound to | `identity_binding_mismatch` | `platform` |
495
500
  | The signer refused a proof timestamp outside its window (the machine clock is wrong) | `proof_time_invalid` | `platform` |