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/hive-mind/session-manager.js

rUv82018a85f2de
diff --git a/.claude/checkpoints/task-1756226195.json b/.claude/checkpoints/task-1756226195.json
new file mode 100644
index 0000000000..6db3a6af2f
--- /dev/null
+++ b/.claude/checkpoints/task-1756226195.json
@@ -0,0 +1 @@
+{"checkpoint": "task-20250826-163634", "task": " ⏵⏵ bypass permissions on (shift+tab to cycle) ", "timestamp": "2025-08-26T16:36:35Z", "commit": "ad57961e8f1cd72e24aff9b214fb63e3e70f3827", "github_release": "true"}
diff --git a/src/cli/simple-commands/hive-mind/session-manager.js b/src/cli/simple-commands/hive-mind/session-manager.js
index 64bb7b7c4a..a230c55237 100644
--- a/src/cli/simple-commands/hive-mind/session-manager.js
+++ b/src/cli/simple-commands/hive-mind/session-manager.js
@@ -164,6 +164,8 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind
const columns = this.db.prepare('PRAGMA table_info(sessions)').all();
const hasObjective = columns.some((col) => col.name === 'objective');
const hasSwarmName = columns.some((col) => col.name === 'swarm_name');
+ const hasCheckpointData = columns.some((col) => col.name === 'checkpoint_data');
+ const hasMetadata = columns.some((col) => col.name === 'metadata');
const hasParentPid = columns.some((col) => col.name === 'parent_pid');
const hasChildPids = columns.some((col) => col.name === 'child_pids');
@@ -177,6 +179,16 @@ To enable persistence, see: https://github.com/ruvnet/claude-code-flow/docs/wind
console.log('Added swarm_name column to sessions table');
}
+ if (!hasCheckpointData) {
+ this.db.exec('ALTER TABLE sessions ADD COLUMN checkpoint_data TEXT');
+ console.log('Added checkpoint_data column to sessions table');
+ }
+
+ if (!hasMetadata) {
+ this.db.exec('ALTER TABLE sessions ADD COLUMN metadata TEXT');
+ console.log('Added metadata column to sessions table');
+ }
+
if (!hasParentPid) {
this.db.exec('ALTER TABLE sessions ADD COLUMN parent_pid INTEGER');
console.log('Added parent_pid column to sessions table');