refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -20,7 +20,7 @@ import { ensureBinary } from "./infra/binaries.js";
import { loadDotEnv } from "./infra/dotenv.js";
import { normalizeEnv } from "./infra/env.js";
import { isMainModule } from "./infra/is-main.js";
import { ensureMoltbotCliOnPath } from "./infra/path-env.js";
import { ensureOpenClawCliOnPath } from "./infra/path-env.js";
import {
describePortOwner,
ensurePortAvailable,
@@ -36,7 +36,7 @@ import { assertWebChannel, normalizeE164, toWhatsappJid } from "./utils.js";
loadDotEnv({ quiet: true });
normalizeEnv();
ensureMoltbotCliOnPath();
ensureOpenClawCliOnPath();
// Capture all console output into structured logs while keeping stdout/stderr behavior.
enableConsoleCapture();
@@ -83,12 +83,12 @@ if (isMain) {
installUnhandledRejectionHandler();
process.on("uncaughtException", (error) => {
console.error("[moltbot] Uncaught exception:", formatUncaughtError(error));
console.error("[openclaw] Uncaught exception:", formatUncaughtError(error));
process.exit(1);
});
void program.parseAsync(process.argv).catch((err) => {
console.error("[moltbot] CLI failed:", formatUncaughtError(err));
console.error("[openclaw] CLI failed:", formatUncaughtError(err));
process.exit(1);
});
}