@visa/cli 5.0.0-rc.406 → 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 +6 -6
- package/dist/cli.js +86 -86
- package/dist/mcp-server/index.js +296 -296
- package/dist/merchant-ucp-mcp/index.js +6 -6
- package/dist/skills/visa-shopify-checkout/SKILL.md +10 -11
- package/dist/skills/visa-ucp-shopping/SKILL.md +1 -1
- package/package.json +2 -3
- package/server.json +2 -2
- 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-runtime-signer.exe +0 -0
|
@@ -18,8 +18,9 @@ verified settlement. Never restart a payment to recover an uncertain result.
|
|
|
18
18
|
# Visa Shopify checkout
|
|
19
19
|
|
|
20
20
|
This skill supports the preview/RC checkout surface only. It prepares and inspects
|
|
21
|
-
merchant checkouts and reconciles their outcomes. The retired Visa browser-payment tools
|
|
22
|
-
`pay_merchant` and `
|
|
21
|
+
merchant checkouts and reconciles their outcomes. The retired Visa browser-payment tools
|
|
22
|
+
(`pay_merchant`, `start_card_mandate`) are not served, and `pay` refuses a checkout URL with
|
|
23
|
+
`card_browser_checkout_removed`.
|
|
23
24
|
For those retired tools, a saved card, grant, tester flag or another enrollment will not enable payment.
|
|
24
25
|
Do not offer the removed `visa checkout` command or a Visa browser fallback.
|
|
25
26
|
|
|
@@ -55,13 +56,10 @@ advertised but unproven; even response-confirmed support does not grant completi
|
|
|
55
56
|
permission. The current adapter has no production completion allowlist, so
|
|
56
57
|
`native_complete` is unreachable.
|
|
57
58
|
|
|
58
|
-
For a continuable checkout, `
|
|
59
|
-
`checkoutId
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
`payMerchantRequest`, handoff capability or continuation URL. Do not call
|
|
63
|
-
`pay_merchant` or repeat enrollment in response. Preserve the existing merchant
|
|
64
|
-
checkout for the owner to continue with the merchant.
|
|
59
|
+
For a continuable checkout, read it with `checkout_get` using the same `business`
|
|
60
|
+
and `checkoutId`, and confirm the merchant-authoritative total. Visa cannot pay it:
|
|
61
|
+
do not repeat enrollment or look for a Visa payment tool in response. Preserve the
|
|
62
|
+
existing merchant checkout for the owner to continue with the merchant.
|
|
65
63
|
|
|
66
64
|
Keep the final all-in amount at or below the user's approved ceiling. Report
|
|
67
65
|
item, fulfillment, currency or total changes before the owner continues; do not
|
|
@@ -79,8 +77,9 @@ refusal. Keep `route.resumePoint` transient; it is not a payment capability.
|
|
|
79
77
|
- `completed` / `reconcile_checkout`: reconcile the same checkout;
|
|
80
78
|
- `canceled`, an unknown state, or `blocked`: stop fail-closed.
|
|
81
79
|
|
|
82
|
-
After owner completion,
|
|
83
|
-
|
|
80
|
+
After owner completion, read the same checkout with `checkout_get` (and the order
|
|
81
|
+
with `order_get` when one is returned) and compare the expected minor-unit amount
|
|
82
|
+
and currency. Inspect existing Visa activity/receipts
|
|
84
83
|
when relevant, merchant order history and the authorized receipt mailbox. A valid
|
|
85
84
|
merchant order with matching money proves merchant confirmation, not final issuer
|
|
86
85
|
settlement or successful fulfillment; report those separately.
|
|
@@ -22,7 +22,7 @@ payment compatibility or authority.
|
|
|
22
22
|
|
|
23
23
|
For a named merchant, use the mounted `shopify-ucp` compatibility server's Visa-owned `catalog_search`, `catalog_lookup`, and `catalog_get_product` tools. The adapter maps those stable public names to the merchant-native `search_catalog`, `lookup_catalog`, and `get_product` operations. Pass the exact bare HTTPS merchant origin as `business`; the adapter negotiates the merchant's live UCP root and matching versioned profile on every call. Runtime prefixes vary, so still select tools from the live tool list rather than inventing a prefix.
|
|
24
24
|
|
|
25
|
-
For a broad request, first
|
|
25
|
+
For a broad request, first obtain candidate merchant origins from the host's own search or the buyer, then query promising origins through the native merchant adapter. Discovery is not catalog authority: verify every option with `catalog_search` or `catalog_get_product` against that merchant before presenting it. Native merchant catalog calls require neither an API key nor a UCP Playground key; never ask the buyer to paste either into chat.
|
|
26
26
|
|
|
27
27
|
Do not call any cart creation, checkout build/edit, `complete_checkout`, Visa review, credential, or submission tool from this skill. Only checkout preparation and reconciliation belong to `visa-shopify-checkout` after handoff; Visa card review, credentials and submission are unavailable in this build.
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visa/cli",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.407",
|
|
4
4
|
"description": "Visa CLI runtime for stable agent identity and separately authorized payment capabilities",
|
|
5
5
|
"bin": {
|
|
6
6
|
"visa-cli": "./bin/visa-cli.js",
|
|
@@ -88,7 +88,6 @@
|
|
|
88
88
|
"install.ps1",
|
|
89
89
|
"install.sh",
|
|
90
90
|
"server.json",
|
|
91
|
-
"README.md"
|
|
92
|
-
"native/bin/*/visa-runtime-signer*"
|
|
91
|
+
"README.md"
|
|
93
92
|
]
|
|
94
93
|
}
|
package/server.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.visa-crypto-labs/visa-cli",
|
|
4
|
-
"version": "5.0.0-rc.
|
|
4
|
+
"version": "5.0.0-rc.407",
|
|
5
5
|
"title": "Visa CLI",
|
|
6
6
|
"description": "Pair a human-approved agent identity, configure payment capabilities separately, and discover and pay x402 services from your AI coding assistant.",
|
|
7
7
|
"websiteUrl": "https://github.com/Visa-Crypto-Labs/Visa-mono/tree/main/packages/cli#readme",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
{
|
|
10
10
|
"registryType": "npm",
|
|
11
11
|
"identifier": "@visa/cli",
|
|
12
|
-
"version": "5.0.0-rc.
|
|
12
|
+
"version": "5.0.0-rc.407",
|
|
13
13
|
"transport": {
|
|
14
14
|
"type": "stdio"
|
|
15
15
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|