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

Method trimmedIn

src/mcp/tools.ts:7952–7953  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

7950 : [];
7951 /** Whether a trimmed section survives in `text` — picks a fallback note's wording after a cut. */
7952 const trimmedIn = (text: string): boolean =>
7953 trimmedShown.some((t) => text.includes(`${FILE_SECTION_PREFIX}${t.filePath}\``));
7954
7955 // Advisory exploration-guidance note based on project size. Deliberately
7956 // phrased as guidance, NOT a quota: agents read "budget / remaining calls /

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected