@visa/cli 2.0.0-rc.39 → 2.0.0-rc.41

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 CHANGED
@@ -41,15 +41,19 @@ Once connected, your assistant will have access to all payment tools. The first
41
41
  visa-cli login # GitHub OAuth — opens browser, stores session token
42
42
  visa-cli add-card # Enroll a Visa card via VGS secure form
43
43
  visa-cli status # Show auth state, enrolled cards, daily spend remaining
44
- visa-cli api-key create my-demo-app
45
- # Create an API key for an app or agent
44
+ visa-cli tokens create my-demo-app
45
+ # Create an API token for an app or agent
46
46
  visa-cli history # Recent transactions with amounts and any generated media URLs
47
- visa-cli hud enable # Enable the terminal HUD for Codex and regular shells
48
- visa-cli hud doctor # Diagnose terminal HUD setup
49
- visa-cli hud disable # Remove the terminal HUD from your shell
50
- visa-cli hud enable claude
47
+ visa-cli config hud enable
48
+ # Enable the terminal HUD for Codex and regular shells
49
+ visa-cli config hud doctor
50
+ # Diagnose terminal HUD setup
51
+ visa-cli config hud disable
52
+ # Remove the terminal HUD from your shell
53
+ visa-cli config hud enable claude
51
54
  # Legacy: register the Claude Code statusLine renderer
52
- visa-cli statusline # Legacy renderer for statusLine integrations
55
+ visa-cli config statusline
56
+ # Renderer for statusLine integrations
53
57
  # MCP (stdio): run the bundled entrypoint (IDE configs use the same path — see getServerEntry in src/clients.ts)
54
58
  # node "$(npm root -g)/@visa/cli/dist/mcp-server/index.js"
55
59
  ```
@@ -99,14 +103,14 @@ visa-cli status
99
103
 
100
104
  ---
101
105
 
102
- ## API keys for apps and agents
106
+ ## API tokens for apps and agents
103
107
 
104
- Approved users can create API keys from the CLI with their existing login:
108
+ Approved users can create API tokens from the CLI with their existing login:
105
109
 
106
110
  ```bash
107
- visa-cli api-key create my-demo-app --tools run_llm --daily-cap 5
108
- visa-cli api-key list
109
- visa-cli api-key revoke 1
111
+ visa-cli tokens create my-demo-app --tools generate_image_card,run_llm --daily-cap 5
112
+ visa-cli tokens list
113
+ visa-cli tokens revoke 1
110
114
  ```
111
115
 
112
116
  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` to `/v1/api/shortcuts/:tool`.