@visa/cli 4.1.0-rc.331 → 4.1.0-rc.333
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 +28 -0
- package/dist/cli.js +283 -278
- package/dist/mcp-server/index.js +206 -201
- package/dist/merchant-ucp-mcp/index.js +3 -3
- package/native/bin/win32-arm64/visa-runtime-signer.exe +0 -0
- package/native/bin/win32-x64/visa-keychain-win.exe +0 -0
- package/native/bin/win32-x64/visa-runtime-signer.exe +0 -0
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -367,6 +367,34 @@ That URL isn't payment-gated — probe the service's actual paid route (`wallet_
|
|
|
367
367
|
The ceremony timed out — restart with `visa agent enroll --wait`. Do not retry
|
|
368
368
|
`visa setup start`; that door is removed.
|
|
369
369
|
|
|
370
|
+
**`session` is false with a certificate error, but the website works**
|
|
371
|
+
Codes like `UNABLE_TO_GET_ISSUER_CERT_LOCALLY`, `SELF_SIGNED_CERT_IN_CHAIN` or
|
|
372
|
+
`DEPTH_ZERO_SELF_SIGNED_CERT` mean this machine would not trust the connection,
|
|
373
|
+
so the request never left it. Visa is not down, no status page can show it, and
|
|
374
|
+
neither retrying nor signing in again will help. A network that inspects TLS
|
|
375
|
+
traffic does this, and browsers on the same machine still work because they read
|
|
376
|
+
the OS trust store and Node does not. Point Node at your network's root
|
|
377
|
+
certificate and run the command again:
|
|
378
|
+
|
|
379
|
+
```bash
|
|
380
|
+
# macOS: export the roots your organization installed
|
|
381
|
+
security find-certificate -a -p /Library/Keychains/System.keychain > ~/corp-ca.pem
|
|
382
|
+
export NODE_EXTRA_CA_CERTS=~/corp-ca.pem
|
|
383
|
+
visa agent preflight
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
Add the `export` line to your shell profile to keep it. If your IT team supplies
|
|
387
|
+
the root certificate as a file, point `NODE_EXTRA_CA_CERTS` at that instead.
|
|
388
|
+
Never disable certificate verification to get past this.
|
|
389
|
+
|
|
390
|
+
**`visa agent list` prints nothing but the Console shows an agent**
|
|
391
|
+
Agent records live on the machine that enrolled them, and the identity key never
|
|
392
|
+
leaves it. A second machine legitimately holds none. `visa agent list` asks the
|
|
393
|
+
server and says which case you are in: your account is empty, your agents are
|
|
394
|
+
enrolled elsewhere (it names them), or the server could not be reached. Only the
|
|
395
|
+
first means `visa agent enroll` is the right next step; running it in the other
|
|
396
|
+
two adds another agent rather than recovering the one you have.
|
|
397
|
+
|
|
370
398
|
**Tools don't appear in the AI client**
|
|
371
399
|
Restart the client or reconnect the MCP server (`/mcp` → `visa-cli` → reconnect in Claude Code). Re-run `visa-cli connect <client>` to rewrite the config.
|
|
372
400
|
|