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

@@ -8,7 +8,7 @@ import { isTruthyEnvValue } from "./infra/env.js";
import { installProcessWarningFilter } from "./infra/warnings.js";
import { attachChildProcessBridge } from "./process/child-process-bridge.js";
process.title = "clawdbot";
process.title = "moltbot";
installProcessWarningFilter();
if (process.argv.includes("--no-color")) {
@@ -49,7 +49,7 @@ function ensureExperimentalWarningSuppressed(): boolean {
child.once("error", (error) => {
console.error(
"[clawdbot] Failed to respawn CLI:",
"[moltbot] Failed to respawn CLI:",
error instanceof Error ? (error.stack ?? error.message) : error,
);
process.exit(1);
@@ -124,7 +124,7 @@ if (!ensureExperimentalWarningSuppressed()) {
const parsed = parseCliProfileArgs(process.argv);
if (!parsed.ok) {
// Keep it simple; Commander will handle rich help/errors after we strip flags.
console.error(`[clawdbot] ${parsed.error}`);
console.error(`[moltbot] ${parsed.error}`);
process.exit(2);
}
@@ -138,7 +138,7 @@ if (!ensureExperimentalWarningSuppressed()) {
.then(({ runCli }) => runCli(process.argv))
.catch((error) => {
console.error(
"[clawdbot] Failed to start CLI:",
"[moltbot] Failed to start CLI:",
error instanceof Error ? (error.stack ?? error.message) : error,
);
process.exitCode = 1;