zk-agent-cli 1.0.0 → 1.1.0
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 +133 -14
- package/dist/index.js +14626 -8143
- package/dist/mcp.js +12512 -0
- package/dist/sdk.js +12526 -0
- package/package.json +19 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zk-agent-cli",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Local-first zkSync
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Local-first zkSync-native CLI for wallet readiness, flagship pay, hosted approval fallback, and Agent Pay follow-up.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"homepage": "https://github.com/AgiWeb3/zk-agent-cli/tree/main/packages/zk-agent-cli",
|
|
@@ -16,10 +16,17 @@
|
|
|
16
16
|
"keywords": [
|
|
17
17
|
"zksync",
|
|
18
18
|
"zksync-era",
|
|
19
|
+
"zkstack",
|
|
19
20
|
"aa",
|
|
20
21
|
"account-abstraction",
|
|
21
22
|
"agent",
|
|
23
|
+
"agent-pay",
|
|
22
24
|
"cli",
|
|
25
|
+
"local-first",
|
|
26
|
+
"mcp",
|
|
27
|
+
"paymaster",
|
|
28
|
+
"relay",
|
|
29
|
+
"sed-lite",
|
|
23
30
|
"wallet",
|
|
24
31
|
"workflow"
|
|
25
32
|
],
|
|
@@ -27,6 +34,11 @@
|
|
|
27
34
|
"zk-agent": "dist/index.js",
|
|
28
35
|
"zksync-agent": "dist/index.js"
|
|
29
36
|
},
|
|
37
|
+
"exports": {
|
|
38
|
+
".": "./dist/sdk.js",
|
|
39
|
+
"./mcp": "./dist/mcp.js",
|
|
40
|
+
"./package.json": "./package.json"
|
|
41
|
+
},
|
|
30
42
|
"files": [
|
|
31
43
|
"dist",
|
|
32
44
|
"README.md"
|
|
@@ -41,6 +53,7 @@
|
|
|
41
53
|
"release:check": "node scripts/assert-release-runtime.mjs && pnpm run build && pnpm run typecheck && pnpm run pack:check",
|
|
42
54
|
"prepublishOnly": "pnpm run release:check",
|
|
43
55
|
"smoke:discovery": "node --import tsx ./src/smoke-discovery.ts",
|
|
56
|
+
"smoke:payment-hosted-preview": "node --import tsx ./src/smoke-payment-hosted-preview.ts",
|
|
44
57
|
"smoke:hosted-recovery": "node --import tsx ./src/smoke-hosted-recovery.ts",
|
|
45
58
|
"smoke:hosted-relay": "node --import tsx ./src/smoke-hosted-relay.ts",
|
|
46
59
|
"smoke:hosted-operated-baseline": "node --import tsx ./src/smoke-hosted-operated-baseline.ts",
|
|
@@ -56,17 +69,20 @@
|
|
|
56
69
|
"node": ">=24"
|
|
57
70
|
},
|
|
58
71
|
"dependencies": {
|
|
72
|
+
"@modelcontextprotocol/server": "2.3.1",
|
|
59
73
|
"@noble/ciphers": "^1.2.1",
|
|
60
74
|
"@noble/curves": "^1.8.1",
|
|
61
75
|
"@noble/hashes": "^1.7.2",
|
|
62
76
|
"commander": "^15.0.0",
|
|
63
77
|
"dotenv": "^17.4.2",
|
|
64
78
|
"ethers": "^6.16.0",
|
|
65
|
-
"zksync-ethers": "^6.21.2"
|
|
79
|
+
"zksync-ethers": "^6.21.2",
|
|
80
|
+
"zod": "^4.6.7"
|
|
66
81
|
},
|
|
67
82
|
"devDependencies": {
|
|
68
83
|
"@zk-agent/account-profiles": "workspace:*",
|
|
69
84
|
"@zk-agent/agent-core": "workspace:*",
|
|
85
|
+
"@zk-agent/agent-tools": "workspace:*",
|
|
70
86
|
"@zk-agent/agent-pay": "workspace:*",
|
|
71
87
|
"@zk-agent/agent-session-protocol": "workspace:*",
|
|
72
88
|
"@zk-agent/plugin-identity": "workspace:*",
|