MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / importAgentModule

Function importAgentModule

sdk/src/agents/load-agents.ts:314–318  ·  view source on GitHub ↗
(fullPath: string)

Source from the content-addressed store, hash-verified

312}
313
314async 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}

Callers 1

loadLocalAgentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected