@visa/cli 5.0.0-rc.352 → 5.0.0-rc.353

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.
@@ -145,7 +145,7 @@ OpenClaw users receive the skill via `visa connect openclaw` (or through the `@v
145
145
  `~/.hermes/config.yaml`.
146
146
  - **No MCP integration:** everything below still works — connecting is a shell
147
147
  command, and `--format json` is available on every command.
148
- 3. **Check what is owed.** `visa status` prints the owner, the agent, its limits, which
148
+ 3. **Check what is owed.** `get_status` reports the owner, the agent, its limits, which
149
149
  clients are mounted, and one `next:` line when something is blocking.
150
150
 
151
151
  ## MCP mounting examples
@@ -299,13 +299,14 @@ runtimes.
299
299
  ## Management commands (an agent that already exists)
300
300
 
301
301
  ```
302
- visa status --format json # owner, agent, limits, mounts, every readiness gate
303
- visa limits --format json # what it may spend; with amounts, the owner approves
304
- visa activity --format json # payments across every rail
302
+ get_status {} # owner, agent, limits, mounts, every readiness gate
303
+ history {} # this agent's payments
304
+ # Caps are the owner's, in the Visa Console: /agent/enroll/limits?agent=<agent-id>
305
+ # Spend across every rail is the Console's Activity feed.
305
306
  visa disconnect --revoke # drop this machine's spending authority
306
307
  ```
307
308
 
308
- `visa status` is the one command that answers "can it spend, and what is missing" — it
309
+ `get_status` is the one call that answers "can it spend, and what is missing" — it
309
310
  carries the readiness gates the old `spendability` and `preflight` commands each answered
310
311
  a fragment of. Pausing, resuming, renaming and revoking an agent are owner actions in the
311
312
  Visa Console, not terminal commands.
@@ -319,12 +320,12 @@ If this device already holds an agent, a fresh enrolment is not needed and creat
319
320
  _second, separate_ agent. Do this instead:
320
321
 
321
322
  1. **Tell the user plainly:** "This device is already set up as `<name>`." Read the name
322
- from `agent_capabilities` or `visa status`. Start another enrolment only if they
323
+ from `get_status`. Start another enrolment only if they
323
324
  explicitly want a second agent.
324
325
  2. **Report status honestly — "set up" is several separate things.** Never imply the agent
325
326
  can spend just because it exists. Read it live from tools rather than guessing from
326
327
  prose: `agent_capabilities` returns the DERIVED capability map, `get_status` reports
327
- pairing / account / version, `visa status --format json` answers "can it spend, and
328
+ pairing / account / version, `get_status` answers "can it spend, and
328
329
  what is missing", and `agent_login` establishes or confirms the account session.
329
330
  - **Identity** — bound to _this user's_ account, on _this device_.
330
331
  - **Spending** — the limits the owner approved in the browser. You **cannot** self-grant
@@ -344,7 +345,7 @@ one returns `legacy_door_removed`.
344
345
 
345
346
  What to do instead:
346
347
 
347
- - [ ] **Diagnose first.** `visa status --format json` and `agent_capabilities` say
348
+ - [ ] **Diagnose first.** `get_status` says
348
349
  exactly what is missing. Do not start anything before you know which of identity,
349
350
  wallet delegation, card authority or funding is absent.
350
351
  - [ ] **If the device's identity custody is broken**, `visa connect` repairs it in place
@@ -433,7 +434,7 @@ chat, bypass eligibility, or retry an uncertain merchant submission. Existing
433
434
  Never infer or invent identity or address data.
434
435
 
435
436
  Create and inspect this profile through the `checkout_profile` MCP tool whenever the
436
- payment flow runs through MCP. Do not shell `visa status` as a substitute unless the
437
+ payment flow runs through MCP. Do not shell a terminal command as a substitute unless the
437
438
  shell has the exact same `HOME` and `VISA_CLI_HOME` as the MCP subprocess. A profile
438
439
  found under another root is owner PII, not a migration candidate: never scan, copy, or
439
440
  auto-adopt it. If the roots drifted, keep the root holding the paired identity and have the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visa/cli",
3
- "version": "5.0.0-rc.352",
3
+ "version": "5.0.0-rc.353",
4
4
  "description": "Visa CLI runtime for stable agent identity and separately authorized payment capabilities",
5
5
  "bin": {
6
6
  "visa-cli": "./bin/visa-cli.js",
@@ -44,13 +44,13 @@
44
44
  "typescript": "^5.7.0",
45
45
  "@visa-cli/tools": "2.0.0-rc.3",
46
46
  "@visa/crypto": "0.3.0-rc.19",
47
- "@visa/agent-mail": "0.2.0-rc.4",
48
47
  "@visa/identity": "0.3.0-rc.24",
49
- "@visa/money": "0.2.1-rc.0",
48
+ "@visa/agent-mail": "0.2.0-rc.4",
50
49
  "@visa/observability": "0.2.2-rc.16",
51
- "@visa/wallet": "0.3.0-rc.42",
50
+ "@visa/money": "0.2.1-rc.0",
51
+ "@visa/wallet-tools": "0.2.0-rc.50",
52
52
  "@visa/shared": "0.2.0-rc.15",
53
- "@visa/wallet-tools": "0.2.0-rc.50"
53
+ "@visa/wallet": "0.3.0-rc.42"
54
54
  },
55
55
  "engines": {
56
56
  "node": ">=20.0.0"
package/server.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
3
3
  "name": "io.github.visa-crypto-labs/visa-cli",
4
- "version": "5.0.0-rc.352",
4
+ "version": "5.0.0-rc.353",
5
5
  "title": "Visa CLI",
6
6
  "description": "Pair a human-approved agent identity, configure payment capabilities separately, and discover and pay x402 services from your AI coding assistant.",
7
7
  "websiteUrl": "https://github.com/Visa-Crypto-Labs/Visa-mono/tree/main/packages/cli#readme",
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "registryType": "npm",
11
11
  "identifier": "@visa/cli",
12
- "version": "5.0.0-rc.352",
12
+ "version": "5.0.0-rc.353",
13
13
  "transport": {
14
14
  "type": "stdio"
15
15
  },