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

rUve3202e611d71
diff --git a/.claude/checkpoints/1754403535.json b/.claude/checkpoints/1754403535.json
new file mode 100644
index 0000000000..d7962a3135
--- /dev/null
+++ b/.claude/checkpoints/1754403535.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250805-141854", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:18:55Z", "type": "pre-edit", "original_branch": "alpha-86"}
diff --git a/.claude/checkpoints/1754403536.json b/.claude/checkpoints/1754403536.json
new file mode 100644
index 0000000000..e58794b00c
--- /dev/null
+++ b/.claude/checkpoints/1754403536.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250805-141856", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:18:56Z", "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/1754403519.json | 1 + .claude/checkpoints/1754403521.json | 1 + src/cli/simple-commands/memory.js | 8 +- 6 files changed, 1134 insertions(+), 1744 deletions(-) "}
diff --git a/src/cli/simple-commands/memory.js b/src/cli/simple-commands/memory.js
index cf1dcaed06..dd3386c345 100644
--- a/src/cli/simple-commands/memory.js
+++ b/src/cli/simple-commands/memory.js
@@ -60,18 +60,17 @@ export async function memoryCommand(subArgs, flags) {
}
}
-async function storeMemory(subArgs, loadMemory, saveMemory) {
+async function storeMemory(subArgs, loadMemory, saveMemory, namespace) {
const key = subArgs[1];
const value = subArgs.slice(2).join(' ');
if (!key || !value) {
- printError('Usage: memory store <key> <value>');
+ printError('Usage: memory store <key> <value> [--namespace <ns>]');
return;
}
try {
const data = await loadMemory();
- const namespace = getNamespaceFromArgs(subArgs) || 'default';
if (!data[namespace]) {
data[namespace] = [];