From 8900170aab14962965fa1e90d8dcbfbde5e08422 Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 5 Aug 2025 14:19:32 +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/1754403559.json | 1 + .claude/checkpoints/1754403561.json | 1 + src/cli/simple-commands/memory.js | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .claude/checkpoints/1754403559.json create mode 100644 .claude/checkpoints/1754403561.json diff --git a/.claude/checkpoints/1754403559.json b/.claude/checkpoints/1754403559.json new file mode 100644 index 0000000000..d7c3a2cc38 --- /dev/null +++ b/.claude/checkpoints/1754403559.json @@ -0,0 +1 @@ +{"branch": "checkpoint/pre-edit-20250805-141919", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:19Z", "type": "pre-edit", "original_branch": "alpha-86"} diff --git a/.claude/checkpoints/1754403561.json b/.claude/checkpoints/1754403561.json new file mode 100644 index 0000000000..fdc113aa86 --- /dev/null +++ b/.claude/checkpoints/1754403561.json @@ -0,0 +1 @@ +{"tag": "checkpoint-20250805-141921", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:21Z", "type": "post-edit", "branch": "alpha-86", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2840 +++++++++++------------------- .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754403546.json | 1 + .claude/checkpoints/1754403548.json | 1 + src/cli/simple-commands/memory.js | 6 +- 6 files changed, 1075 insertions(+), 1781 deletions(-) "} diff --git a/src/cli/simple-commands/memory.js b/src/cli/simple-commands/memory.js index d47a0b0010..0977189c0f 100644 --- a/src/cli/simple-commands/memory.js +++ b/src/cli/simple-commands/memory.js @@ -107,11 +107,10 @@ async function queryMemory(subArgs, loadMemory, namespace) { try { const data = await loadMemory(); - const searchNamespace = namespace === 'default' ? null : namespace; const results = []; for (const [ns, entries] of Object.entries(data)) { - if (namespace && ns !== namespace) continue; + if (searchNamespace && ns !== searchNamespace) continue; for (const entry of entries) { if (entry.key.includes(search) || entry.value.includes(search)) {