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

Function exploreLineNumbersEnabled

src/mcp/tools.ts:900–902  ·  view source on GitHub ↗

* Whether `codegraph_explore` should prefix source lines with their line * numbers (cat -n style: ` \t `). * * Line numbers let the agent cite `file:line` straight from the explore * payload instead of re-Reading the file just to find a line number — the * dominant residual cost on pre

()

Source from the content-addressed store, hash-verified

898 * A/B harness to measure the payload-cost vs. read-savings tradeoff).
899 */
900function exploreLineNumbersEnabled(): boolean {
901 return process.env.CODEGRAPH_EXPLORE_LINENUMS !== '0';
902}
903
904/**
905 * Adaptive explore sizing (default ON). `codegraph_explore` skeletonizes OFF-SPINE

Callers 1

handleExploreMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected