@visa/cli 5.0.0-rc.381 → 5.0.0-rc.383
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 +4 -4
- package/dist/cli.js +314 -267
- package/dist/mcp-server/index.js +523 -217
- package/dist/merchant-ucp-mcp/index.js +5 -5
- package/dist/skills/pair-visa-agent/SKILL.md +1 -1
- package/dist/skills/pair-visa-agent/scripts/__tests__/setup.test.mjs +2 -2
- package/package.json +6 -3
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -298,7 +298,7 @@ is required, so the CLI never guesses which agent may spend.
|
|
|
298
298
|
|
|
299
299
|
## MCP tools (v4 surface)
|
|
300
300
|
|
|
301
|
-
|
|
301
|
+
Five general tools plus three protected-device preview tools are served to RC-authorized runtimes. Cold runtimes can list and call get_status, agent_enroll and the purchase preview without an employee code; protected owner rollout and authority still apply. There used to be thirty-five, which is more names than
|
|
302
302
|
anyone can hold, and most of them existed because a ceremony needed a door
|
|
303
303
|
rather than because an agent needed a verb.
|
|
304
304
|
|
|
@@ -312,12 +312,12 @@ a name that was ever real has to stay readable here.
|
|
|
312
312
|
| `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 |
|
|
313
313
|
| `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 |
|
|
314
314
|
| `discover` | Find something to pay for. Takes search text, or one listing to read its live challenge without paying |
|
|
315
|
-
| `pay` | Pay **from the agent wallet** (x402, USDC). Search text searches; a listing id or an x402 URL pays. A merchant checkout URL is refused by name — that is `purchase_create` |
|
|
316
|
-
| `history` | Receipts, across every rail, with reconciliation when a payment's outcome is unresolved |
|
|
315
|
+
| `pay` | Pay **from the agent wallet** (x402, USDC). Search text searches; a listing id or an x402 URL pays. When the owner has turned on Tempo payments for the agent, a URL whose 402 offers a Tempo MPP charge in USDC.e pays through Tempo instead, under the same budget (without `max` it returns the price and what the agent can spend now). A merchant checkout URL is refused by name — that is `purchase_create` |
|
|
316
|
+
| `history` | Receipts, across every rail, with reconciliation when a payment's outcome is unresolved. Tempo payments are listed under `tempoPayments` |
|
|
317
317
|
| `purchase_create` | Gated device preview: create/resume exact checkout using existing owner setup |
|
|
318
318
|
| `purchase_retrieve` | Preview: ordinary status, bounded host observation, or explicit include:card credential delivery |
|
|
319
319
|
| `purchase_cancel` | Preview: stop further work; issued or uncertain liability remains |
|
|
320
|
-
| `feedback` |
|
|
320
|
+
| `feedback` | **Removed** (CHAPEL C5). There is no replacement tool |
|
|
321
321
|
| `agent_capabilities` | **Removed.** Its capability map is a block of `get_status` |
|
|
322
322
|
| `agent_login` | **Removed.** `agent_enroll` runs the sign-in leg when that is the one owed |
|
|
323
323
|
| `setup_agent` | **Removed.** Use `agent_enroll` |
|