fix: support moltbot legacy state dir

This commit is contained in:
Peter Steinberger
2026-02-14 17:14:15 +00:00
parent dee3abfcd5
commit 571c195c54
4 changed files with 63 additions and 2 deletions

View File

@@ -429,6 +429,7 @@ async function maybeMigrateLegacyConfig(): Promise<string[]> {
const legacyCandidates = [
path.join(home, ".clawdbot", "clawdbot.json"),
path.join(home, ".moldbot", "moldbot.json"),
path.join(home, ".moltbot", "moltbot.json"),
];
let legacyPath: string | null = null;