diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-15 15:41:46 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-15 15:41:46 +0100 |
| commit | 3b1351018d3184caa5b5ca25cc13e5da1fc02229 (patch) | |
| tree | 99bdc95ba444a5c4d2d3f09c4e5c04ff16108f8f /CHANGELOG.md | |
| parent | 0.4.4: file-tool correctness (diff) | |
| download | agent686-3b1351018d3184caa5b5ca25cc13e5da1fc02229.tar.gz agent686-3b1351018d3184caa5b5ca25cc13e5da1fc02229.zip | |
0.4.5: CLI validation, instruction scope, resume context, prompt hygiene
- session ids validated; missing flag values and conflicting flags are usage errors
- -- terminator; usage goes to stderr
- doctor sends a real session header
- sessions record their starting cwd and warn when resumed elsewhere
- AGENTS.md stops at the git root; no parent-directory injection
- typeahead flush, Ctrl-C during prompts, NO_COLOR/TERM=dumb
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 213f5f1..9c00ccb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -7,6 +7,29 @@ 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.5 | ||
| 11 | |||
| 12 | ### Fixed | ||
| 13 | - `--session ../escape` wrote outside the sessions directory; ids are now | ||
| 14 | validated as 1-64 characters of `A-Za-z0-9._-`. | ||
| 15 | - A flag with no value was silently ignored, and `--session` with an empty value | ||
| 16 | quietly created a new session. Both are usage errors (exit 2) now. | ||
| 17 | - `--` ends option parsing, so a prompt can start with `-`. | ||
| 18 | - `--continue` with `--session`, and `--list` with `--doctor`, are rejected | ||
| 19 | instead of one silently winning. | ||
| 20 | - Unknown-flag output went to stdout; usage now goes to stderr. | ||
| 21 | - `--doctor` sent an empty `x-opencode-session`, which the gateway rejects, so a | ||
| 22 | healthy key could look broken. It now sends a throwaway id. | ||
| 23 | - Resuming a session from a different directory gave the model the old `cwd` and | ||
| 24 | branch without saying so; the session records its starting directory and now | ||
| 25 | warns when it does not match. | ||
| 26 | - `AGENTS.md` was read all the way to `/`, so a stray file in a shared parent | ||
| 27 | would be injected into every project. Reading now stops at the git root, and | ||
| 28 | outside a repository only the working directory itself is read. | ||
| 29 | - Typeahead typed during streaming could answer the following approval prompt. | ||
| 30 | - Colour is now disabled by `NO_COLOR` and `TERM=dumb`. | ||
| 31 | - Ctrl-C during an approval prompt now denies instead of appearing to hang. | ||
| 32 | |||
| 10 | ## 0.4.4 | 33 | ## 0.4.4 |
| 11 | 34 | ||
| 12 | ### Fixed | 35 | ### Fixed |
