From eb58a522b3e90201711daa4b54ed30def28db73b Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Sun, 24 Aug 2025 03:01:06 +0000 Subject: [PATCH] Add clearer console error messages for memory file migration detection - Added DETECTED message when legacy memory.json file is found - Added COMPLETED message when migration finishes successfully - Improves visibility of backward compatibility migration process Co-authored-by: Ola Hungerford --- src/memory/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/memory/index.ts b/src/memory/index.ts index 385a1f12..65d588fe 100644 --- a/src/memory/index.ts +++ b/src/memory/index.ts @@ -35,8 +35,9 @@ async function ensureMemoryFilePath(): Promise { return newMemoryPath; } catch { // Old file exists, new file doesn't - migrate + console.error('DETECTED: Found legacy memory.json file, migrating to memory.jsonl for JSONL format compatibility'); await fs.rename(oldMemoryPath, newMemoryPath); - console.error('Migrated memory.json to memory.jsonl for JSONL format compatibility'); + console.error('COMPLETED: Successfully migrated memory.json to memory.jsonl'); return newMemoryPath; } } catch {