@visa/cli 5.0.0-rc.395 → 5.0.0-rc.396

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
@@ -223,6 +223,14 @@ are kept as `*.replaced-<time>` backups). `--restart` never touches the
223
223
  installed `pair-visa-agent` skill; `--force-skill` replaces it, moving a locally
224
224
  edited copy to `.visa-cli-managed/backups/` first.
225
225
 
226
+ `visa connect --setup <key>` picks up an agent the owner started on the Visa
227
+ website. That page shows the exact line to run once the agent exists. The
228
+ approval link this prints carries the key, and the owner's page binds this
229
+ machine to that agent instead of making a new one. Running the same line again
230
+ resumes the same approval. A setup can be picked up by one computer only; a
231
+ second gets `web_start_already_adopted`. In a chat, pass `setup` to
232
+ `agent_enroll` with the same key.
233
+
226
234
  The agent's keys (wallet, card and TAP) live in the operating system's
227
235
  store: the macOS Keychain, Windows data protection (DPAPI), or the Linux Secret
228
236
  Service; a server without one uses an owner-only `0600` file only when
@@ -322,7 +330,7 @@ a name that was ever real has to stay readable here.
322
330
  | Tool | Description |
323
331
  |------|-------------|
324
332
  | `get_status` | Everything about this machine in one answer: the owner signed in, the agent this machine holds, its limits, its capabilities, and what is owed next |
325
- | `agent_enroll` | The one door. Idempotent, and runs whichever leg is owed: signs the owner in when the session lapsed, answers `already_connected` when this machine already holds a usable agent (so an agent that exists is never answered by minting a second one), and enrolls when none is held. One Approve certifies this machine's wallet, card and TAP keys. On a new computer, the owner can choose "replacing" on the approval page to move an existing agent there; the old computer's keys stop. Pass `restart: true` to force a fresh enrollment |
333
+ | `agent_enroll` | The one door. Idempotent, and runs whichever leg is owed: signs the owner in when the session lapsed, answers `already_connected` when this machine already holds a usable agent (so an agent that exists is never answered by minting a second one), and enrolls when none is held. One Approve certifies this machine's wallet, card and TAP keys. On a new computer, the owner can choose "replacing" on the approval page to move an existing agent there; the old computer's keys stop. Pass `restart: true` to force a fresh enrollment, or `setup: "<key>"` to pick up the agent the owner started on the Visa website |
326
334
  | `discover` | Find something to pay for. Takes search text (by default it searches paid services the wallet pays on Tempo), or one URL to read its live charge without paying |
327
335
  | `pay` | Pay **from the agent wallet**: MPP on Tempo, in USDC.e. Search text searches; a URL whose 402 offers a Tempo charge pays (without `max` it returns the price and what the agent can spend now). A merchant with no Tempo charge, or a directory listing id, is refused with `merchant_not_supported`. A merchant checkout URL is refused by name — that is `purchase_create` |
328
336
  | `history` | Receipts, across every rail, with reconciliation when a payment's outcome is unresolved. Tempo payments are listed under `tempoPayments` |