@oked/openclaw-cli 0.6.20 → 0.6.22
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 +17 -11
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
# @oked/openclaw-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@oked/openclaw-cli)
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
|
|
6
|
+
Installer for the [`@oked/openclaw`](../openclaw) plugin. It runs `openclaw plugins install`, writes the OKed entry into `~/.openclaw/openclaw.json`, and can restart the gateway.
|
|
7
|
+
|
|
8
|
+
Approvals are decided in Telegram and on the [web dashboard](https://oked.ai/dashboard). The iPhone app is coming soon.
|
|
4
9
|
|
|
5
10
|
## Install
|
|
6
11
|
|
|
@@ -9,22 +14,23 @@ npm install -g @oked/openclaw @oked/openclaw-cli
|
|
|
9
14
|
oked-openclaw init
|
|
10
15
|
```
|
|
11
16
|
|
|
12
|
-
`init`
|
|
17
|
+
`openclaw` must already be on your PATH. `init` then:
|
|
13
18
|
|
|
14
|
-
1.
|
|
15
|
-
2.
|
|
16
|
-
3.
|
|
17
|
-
4.
|
|
18
|
-
5.
|
|
19
|
+
1. Finds the plugin (a sibling `packages/openclaw` in this monorepo, or the global `@oked/openclaw` install).
|
|
20
|
+
2. Runs `openclaw plugins install --link <path>`.
|
|
21
|
+
3. Reuses `OKED_API_KEY` or an existing `plugins.entries.oked.apiKey`. Otherwise it pairs this device in the browser and saves the key to `~/.oked/config.json`. It does not ask you to paste a key.
|
|
22
|
+
4. Keeps `OKED_MIN_TIER` or an existing `minTier` when one is set. Otherwise a terminal asks (default `review`), and a non-interactive run uses `review`. Accepted values are `safe`, `warning`, `review`, and `high_stakes`.
|
|
23
|
+
5. Adds `"oked"` to `plugins.allow` and writes `plugins.entries.oked` with `enabled`, `apiKey`, and `minTier`. Existing keys on that entry are kept.
|
|
24
|
+
6. Looks for a running gateway (systemd user or system, pm2, launchd, or a bare process) and asks before restarting it.
|
|
19
25
|
|
|
20
26
|
## Subcommands
|
|
21
27
|
|
|
22
28
|
| Command | Description |
|
|
23
29
|
|---|---|
|
|
24
|
-
| `oked-openclaw init` | Install the plugin and
|
|
25
|
-
| `oked-openclaw status` | Show install state, config, and backend
|
|
26
|
-
| `oked-openclaw test` | Send
|
|
27
|
-
| `oked-openclaw uninstall` | Remove the OKed entry and uninstall
|
|
30
|
+
| `oked-openclaw init` | Install the plugin and update `openclaw.json` |
|
|
31
|
+
| `oked-openclaw status` | Show install state, config, and whether `GET /health` on the backend succeeds |
|
|
32
|
+
| `oked-openclaw test` | Send one `high_stakes` approval. Decide it in Telegram or on the dashboard. |
|
|
33
|
+
| `oked-openclaw uninstall` | Remove the OKed entry and run `openclaw plugins uninstall oked` |
|
|
28
34
|
|
|
29
35
|
## License
|
|
30
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oked/openclaw-cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.22",
|
|
4
4
|
"description": "Installer CLI for the @oked/openclaw plugin. Wraps `openclaw plugins install` and configures the plugin entry in openclaw.json.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"test": "node --check bin/oked-openclaw.mjs"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@oked/sdk": "0.6.
|
|
17
|
+
"@oked/sdk": "0.6.22"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"openclaw",
|