openclaw-install 0.3.3 → 0.4.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.
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-UXL57WT4.js} +70 -70
  70. package/dist/index.js +203 -26
  71. package/dist/{server-GHEIPQJV.js → server-GZ3MD6AH.js} +1 -1
  72. package/package.json +2 -2
package/README.txclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # txclaw
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 txclaw
11
- txclaw 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
+ txclaw watch -d
17
+ txclaw status
18
+ txclaw 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
  # uberclaw
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 uberclaw
11
- uberclaw 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
+ uberclaw watch -d
17
+ uberclaw status
18
+ uberclaw 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.volclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # volclaw
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 volclaw
11
- volclaw 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
+ volclaw watch -d
17
+ volclaw status
18
+ volclaw 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.wxclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # wxclaw
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 wxclaw
11
- wxclaw 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
+ wxclaw watch -d
17
+ wxclaw status
18
+ wxclaw 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.xclaw.md CHANGED
@@ -1,12 +1,25 @@
1
1
  # xclaw
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 xclaw
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```bash
9
16
  xclaw watch -d
17
+ xclaw status
18
+ xclaw 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.zhclaw.md CHANGED
@@ -1,20 +1,25 @@
1
1
  # zhclaw
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 zhclaw
11
- zhclaw 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
+ zhclaw watch -d
17
+ zhclaw status
18
+ zhclaw 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)
@@ -17,75 +17,17 @@ import { readFileSync, writeFileSync, existsSync, mkdirSync } from "fs";
17
17
  import { join as join2, resolve } from "path";
18
18
 
19
19
  // src/brand.ts
20
- import { basename } from "path";
20
+ import { basename, join } from "path";
21
21
  import { homedir } from "os";
22
- import { join } from "path";
23
- var bin = basename(process.argv[1] ?? "openclaw-doctor").replace(/\.[cm]?js$/, "");
24
- var KNOWN_BINS = [
25
- "openclaw-cli",
26
- "openclaw-manage",
27
- "openclaw-doctor",
28
- "openclaw-service",
29
- "openclaw-daemon",
30
- "openclaw-monitor",
31
- "openclaw-helper",
32
- "openclaw-tools",
33
- "openclaw-utils",
34
- "openclaw-gateway",
35
- "openclaw-setup",
36
- "openclaw-install",
37
- "openclaw-run",
38
- "openclaw-start",
39
- "openclaw-watch",
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"
54
- ];
55
- var BINARY_NAME = KNOWN_BINS.includes(bin) ? bin : "openclaw-cli";
22
+ var detectedBin = basename(process.argv[1] ?? "openclaw-cli").replace(/\.[cm]?js$/, "");
23
+ var BINARY_NAME = detectedBin || "openclaw-cli";
56
24
  var APP_HOME = join(homedir(), ".openclaw-doctor");
57
- var DISPLAY_NAMES = {
58
- "openclaw-cli": "OpenClaw CLI",
59
- "openclaw-manage": "OpenClaw Manage",
60
- "openclaw-doctor": "OpenClaw Doctor",
61
- "openclaw-service": "OpenClaw Service",
62
- "openclaw-daemon": "OpenClaw Daemon",
63
- "openclaw-monitor": "OpenClaw Monitor",
64
- "openclaw-helper": "OpenClaw Helper",
65
- "openclaw-tools": "OpenClaw Tools",
66
- "openclaw-utils": "OpenClaw Utils",
67
- "openclaw-gateway": "OpenClaw Gateway",
68
- "openclaw-setup": "OpenClaw Setup",
69
- "openclaw-install": "OpenClaw Install",
70
- "openclaw-run": "OpenClaw Run",
71
- "openclaw-start": "OpenClaw Start",
72
- "openclaw-watch": "OpenClaw Watch",
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"
87
- };
88
- var DISPLAY_NAME = DISPLAY_NAMES[BINARY_NAME] ?? "OpenClaw Doctor";
25
+ function toDisplayName(bin) {
26
+ if (bin === "openclaw-cli") return "OpenClaw CLI";
27
+ if (bin === "openclaw-doctor") return "OpenClaw Doctor";
28
+ return bin.split("-").map((s) => s ? s[0].toUpperCase() + s.slice(1) : s).join(" ");
29
+ }
30
+ var DISPLAY_NAME = toDisplayName(BINARY_NAME);
89
31
 
90
32
  // src/config.ts
91
33
  var DOCTOR_HOME = APP_HOME;
@@ -175,8 +117,8 @@ function findOpenClawBin() {
175
117
  }
176
118
  }
177
119
  try {
178
- const bin2 = execSync("which openclaw", { encoding: "utf-8" }).trim();
179
- if (bin2) return { nodePath: process.execPath, cliBinPath: bin2 };
120
+ const bin = execSync("which openclaw", { encoding: "utf-8" }).trim();
121
+ if (bin) return { nodePath: process.execPath, cliBinPath: bin };
180
122
  } catch {
181
123
  }
182
124
  return null;
@@ -572,7 +514,7 @@ function scanCosts(agents) {
572
514
  }
573
515
 
574
516
  // src/dashboard/server.ts
575
- var _PKG_VER = true ? "0.3.2" : "0.2.1";
517
+ var _PKG_VER = true ? "0.4.0" : "0.2.1";
576
518
  var pkgVersion = _PKG_VER;
577
519
  function readDoctorLogs(maxLines = 50) {
578
520
  if (!existsSync6(DOCTOR_LOG_DIR)) return [];
@@ -672,6 +614,11 @@ function renderShell() {
672
614
  <span class="status-dot" :style="'background:' + statusColor"></span>
673
615
  <span class="status-label" :style="'color:' + statusColor" x-text="statusText"></span>
674
616
  </div>
617
+ <div class="nav-actions" style="display:flex;gap:0.5rem;align-items:center;">
618
+ <button class="btn" style="background:#00A67E;color:#fff;padding:0.35rem 0.75rem;font-size:0.75rem;" :disabled="actionLoading" @click="doStart()">\u25B6 Start</button>
619
+ <button class="btn btn-blue" style="padding:0.35rem 0.75rem;font-size:0.75rem;" :disabled="actionLoading" @click="doRestart()">\u21BA Restart</button>
620
+ <button class="btn" style="background:#ef4444;color:#fff;padding:0.35rem 0.75rem;font-size:0.75rem;" :disabled="actionLoading" @click="doStop()">\u25A0 Stop</button>
621
+ </div>
675
622
  <div class="nav-right" x-text="lastCheck ? 'Updated ' + lastCheck : 'Loading...'"></div>
676
623
  </div>
677
624
 
@@ -999,6 +946,34 @@ function renderShell() {
999
946
  this.actionLoading = false;
1000
947
  },
1001
948
 
949
+ async doStart() {
950
+ this.actionLoading = true;
951
+ this.actionResult = '';
952
+ try {
953
+ const res = await fetch('/api/gateway/start', { method: 'POST' });
954
+ const d = await res.json();
955
+ this.actionResult = d.success ? 'Gateway started.' : ('Start failed: ' + (d.message ?? 'unknown'));
956
+ await this.refresh();
957
+ } catch (e) {
958
+ this.actionResult = 'Request failed: ' + e.message;
959
+ }
960
+ this.actionLoading = false;
961
+ },
962
+
963
+ async doStop() {
964
+ this.actionLoading = true;
965
+ this.actionResult = '';
966
+ try {
967
+ const res = await fetch('/api/gateway/stop', { method: 'POST' });
968
+ const d = await res.json();
969
+ this.actionResult = d.success ? 'Gateway stopped.' : ('Stop failed: ' + (d.message ?? 'unknown'));
970
+ await this.refresh();
971
+ } catch (e) {
972
+ this.actionResult = 'Request failed: ' + e.message;
973
+ }
974
+ this.actionLoading = false;
975
+ },
976
+
1002
977
  async doDoctor() {
1003
978
  this.actionLoading = true;
1004
979
  this.actionResult = '';
@@ -1069,6 +1044,26 @@ async function handleApiRestart(info, res) {
1069
1044
  res.end(JSON.stringify({ success: false, message: String(err) }));
1070
1045
  }
1071
1046
  }
1047
+ async function handleApiGatewayStart(info, res) {
1048
+ try {
1049
+ const result = await startGateway(info);
1050
+ res.writeHead(200, { "Content-Type": "application/json" });
1051
+ res.end(JSON.stringify({ success: result.success, message: result.output ?? result.error ?? "" }));
1052
+ } catch (err) {
1053
+ res.writeHead(500, { "Content-Type": "application/json" });
1054
+ res.end(JSON.stringify({ success: false, message: String(err) }));
1055
+ }
1056
+ }
1057
+ async function handleApiGatewayStop(info, res) {
1058
+ try {
1059
+ const result = await stopGateway(info);
1060
+ res.writeHead(200, { "Content-Type": "application/json" });
1061
+ res.end(JSON.stringify({ success: result.success, message: result.output ?? result.error ?? "" }));
1062
+ } catch (err) {
1063
+ res.writeHead(500, { "Content-Type": "application/json" });
1064
+ res.end(JSON.stringify({ success: false, message: String(err) }));
1065
+ }
1066
+ }
1072
1067
  async function handleApiDoctor(info, res) {
1073
1068
  try {
1074
1069
  const output = await runOpenClawCmd(info, "doctor --non-interactive");
@@ -1113,6 +1108,10 @@ function startDashboard(options) {
1113
1108
  handleApiLogs(res);
1114
1109
  } else if (method === "POST" && url === "/api/restart") {
1115
1110
  await handleApiRestart(info, res);
1111
+ } else if (method === "POST" && url === "/api/gateway/start") {
1112
+ await handleApiGatewayStart(info, res);
1113
+ } else if (method === "POST" && url === "/api/gateway/stop") {
1114
+ await handleApiGatewayStop(info, res);
1116
1115
  } else if (method === "POST" && url === "/api/doctor") {
1117
1116
  await handleApiDoctor(info, res);
1118
1117
  } else {
@@ -1131,6 +1130,7 @@ function startDashboard(options) {
1131
1130
  export {
1132
1131
  __require,
1133
1132
  BINARY_NAME,
1133
+ APP_HOME,
1134
1134
  DISPLAY_NAME,
1135
1135
  DOCTOR_LOG_DIR,
1136
1136
  PID_FILE,