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

Function exploreLineNumbersEnabled

src/mcp/tools.ts:1023–1025  ·  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

1021 * A/B harness to measure the payload-cost vs. read-savings tradeoff).
1022 */
1023function exploreLineNumbersEnabled(): boolean {
1024 return process.env.CODEGRAPH_EXPLORE_LINENUMS !== '0';
1025}
1026
1027/**
1028 * 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