🌊 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
rUv70b07865da69
diff --git a/.claude/checkpoints/1754356527.json b/.claude/checkpoints/1754356527.jsonnew file mode 100644index 0000000000..1d1f312baf--- /dev/null+++ b/.claude/checkpoints/1754356527.json@@ -0,0 +1 @@+{"tag": "checkpoint-20250805-011527", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js", "timestamp": "2025-08-05T01:15:27Z", "type": "post-edit", "branch": "alpha-85", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/task-metrics.json | 6 +++--- claude-flow-wiki | 0 .../simple-commands/hive-mind/session-manager.js | 22 +++++++++++----------- 4 files changed, 15 insertions(+), 15 deletions(-) "}diff --git a/.claude/checkpoints/task-1754356527.json b/.claude/checkpoints/task-1754356527.jsonnew file mode 100644index 0000000000..d02a751dcf--- /dev/null+++ b/.claude/checkpoints/task-1754356527.json@@ -0,0 +1 @@+{"checkpoint": "task-20250805-011526", "task": "{{user_prompt}} ", "timestamp": "2025-08-05T01:15:27Z", "commit": "be097ce4893c631e0824584702c4e4a29a94ee3d", "github_release": "true"}diff --git a/src/cli/simple-commands/hive-mind/session-manager.js b/src/cli/simple-commands/hive-mind/session-manager.jsindex bb44a6cf35..86f0ccc0c2 100644--- a/src/cli/simple-commands/hive-mind/session-manager.js+++ b/src/cli/simple-commands/hive-mind/session-manager.js@@ -554,7 +554,7 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind/*** Mark session as completed*/- completeSession(sessionId) {+ async completeSession(sessionId) {const stmt = this.db.prepare(`UPDATE sessionsSET status = 'completed', updated_at = CURRENT_TIMESTAMP, completion_percentage = 100@@ -802,7 +802,7 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind/*** Add a child process PID to session*/- addChildPid(sessionId, pid) {+ async addChildPid(sessionId, pid) {const session = this.db.prepare('SELECT child_pids FROM sessions WHERE id = ?').get(sessionId);if (!session) return false;@@ -826,7 +826,7 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind/*** Remove a child process PID from session*/- removeChildPid(sessionId, pid) {+ async removeChildPid(sessionId, pid) {const session = this.db.prepare('SELECT child_pids FROM sessions WHERE id = ?').get(sessionId);if (!session) return false;@@ -953,7 +953,7 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind/*** Clean up orphaned processes*/- cleanupOrphanedProcesses() {+ async cleanupOrphanedProcesses() {const sessions = this.db.prepare(`@@ -971,7 +971,7 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/windprocess.kill(session.parent_pid, 0);} catch (err) {// Parent is dead, clean up session- this.stopSession(session.id);+ await this.stopSession(session.id);cleanedCount++;await this.logSessionEvent(session.id, 'info', 'Orphaned session cleaned up');}