chore: update molt.bot domains

This commit is contained in:
Peter Steinberger
2026-01-27 11:27:41 +00:00
parent f4004054ab
commit 83460df96f
137 changed files with 653 additions and 538 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export function registerVoiceCallCli(params: {
const root = program
.command("voicecall")
.description("Voice call utilities")
.addHelpText("after", () => `\nDocs: https://docs.clawd.bot/cli/voicecall\n`);
.addHelpText("after", () => `\nDocs: https://docs.molt.bot/cli/voicecall\n`);
root
.command("call")
+8 -6
View File
@@ -88,7 +88,7 @@ function findPackageRoot(startDir: string, name: string): string | null {
function resolveClawdbotRoot(): string {
if (coreRootCache) return coreRootCache;
const override = process.env.CLAWDBOT_ROOT?.trim();
const override = process.env.MOLTBOT_ROOT?.trim() || process.env.CLAWDBOT_ROOT?.trim();
if (override) {
coreRootCache = override;
return override;
@@ -107,15 +107,17 @@ function resolveClawdbotRoot(): string {
}
for (const start of candidates) {
const found = findPackageRoot(start, "clawdbot");
if (found) {
coreRootCache = found;
return found;
for (const name of ["moltbot", "clawdbot"]) {
const found = findPackageRoot(start, name);
if (found) {
coreRootCache = found;
return found;
}
}
}
throw new Error(
"Unable to resolve Clawdbot root. Set CLAWDBOT_ROOT to the package root.",
"Unable to resolve core root. Set MOLTBOT_ROOT (or legacy CLAWDBOT_ROOT) to the package root.",
);
}