zk-agent-cli 0.1.0-beta.4 → 0.1.0-beta.5
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 +7 -2
- package/dist/index.js +3 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -90,11 +90,16 @@ zk-agent workflow fund --wallet main --amount <amount> --execute
|
|
|
90
90
|
|
|
91
91
|
## Remote Approval
|
|
92
92
|
|
|
93
|
-
Shortest relay-backed path in one
|
|
93
|
+
Shortest relay-backed path in one terminal process:
|
|
94
94
|
|
|
95
95
|
```bash
|
|
96
96
|
zk-agent relay inspect --relay-url <relay-url>
|
|
97
97
|
zk-agent wallet create --relay-url <relay-url> --wait-relay --prompt-code
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
If the wallet already exists and only the writable session is stale, use:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
98
103
|
zk-agent wallet reapprove --name main --relay-url <relay-url> --wait-relay --prompt-code
|
|
99
104
|
```
|
|
100
105
|
|
|
@@ -128,7 +133,7 @@ Common files created by the default path:
|
|
|
128
133
|
- `config.json`
|
|
129
134
|
- `wallets/*.json`
|
|
130
135
|
- `requests/*.json`
|
|
131
|
-
- `
|
|
136
|
+
- `workflows/*.json`
|
|
132
137
|
|
|
133
138
|
## Smart-Account Profiles
|
|
134
139
|
|
package/dist/index.js
CHANGED
|
@@ -14643,8 +14643,9 @@ function createWalletCommand(deps) {
|
|
|
14643
14643
|
" zk-agent wallet next --name main",
|
|
14644
14644
|
"",
|
|
14645
14645
|
" Remote approval path:",
|
|
14646
|
-
" zk-agent
|
|
14647
|
-
" zk-agent wallet
|
|
14646
|
+
" zk-agent relay inspect --relay-url <url>",
|
|
14647
|
+
" zk-agent wallet create --relay-url <url> --wait-relay --prompt-code",
|
|
14648
|
+
" zk-agent wallet reapprove --name main --relay-url <url> --wait-relay --prompt-code"
|
|
14648
14649
|
].join("\n")
|
|
14649
14650
|
);
|
|
14650
14651
|
request.addHelpText(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zk-agent-cli",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.5",
|
|
4
4
|
"description": "Local-first zkSync Era and ZK Stack agent CLI with wallet session recovery, workflow orchestration, relay-backed approval, and SED smart-account support.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,9 +38,10 @@
|
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "node scripts/build.mjs",
|
|
40
40
|
"pack:check": "node scripts/release-check.mjs",
|
|
41
|
-
"release:check": "pnpm run build && pnpm run typecheck && pnpm run pack:check",
|
|
41
|
+
"release:check": "node scripts/assert-release-runtime.mjs && pnpm run build && pnpm run typecheck && pnpm run pack:check",
|
|
42
42
|
"prepublishOnly": "pnpm run release:check",
|
|
43
43
|
"smoke:discovery": "node --import tsx ./src/smoke-discovery.ts",
|
|
44
|
+
"smoke:hosted-relay": "node --import tsx ./src/smoke-hosted-relay.ts",
|
|
44
45
|
"smoke:remote-approval": "node --import tsx ./src/smoke-remote-approval.ts",
|
|
45
46
|
"typecheck": "tsc --noEmit",
|
|
46
47
|
"test": "pnpm --filter @zk-agent/agent-core build && pnpm run build && node --import ../../scripts/ensure-test-storage-isolation.mjs --import tsx --test ./tests/*.test.mjs ./tests/*.test.ts"
|