()
| 144 | renderToolUseErrorMessage, |
| 145 | renderToolResultMessage, |
| 146 | extractSearchText() { |
| 147 | // Transcript render shows either content (create, via HighlightedCode) |
| 148 | // or a structured diff (update). The heuristic's 'content' allowlist key |
| 149 | // would index the raw content string even in update mode where it's NOT |
| 150 | // shown — phantom. Under-count: tool_use already indexes file_path. |
| 151 | return '' |
| 152 | }, |
| 153 | async validateInput({ file_path, content }, toolUseContext: ToolUseContext) { |
| 154 | const fullFilePath = expandPath(file_path) |
| 155 |
nothing calls this directly
no outgoing calls
no test coverage detected