Roo-Code/src/core
lhish 8e7d9e092d
fix(tools): Resolve intermittent hangs and lack of clear error feedback in apply_diff tool (#5391)
* fix(tools): Resolve intermittent hangs and lack of clear error feedback in apply_diff tool (#5390)

* fix: show user-friendly error message for XML parsing failures

- Keep detailed XML structure instructions only for LLM via pushToolResult
- Show simple error message to user via cline.say
- Aligns with established error handling pattern in codebase

* feat: add telemetry for XML parsing errors

- Track XML parsing errors using captureDiffApplicationError
- Include consecutive mistake count for better error analysis
- Helps monitor and debug XML parsing issues in production

---------

Co-authored-by: Example User <user@example.com>
Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-07-04 10:02:28 -04:00
..
assistant-message Fix: Allow write_to_file to handle newline-only and empty content (#3550) 2025-06-23 18:43:49 -04:00
checkpoints Disable checkpoint if nested git repos are detected (#4509) 2025-06-10 13:29:19 -07:00
condense feat: add profile-specific context condensing thresholds (#4456) 2025-06-20 23:02:04 -04:00
config Fix code index secret persistence and improve settings UX (#5158) 2025-07-03 18:33:20 -04:00
context-tracking fix: use safeWriteJson for all JSON file writes with race condition fix (#4733) 2025-06-25 16:05:02 -04:00
diff Fixes #5206: Update apply_diff tool documentation to accurately reflect multi-file capabilities (#5232) 2025-06-30 09:01:44 -04:00
environment fix: remove context size from environment details (#5165) (#5312) 2025-07-01 15:14:50 -04:00
ignore Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
mentions fix: resolve URL loading timeout issues in @ mentions (#5160) 2025-06-30 10:40:53 -04:00
prompts fix: Exclude cache files from rules compilation (#5283) 2025-07-01 10:33:32 -04:00
protect Add .vscode/ to the list of write-protected files/directories (#5347) 2025-07-02 13:17:20 -04:00
sliding-window feat: add profile-specific context condensing thresholds (#4456) 2025-06-20 23:02:04 -04:00
task fix: cap API retry exponential backoff at 10 minutes (#5171) 2025-06-30 10:56:34 -04:00
task-persistence fix: use safeWriteJson for all JSON file writes with race condition fix (#4733) 2025-06-25 16:05:02 -04:00
tools fix(tools): Resolve intermittent hangs and lack of clear error feedback in apply_diff tool (#5391) 2025-07-04 10:02:28 -04:00
webview Fix code index secret persistence and improve settings UX (#5158) 2025-07-03 18:33:20 -04:00