-
Notifications
You must be signed in to change notification settings - Fork 133
Closed
Description
Bug Report
Package: agentdb v3.0.0-alpha.10
Found in: ruflo v3.5.36 (formerly claude-flow)
Platform: macOS Darwin 25.3.0, Node.js v22.13.1
Description
The agentdb npm package (v3.0.0-alpha.10) has its controllers at dist/src/controllers/index.js, but ruflo's AgentDB patch loader looks for them at dist/controllers/index.js (without the src/ prefix).
This causes the error on every ruflo command:
[AgentDB Patch] Controller index not found: /path/to/node_modules/agentdb/dist/controllers/index.js
Expected Behavior
Controllers should be at dist/controllers/ (matching the import path), OR the patch loader should look at dist/src/controllers/.
Current Directory Structure
node_modules/agentdb/dist/
├── agentdb.browser.js
├── backends/
├── optimizations/
├── schemas/
├── simulation/
├── src/
│ ├── controllers/ ← controllers are HERE
│ │ ├── index.js
│ │ ├── HNSWIndex.js
│ │ ├── ReasoningBank.js
│ │ └── ... (30+ controllers)
│ ├── backends/
│ └── ...
Workaround
Symlink fixes it:
ln -s node_modules/agentdb/dist/src/controllers node_modules/agentdb/dist/controllersImpact
Without this fix, the ruflo daemon fails to initialize AgentDB controllers, breaking:
ruflo daemon start(starts but without AgentDB)ruflo system status(shows error)ruflo doctor(shows error)- All AgentDB-dependent MCP tools
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels