({ mode, content, filenames })
| 248 | // numFiles/numLines/numMatches are chrome ("Found 3 files") — fine to |
| 249 | // skip (under-count, not phantom). Glob reuses this via UI.tsx:65. |
| 250 | extractSearchText({ mode, content, filenames }) { |
| 251 | if (mode === 'content' && content) return content |
| 252 | return filenames.join('\n') |
| 253 | }, |
| 254 | mapToolResultToToolResultBlockParam( |
| 255 | { |
| 256 | mode = 'files_with_matches', |
nothing calls this directly
no outgoing calls
no test coverage detected