Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/memory.js

rUv9c374c62e595
diff --git a/.claude/checkpoints/1754403546.json b/.claude/checkpoints/1754403546.json
new file mode 100644
index 0000000000..1189e4fde3
--- /dev/null
+++ b/.claude/checkpoints/1754403546.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250805-141906", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:06Z", "type": "pre-edit", "original_branch": "alpha-86"}
diff --git a/.claude/checkpoints/1754403548.json b/.claude/checkpoints/1754403548.json
new file mode 100644
index 0000000000..2ca27acfc1
--- /dev/null
+++ b/.claude/checkpoints/1754403548.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250805-141908", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:08Z", "type": "post-edit", "branch": "alpha-86", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2860 ++++++++++++------------------ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754403535.json | 1 + .claude/checkpoints/1754403536.json | 1 + src/cli/simple-commands/memory.js | 5 +- 6 files changed, 1132 insertions(+), 1743 deletions(-) "}
diff --git a/src/cli/simple-commands/memory.js b/src/cli/simple-commands/memory.js
index dd3386c345..d47a0b0010 100644
--- a/src/cli/simple-commands/memory.js
+++ b/src/cli/simple-commands/memory.js
@@ -97,17 +97,17 @@ async function storeMemory(subArgs, loadMemory, saveMemory, namespace) {
}
}
-async function queryMemory(subArgs, loadMemory) {
+async function queryMemory(subArgs, loadMemory, namespace) {
const search = subArgs.slice(1).join(' ');
if (!search) {
- printError('Usage: memory query <search>');
+ printError('Usage: memory query <search> [--namespace <ns>]');
return;
}
try {
const data = await loadMemory();
- const namespace = getNamespaceFromArgs(subArgs);
+ const searchNamespace = namespace === 'default' ? null : namespace;
const results = [];
for (const [ns, entries] of Object.entries(data)) {