mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/cli/simple-commands/hive-mind/session-manager.js
This commit is contained in:
1 parent
82dba7b1aa
commit
82018a85f2
2 files changed
+13
No files matched your search
@@ -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"}
|
||||
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user