🌊 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/test-hive-db.js
rUvfbf2ddd514cd
diff --git a/.claude/checkpoints/task-1754227038.json b/.claude/checkpoints/task-1754227038.jsonnew file mode 100644index 0000000000..e15bbc1326--- /dev/null+++ b/.claude/checkpoints/task-1754227038.json@@ -0,0 +1 @@+{"checkpoint": "task-20250803-131717", "task": "{{user_prompt}} ", "timestamp": "2025-08-03T13:17:18Z", "commit": "23fe0ff6923de99f5d6ef8d5b5e94588d564f351", "github_release": "true"}diff --git a/test-hive-db.js b/test-hive-db.jsnew file mode 100644index 0000000000..579469fe45--- /dev/null+++ b/test-hive-db.js@@ -0,0 +1,58 @@+#!/usr/bin/env node++import Database from 'better-sqlite3';+import path from 'path';+import { fileURLToPath } from 'url';++const __dirname = path.dirname(fileURLToPath(import.meta.url));++try {+ const dbPath = path.join(process.cwd(), '.hive-mind', 'hive.db');+ console.log('Opening database at:', dbPath);++ const db = new Database(dbPath);++ // Check consensus_decisions table+ console.log('\n=== Consensus Decisions ===');+ const consensusCount = db.prepare('SELECT COUNT(*) as count FROM consensus_decisions').get();+ console.log('Total consensus decisions:', consensusCount.count);++ if (consensusCount.count > 0) {+ const decisions = db.prepare('SELECT * FROM consensus_decisions LIMIT 5').all();+ console.log('Sample decisions:', decisions);+ }++ // Check collective_memory table+ console.log('\n=== Collective Memory ===');+ const memoryCount = db.prepare('SELECT COUNT(*) as count FROM collective_memory').get();+ console.log('Total collective memories:', memoryCount.count);++ if (memoryCount.count > 0) {+ const memories = db.prepare('SELECT * FROM collective_memory LIMIT 5').all();+ console.log('Sample memories:', memories);+ }++ // Check if there's also a memory.db+ console.log('\n=== Checking memory.db ===');+ const memoryDbPath = path.join(process.cwd(), '.hive-mind', 'memory.db');+ try {+ const memDb = new Database(memoryDbPath);+ const memCount = memDb.prepare("SELECT COUNT(*) as count FROM sqlite_master WHERE type='table' AND name='memories'").get();+ if (memCount.count > 0) {+ const memoryCount2 = memDb.prepare('SELECT COUNT(*) as count FROM memories').get();+ console.log('Total memories in memory.db:', memoryCount2.count);++ if (memoryCount2.count > 0) {+ const memories2 = memDb.prepare('SELECT * FROM memories LIMIT 5').all();+ console.log('Sample memories from memory.db:', memories2);+ }+ }+ memDb.close();+ } catch (e) {+ console.log('No memory.db found or error reading it:', e.message);+ }++ db.close();+} catch (error) {+ console.error('Error:', error.message);+}\ No newline at end of file