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: File edit:

rUv04b775093b7a
diff --git a/v3/@claude-flow/memory/src/agentdb-backend.ts b/v3/@claude-flow/memory/src/agentdb-backend.ts
index cbcde17379..c46c825eea 100644
--- a/v3/@claude-flow/memory/src/agentdb-backend.ts
+++ b/v3/@claude-flow/memory/src/agentdb-backend.ts
@@ -554,10 +554,15 @@ export class AgentDBBackend extends EventEmitter implements IMemoryBackend {
* Create database schema
*/
private async createSchema(): Promise<void> {
- if (!this.agentdb?.database) return;
+ if (!this.agentdb) return;
const db = this.agentdb.database;
+ if (!db || typeof db.run !== 'function') {
+ // AgentDB doesn't expose raw database - using native API
+ return;
+ }
+ try {
// Create memory_entries table
await db.run(`
CREATE TABLE IF NOT EXISTS memory_entries (