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) {