refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -4,7 +4,7 @@ import {
resolveSandboxToolPolicyForAgent,
} from "../agents/sandbox.js";
import { normalizeAnyChannelId } from "../channels/registry.js";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import { loadConfig } from "../config/config.js";
import {
loadSessionStore,
@@ -30,10 +30,10 @@ type SandboxExplainOptions = {
json: boolean;
};
const SANDBOX_DOCS_URL = "https://docs.molt.bot/sandbox";
const SANDBOX_DOCS_URL = "https://docs.openclaw.ai/sandbox";
function normalizeExplainSessionKey(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
agentId: string;
session?: string;
}): string {
@@ -53,7 +53,7 @@ function normalizeExplainSessionKey(params: {
}
function inferProviderFromSessionKey(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
sessionKey: string;
}): string | undefined {
const parsed = parseAgentSessionKey(params.sessionKey);
@@ -71,7 +71,7 @@ function inferProviderFromSessionKey(params: {
}
function resolveActiveChannel(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
agentId: string;
sessionKey: string;
}): string | undefined {
@@ -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.molt.bot/sandbox")}`);
lines.push(`${key("Docs:")} ${formatDocsLink("/sandbox", "docs.openclaw.ai/sandbox")}`);
runtime.log(`${lines.join("\n")}\n`);
}