formatGrepOutput
formatGrepOutput(
matches):string
Defined in: packages/agent/src/tools/gthGrepTool.ts:191
Render matches in the concise, opencode-style grouped form. Shared by BOTH execution paths so the rg and JS-fallback outputs are provably identical.
Parameters
Section titled “Parameters”matches
Section titled “matches”Returns
Section titled “Returns”string