🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js
rUv4a6ce8729442
diff --git a/.claude/checkpoints/1754356635.json b/.claude/checkpoints/1754356635.jsonnew file mode 100644index 0000000000..7e71c16a77--- /dev/null+++ b/.claude/checkpoints/1754356635.json@@ -0,0 +1 @@+{"branch": "checkpoint/pre-edit-20250805-011715", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js", "timestamp": "2025-08-05T01:17:15Z", "type": "pre-edit", "original_branch": "alpha-85"}diff --git a/.claude/checkpoints/1754356637.json b/.claude/checkpoints/1754356637.jsonnew file mode 100644index 0000000000..38a600d30f--- /dev/null+++ b/.claude/checkpoints/1754356637.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250805-011717", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js", "timestamp": "2025-08-05T01:17:17Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +-- .claude/checkpoints/task-1754356635.json | 1 + claude-flow-wiki | 0 .../simple-commands/hive-mind/session-manager.js | 49 +++++++++++++++------- 5 files changed, 38 insertions(+), 20 deletions(-) "}diff --git a/src/cli/simple-commands/hive-mind/session-manager.js b/src/cli/simple-commands/hive-mind/session-manager.jsindex a7d5c8b208..fa438cdc7f 100644--- a/src/cli/simple-commands/hive-mind/session-manager.js+++ b/src/cli/simple-commands/hive-mind/session-manager.js@@ -628,6 +628,14 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind* Archive old sessions*/async archiveSessions(daysOld = 30) {+ await this.ensureInitialized();++ if (this.isInMemory) {+ // In-memory mode doesn't support archiving+ console.warn('Session archiving not supported in in-memory mode');+ return 0;+ }+const cutoffDate = new Date();cutoffDate.setDate(cutoffDate.getDate() - daysOld);