@visa/cli 2.1.2 → 2.2.0-rc.1
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 +3 -3
- package/dist/cli.js +135 -123
- package/dist/mcp-server/index.js +5 -5
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @visa/cli
|
|
2
2
|
|
|
3
|
-
AI-powered payments over MCP. Exposes Visa
|
|
3
|
+
AI-powered payments over MCP. Exposes Visa-funded paid tools as MCP (Model Context Protocol) tools so your AI assistant can pay for image generation, video, music, onchain data queries, and more. Ordinary paid calls debit prepaid credits through an approved session; card use is reserved for enrollment, top-ups, and explicitly documented direct-card exceptions.
|
|
4
4
|
|
|
5
5
|
### Platform support
|
|
6
6
|
|
|
@@ -126,12 +126,12 @@ visa-cli status
|
|
|
126
126
|
Approved users can create API tokens from the CLI with their existing login:
|
|
127
127
|
|
|
128
128
|
```bash
|
|
129
|
-
visa-cli tokens create my-demo-app --tools
|
|
129
|
+
visa-cli tokens create my-demo-app --tools fal-flux-pro,or-gpt-4o-mini --daily-cap 5
|
|
130
130
|
visa-cli tokens list
|
|
131
131
|
visa-cli tokens revoke 1
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
The create command prints the raw `vk_...` key once. Store it in your app or agent secret store and send it as `X-Api-Key`
|
|
134
|
+
The create command prints the raw `vk_...` 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/session-budget/create` followed by `/v1/api/session-budget/stream/:tool`; direct `/v1/api/shortcuts/:tool` card charges are retired.
|
|
135
135
|
|
|
136
136
|
---
|
|
137
137
|
|