mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 14:38:25 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -26,7 +26,7 @@ type GatewayWsLogStyle = "auto" | "full" | "compact";
|
||||
|
||||
async function main() {
|
||||
if (hasFlag(args, "--version") || hasFlag(args, "-v")) {
|
||||
// Match `clawdbot --version` behavior for Swift env/version checks.
|
||||
// Match `moltbot --version` behavior for Swift env/version checks.
|
||||
// Keep output a single line.
|
||||
console.log(BUNDLED_VERSION);
|
||||
process.exit(0);
|
||||
@@ -211,7 +211,7 @@ async function main() {
|
||||
|
||||
void main().catch((err) => {
|
||||
console.error(
|
||||
"[clawdbot] Gateway daemon failed:",
|
||||
"[moltbot] Gateway daemon failed:",
|
||||
err instanceof Error ? (err.stack ?? err.message) : err,
|
||||
);
|
||||
process.exit(1);
|
||||
|
||||
Reference in New Issue
Block a user