From c995dd39da65dc6577281b79e2aebb9d15c19f7f Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 5 Aug 2025 14:19:52 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Checkpoint:=20Edit=20/workspaces?= =?UTF-8?q?/claude-code-flow/src/cli/simple-commands/memory.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .claude/checkpoints/1754403570.json | 1 + .claude/checkpoints/1754403572.json | 1 + src/cli/simple-commands/memory.js | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .claude/checkpoints/1754403570.json create mode 100644 .claude/checkpoints/1754403572.json diff --git a/.claude/checkpoints/1754403570.json b/.claude/checkpoints/1754403570.json new file mode 100644 index 0000000000..9ad1606fe1 --- /dev/null +++ b/.claude/checkpoints/1754403570.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250805-141930", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:30Z", "type": "pre-edit", "original_branch": "alpha-86"} diff --git a/.claude/checkpoints/1754403572.json b/.claude/checkpoints/1754403572.json new file mode 100644 index 0000000000..565e8c710a --- /dev/null +++ b/.claude/checkpoints/1754403572.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250805-141932", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:32Z", "type": "post-edit", "branch": "alpha-86", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2862 ++++++++++++------------------ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754403559.json | 1 + .claude/checkpoints/1754403561.json | 1 + src/cli/simple-commands/memory.js | 3 +- 6 files changed, 1138 insertions(+), 1737 deletions(-) "} diff --git a/src/cli/simple-commands/memory.js b/src/cli/simple-commands/memory.js index 0977189c0f..996da08b80 100644 --- a/src/cli/simple-commands/memory.js +++ b/src/cli/simple-commands/memory.js @@ -175,12 +175,11 @@ async function showMemoryStats(loadMemory) { } } -async function exportMemory(subArgs, loadMemory) { +async function exportMemory(subArgs, loadMemory, namespace) { const filename = subArgs[1] || `memory-export-${Date.now()}.json`; try { const data = await loadMemory(); - const namespace = getNamespaceFromArgs(subArgs); let exportData = data; if (namespace) {