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

rUv47be003a3bc3
diff --git a/.claude/checkpoints/1754403590.json b/.claude/checkpoints/1754403590.json
new file mode 100644
index 0000000000..7cca9daec2
--- /dev/null
+++ b/.claude/checkpoints/1754403590.json
@@ -0,0 +1 @@
+{"branch": "checkpoint/pre-edit-20250805-141950", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:50Z", "type": "pre-edit", "original_branch": "alpha-86"}
diff --git a/.claude/checkpoints/1754403592.json b/.claude/checkpoints/1754403592.json
new file mode 100644
index 0000000000..fb248dc4b8
--- /dev/null
+++ b/.claude/checkpoints/1754403592.json
@@ -0,0 +1 @@
+{"tag": "checkpoint-20250805-141952", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/memory.js", "timestamp": "2025-08-05T14:19:52Z", "type": "post-edit", "branch": "alpha-86", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 2864 ++++++++++++------------------ .claude-flow/metrics/task-metrics.json | 6 +- .claude/checkpoints/1754403570.json | 1 + .claude/checkpoints/1754403572.json | 1 + src/cli/simple-commands/memory.js | 3 +- 6 files changed, 1145 insertions(+), 1732 deletions(-) "}
diff --git a/src/cli/simple-commands/memory.js b/src/cli/simple-commands/memory.js
index 996da08b80..331d0fee96 100644
--- a/src/cli/simple-commands/memory.js
+++ b/src/cli/simple-commands/memory.js
@@ -238,13 +238,15 @@ async function importMemory(subArgs, saveMemory) {
}
}
-async function clearMemory(subArgs, saveMemory) {
- const namespace = getNamespaceFromArgs(subArgs);
-
- if (!namespace) {
- printError('Usage: memory clear --namespace <namespace>');
- printWarning('This will clear all entries in the specified namespace');
- return;
+async function clearMemory(subArgs, saveMemory, namespace) {
+ if (!namespace || namespace === 'default') {
+ const nsFromArgs = getNamespaceFromArgs(subArgs);
+ if (!nsFromArgs) {
+ printError('Usage: memory clear --namespace <namespace>');
+ printWarning('This will clear all entries in the specified namespace');
+ return;
+ }
+ namespace = nsFromArgs;
}
try {