diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-15 15:40:13 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-15 15:40:13 +0100 |
| commit | a39ea052deff856ff9d27cdebecbbea1837d5a69 (patch) | |
| tree | 6bc0743615aa4f183bc8c2027d9d70ec3c85ed40 /CHANGELOG.md | |
| parent | 0.4.3: kill process groups, bound bash output, keep the key out of tool env (diff) | |
| download | agent686-a39ea052deff856ff9d27cdebecbbea1837d5a69.tar.gz agent686-a39ea052deff856ff9d27cdebecbbea1837d5a69.zip | |
0.4.4: file-tool correctness
- read: regular files only, checked offset conversion on 32-bit
- write/edit: atomic rename, re-read before apply, preserve mode
- edit: CRLF files match and keep their line endings
- grep: missing path is an error, skipped files are reported
- glob: follows file symlinks
Diffstat (limited to '')
| -rw-r--r-- | CHANGELOG.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 79acd31..213f5f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -7,6 +7,26 @@ break the interface, **PATCH** for bug fixes. | |||
| 7 | file, and the tool schemas the model sees. Anything a script or a resumed session | 7 | file, and the tool schemas the model sees. Anything a script or a resumed session |
| 8 | could depend on counts as API. | 8 | could depend on counts as API. |
| 9 | 9 | ||
| 10 | ## 0.4.4 | ||
| 11 | |||
| 12 | ### Fixed | ||
| 13 | - `read` refused only directories; a FIFO or device would block the single-threaded | ||
| 14 | harness forever. It now requires a regular file. | ||
| 15 | - `read`'s `offset` was cast from `u64` to `usize`, which wrapped on 32-bit builds | ||
| 16 | and produced wrong line numbers. Out-of-range values are now an error. | ||
| 17 | - `write` truncates in place, so a crash or full disk could destroy the original. | ||
| 18 | It now writes a temporary file and renames, and preserves the file mode. | ||
| 19 | - `edit` applied the snapshot taken before the approval prompt, silently | ||
| 20 | discarding anything written in between. It now re-reads and re-checks at apply | ||
| 21 | time and refuses if the text is no longer unique. | ||
| 22 | - `edit` reported "not found" for CRLF files, because the carriage returns are | ||
| 23 | invisible in `read` output. Matching now retries with normalised line endings | ||
| 24 | and writes back in the file's own style. | ||
| 25 | - `grep` on a nonexistent path said "no matches", implying the symbol was absent; | ||
| 26 | it now errors. It also reports how many files it skipped as too large or binary. | ||
| 27 | - `glob` now includes symlinked files (symlinked directories are still skipped, to | ||
| 28 | avoid loops). | ||
| 29 | |||
| 10 | ## 0.4.3 | 30 | ## 0.4.3 |
| 11 | 31 | ||
| 12 | ### Fixed | 32 | ### Fixed |
