refactor(config): drop obsolete legacy config aliases

This commit is contained in:
Peter Steinberger
2026-03-29 22:00:38 +01:00
parent d9274444b7
commit 63e5c3349e
12 changed files with 40 additions and 22 deletions

View File

@@ -23,10 +23,7 @@ async function maybeMigrateLegacyConfig(): Promise<string[]> {
// missing config
}
const legacyCandidates = [
path.join(home, ".clawdbot", "clawdbot.json"),
path.join(home, ".moldbot", "moldbot.json"),
];
const legacyCandidates = [path.join(home, ".clawdbot", "clawdbot.json")];
let legacyPath: string | null = null;
for (const candidate of legacyCandidates) {

View File

@@ -411,7 +411,7 @@ export async function maybeScanExtraGatewayServices(
const legacyServices = extraServices.filter((svc) => svc.legacy === true);
if (legacyServices.length > 0) {
const shouldRemove = await prompter.confirmRuntimeRepair({
message: "Remove legacy gateway services (clawdbot/moltbot) now?",
message: "Remove legacy gateway services now?",
initialValue: true,
});
if (shouldRemove) {