@visa/cli 2.7.0-rc.2 → 2.7.0-rc.4
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 +135 -134
- package/dist/mcp-server/index.js +20 -19
- package/native/build-win.bat +42 -0
- package/native/visa-keychain-win.cpp +481 -0
- package/package.json +4 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -5,9 +5,9 @@ AI-powered payments over MCP. Exposes Visa-funded paid tools as MCP (Model Conte
|
|
|
5
5
|
### Platform support
|
|
6
6
|
|
|
7
7
|
| Platform | Credential Storage | Payment Auth | Install |
|
|
8
|
-
|----------|-------------------|--------------|---------|
|
|
8
|
+
|----------|-------------------|--------------|---------|
|
|
9
9
|
| **macOS** | Keychain | Touch ID / Secure Enclave | `curl -fsSL https://app.visacli.sh/cli \| bash` |
|
|
10
|
-
| **Windows** |
|
|
10
|
+
| **Windows** | CNG Key Store (TPM-backed) | Windows Hello (face / fingerprint / PIN) | `iwr -useb https://app.visacli.sh/install.ps1 \| iex` |
|
|
11
11
|
| **Linux** | libsecret (GNOME Keyring / KDE Wallet) | Server-verified (restricted limits) | `curl -fsSL https://app.visacli.sh/cli \| bash` |
|
|
12
12
|
|
|
13
13
|
## Install
|
|
@@ -142,12 +142,12 @@ visa-cli status
|
|
|
142
142
|
Approved users can create API tokens from the CLI with their existing login:
|
|
143
143
|
|
|
144
144
|
```bash
|
|
145
|
-
visa-cli tokens create my-demo-app --tools fal-flux-pro,or-gpt-4o-mini --daily-cap 5
|
|
145
|
+
visa-cli tokens create my-demo-app --tools fal-flux-pro,or-gpt-4o-mini --daily-cap 5 --total-cap 200 --expires 2026-12-31
|
|
146
146
|
visa-cli tokens list
|
|
147
147
|
visa-cli tokens revoke 1
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
The create command prints the raw `VisaKey_...` key once. Store it in your app or agent secret store and send it as `X-Api-Key`. Paid API-token calls use `/v1/api/tools/:tool/execute` for direct JSON execution
|
|
150
|
+
The create command prints the raw `VisaKey_...` key once. Store it in your app or agent secret store and send it as `X-Api-Key`. Paid API-token calls use `/v1/api/tools/:tool/execute` for direct JSON execution. Direct `/v1/api/shortcuts/:tool` card charges are retired. Use `--total-cap USD` for a lifetime key guardrail and `--expires YYYY-MM-DD` to make a key stop working automatically.
|
|
151
151
|
|
|
152
152
|
---
|
|
153
153
|
|