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

Function load

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

Source from the content-addressed store, hash-verified

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

Callers 1

probe-context.mjsFile · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected