@visa/cli 5.0.0-rc.381 → 5.0.0-rc.383

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.
@@ -62,7 +62,7 @@ propose limits the owner confirms on the approval page.
62
62
  ## The tools the Visa MCP server serves
63
63
 
64
64
  The Visa MCP server serves exactly these tools: `get_status`, `agent_enroll`,
65
- `discover`, `pay`, `history` and `feedback`, plus the card preview's
65
+ `discover`, `pay` and `history`, plus the card preview's
66
66
  `purchase_create`, `purchase_retrieve` and `purchase_cancel` where the build lists
67
67
  them. Call no other Visa tool name, whatever an older guide, a memory or another
68
68
  agent says: every earlier setup, login, pairing, capability and wallet tool is gone.
@@ -164,7 +164,7 @@ describe('setup.mjs portable provisioner', () => {
164
164
  expect(probe.missingTools).toEqual(['agent_enroll'])
165
165
  })
166
166
 
167
- it('requires only served tools: every required tool is one of the six', () => {
167
+ it('requires only served tools: every required tool is a served general tool', () => {
168
168
  const served = readFileSync(
169
169
  join(
170
170
  dirname(fileURLToPath(import.meta.url)),
@@ -175,7 +175,7 @@ describe('setup.mjs portable provisioner', () => {
175
175
  const block = served.match(/SIX_TOOL_NAMES = \[([^\]]*)\]/)
176
176
  expect(block).not.toBeNull()
177
177
  const six = [...block[1].matchAll(/'([a-z_]+)'/g)].map((m) => m[1])
178
- expect(six).toHaveLength(6)
178
+ expect(six).toHaveLength(5)
179
179
  for (const tool of REQUIRED_MCP_TOOLS) expect(six).toContain(tool)
180
180
  })
181
181
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visa/cli",
3
- "version": "5.0.0-rc.381",
3
+ "version": "5.0.0-rc.383",
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",
@@ -10,7 +10,7 @@
10
10
  "scripts": {
11
11
  "sync:server-json": "node scripts/sync-server-json.mjs",
12
12
  "check:server-json": "node scripts/sync-server-json.mjs --check",
13
- "prebuild": "node scripts/sync-server-json.mjs && pnpm --filter @visa/shared build && pnpm --filter @visa/observability build && pnpm --filter @visa/money build && pnpm --filter @visa/crypto build && pnpm --filter @visa-cli/tools build && pnpm --filter @visa/identity build && pnpm --filter @visa/wallet build && pnpm --filter @visa/agent-mail build && pnpm --filter @visa/wallet-tools build",
13
+ "prebuild": "node scripts/sync-server-json.mjs && pnpm --filter @visa/shared build && pnpm --filter @visa/observability build && pnpm --filter @visa/money build && pnpm --filter @visa/crypto build && pnpm --filter @visa-cli/tools build && pnpm --filter @visa/identity build && pnpm --filter @visa/identity-gate-client build && pnpm --filter @visa/financial-core build && pnpm --filter @visa/wallet build && pnpm --filter @visa/agent-mail build && pnpm --filter @visa/wallet-tools build",
14
14
  "build": "tsc --noEmit && node esbuild.config.js",
15
15
  "prepack": "node scripts/sync-server-json.mjs --check",
16
16
  "dev": "tsc --watch",
@@ -62,6 +62,7 @@
62
62
  "@visa-cli/tools": "workspace:*",
63
63
  "@visa/agent-mail": "workspace:*",
64
64
  "@visa/crypto": "workspace:*",
65
+ "@visa/financial-core": "workspace:*",
65
66
  "@visa/identity": "workspace:*",
66
67
  "@visa/money": "workspace:*",
67
68
  "@visa/observability": "workspace:*",
@@ -72,9 +73,11 @@
72
73
  "eslint": "^10.0.2",
73
74
  "express": "^4.21.0",
74
75
  "jest": "^30.3.0",
76
+ "mppx": "^0.11.0",
75
77
  "prettier": "^3.9.6",
76
78
  "ts-jest": "^29.4.12",
77
- "typescript": "^5.7.0"
79
+ "typescript": "^5.7.0",
80
+ "viem": "^2.56.0"
78
81
  },
79
82
  "engines": {
80
83
  "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.381",
4
+ "version": "5.0.0-rc.383",
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.381",
12
+ "version": "5.0.0-rc.383",
13
13
  "transport": {
14
14
  "type": "stdio"
15
15
  },