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

@@ -4,7 +4,7 @@ import {
resolveSandboxToolPolicyForAgent,
} from "../agents/sandbox.js";
import { normalizeAnyChannelId } from "../channels/registry.js";
import type { ClawdbotConfig } from "../config/config.js";
import type { MoltbotConfig } from "../config/config.js";
import { loadConfig } from "../config/config.js";
import {
loadSessionStore,
@@ -33,7 +33,7 @@ type SandboxExplainOptions = {
const SANDBOX_DOCS_URL = "https://docs.molt.bot/sandbox";
function normalizeExplainSessionKey(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
agentId: string;
session?: string;
}): string {
@@ -53,7 +53,7 @@ function normalizeExplainSessionKey(params: {
}
function inferProviderFromSessionKey(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
sessionKey: string;
}): string | undefined {
const parsed = parseAgentSessionKey(params.sessionKey);
@@ -71,7 +71,7 @@ function inferProviderFromSessionKey(params: {
}
function resolveActiveChannel(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
agentId: string;
sessionKey: string;
}): string | undefined {