openclaw-service 0.3.0 → 0.3.1

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.
@@ -0,0 +1,22 @@
1
+ # aiclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g aiclaw
11
+ aiclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ aiclaw watch -d # Start background monitoring
18
+ aiclaw status # Health check
19
+ aiclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # aliclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g aliclaw
11
+ aliclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ aliclaw watch -d # Start background monitoring
18
+ aliclaw status # Health check
19
+ aliclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # autoopenclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g autoopenclaw
11
+ autoopenclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ autoopenclaw watch -d # Start background monitoring
18
+ autoopenclaw status # Health check
19
+ autoopenclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # claw-open
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g claw-open
11
+ claw-open watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ claw-open watch -d # Start background monitoring
18
+ claw-open status # Health check
19
+ claw-open unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # clawjs
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g clawjs
11
+ clawjs watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ clawjs watch -d # Start background monitoring
18
+ clawjs status # Health check
19
+ clawjs unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # fastclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g fastclaw
11
+ fastclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ fastclaw watch -d # Start background monitoring
18
+ fastclaw status # Health check
19
+ fastclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
package/README.md.bak CHANGED
@@ -13,13 +13,33 @@
13
13
  </p>
14
14
 
15
15
  <p align="center">
16
- <a href="https://www.npmjs.com/package/openclaw-doctor"><img src="https://img.shields.io/npm/v/openclaw-doctor?label=openclaw-doctor&color=red" alt="npm openclaw-doctor" /></a>
16
+ <a href="https://www.npmjs.com/package/openclaw-doctor"><img src="https://img.shields.io/npm/v/openclaw-doctor?label=openclaw-doctor&color=red" alt="npm version" /></a>
17
+ &nbsp;
18
+ <a href="https://www.npmjs.com/package/openclaw-doctor"><img src="https://img.shields.io/npm/dm/openclaw-doctor?color=red" alt="npm downloads" /></a>
17
19
  &nbsp;
18
20
  <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="npm openclaw-cli" /></a>
19
21
  &nbsp;
20
22
  <a href="https://www.npmjs.com/package/openclaw-manage"><img src="https://img.shields.io/npm/v/openclaw-manage?label=openclaw-manage&color=green" alt="npm openclaw-manage" /></a>
23
+ &nbsp;
24
+ <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-brightgreen" alt="License" /></a>
25
+ &nbsp;
26
+ <img src="https://img.shields.io/node/v/openclaw-doctor" alt="Node version" />
21
27
  </p>
22
28
 
29
+ ---
30
+
31
+ ## Why Doctor?
32
+
33
+ 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.
34
+
35
+ **Doctor watches the gateway for you.** It detects failures, restarts the service automatically, and notifies you. No config, no babysitting.
36
+
37
+ ## Primary Package
38
+
39
+ > **`openclaw-cli` is the primary package.** All package names (`openclaw-doctor`, `openclaw-manage`, `qclaw`, `aiclaw`, etc.) point to the same tool — install whichever name feels right, it works identically.
40
+ >
41
+ > `openclaw-doctor` is the original name and is kept for backward compatibility.
42
+
23
43
  ## Get Started
24
44
 
25
45
  ```bash
@@ -27,7 +47,11 @@ npm install -g openclaw-doctor
27
47
  openclaw-doctor watch -d
28
48
  ```
29
49
 
30
- 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.
50
+ That's it. Doctor is now running in the background. It reads everything from your existing OpenClaw setup — no configuration needed.
51
+
52
+ <p align="center">
53
+ <img src="https://raw.githubusercontent.com/Sobranier/openclaw-doctor/main/assets/demo.gif" alt="OpenClaw Doctor demo" width="700" />
54
+ </p>
31
55
 
32
56
  ## Core Commands
33
57
 
@@ -39,7 +63,7 @@ openclaw-doctor unwatch # Stop monitoring
39
63
  openclaw-doctor status # Quick health check
40
64
  ```
41
65
 
42
- These four commands cover 90% of daily use.
66
+ These four cover 90% of daily use.
43
67
 
44
68
  ## Gateway Management
45
69
 
@@ -54,9 +78,9 @@ openclaw-doctor gateway restart # Restart the gateway
54
78
  ```bash
55
79
  openclaw-doctor doctor # Full diagnostics (binary, gateway, channels)
56
80
  openclaw-doctor logs # View gateway logs
57
- openclaw-doctor logs --error # View error logs only
58
- openclaw-doctor logs --doctor # View Doctor's own event logs
59
- openclaw-doctor dashboard # Web management UI (http://localhost:9090)
81
+ openclaw-doctor logs --error # Error logs only
82
+ openclaw-doctor logs --doctor # Doctor's own event logs
83
+ openclaw-doctor dashboard # Web management UI http://localhost:9090
60
84
  ```
61
85
 
62
86
  ## Install
@@ -65,48 +89,43 @@ openclaw-doctor dashboard # Web management UI (http://localhost:9090)
65
89
  # npm (recommended)
66
90
  npm install -g openclaw-doctor
67
91
 
68
- # or run without installing
92
+ # Run without installing
69
93
  npx openclaw-doctor status
70
94
  ```
71
95
 
72
- Requires Node >= 22 (same as OpenClaw).
96
+ > Requires Node.js >= 22 (same as OpenClaw).
73
97
 
74
98
  ## How It Works
75
99
 
76
- Doctor auto-detects your OpenClaw installation:
100
+ Doctor auto-detects your OpenClaw installation — no manual config:
77
101
 
78
- - Reads `~/.openclaw/openclaw.json` for gateway port, channels, agents
79
- - Finds the launchd service from `~/Library/LaunchAgents/`
80
- - Checks health via `openclaw health --json` (real gateway RPC, not HTTP)
81
- - Restarts via `launchctl kickstart` when needed
82
-
83
- **You don't configure OpenClaw details.** Doctor figures them out.
102
+ - Reads `~/.openclaw/openclaw.json` for gateway port, channels, and agents
103
+ - Finds the launchd service under `~/Library/LaunchAgents/`
104
+ - Checks health via `openclaw health --json` (real gateway RPC, not HTTP ping)
105
+ - Restarts via `launchctl kickstart` when consecutive failures exceed the threshold
84
106
 
85
107
  ## All Commands
86
108
 
87
109
  | Command | Description |
88
110
  |---------|-------------|
89
- | **Monitoring** | |
90
111
  | `watch` | Start health monitoring (foreground) |
91
112
  | `watch -d` | Start health monitoring (background) |
92
113
  | `watch -d --dashboard` | Background monitoring + web dashboard |
93
114
  | `unwatch` | Stop monitoring |
94
- | **Gateway** | |
95
115
  | `gateway start` | Start the OpenClaw gateway |
96
116
  | `gateway stop` | Stop the gateway |
97
117
  | `gateway restart` | Restart the gateway |
98
- | **Info** | |
99
118
  | `status` | Show gateway and channel health |
100
119
  | `status --json` | Machine-readable JSON output |
101
120
  | `doctor` | Run full diagnostics |
102
121
  | `dashboard` | Start web management UI |
103
122
  | `logs` | Show gateway logs |
104
- | `logs --error` | Show error logs only |
105
- | `logs --doctor` | Show Doctor event logs |
123
+ | `logs --error` | Error logs only |
124
+ | `logs --doctor` | Doctor event logs |
106
125
 
107
126
  ## Configuration
108
127
 
109
- Config is stored at `~/.openclaw-doctor/config.json`. Created automatically on first run. Only Doctor's own preferences -- no OpenClaw settings needed.
128
+ Auto-created at `~/.openclaw-doctor/config.json` on first run.
110
129
 
111
130
  ```json
112
131
  {
@@ -128,43 +147,32 @@ Config is stored at `~/.openclaw-doctor/config.json`. Created automatically on f
128
147
  }
129
148
  ```
130
149
 
131
- | Field | Description | Default |
132
- |-------|-------------|---------|
133
- | `checkInterval` | Seconds between health checks | `30` |
134
- | `failThreshold` | Consecutive failures before restart | `3` |
135
- | `dashboardPort` | Web dashboard port | `9090` |
136
- | `maxRestartsPerHour` | Restart throttle | `5` |
137
- | `openclawProfile` | OpenClaw profile to monitor (`default`, `dev`, ...) | `default` |
138
- | `notify.webhook.url` | Webhook for notifications | -- |
139
- | `notify.system.enabled` | macOS native notifications | `true` |
150
+ | Field | Default | Description |
151
+ |-------|---------|-------------|
152
+ | `checkInterval` | `30` | Seconds between health checks |
153
+ | `failThreshold` | `3` | Consecutive failures before restart |
154
+ | `dashboardPort` | `9090` | Web dashboard port |
155
+ | `maxRestartsPerHour` | `5` | Restart throttle (prevents restart loops) |
156
+ | `openclawProfile` | `"default"` | OpenClaw profile to monitor |
157
+ | `notify.webhook.url` | — | Webhook URL (DingTalk, Feishu, Slack, etc.) |
158
+ | `notify.system.enabled` | `true` | macOS native notifications |
140
159
 
141
160
  ## Notifications
142
161
 
143
- Doctor notifies you across the full lifecycle:
162
+ Doctor covers the full restart lifecycle:
144
163
 
145
- | Event | Example |
164
+ | Event | Message |
146
165
  |-------|---------|
147
- | Monitoring started | "Doctor is watching your OpenClaw service" |
148
- | Health degraded | "Service unhealthy (attempt 2/3)" |
166
+ | Started | "Doctor is watching your OpenClaw service" |
167
+ | Degraded | "Service unhealthy (attempt 2/3)" |
149
168
  | Restarting | "Restarting gateway..." |
150
- | Restart succeeded | "Gateway back online" |
151
- | Restart failed | "Restart failed: [error]" |
152
- | Throttled | "Too many restarts, manual intervention needed" |
153
- | Recovered | "Service recovered on its own" |
154
- | Monitoring stopped | "Doctor stopped" |
155
-
156
- Channels: **Webhook** (DingTalk, Feishu, Slack, etc.) + **macOS system notifications**.
157
-
158
- ## Skills Integration
159
-
160
- Doctor runs as a standalone daemon, callable by OpenClaw or other tools:
161
-
162
- ```bash
163
- openclaw-doctor status --json # Machine-readable output
164
- openclaw-doctor watch -d # Idempotent -- safe to call repeatedly
165
- ```
169
+ | Recovered | "Gateway back online" |
170
+ | Failed | "Restart failed: [error]" |
171
+ | Throttled | "Too many restarts manual intervention needed" |
172
+ | Self-recovered | "Service recovered on its own" |
173
+ | Stopped | "Doctor stopped" |
166
174
 
167
- If the caller crashes, Doctor keeps running.
175
+ **Channels:** Webhook (DingTalk, Feishu, Slack, custom) + macOS system notifications.
168
176
 
169
177
  ## Architecture
170
178
 
@@ -186,19 +194,11 @@ If the caller crashes, Doctor keeps running.
186
194
  +-----------------+
187
195
  ```
188
196
 
189
- ## Development
197
+ Doctor runs as a standalone daemon. If the calling process crashes, Doctor keeps running.
190
198
 
191
199
  ```bash
192
- git clone https://github.com/openclaw/openclaw-doctor.git
193
- cd openclaw-doctor
194
- npm install
195
-
196
- npm run dev -- status # Quick test
197
- npm run dev -- watch # Foreground monitoring
198
- npm run dev -- watch -d # Background daemon
199
- npm run dev -- unwatch # Stop daemon
200
-
201
- npm run build # Build for distribution
200
+ openclaw-doctor status --json # Machine-readable — pipe into scripts or agents
201
+ openclaw-doctor watch -d # Idempotent — safe to call repeatedly
202
202
  ```
203
203
 
204
204
  ## Roadmap
@@ -216,32 +216,27 @@ npm run build # Build for distribution
216
216
  - [ ] Multiple service monitoring
217
217
  - [ ] Linux systemd support
218
218
 
219
- ## License
220
-
221
- [MIT](./LICENSE)
222
-
223
- ## Publishing
219
+ ## Development
224
220
 
225
- This repo publishes two npm packages from the same codebase:
221
+ ```bash
222
+ git clone https://github.com/Sobranier/openclaw-doctor.git
223
+ cd openclaw-doctor
224
+ npm install
226
225
 
227
- - **`openclaw-doctor`** the main package (`package.json`)
228
- - **`openclaw-cli`** alias package (`package.openclaw-cli.json`)
226
+ npm run dev -- status # Quick test
227
+ npm run dev -- watch # Foreground monitoring
228
+ npm run dev -- watch -d # Background daemon
229
+ npm run dev -- unwatch # Stop daemon
229
230
 
230
- Both packages share the same version number and dist output.
231
+ npm run build # Build for distribution
232
+ ```
231
233
 
232
- ### Release a new version
234
+ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the release and publish workflow.
233
235
 
234
- ```bash
235
- # 1. Bump version (patch / minor / major)
236
- npm version patch
236
+ ## License
237
237
 
238
- # 2. Build + publish both packages
239
- npm run release
240
- ```
238
+ [MIT](./LICENSE)
241
239
 
242
- `npm run release` calls `scripts/publish.sh`, which:
243
- 1. Builds once (`npm run build`)
244
- 2. Publishes `openclaw-doctor` with the default `package.json`
245
- 3. Temporarily swaps in `package.openclaw-cli.json`, publishes `openclaw-cli`, then restores
240
+ ---
246
241
 
247
- To update the `openclaw-cli` package metadata (description, keywords, bin name, etc.), edit `package.openclaw-cli.json`. Keep `version` in sync — it's automatically picked up from whichever `package.json` is active during publish.
242
+ Works with [OpenClaw](https://openclaw.ai) · Built for the OpenClaw ecosystem
@@ -0,0 +1,22 @@
1
+ # megaclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g megaclaw
11
+ megaclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ megaclaw watch -d # Start background monitoring
18
+ megaclaw status # Health check
19
+ megaclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # open-claw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g open-claw
11
+ open-claw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ open-claw watch -d # Start background monitoring
18
+ open-claw status # Health check
19
+ open-claw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # qclaw-cli
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g qclaw-cli
11
+ qclaw-cli watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ qclaw-cli watch -d # Start background monitoring
18
+ qclaw-cli status # Health check
19
+ qclaw-cli unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # qclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g qclaw
11
+ qclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ qclaw watch -d # Start background monitoring
18
+ qclaw status # Health check
19
+ qclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # smartclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g smartclaw
11
+ smartclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ smartclaw watch -d # Start background monitoring
18
+ smartclaw status # Health check
19
+ smartclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -0,0 +1,22 @@
1
+ # volclaw
2
+
3
+ > This package is an alias for [openclaw-cli](https://www.npmjs.com/package/openclaw-cli).
4
+
5
+ CLI and health-watch daemon for OpenClaw AI assistant gateway.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g volclaw
11
+ volclaw watch -d
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```bash
17
+ volclaw watch -d # Start background monitoring
18
+ volclaw status # Health check
19
+ volclaw unwatch # Stop monitoring
20
+ ```
21
+
22
+ For full documentation, see [openclaw-cli](https://github.com/Sobranier/openclaw-doctor).
@@ -37,9 +37,22 @@ var KNOWN_BINS = [
37
37
  "openclaw-run",
38
38
  "openclaw-start",
39
39
  "openclaw-watch",
40
- "openclaw-health"
40
+ "openclaw-health",
41
+ // new aliases
42
+ "qclaw",
43
+ "qclaw-cli",
44
+ "autoopenclaw",
45
+ "claw-open",
46
+ "open-claw",
47
+ "clawjs",
48
+ "aliclaw",
49
+ "fastclaw",
50
+ "smartclaw",
51
+ "aiclaw",
52
+ "megaclaw",
53
+ "volclaw"
41
54
  ];
42
- var BINARY_NAME = KNOWN_BINS.includes(bin) ? bin : "openclaw-doctor";
55
+ var BINARY_NAME = KNOWN_BINS.includes(bin) ? bin : "openclaw-cli";
43
56
  var APP_HOME = join(homedir(), ".openclaw-doctor");
44
57
  var DISPLAY_NAMES = {
45
58
  "openclaw-cli": "OpenClaw CLI",
@@ -57,7 +70,20 @@ var DISPLAY_NAMES = {
57
70
  "openclaw-run": "OpenClaw Run",
58
71
  "openclaw-start": "OpenClaw Start",
59
72
  "openclaw-watch": "OpenClaw Watch",
60
- "openclaw-health": "OpenClaw Health"
73
+ "openclaw-health": "OpenClaw Health",
74
+ // new aliases
75
+ "qclaw": "QClaw",
76
+ "qclaw-cli": "QClaw CLI",
77
+ "autoopenclaw": "AutoOpenClaw",
78
+ "claw-open": "Claw Open",
79
+ "open-claw": "Open Claw",
80
+ "clawjs": "ClawJS",
81
+ "aliclaw": "AliClaw",
82
+ "fastclaw": "FastClaw",
83
+ "smartclaw": "SmartClaw",
84
+ "aiclaw": "AIClaw",
85
+ "megaclaw": "MegaClaw",
86
+ "volclaw": "VolClaw"
61
87
  };
62
88
  var DISPLAY_NAME = DISPLAY_NAMES[BINARY_NAME] ?? "OpenClaw Doctor";
63
89
 
@@ -546,7 +572,7 @@ function scanCosts(agents) {
546
572
  }
547
573
 
548
574
  // src/dashboard/server.ts
549
- var _PKG_VER = true ? "0.3.0" : "0.2.1";
575
+ var _PKG_VER = true ? "0.3.1" : "0.2.1";
550
576
  var pkgVersion = _PKG_VER;
551
577
  function readDoctorLogs(maxLines = 50) {
552
578
  if (!existsSync6(DOCTOR_LOG_DIR)) return [];
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  startDashboard,
18
18
  startGateway,
19
19
  stopGateway
20
- } from "./chunk-BM3MY6H6.js";
20
+ } from "./chunk-LIZ6XXW3.js";
21
21
 
22
22
  // src/index.ts
23
23
  import { spawnSync } from "child_process";
@@ -43,7 +43,7 @@ async function watchDaemon(options) {
43
43
  log("info", `Check interval: ${config.checkInterval}s`);
44
44
  log("info", `PID: ${process.pid}`);
45
45
  if (options.dashboard) {
46
- const { startDashboard: startDashboard2 } = await import("./server-OTKIWZJK.js");
46
+ const { startDashboard: startDashboard2 } = await import("./server-ZYSNFLSO.js");
47
47
  startDashboard2({ config: options.config });
48
48
  }
49
49
  const throttle = new RestartThrottle(config.maxRestartsPerHour);
@@ -511,7 +511,7 @@ async function memoryCompact(options) {
511
511
  }
512
512
 
513
513
  // src/index.ts
514
- var _PKG_VER = true ? "0.3.0" : "0.2.1";
514
+ var _PKG_VER = true ? "0.3.1" : "0.2.1";
515
515
  var version = _PKG_VER;
516
516
  var program = new Command();
517
517
  program.name(BINARY_NAME).description(`${DISPLAY_NAME} \u2014 health monitor and management for OpenClaw services`).version(version);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  startDashboard
4
- } from "./chunk-BM3MY6H6.js";
4
+ } from "./chunk-LIZ6XXW3.js";
5
5
  export {
6
6
  startDashboard
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-service",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Health check and auto-restart daemon for local OpenClaw services",
5
5
  "type": "module",
6
6
  "bin": {