Roo-Code/src/core/tools
Hannes Rudolph f21ec127b1
fix: add CRLF line ending normalization to search_replace and search_and_replace tools (#10288)
- Normalize file content to LF after reading to ensure consistent matching
- Normalize search/replace strings to handle CRLF from model output
- Add comprehensive CRLF normalization tests for both tools
- Consistent with existing edit_file tool behavior
2025-12-22 19:19:24 -08:00
..
__tests__ fix: add CRLF line ending normalization to search_replace and search_and_replace tools (#10288) 2025-12-22 19:19:24 -08:00
apply-patch feat: add apply_patch native tool (#9663) 2025-11-28 23:07:03 -05:00
helpers feat(read-file): implement incremental token-budgeted file reading (#10052) 2025-12-15 14:41:42 -08:00
accessMcpResourceTool.ts fix: preserve dynamic MCP tool names in native mode API history (#9559) 2025-11-25 13:16:34 -05:00
ApplyDiffTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
ApplyPatchTool.ts feat: add apply_patch native tool (#9663) 2025-11-28 23:07:03 -05:00
AskFollowupQuestionTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
AttemptCompletionTool.ts feat: streaming tool stats + token usage throttling (#9926) 2025-12-08 19:40:12 -08:00
BaseTool.ts fix: defer new_task tool_result until subtask completes for native protocol (#9628) 2025-11-26 17:25:04 -05:00
BrowserActionTool.ts Add a way to save screenshots from the browser tool (#9963) 2025-12-09 16:12:36 -08:00
CodebaseSearchTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
EditFileTool.ts feat: Replace edit_file tool alias with edit_file tool (#9983) 2025-12-18 12:48:30 -07:00
ExecuteCommandTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
FetchInstructionsTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
GenerateImageTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
ListFilesTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
MultiApplyDiffTool.ts feat: lock task tool protocol for consistent task resumption (#10192) 2025-12-18 11:54:26 -08:00
NewTaskTool.ts Metadata‑driven subtasks (no UI changes): automatic parent resume and single‑open safety (#9090) 2025-11-27 21:18:42 -07:00
ReadFileTool.ts feat: lock task tool protocol for consistent task resumption (#10192) 2025-12-18 11:54:26 -08:00
RunSlashCommandTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
SearchAndReplaceTool.ts fix: add CRLF line ending normalization to search_replace and search_and_replace tools (#10288) 2025-12-22 19:19:24 -08:00
SearchFilesTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
SearchReplaceTool.ts fix: add CRLF line ending normalization to search_replace and search_and_replace tools (#10288) 2025-12-22 19:19:24 -08:00
simpleReadFileTool.ts fix: Update tools to return structured JSON for native protocol (#9373) 2025-11-18 20:01:15 -05:00
SwitchModeTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
ToolRepetitionDetector.ts fix: Include nativeArgs in tool repetition detection (#9377) 2025-11-18 21:20:29 -05:00
UpdateTodoListTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
UseMcpToolTool.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
validateToolUse.ts Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
WriteToFileTool.ts fix: remove omission detection logic to fix false positives (#9787) 2025-12-03 13:20:22 -05:00