refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -47,8 +47,8 @@ async function main() {
const { loadDotEnv } = await import("../infra/dotenv.js");
loadDotEnv({ quiet: true });
const { ensureClawdbotCliOnPath } = await import("../infra/path-env.js");
ensureClawdbotCliOnPath();
const { ensureMoltbotCliOnPath } = await import("../infra/path-env.js");
ensureMoltbotCliOnPath();
const { enableConsoleCapture } = await import("../logging.js");
enableConsoleCapture();
@@ -64,7 +64,7 @@ async function main() {
installUnhandledRejectionHandler();
process.on("uncaughtException", (error) => {
console.error("[clawdbot] Uncaught exception:", formatUncaughtError(error));
console.error("[moltbot] Uncaught exception:", formatUncaughtError(error));
process.exit(1);
});
@@ -72,9 +72,6 @@ async function main() {
}
void main().catch((err) => {
console.error(
"[clawdbot] Relay failed:",
err instanceof Error ? (err.stack ?? err.message) : err,
);
console.error("[moltbot] Relay failed:", err instanceof Error ? (err.stack ?? err.message) : err);
process.exit(1);
});