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: File edits

rUv776e5f321910
diff --git a/v3/@claude-flow/cli/.claude/helpers/session.js b/v3/@claude-flow/cli/.claude/helpers/session.js
index ab32233744..11e2ec046c 100644
--- a/v3/@claude-flow/cli/.claude/helpers/session.js
+++ b/v3/@claude-flow/cli/.claude/helpers/session.js
@@ -100,6 +100,14 @@ const commands = {
return session;
},
+ get: (key) => {
+ if (!fs.existsSync(SESSION_FILE)) return null;
+ try {
+ const session = JSON.parse(fs.readFileSync(SESSION_FILE, 'utf-8'));
+ return key ? (session.context || {})[key] : session.context;
+ } catch { return null; }
+ },
+
metric: (name) => {
if (!fs.existsSync(SESSION_FILE)) {
return null;