@visa/cli 4.1.0-rc.64 → 4.1.0-rc.66

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.
@@ -300,6 +300,31 @@ a reachable `SUBWAY_RELAY_MULTIADDR`. If those tools or the relay are unavailabl
300
300
  that clearly and stop. Do not imply that identity pairing alone granted directory or
301
301
  messaging authority, and do not improvise another transport.
302
302
 
303
+ ## Optional agent mailbox (separate from pairing)
304
+
305
+ Pairing does not provision an email address or inbox. If the agent needs a
306
+ mailbox — e.g. to receive a merchant's account-signup or one-time-code email —
307
+ connect one explicitly, from the paired runtime, with the raw CLI:
308
+
309
+ ```
310
+ visa agent mail-connect <agentId>
311
+ ```
312
+
313
+ This is CLI-only; no pairing step or MCP tool connects a mailbox. It requires an
314
+ already-paired stable-agent identity on this runtime — it reads the local agent
315
+ record and proves the Ed25519 identity to the service. It issues the stable
316
+ agent mailbox if one does not exist, then stores an inbox-scoped credential in an
317
+ owner-only `0600` runtime file so this runtime can read that one inbox.
318
+
319
+ Be honest about scope. A mailbox grants an email address and the ability to read
320
+ that inbox — nothing more. It is **not** identity, a wallet, spend authority, a
321
+ card, or a `.visa` name, and it never authorizes a payment. Do not claim pairing
322
+ set up mail. Once connected, the MCP `wallet_mail_status`, `wallet_mail_read`,
323
+ and `wallet_mail_await_otp` tools read the inbox (e.g. to await a sender-checked
324
+ one-time code); without the scoped credential those reads fail closed. Keep the
325
+ org-wide AgentMail key off the runtime — provisioning happens only through
326
+ `mail-connect` under operator control.
327
+
303
328
  ## Optional checkout profile (separate from pairing)
304
329
 
305
330
  Pairing does not enable card checkout. If the operator has separately provisioned card
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visa/cli",
3
- "version": "4.1.0-rc.64",
3
+ "version": "4.1.0-rc.66",
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",
package/server.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-10-17/server.schema.json",
3
3
  "name": "io.github.visa-crypto-labs/visa-cli",
4
- "version": "4.1.0-rc.64",
4
+ "version": "4.1.0-rc.66",
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": "4.1.0-rc.64",
12
+ "version": "4.1.0-rc.66",
13
13
  "transport": {
14
14
  "type": "stdio"
15
15
  },