(fullPath: string)
| 312 | } |
| 313 | |
| 314 | async function importAgentModule(fullPath: string): Promise<any | null> { |
| 315 | // Cache-bust to ensure fresh imports when agent files change |
| 316 | const urlVersion = `?update=${Date.now()}` |
| 317 | return import(`${pathToFileURL(fullPath).href}${urlVersion}`) |
| 318 | } |