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

View File

@@ -326,7 +326,7 @@ export async function agentsAddCommand(
await prompter.note(
[
"Routing unchanged. Add bindings when you're ready.",
"Docs: https://docs.clawd.bot/concepts/multi-agent",
"Docs: https://docs.molt.bot/concepts/multi-agent",
].join("\n"),
"Routing",
);

View File

@@ -138,7 +138,7 @@ export async function applyAuthChoiceOpenAI(
spin.stop("OpenAI OAuth failed");
params.runtime.error(String(err));
await params.prompter.note(
"Trouble with OAuth? See https://docs.clawd.bot/start/faq",
"Trouble with OAuth? See https://docs.molt.bot/start/faq",
"OAuth help",
);
}

View File

@@ -370,7 +370,7 @@ describe("channels command", () => {
});
expect(lines.join("\n")).toMatch(/Warnings:/);
expect(lines.join("\n")).toMatch(/Message Content Intent is disabled/i);
expect(lines.join("\n")).toMatch(/Run: clawdbot( --profile isolated)? doctor/);
expect(lines.join("\n")).toMatch(/Run: (?:clawdbot|moltbot)( --profile isolated)? doctor/);
});
it("surfaces Discord permission audit issues in channels status output", () => {

View File

@@ -139,9 +139,7 @@ export async function promptGatewayConfig(
let tailscaleResetOnExit = false;
if (tailscaleMode !== "off") {
note(
["Docs:", "https://docs.clawd.bot/gateway/tailscale", "https://docs.clawd.bot/web"].join(
"\n",
),
["Docs:", "https://docs.molt.bot/gateway/tailscale", "https://docs.molt.bot/web"].join("\n"),
"Tailscale",
);
tailscaleResetOnExit = Boolean(

View File

@@ -100,7 +100,7 @@ async function promptWebToolsConfig(
[
"Web search lets your agent look things up online using the `web_search` tool.",
"It requires a Brave Search API key (you can store it in the config or set BRAVE_API_KEY in the Gateway environment).",
"Docs: https://docs.clawd.bot/tools/web",
"Docs: https://docs.molt.bot/tools/web",
].join("\n"),
"Web search",
);
@@ -136,7 +136,7 @@ async function promptWebToolsConfig(
[
"No key stored yet, so web_search will stay unavailable.",
"Store a key here or set BRAVE_API_KEY in the Gateway environment.",
"Docs: https://docs.clawd.bot/tools/web",
"Docs: https://docs.molt.bot/tools/web",
].join("\n"),
"Web search",
);
@@ -189,7 +189,7 @@ export async function runConfigureWizard(
[
...snapshot.issues.map((iss) => `- ${iss.path}: ${iss.message}`),
"",
"Docs: https://docs.clawd.bot/gateway/configuration",
"Docs: https://docs.molt.bot/gateway/configuration",
].join("\n"),
"Config issues",
);
@@ -393,8 +393,8 @@ export async function runConfigureWizard(
note(
[
"Docs:",
"https://docs.clawd.bot/gateway/health",
"https://docs.clawd.bot/gateway/troubleshooting",
"https://docs.molt.bot/gateway/health",
"https://docs.molt.bot/gateway/troubleshooting",
].join("\n"),
"Health check help",
);
@@ -518,8 +518,8 @@ export async function runConfigureWizard(
note(
[
"Docs:",
"https://docs.clawd.bot/gateway/health",
"https://docs.clawd.bot/gateway/troubleshooting",
"https://docs.molt.bot/gateway/health",
"https://docs.molt.bot/gateway/troubleshooting",
].join("\n"),
"Health check help",
);
@@ -577,7 +577,7 @@ export async function runConfigureWizard(
`Web UI: ${links.httpUrl}`,
`Gateway WS: ${links.wsUrl}`,
gatewayStatusLine,
"Docs: https://docs.clawd.bot/web/control-ui",
"Docs: https://docs.molt.bot/web/control-ui",
].join("\n"),
"Control UI",
);

View File

@@ -235,7 +235,7 @@ describe("gatewayInstallErrorHint", () => {
it("returns platform-specific hints", () => {
expect(gatewayInstallErrorHint("win32")).toContain("Run as administrator");
expect(gatewayInstallErrorHint("linux")).toMatch(
/clawdbot( --profile isolated)? gateway install/,
/(?:clawdbot|moltbot)( --profile isolated)? gateway install/,
);
});
});

View File

@@ -5,7 +5,7 @@ import { formatDocsLink } from "../terminal/links.js";
import { isRich, theme } from "../terminal/theme.js";
import { formatCliCommand } from "../cli/command-format.js";
const SEARCH_TOOL = "https://docs.clawd.bot/mcp.SearchClawdbot";
const SEARCH_TOOL = "https://docs.molt.bot/mcp.SearchClawdbot";
const SEARCH_TIMEOUT_MS = 30_000;
const DEFAULT_SNIPPET_MAX = 220;
@@ -148,12 +148,12 @@ async function renderMarkdown(markdown: string, runtime: RuntimeEnv) {
export async function docsSearchCommand(queryParts: string[], runtime: RuntimeEnv) {
const query = queryParts.join(" ").trim();
if (!query) {
const docs = formatDocsLink("/", "docs.clawd.bot");
const docs = formatDocsLink("/", "docs.molt.bot");
if (isRich()) {
runtime.log(`${theme.muted("Docs:")} ${docs}`);
runtime.log(`${theme.muted("Search:")} ${formatCliCommand('clawdbot docs "your query"')}`);
} else {
runtime.log("Docs: https://docs.clawd.bot/");
runtime.log("Docs: https://docs.molt.bot/");
runtime.log(`Search: ${formatCliCommand('clawdbot docs "your query"')}`);
}
return;

View File

@@ -177,8 +177,8 @@ export function formatControlUiSshHint(params: {
localUrl,
authedUrl,
"Docs:",
"https://docs.clawd.bot/gateway/remote",
"https://docs.clawd.bot/web/control-ui",
"https://docs.molt.bot/gateway/remote",
"https://docs.molt.bot/web/control-ui",
]
.filter(Boolean)
.join("\n");

View File

@@ -239,7 +239,7 @@ describe("onboard-hooks", () => {
// Second note should confirm configuration
expect(noteCalls[1][0]).toContain("Enabled 1 hook: session-memory");
expect(noteCalls[1][0]).toMatch(/clawdbot( --profile isolated)? hooks list/);
expect(noteCalls[1][0]).toMatch(/(?:clawdbot|moltbot)( --profile isolated)? hooks list/);
});
});
});

View File

@@ -15,7 +15,7 @@ export async function setupInternalHooks(
"Hooks let you automate actions when agent commands are issued.",
"Example: Save session context to memory when you issue /new.",
"",
"Learn more: https://docs.clawd.bot/hooks",
"Learn more: https://docs.molt.bot/hooks",
].join("\n"),
"Hooks",
);

View File

@@ -125,7 +125,7 @@ export async function runNonInteractiveOnboardingLocal(params: {
if (!opts.json) {
runtime.log(
`Tip: run \`${formatCliCommand("clawdbot configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.clawd.bot/tools/web`,
`Tip: run \`${formatCliCommand("clawdbot configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.molt.bot/tools/web`,
);
}
}

View File

@@ -47,7 +47,7 @@ export async function runNonInteractiveOnboardingRemote(params: {
runtime.log(`Remote gateway: ${remoteUrl}`);
runtime.log(`Auth: ${payload.auth}`);
runtime.log(
`Tip: run \`${formatCliCommand("clawdbot configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.clawd.bot/tools/web`,
`Tip: run \`${formatCliCommand("clawdbot configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.molt.bot/tools/web`,
);
}
}

View File

@@ -43,7 +43,7 @@ export async function promptRemoteGatewayConfig(
await prompter.note(
[
"Bonjour discovery requires dns-sd (macOS) or avahi-browse (Linux).",
"Docs: https://docs.clawd.bot/gateway/discovery",
"Docs: https://docs.molt.bot/gateway/discovery",
].join("\n"),
"Discovery",
);
@@ -96,7 +96,7 @@ export async function promptRemoteGatewayConfig(
`ssh -N -L 18789:127.0.0.1:18789 <user>@${host}${
selectedBeacon.sshPort ? ` -p ${selectedBeacon.sshPort}` : ""
}`,
"Docs: https://docs.clawd.bot/gateway/remote",
"Docs: https://docs.molt.bot/gateway/remote",
].join("\n"),
"SSH tunnel",
);

View File

@@ -156,7 +156,7 @@ export async function setupSkills(
runtime.log(
`Tip: run \`${formatCliCommand("clawdbot doctor")}\` to review skills + requirements.`,
);
runtime.log("Docs: https://docs.clawd.bot/skills");
runtime.log("Docs: https://docs.molt.bot/skills");
}
}
}

View File

@@ -44,7 +44,7 @@ export async function onboardCommand(opts: OnboardOptions, runtime: RuntimeEnv =
runtime.error(
[
"Non-interactive onboarding requires explicit risk acknowledgement.",
"Read: https://docs.clawd.bot/security",
"Read: https://docs.molt.bot/security",
`Re-run with: ${formatCliCommand("clawdbot onboard --non-interactive --accept-risk ...")}`,
].join("\n"),
);
@@ -65,7 +65,7 @@ export async function onboardCommand(opts: OnboardOptions, runtime: RuntimeEnv =
[
"Windows detected.",
"WSL2 is strongly recommended; native Windows is untested and more problematic.",
"Guide: https://docs.clawd.bot/windows",
"Guide: https://docs.molt.bot/windows",
].join("\n"),
);
}

View File

@@ -36,7 +36,7 @@ describe("sandbox explain command", () => {
const out = logs.join("");
const parsed = JSON.parse(out);
expect(parsed).toHaveProperty("docsUrl", "https://docs.clawd.bot/sandbox");
expect(parsed).toHaveProperty("docsUrl", "https://docs.molt.bot/sandbox");
expect(parsed).toHaveProperty("sandbox.mode", "all");
expect(parsed).toHaveProperty("sandbox.tools.sources.allow.source");
expect(Array.isArray(parsed.fixIt)).toBe(true);

View File

@@ -30,7 +30,7 @@ type SandboxExplainOptions = {
json: boolean;
};
const SANDBOX_DOCS_URL = "https://docs.clawd.bot/sandbox";
const SANDBOX_DOCS_URL = "https://docs.molt.bot/sandbox";
function normalizeExplainSessionKey(params: {
cfg: ClawdbotConfig;
@@ -307,7 +307,7 @@ export async function sandboxExplainCommand(
lines.push(heading("Fix-it:"));
for (const key of payload.fixIt) lines.push(` - ${key}`);
lines.push("");
lines.push(`${key("Docs:")} ${formatDocsLink("/sandbox", "docs.clawd.bot/sandbox")}`);
lines.push(`${key("Docs:")} ${formatDocsLink("/sandbox", "docs.molt.bot/sandbox")}`);
runtime.log(`${lines.join("\n")}\n`);
}

View File

@@ -234,6 +234,6 @@ export async function appendStatusAllDiagnosis(params: {
lines.push("");
lines.push(muted("Pasteable debug report. Auth tokens redacted."));
lines.push("Troubleshooting: https://docs.clawd.bot/troubleshooting");
lines.push("Troubleshooting: https://docs.molt.bot/troubleshooting");
lines.push("");
}

View File

@@ -560,8 +560,8 @@ export async function statusCommand(
}
runtime.log("");
runtime.log("FAQ: https://docs.clawd.bot/faq");
runtime.log("Troubleshooting: https://docs.clawd.bot/troubleshooting");
runtime.log("FAQ: https://docs.molt.bot/faq");
runtime.log("Troubleshooting: https://docs.molt.bot/troubleshooting");
runtime.log("");
const updateHint = formatUpdateAvailableHint(update);
if (updateHint) {

View File

@@ -330,6 +330,8 @@ describe("statusCommand", () => {
expect(
logs.some(
(l) =>
l.includes("moltbot status --all") ||
l.includes("moltbot --profile isolated status --all") ||
l.includes("clawdbot status --all") ||
l.includes("clawdbot --profile isolated status --all"),
),