mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 22:53:17 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/memory.js
This commit is contained in:
1 parent
a44b25130c
commit
8900170aab
3 files changed
+3
-2
No files matched your search
@@ -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"}
|
||||
@@ -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(-) "}
|
||||
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user