diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-18 12:01:38 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-18 12:01:38 +0100 |
| commit | 6df7a6403d88a4492ab6ea1c519dcae3a202be96 (patch) | |
| tree | 216f5d009881c2bccff122a6779397c502fb228b /CHANGELOG.md | |
| parent | 0.8.2: comp.sh defaults to this CPU, --portable for travel (diff) | |
| download | agent686-6df7a6403d88a4492ab6ea1c519dcae3a202be96.tar.gz agent686-6df7a6403d88a4492ab6ea1c519dcae3a202be96.zip | |
0.9.0: distinguishable tool errors, separated stderr, configurable limits
From a field report porting a Neovim config to Helix:
- validate() now separates 'empty value', 'wrong key (here is what you sent)' and
'no arguments at all, retry' instead of one false message for all four causes
- named calls with no arguments are answered rather than dropped silently
- bash keeps stdout and stderr in labelled sections when both produce output
- bash gains timeout_seconds (1-600) and max_bytes, and says when output was cut
- tool lines/results carry [step.call] labels when a step has several calls
- invalid JSON errors include a preview of what arrived
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 10925a7..be3c6b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -7,6 +7,37 @@ 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.9.0 | ||
| 11 | |||
| 12 | Driven by a field report from a real task (porting a Neovim config to Helix). | ||
| 13 | The report's most expensive problem was not a missing feature: it was one error | ||
| 14 | message covering four different failures. | ||
| 15 | |||
| 16 | ### Added | ||
| 17 | - `bash` takes `timeout_seconds` (1-600, default 120) and `max_bytes` (per-stream | ||
| 18 | output budget, 1 KiB-16 MiB, default 80 KiB), so the limits are discoverable and | ||
| 19 | adjustable instead of only discoverable by exceeding them. | ||
| 20 | |||
| 21 | ### Changed | ||
| 22 | - `bash` keeps stdout and stderr apart. When both produce output they arrive in | ||
| 23 | labelled `[stdout]` / `[stderr]` sections; stderr alone is labelled; stdout | ||
| 24 | alone is unchanged. A real error printed to stderr can no longer hide inside | ||
| 25 | ordinary output. | ||
| 26 | - A truncated result says so on its final line, next to the exit status. | ||
| 27 | - Tool lines and results carry a per-call label (`[2.1]`, `[2.2]`) when several | ||
| 28 | calls run in one step, so a result is attributable without counting order. | ||
| 29 | |||
| 30 | ### Fixed | ||
| 31 | - The `cmd` validation error covered four distinct causes with one message, and | ||
| 32 | was false about two of them. It now distinguishes: the value is empty; the key | ||
| 33 | is missing and here is what you sent instead; or the call arrived with no | ||
| 34 | arguments at all, which points at argument loss in transit and suggests a | ||
| 35 | retry. | ||
| 36 | - A named call with no arguments is no longer dropped silently. The model is told | ||
| 37 | what arrived and can retry; only nameless calls are dropped, because they | ||
| 38 | cannot be replayed to the provider. | ||
| 39 | - Invalid JSON arguments report a preview of what arrived. | ||
| 40 | |||
| 10 | ## 0.8.2 | 41 | ## 0.8.2 |
| 11 | 42 | ||
| 12 | ### Changed | 43 | ### Changed |
