Fix edit tool failing on Windows due to CRLF line endings
Normalize line endings to LF before matching, restore original style on write. Files with CRLF now match when LLMs send LF-only oldText. Fixes #355
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
|
||||
- **`enabledModels` setting**: Configure whitelisted models in `settings.json` (same format as `--models` CLI flag). CLI `--models` takes precedence over the setting.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Edit tool fails on Windows due to CRLF line endings**: Files with CRLF line endings now match correctly when LLMs send LF-only text. Line endings are normalized before matching and restored to original style on write. ([#355](https://github.com/badlogic/pi-mono/issues/355))
|
||||
|
||||
## [0.30.2] - 2025-12-26
|
||||
|
||||
### Changed
|
||||
|
||||
Reference in New Issue
Block a user