From 9886fd1a5a3f1e07817865dbf4c1663a919749e3 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 30 Jan 2026 04:26:00 +0100 Subject: [PATCH] fix: migrate legacy state dirs --- package.json | 2 +- src/cli/tagline.ts | 16 +++++++++------- src/commands/onboard-helpers.ts | 4 ++-- src/config/paths.ts | 4 ++-- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index be8dba4ba..eb665a4c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openclaw", - "version": "2026.1.29-beta.3", + "version": "2026.1.29-beta.4", "description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent", "type": "module", "main": "dist/index.js", diff --git a/src/cli/tagline.ts b/src/cli/tagline.ts index bfd681286..1a6d86c21 100644 --- a/src/cli/tagline.ts +++ b/src/cli/tagline.ts @@ -64,7 +64,7 @@ const TAGLINES: string[] = [ "Shell yeahβ€”I'm here to pinch the toil and leave you the glory.", "If it's repetitive, I'll automate it; if it's hard, I'll bring jokes and a rollback plan.", "Because texting yourself reminders is so 2024.", - "WhatsApp, but make it ✨engineering✨.", + "Your inbox, your infra, your rules.", 'Turning "I\'ll reply later" into "my bot replied instantly".', "The only crab in your contacts you actually want to hear from. 🦞", "Chat automation for people who peaked at IRC.", @@ -72,14 +72,16 @@ const TAGLINES: string[] = [ "IPC, but it's your phone.", "The UNIX philosophy meets your DMs.", "curl for conversations.", - "WhatsApp Business, but without the business.", - "Meta wishes they shipped this fast.", - "End-to-end encrypted, Zuck-to-Zuck excluded.", - "The only bot Mark can't train on your DMs.", + "Less middlemen, more messages.", + "Ship fast, log faster.", + "End-to-end encrypted, drama-to-drama excluded.", + "The only bot that stays out of your training set.", 'WhatsApp automation without the "please accept our new privacy policy".', "Chat APIs that don't require a Senate hearing.", - "Because Threads wasn't the answer either.", - "Your messages, your servers, Meta's tears.", + "Meta wishes they shipped this fast.", + "Because the right answer is usually a script.", + "Your messages, your servers, your control.", + "OpenAI-compatible, not OpenAI-dependent.", "iMessage green bubble energy, but for everyone.", "Siri's competent cousin.", "Works on Android. Crazy concept, we know.", diff --git a/src/commands/onboard-helpers.ts b/src/commands/onboard-helpers.ts index 0efa99090..1fb6f180c 100644 --- a/src/commands/onboard-helpers.ts +++ b/src/commands/onboard-helpers.ts @@ -64,13 +64,13 @@ export function randomToken(): string { export function printWizardHeader(runtime: RuntimeEnv) { const header = [ - "β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„", + "β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“", "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆ", "β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆ", "β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–ˆβ–‘β–ˆ", "β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆ", "β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆβ–‘β–ˆβ–‘β–‘β–‘β–ˆ", - "β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€", + "β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“", " 🦞 FRESH DAILY 🦞 ", " ", ].join("\n"); diff --git a/src/config/paths.ts b/src/config/paths.ts index e46033d11..4f10c277f 100644 --- a/src/config/paths.ts +++ b/src/config/paths.ts @@ -16,10 +16,10 @@ export function resolveIsNixMode(env: NodeJS.ProcessEnv = process.env): boolean export const isNixMode = resolveIsNixMode(); -const LEGACY_STATE_DIRNAMES = [] as const; +const LEGACY_STATE_DIRNAMES = [".clawdbot", ".moltbot", ".moldbot"] as const; const NEW_STATE_DIRNAME = ".openclaw"; const CONFIG_FILENAME = "openclaw.json"; -const LEGACY_CONFIG_FILENAMES = [] as const; +const LEGACY_CONFIG_FILENAMES = ["clawdbot.json", "moltbot.json", "moldbot.json"] as const; function legacyStateDirs(homedir: () => string = os.homedir): string[] { return LEGACY_STATE_DIRNAMES.map((dir) => path.join(homedir(), dir));