openclaw-utils 0.3.3 → 0.3.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.
Files changed (72) hide show
  1. package/README.aiclaw.md +12 -7
  2. package/README.aliclaw.md +12 -7
  3. package/README.alpha-claw.md +25 -0
  4. package/README.alphaclaw.md +25 -0
  5. package/README.amazonclaw.md +12 -7
  6. package/README.amzclaw.md +12 -7
  7. package/README.anthropicclaw.md +12 -7
  8. package/README.appleclaw.md +12 -7
  9. package/README.autoopenclaw.md +12 -7
  10. package/README.awsclaw.md +12 -7
  11. package/README.bdclaw.md +12 -7
  12. package/README.blclaw.md +12 -7
  13. package/README.bytclaw.md +12 -7
  14. package/README.claw-open.md +12 -7
  15. package/README.clawjs.md +10 -7
  16. package/README.coclaw.md +12 -7
  17. package/README.copaw.md +16 -3
  18. package/README.ddclaw.md +12 -7
  19. package/README.duclaw.md +12 -7
  20. package/README.dyclaw.md +12 -7
  21. package/README.easyclaw.md +12 -7
  22. package/README.fastclaw.md +12 -7
  23. package/README.fbclaw.md +12 -7
  24. package/README.googleclaw.md +12 -7
  25. package/README.hello-claw.md +25 -0
  26. package/README.hwclaw.md +12 -7
  27. package/README.jdclaw.md +12 -7
  28. package/README.kimiclaw.md +12 -7
  29. package/README.ksclaw.md +16 -3
  30. package/README.maxclaw.md +12 -7
  31. package/README.md +11 -225
  32. package/README.md.bak +75 -0
  33. package/README.megaclaw.md +12 -7
  34. package/README.metaclaw.md +12 -7
  35. package/README.miclaw.md +12 -7
  36. package/README.msclaw.md +12 -7
  37. package/README.mtclaw.md +12 -7
  38. package/README.nflxclaw.md +12 -7
  39. package/README.nvdaclaw.md +12 -7
  40. package/README.open-claw.md +10 -7
  41. package/README.openaiclaw.md +12 -7
  42. package/README.openclaw-cli.md +11 -225
  43. package/README.openclaw-daemon.md +11 -225
  44. package/README.openclaw-gateway.md +11 -225
  45. package/README.openclaw-health.md +11 -225
  46. package/README.openclaw-helper.md +11 -225
  47. package/README.openclaw-install.md +11 -225
  48. package/README.openclaw-manage.md +11 -225
  49. package/README.openclaw-monitor.md +11 -225
  50. package/README.openclaw-run.md +11 -225
  51. package/README.openclaw-service.md +11 -225
  52. package/README.openclaw-setup.md +11 -225
  53. package/README.openclaw-start.md +11 -225
  54. package/README.openclaw-tools.md +11 -225
  55. package/README.openclaw-upgrade.md +17 -5
  56. package/README.openclaw-utils.md +11 -225
  57. package/README.openclaw-watch.md +11 -225
  58. package/README.pddclaw.md +12 -7
  59. package/README.qclaw-cli.md +12 -7
  60. package/README.qclaw.md +10 -7
  61. package/README.smartclaw.md +12 -7
  62. package/README.ttclaw.md +12 -7
  63. package/README.txclaw.md +12 -7
  64. package/README.uberclaw.md +12 -7
  65. package/README.volclaw.md +12 -7
  66. package/README.wxclaw.md +12 -7
  67. package/README.xclaw.md +16 -3
  68. package/README.zhclaw.md +12 -7
  69. package/dist/{chunk-U6JVOA5H.js → chunk-LJXPQKQB.js} +12 -70
  70. package/dist/index.js +3 -3
  71. package/dist/{server-GHEIPQJV.js → server-BR52HPJB.js} +1 -1
  72. package/package.json +2 -2
@@ -1,20 +1,25 @@
1
1
  # easyclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g easyclaw
11
- easyclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ easyclaw watch -d
17
+ easyclaw status
18
+ easyclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
@@ -1,20 +1,25 @@
1
1
  # fastclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g fastclaw
11
- fastclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ fastclaw watch -d
17
+ fastclaw status
18
+ fastclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.fbclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # fbclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g fbclaw
11
- fbclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ fbclaw watch -d
17
+ fbclaw status
18
+ fbclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
@@ -1,20 +1,25 @@
1
1
  # googleclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g googleclaw
11
- googleclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ googleclaw watch -d
17
+ googleclaw status
18
+ googleclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
@@ -0,0 +1,25 @@
1
+ # hello-claw
2
+
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
+
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g hello-claw
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```bash
16
+ hello-claw watch -d
17
+ hello-claw status
18
+ hello-claw gateway restart
19
+ ```
20
+
21
+ ## Links
22
+
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
24
+ - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.hwclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # hwclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g hwclaw
11
- hwclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ hwclaw watch -d
17
+ hwclaw status
18
+ hwclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.jdclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # jdclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g jdclaw
11
- jdclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ jdclaw watch -d
17
+ jdclaw status
18
+ jdclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
@@ -1,20 +1,25 @@
1
1
  # kimiclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g kimiclaw
11
- kimiclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ kimiclaw watch -d
17
+ kimiclaw status
18
+ kimiclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.ksclaw.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # ksclaw
2
2
 
3
- > Alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- Watchdog daemon for OpenClaw AI assistant gateway.
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
+
7
+ ## Install
6
8
 
7
9
  ```bash
8
10
  npm install -g ksclaw
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```bash
9
16
  ksclaw watch -d
17
+ ksclaw status
18
+ ksclaw gateway restart
10
19
  ```
11
20
 
12
- See [openclaw-cli](https://github.com/Sobranier/openclaw-cli) for full docs.
21
+ ## Links
22
+
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
24
+ - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.maxclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # maxclaw
2
2
 
3
- > This is an alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)** — the AI assistant gateway watchdog.
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
4
4
 
5
- ## 🌐 Official Site: [https://openclaw-cli.app](https://openclaw-cli.app)
5
+ This package runs the same CLI engine as `openclaw-cli`.
6
6
 
7
- Install and run:
7
+ ## Install
8
8
 
9
9
  ```bash
10
10
  npm install -g maxclaw
11
- maxclaw watch -d
12
11
  ```
13
12
 
14
- This package is identical to `openclaw-cli`. All features, docs, and updates are maintained there.
13
+ ## Usage
14
+
15
+ ```bash
16
+ maxclaw watch -d
17
+ maxclaw status
18
+ maxclaw gateway restart
19
+ ```
15
20
 
16
21
  ## Links
17
22
 
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
18
24
  - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
19
- - 🌐 Website: [https://openclaw-cli.app](https://openclaw-cli.app)
20
- - 📖 Docs & Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.md CHANGED
@@ -1,239 +1,25 @@
1
- <p align="center">
2
- <img src="https://raw.githubusercontent.com/Sobranier/openclaw-cli/main/assets/welcome.png" alt="OpenClaw utils" width="400" />
3
- </p>
1
+ # openclaw-utils
4
2
 
5
- <h1 align="center">OpenClaw utils</h1>
3
+ > Alias package for **[openclaw-cli](https://www.npmjs.com/package/openclaw-cli)**.
6
4
 
7
- <p align="center">
8
- Keep your OpenClaw service alive. Automatically.
9
- </p>
10
-
11
- <p align="center">
12
- <a href="./README.zh-CN.md">中文文档</a>
13
- </p>
14
-
15
- ## Get Started
16
-
17
- ```bash
18
- npm install -g openclaw-utils
19
- openclaw-utils watch -d
20
- ```
21
-
22
- That's it. Doctor monitors your OpenClaw gateway in the background, restarts it when it goes down, and tells you what happened. Zero configuration needed -- it reads everything from your existing OpenClaw setup.
23
-
24
- ## Core Commands
25
-
26
- ```bash
27
- openclaw-utils watch # Start monitoring (foreground)
28
- openclaw-utils watch -d # Start monitoring (background)
29
- openclaw-utils unwatch # Stop monitoring
30
-
31
- openclaw-utils status # Quick health check
32
- ```
33
-
34
- These four commands cover 90% of daily use.
35
-
36
- ## Gateway Management
37
-
38
- ```bash
39
- openclaw-utils gateway start # Start the OpenClaw gateway
40
- openclaw-utils gateway stop # Stop the gateway
41
- openclaw-utils gateway restart # Restart the gateway
42
- ```
43
-
44
- ## Diagnostics & Logs
45
-
46
- ```bash
47
- openclaw-utils doctor # Full diagnostics (binary, gateway, channels)
48
- openclaw-utils logs # View gateway logs
49
- openclaw-utils logs --error # View error logs only
50
- openclaw-utils logs --doctor # View Doctor's own event logs
51
- openclaw-utils dashboard # Web management UI (http://localhost:9090)
52
- ```
5
+ This package runs the same CLI engine as `openclaw-cli`.
53
6
 
54
7
  ## Install
55
8
 
56
9
  ```bash
57
- # npm (recommended)
58
10
  npm install -g openclaw-utils
59
-
60
- # or run without installing
61
- npx openclaw-utils status
62
11
  ```
63
12
 
64
- Requires Node >= 22 (same as OpenClaw).
65
-
66
- ## How It Works
67
-
68
- Doctor auto-detects your OpenClaw installation:
69
-
70
- - Reads `~/.openclaw/openclaw.json` for gateway port, channels, agents
71
- - Finds the launchd service from `~/Library/LaunchAgents/`
72
- - Checks health via `openclaw health --json` (real gateway RPC, not HTTP)
73
- - Restarts via `launchctl kickstart` when needed
74
-
75
- **You don't configure OpenClaw details.** Doctor figures them out.
76
-
77
- ## All Commands
78
-
79
- | Command | Description |
80
- |---------|-------------|
81
- | **Monitoring** | |
82
- | `watch` | Start health monitoring (foreground) |
83
- | `watch -d` | Start health monitoring (background) |
84
- | `watch -d --dashboard` | Background monitoring + web dashboard |
85
- | `unwatch` | Stop monitoring |
86
- | **Gateway** | |
87
- | `gateway start` | Start the OpenClaw gateway |
88
- | `gateway stop` | Stop the gateway |
89
- | `gateway restart` | Restart the gateway |
90
- | **Info** | |
91
- | `status` | Show gateway and channel health |
92
- | `status --json` | Machine-readable JSON output |
93
- | `doctor` | Run full diagnostics |
94
- | `dashboard` | Start web management UI |
95
- | `logs` | Show gateway logs |
96
- | `logs --error` | Show error logs only |
97
- | `logs --doctor` | Show Doctor event logs |
98
-
99
- ## Configuration
100
-
101
- Config is stored at `~/.openclaw-doctor/config.json`. Created automatically on first run. Only Doctor's own preferences -- no OpenClaw settings needed.
102
-
103
- ```json
104
- {
105
- "checkInterval": 30,
106
- "failThreshold": 3,
107
- "dashboardPort": 9090,
108
- "maxRestartsPerHour": 5,
109
- "openclawProfile": "default",
110
- "notify": {
111
- "webhook": {
112
- "enabled": false,
113
- "url": "",
114
- "bodyTemplate": "{\"msgtype\":\"text\",\"text\":{\"content\":\"{{message}}\"}}"
115
- },
116
- "system": {
117
- "enabled": true
118
- }
119
- }
120
- }
121
- ```
122
-
123
- | Field | Description | Default |
124
- |-------|-------------|---------|
125
- | `checkInterval` | Seconds between health checks | `30` |
126
- | `failThreshold` | Consecutive failures before restart | `3` |
127
- | `dashboardPort` | Web dashboard port | `9090` |
128
- | `maxRestartsPerHour` | Restart throttle | `5` |
129
- | `openclawProfile` | OpenClaw profile to monitor (`default`, `dev`, ...) | `default` |
130
- | `notify.webhook.url` | Webhook for notifications | -- |
131
- | `notify.system.enabled` | macOS native notifications | `true` |
132
-
133
- ## Notifications
134
-
135
- Doctor notifies you across the full lifecycle:
136
-
137
- | Event | Example |
138
- |-------|---------|
139
- | Monitoring started | "Doctor is watching your OpenClaw service" |
140
- | Health degraded | "Service unhealthy (attempt 2/3)" |
141
- | Restarting | "Restarting gateway..." |
142
- | Restart succeeded | "Gateway back online" |
143
- | Restart failed | "Restart failed: [error]" |
144
- | Throttled | "Too many restarts, manual intervention needed" |
145
- | Recovered | "Service recovered on its own" |
146
- | Monitoring stopped | "Doctor stopped" |
147
-
148
- Channels: **Webhook** (DingTalk, Feishu, Slack, etc.) + **macOS system notifications**.
149
-
150
- ## Skills Integration
151
-
152
- Doctor runs as a standalone daemon, callable by OpenClaw or other tools:
153
-
154
- ```bash
155
- openclaw-utils status --json # Machine-readable output
156
- openclaw-utils watch -d # Idempotent -- safe to call repeatedly
157
- ```
158
-
159
- If the caller crashes, Doctor keeps running.
160
-
161
- ## Architecture
162
-
163
- ```
164
- +-----------------+
165
- | Notification |
166
- | (Webhook/OS) |
167
- +--------^--------+
168
- |
169
- +-------------+ CLI +--------+--------+ RPC +-----------+
170
- | OpenClaw | --------> | | ---------> | OpenClaw |
171
- | / Scripts | | openclaw-doctor | | Gateway |
172
- | / Skills | <-------- | (daemon) | <--------- | :18789 |
173
- +-------------+ stdout +--------+--------+ health +-----------+
174
- |
175
- +--------v--------+
176
- | ~/.openclaw/logs |
177
- | (read & analyze) |
178
- +-----------------+
179
- ```
180
-
181
- ## Development
13
+ ## Usage
182
14
 
183
15
  ```bash
184
- git clone https://github.com/openclaw/openclaw-doctor.git
185
- cd openclaw-doctor
186
- npm install
187
-
188
- npm run dev -- status # Quick test
189
- npm run dev -- watch # Foreground monitoring
190
- npm run dev -- watch -d # Background daemon
191
- npm run dev -- unwatch # Stop daemon
192
-
193
- npm run build # Build for distribution
194
- ```
195
-
196
- ## Roadmap
197
-
198
- - [x] Health check via `openclaw health --json` + auto-restart with throttling
199
- - [x] Auto-detect OpenClaw config (gateway port, channels, agents, launchd)
200
- - [x] Background daemon mode (`watch -d` / `unwatch`)
201
- - [x] Gateway management (`gateway start/stop/restart`)
202
- - [x] Read and display OpenClaw gateway logs
203
- - [x] Web status dashboard
204
- - [x] `--json` output for status
205
- - [ ] Notification system (Webhook + macOS)
206
- - [ ] `logs --tail` (real-time follow)
207
- - [ ] `config` command (get/set)
208
- - [ ] Multiple service monitoring
209
- - [ ] Linux systemd support
210
-
211
- ## License
212
-
213
- [MIT](./LICENSE)
214
-
215
- ## Publishing
216
-
217
- This repo publishes two npm packages from the same codebase:
218
-
219
- - **`openclaw-utils`** — the main package (`package.json`)
220
- - **`openclaw-utils`** — alias package (`package.openclaw-utils.json`)
221
-
222
- Both packages share the same version number and dist output.
223
-
224
- ### Release a new version
225
-
226
- ```bash
227
- # 1. Bump version (patch / minor / major)
228
- npm version patch
229
-
230
- # 2. Build + publish both packages
231
- npm run release
16
+ openclaw-utils watch -d
17
+ openclaw-utils status
18
+ openclaw-utils gateway restart
232
19
  ```
233
20
 
234
- `npm run release` calls `scripts/publish.sh`, which:
235
- 1. Builds once (`npm run build`)
236
- 2. Publishes `openclaw-utils` with the default `package.json`
237
- 3. Temporarily swaps in `package.openclaw-utils.json`, publishes `openclaw-utils`, then restores
21
+ ## Links
238
22
 
239
- To update the `openclaw-utils` package metadata (description, keywords, bin name, etc.), edit `package.openclaw-utils.json`. Keep `version` in sync — it's automatically picked up from whichever `package.json` is active during publish.
23
+ - 🌐 Official site: [https://openclaw-cli.app](https://openclaw-cli.app)
24
+ - 📦 Main package: [openclaw-cli on npm](https://www.npmjs.com/package/openclaw-cli)
25
+ - 📖 Source: [github.com/Sobranier/openclaw-cli](https://github.com/Sobranier/openclaw-cli)
package/README.md.bak ADDED
@@ -0,0 +1,75 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/Sobranier/openclaw-cli/main/assets/welcome.png" alt="OpenClaw CLI" width="400" />
3
+ </p>
4
+
5
+ <h1 align="center">OpenClaw CLI</h1>
6
+
7
+ <p align="center">
8
+ Keep your OpenClaw service alive. Automatically.
9
+ </p>
10
+
11
+ <p align="center">
12
+ <a href="./README.zh-CN.md">中文文档</a> | <a href="https://openclaw-cli.app">🌐 官网</a>
13
+ </p>
14
+
15
+ <p align="center">
16
+ <a href="https://www.npmjs.com/package/openclaw-cli"><img src="https://img.shields.io/npm/v/openclaw-cli?label=openclaw-cli&color=blue" alt="openclaw-cli" /></a>
17
+ &nbsp;
18
+ <a href="https://www.npmjs.com/package/openclaw-cli"><img src="https://img.shields.io/npm/dm/openclaw-cli?color=blue" alt="downloads" /></a>
19
+ &nbsp;
20
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-brightgreen" alt="license" /></a>
21
+ &nbsp;
22
+ <img src="https://img.shields.io/node/v/openclaw-cli" alt="node" />
23
+ </p>
24
+
25
+ ---
26
+
27
+ ## Why Doctor?
28
+
29
+ OpenClaw runs as a local daemon. When it crashes — network hiccup, system wake, bad update — your AI assistant goes dark. You notice only when you try to use it.
30
+
31
+ Doctor watches the gateway for you. It detects failures, restarts the service automatically, and notifies you. No config, no babysitting.
32
+
33
+ ## Get Started
34
+
35
+ ```bash
36
+ npm install -g openclaw-cli
37
+ openclaw-cli watch -d
38
+ ```
39
+
40
+ That's it. OpenClaw CLI is now running in the background.
41
+
42
+ <p align="center">
43
+ <img src="https://raw.githubusercontent.com/Sobranier/openclaw-cli/main/assets/demo.gif" alt="OpenClaw CLI demo" width="700" />
44
+ </p>
45
+
46
+ ## Core Commands
47
+
48
+ ```bash
49
+ openclaw-cli watch # Start monitoring (foreground)
50
+ openclaw-cli watch -d # Start monitoring (background)
51
+ openclaw-cli unwatch # Stop monitoring
52
+
53
+ openclaw-cli status # Quick health check
54
+ openclaw-cli doctor # Full diagnostics
55
+ ```
56
+
57
+ ## Gateway Management
58
+
59
+ ```bash
60
+ openclaw-cli gateway start
61
+ openclaw-cli gateway stop
62
+ openclaw-cli gateway restart
63
+ ```
64
+
65
+ ## Compatibility Aliases
66
+
67
+ `openclaw-doctor`, `hello-claw`, `aiclaw`, `pddclaw` and other alias package names all point to the same CLI engine.
68
+
69
+ - Main package: https://www.npmjs.com/package/openclaw-cli
70
+ - Official site: https://openclaw-cli.app
71
+
72
+ ## More Docs
73
+
74
+ - Advanced usage and development workflow: [CONTRIBUTING.md](./CONTRIBUTING.md)
75
+ - Chinese README: [README.zh-CN.md](./README.zh-CN.md)