Files
claw-code/rust/crates/runtime/src
Wei-Lun Li dcf154793a fix(runtime): match CRLF line endings in edit_file (#3387)
read_file and grep_search return a file's lines joined with `\n`, so a
multi-line old_string quoted from a CRLF file never matched and
edit_file failed with "old_string not found in file". On Windows that is
every multi-line edit in a checkout made with Git's default
core.autocrlf=true.

When every line break in the file is `\r\n`, convert old_string and
new_string to CRLF before matching, so the edit applies and inserted
lines keep the file's line endings. LF and mixed files are unchanged.
2026-11-22 19:25:00 +00:00
..
2026-05-14 18:07:03 +09:00
2026-11-02 01:14:53 +00:00
2026-11-02 01:14:53 +00:00
2026-05-15 10:05:42 +09:00
2026-11-02 01:14:53 +00:00
2026-05-25 04:36:30 +00:00