@visa/cli 2.6.0-rc.11 → 2.6.0-rc.13
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 +2 -2
- package/dist/cli.js +108 -108
- package/dist/mcp-server/index.js +4 -4
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ visa-cli balance show # Prepaid balance + recent ledger entries
|
|
|
60
60
|
visa-cli balance topup --amount 5 # Top up balance from your default card (Touch ID)
|
|
61
61
|
|
|
62
62
|
# API tokens for apps and agents
|
|
63
|
-
visa-cli tokens create my-demo-app # Create an API token (prints the
|
|
63
|
+
visa-cli tokens create my-demo-app # Create an API token (prints the VisaKey_... key once)
|
|
64
64
|
visa-cli tokens list # List API tokens
|
|
65
65
|
visa-cli tokens revoke <id> # Revoke an API token
|
|
66
66
|
|
|
@@ -147,7 +147,7 @@ visa-cli tokens list
|
|
|
147
147
|
visa-cli tokens revoke 1
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
The create command prints the raw `
|
|
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 or `/v1/api/session-budget/create` followed by `/v1/api/session-budget/stream/:tool` for explicit session-budget streaming; direct `/v1/api/shortcuts/:tool` card charges are retired.
|
|
151
151
|
|
|
152
152
|
---
|
|
153
153
|
|