MCPcopy
hub / github.com/colbymchenry/codegraph / load

Function load

scripts/agent-eval/offload-eval-effort.mjs:26–26  ·  view source on GitHub ↗
(rel)

Source from the content-addressed store, hash-verified

24const TIER = { mtkruto: 'small', postybirb: 'medium', shapeshift: 'complex', trezor: 'large' };
25
26const load = async (rel) => import(pathToFileURL(resolve(ENGINE, rel)).href);
27const idx = await load('dist/index.js');
28const toolsMod = await load('dist/mcp/tools.js');
29const CodeGraph = idx.default?.default ?? idx.default ?? idx.CodeGraph;

Callers 1

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected