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

@@ -3,7 +3,7 @@ import os from "node:os";
import path from "node:path";
import { resolveDefaultAgentId } from "../agents/agent-scope.js";
import type { ClawdbotConfig } from "../config/config.js";
import type { MoltbotConfig } from "../config/config.js";
import { resolveOAuthDir, resolveStateDir } from "../config/paths.js";
import type { SessionEntry } from "../config/sessions.js";
import type { SessionScope } from "../config/sessions/types.js";
@@ -268,7 +268,7 @@ export function resetAutoMigrateLegacyAgentDirForTest() {
}
export async function detectLegacyStateMigrations(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
env?: NodeJS.ProcessEnv;
homedir?: () => string;
}): Promise<LegacyStateDetection> {
@@ -559,7 +559,7 @@ export async function runLegacyStateMigrations(params: {
}
export async function autoMigrateLegacyAgentDir(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
env?: NodeJS.ProcessEnv;
homedir?: () => string;
log?: MigrationLogger;
@@ -574,7 +574,7 @@ export async function autoMigrateLegacyAgentDir(params: {
}
export async function autoMigrateLegacyState(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
env?: NodeJS.ProcessEnv;
homedir?: () => string;
log?: MigrationLogger;