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

Function cgShort

scripts/agent-eval/seq-matrix.mjs:25–25  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

23}
24
25const cgShort = (n) => n.replace('mcp__codegraph__codegraph_', '').replace('mcp__codegraph__', '');
26const tag = (n) => n === 'Read' ? 'R' : n === 'Grep' ? 'G' : n === 'Glob' ? 'Gl'
27 : n === 'Bash' ? 'B' : n === 'Task' ? 'Ag' : n === 'ToolSearch' ? 'TS'
28 : n.includes('codegraph') ? cgShort(n) : n;

Callers 2

tagFunction · 0.70
parseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected