Roo-Code/src/core
Thomas Brugman 245c8f3269
Fix: Allow write_to_file to handle newline-only and empty content (#3550)
* Fix: Allow write_to_file to handle newline-only and empty content

* fix: update writeToFileTool to return early without error on missing or empty parameters

* fix: preserve newlines in content parameters and update error handling in writeToFileTool tests

* fix: update parseAssistantMessage and parseAssistantMessageV2 to preserve newlines in content parameters while stripping leading and trailing newlines

---------

Co-authored-by: Daniel Riccio <ricciodaniel98@gmail.com>
2025-06-23 18:43:49 -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 Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
context-tracking Revert "fix: use safeWriteJson for all JSON file writes" (#4471) 2025-06-09 13:53:17 -04:00
diff fix: start line not working in multiple apply diff (#5019) 2025-06-22 23:33:52 -04:00
environment Include the cwd in the terminal details (#4783) 2025-06-17 11:53:49 -04:00
ignore Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
mentions Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
prompts feature: add toggle for disable mcp server tool from prompt (#3551) 2025-06-20 19:14:59 -04:00
protect Add logic to prevent auto-approving edits of configuration files (#4667) 2025-06-13 19:58:55 -04:00
sliding-window feat: add profile-specific context condensing thresholds (#4456) 2025-06-20 23:02:04 -04:00
task feat: add profile-specific context condensing thresholds (#4456) 2025-06-20 23:02:04 -04:00
task-persistence Add proper error handling for API conversation history issues (#4312) 2025-06-17 14:20:40 -04:00
tools Fix: Allow write_to_file to handle newline-only and empty content (#3550) 2025-06-23 18:43:49 -04:00
webview fix: improve LM Studio model detection to show all downloaded models (#5047) 2025-06-23 14:46:56 -04:00