agenticmail 0.3.23 → 0.3.24
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/dist/cli.js +7 -7
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4427,14 +4427,14 @@ async function restartOpenClawGateway() {
|
|
|
4427
4427
|
restartSpinner.start();
|
|
4428
4428
|
try {
|
|
4429
4429
|
const { execSync } = await import("child_process");
|
|
4430
|
-
execSync("openclaw gateway
|
|
4430
|
+
execSync("openclaw gateway start", { stdio: "pipe", timeout: 3e4 });
|
|
4431
4431
|
restartSpinner.succeed("OpenClaw gateway restarted");
|
|
4432
4432
|
} catch {
|
|
4433
4433
|
restartSpinner.fail("Gateway restart failed");
|
|
4434
|
-
log2(` Run manually: ${c2.green("openclaw gateway
|
|
4434
|
+
log2(` Run manually: ${c2.green("openclaw gateway start")}`);
|
|
4435
4435
|
}
|
|
4436
4436
|
} else {
|
|
4437
|
-
info2(`Restart OpenClaw to pick up the changes: ${c2.green("openclaw gateway
|
|
4437
|
+
info2(`Restart OpenClaw to pick up the changes: ${c2.green("openclaw gateway start")}`);
|
|
4438
4438
|
}
|
|
4439
4439
|
}
|
|
4440
4440
|
async function registerWithOpenClaw(config) {
|
|
@@ -5335,7 +5335,7 @@ async function cmdOpenClaw() {
|
|
|
5335
5335
|
}
|
|
5336
5336
|
if (!hasOpenClawCli) {
|
|
5337
5337
|
log2(` ${c2.yellow("\u26A0")} OpenClaw CLI not found in PATH`);
|
|
5338
|
-
log2(` Run manually: ${c2.green("openclaw gateway
|
|
5338
|
+
log2(` Run manually: ${c2.green("openclaw gateway start")}`);
|
|
5339
5339
|
} else {
|
|
5340
5340
|
const isInteractive = process.stdin.isTTY === true;
|
|
5341
5341
|
let shouldRestart = !isInteractive;
|
|
@@ -5348,16 +5348,16 @@ async function cmdOpenClaw() {
|
|
|
5348
5348
|
restartSpinner.start();
|
|
5349
5349
|
try {
|
|
5350
5350
|
const { execSync } = await import("child_process");
|
|
5351
|
-
execSync("openclaw gateway
|
|
5351
|
+
execSync("openclaw gateway start", { stdio: "pipe", timeout: 3e4 });
|
|
5352
5352
|
restartSpinner.succeed("OpenClaw gateway restarted");
|
|
5353
5353
|
gatewayRestarted = true;
|
|
5354
5354
|
} catch (err) {
|
|
5355
5355
|
restartSpinner.fail("Gateway restart failed");
|
|
5356
5356
|
log2(` ${c2.yellow("\u26A0")} Gateway restart failed: ${err.message}`);
|
|
5357
|
-
log2(` Run manually: ${c2.green("openclaw gateway
|
|
5357
|
+
log2(` Run manually: ${c2.green("openclaw gateway start")}`);
|
|
5358
5358
|
}
|
|
5359
5359
|
} else {
|
|
5360
|
-
log2(` ${c2.dim("Skipped.")} Run later: ${c2.green("openclaw gateway
|
|
5360
|
+
log2(` ${c2.dim("Skipped.")} Run later: ${c2.green("openclaw gateway start")}`);
|
|
5361
5361
|
}
|
|
5362
5362
|
}
|
|
5363
5363
|
log2("");
|