Skip to content

fix: correct AgentDB controller path to dist/src/controllers#133

Open
MediaPushai wants to merge 1 commit intoruvnet:mainfrom
MediaPushai:fix/agentdb-controller-path
Open

fix: correct AgentDB controller path to dist/src/controllers#133
MediaPushai wants to merge 1 commit intoruvnet:mainfrom
MediaPushai:fix/agentdb-controller-path

Conversation

@MediaPushai
Copy link

Issue

The AgentDB runtime patch was looking for controllers at the wrong path, causing it to fail silently.

Current (broken):
dist/controllers/index.js

Correct:
dist/src/controllers/index.js

Error

[AgentDB Patch] Controller index not found: /path/to/agentdb/dist/controllers/index.js

Fix

Updated agentdb-runtime-patch.ts to use the correct path structure that matches AgentDB v1.3.9's actual package layout.

Testing

  • Tested with ruflo project
  • Daemon now starts without AgentDB patch warnings
  • Import resolution works correctly

Files Changed

  • agentic-flow/src/utils/agentdb-runtime-patch.ts - Updated 2 path references

The AgentDB v1.3.9 package structure has controllers at:
  dist/src/controllers/index.js
Not:
  dist/controllers/index.js

This was causing the runtime patch to fail with:
  [AgentDB Patch] Controller index not found

Tested with ruflo and confirmed the fix resolves the import issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant