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

@@ -1,5 +1,5 @@
import { parseConfigPath, setConfigValueAtPath, unsetConfigValueAtPath } from "./config-paths.js";
import type { ClawdbotConfig } from "./types.js";
import type { MoltbotConfig } from "./types.js";
type OverrideTree = Record<string, unknown>;
@@ -64,7 +64,7 @@ export function unsetConfigOverride(pathRaw: string): {
return { ok: true, removed };
}
export function applyConfigOverrides(cfg: ClawdbotConfig): ClawdbotConfig {
export function applyConfigOverrides(cfg: MoltbotConfig): MoltbotConfig {
if (!overrides || Object.keys(overrides).length === 0) return cfg;
return mergeOverrides(cfg, overrides) as ClawdbotConfig;
return mergeOverrides(cfg, overrides) as MoltbotConfig;
}