From 714534475818e6e5dced91ecad100ca9e286ccce Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 15:37:56 +0100 Subject: 0.4.1 + 0.4.2: abort integrity, stream completeness, tool-call indexing - an aborted multi-call step now answers every announced tool call - sessions with unanswered calls are repaired by appending results - a stream without [DONE]/finish_reason is an error, not an answer - tool call deltas keyed by index can no longer vanish or invent empty calls - one-shot exit codes: 130 aborted, 3 denied --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index f20bc9a..9867621 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,34 @@ break the interface, **PATCH** for bug fixes. file, and the tool schemas the model sees. Anything a script or a resumed session could depend on counts as API. +## 0.4.2 + +### Fixed +- A stream that ends without `[DONE]` or a `finish_reason` is now an error, not an + empty or truncated answer. A provider returning ordinary JSON to a streaming + request used to be recorded as an empty assistant message; a dropped connection + mid-answer used to be recorded as a finished one. +- A tool-call delta without `index` no longer loses the whole call, and + non-contiguous indexes no longer invent an empty call. +- A final `data:` frame with no trailing newline is processed instead of dropped. +- Malformed frames are counted and reported instead of silently swallowed. + +## 0.4.1 + +### Fixed +- Aborting a step that announced several tool calls used to leave the remaining + calls unanswered, which the provider rejects and which made the session + permanently unresumable. Remaining calls now get an "aborted" result, and + sessions opened in that state are repaired by appending the missing results. +- A Ctrl-C pressed after a turn finished could abort the next prompt; the flag is + cleared when a turn starts. +- `run_turn` cleared the global cancel flag rather than the one it was given. +- One-shot mode now exits 130 when aborted and 3 when a tool call was denied, + instead of 0 for both. +- `bash` approval offered `[y/N/a]` but treated `a` as "no"; it now offers + `[y/N]`, matching its documented every-call behaviour. +- A non-terminal stdin now says up front that writes and commands will be denied. + ## 0.4.0 ### Changed -- cgit v1.2.3