MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / load

Function load

scripts/agent-eval/probe-decl-only.mjs:80–80  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

78 process.exit(2);
79}
80const load = (rel) => import(pathToFileURL(resolve(REPO_ROOT, rel)).href);
81const idxMod = await load('dist/index.js');
82const toolsMod = await load('dist/mcp/tools.js');
83const CodeGraph = idxMod.default?.default ?? idxMod.default ?? idxMod.CodeGraph;

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected