MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / load

Function load

scripts/agent-eval/probe-trace.mjs:10–10  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

8if (!repo || !from || !to) { console.error('usage: probe-trace.mjs <repo> <from> <to>'); process.exit(1); }
9
10const load = async (rel) => import(pathToFileURL(resolve(rel)).href);
11const idx = await load('dist/index.js');
12const tools = await load('dist/mcp/tools.js');
13const CodeGraph = idx.default?.default ?? idx.default ?? idx.CodeGraph;

Callers 1

probe-trace.mjsFile · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected