@zeroxyz/cli 1.7.0 → 1.9.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 +24 -2
- package/dist/index.js +1854 -1549
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,17 +4,26 @@ The `zero` CLI lets AI agents discover, call, and review capabilities indexed by
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
The
|
|
7
|
+
The npm package is the bootstrap and manual CLI. Agent sessions should run through
|
|
8
|
+
the Zero plugin's managed runner, which auto-updates at `~/.zero/runtime/bin/zero`.
|
|
8
9
|
|
|
9
10
|
```bash
|
|
10
11
|
npm install -g @zeroxyz/cli
|
|
12
|
+
zero init
|
|
13
|
+
zero auth login
|
|
11
14
|
```
|
|
12
15
|
|
|
16
|
+
`zero init` installs the Zero plugin through supported harness CLIs when they are
|
|
17
|
+
callable from the current shell (`codex`, `claude`, `gemini`, `openclaw`). If no
|
|
18
|
+
plugin install succeeds, it falls back to the standalone skill/hook install under
|
|
19
|
+
`~/.claude` and `~/.agents`, with hooks registered in `~/.claude/settings.json`
|
|
20
|
+
and `~/.codex/hooks.json`.
|
|
21
|
+
|
|
13
22
|
## Breaking changes
|
|
14
23
|
|
|
15
24
|
### 1.0.0
|
|
16
25
|
|
|
17
|
-
- **`zero init` no longer
|
|
26
|
+
- **`zero init` no longer creates a local wallet.** It installs the Zero plugin when possible and otherwise writes the standalone skill/hooks. `zero uninstall` removes the standalone files; host plugin installs are managed by their harnesses.
|
|
18
27
|
- **`zero welcome` was removed.** The welcome bonus is claimed by signing in (`zero auth login`).
|
|
19
28
|
- **The legacy `privateKey` field in `~/.zero/config.json` is no longer an identity and never pays.** Wallets created by a pre-1.0 `zero init` stop signing requests and payments. Pick one of:
|
|
20
29
|
- **Recommended:** sign in and sweep the old wallet's funds into your managed Zero wallet:
|
|
@@ -53,6 +62,19 @@ zero review <runId> --success --accuracy 5 --value 4 --reliability 5
|
|
|
53
62
|
|
|
54
63
|
## Commands
|
|
55
64
|
|
|
65
|
+
### `zero init`
|
|
66
|
+
|
|
67
|
+
Bootstrap Zero for agent harnesses.
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
zero init # target every supported agent
|
|
71
|
+
zero init --agent codex # only Codex
|
|
72
|
+
zero init --agent claude,codex # comma-separated or repeat --agent
|
|
73
|
+
zero init --agent standalone # only standalone skills + Claude/Codex hooks
|
|
74
|
+
zero init --no-fallback # fail instead of writing standalone fallback
|
|
75
|
+
zero init --dry-run # preview actions
|
|
76
|
+
```
|
|
77
|
+
|
|
56
78
|
### `zero auth`
|
|
57
79
|
|
|
58
80
|
Sign in and out of Zero. Signing in provisions a managed Zero wallet that signs your payments.
|