fix(FN-915): use getFusionDir() for agent storage location

- Add getFusionDir() method to TaskStore for resolving agent database path
- Update in-process-runtime to use getFusionDir() instead of hardcoded path
- Update dashboard routes AgentStore initialization to use getFusionDir()
- Add changeset for published package patch bump
This commit is contained in:
gsxdsm
2026-04-04 12:35:15 -07:00
parent de074420d2
commit 1b3eb7bf10
5 changed files with 23 additions and 12 deletions

View File

@@ -208,7 +208,7 @@ export class InProcessRuntime
// 6. Initialize AgentStore and HeartbeatMonitor
try {
const { AgentStore: AgentStoreClass } = await import("@fusion/core");
this.agentStore = new AgentStoreClass({ rootDir: this.taskStore.getRootDir() });
this.agentStore = new AgentStoreClass({ rootDir: this.taskStore.getFusionDir() });
await this.agentStore.init();
this.heartbeatMonitor = new HeartbeatMonitor({