mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js
This commit is contained in:
1 parent
f8451d4757
commit
cb90812e78
3 files changed
+8
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250826-170051", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js", "timestamp": "2025-08-26T17:00:52Z", "type": "pre-edit", "original_branch": "alpha97"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250826-170053", "file": "/workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js", "timestamp": "2025-08-26T17:00:53Z", "type": "post-edit", "branch": "alpha97", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/task-1756227619.json | 1 + claude-flow-wiki | 0 src/cli/simple-commands/hive-mind/session-manager.js | 6 ++++++ 6 files changed, 23 insertions(+), 4 deletions(-) "}
|
||||
@@ -1022,6 +1022,12 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind
|
||||
if (!session || !session.child_pids) return [];
|
||||
return sessionSerializer.deserializeLogData(session.child_pids);
|
||||
} else {
|
||||
// Check if database connection is still open
|
||||
if (!this.db || !this.db.open) {
|
||||
console.warn('Database connection closed, cannot get child PIDs during cleanup');
|
||||
return [];
|
||||
}
|
||||
|
||||
// Use SQLite
|
||||
const session = this.db.prepare('SELECT child_pids FROM sessions WHERE id = ?').get(sessionId);
|
||||
if (!session || !session.child_pids) return [];
|
||||
|
||||
Reference in new issue
Block a user