From d64e8a21565c333a2a35ca06984ad460dd2381d5 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 15:25:33 +0100 Subject: 0.2.0: streaming line-range reads read seeks to offset with a buffered reader and consumes over-long lines without keeping them: 16 MB RSS on a 200 MB file, 0.8s to line 999000. Adds CHANGELOG and the versioning policy. --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 CHANGELOG.md (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f68a04f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,32 @@ +# Changelog + +Versioning: **MAJOR** for API-breaking changes, **MINOR** for features that do not +break the interface, **PATCH** for bug fixes. + +"Interface" means: CLI flags and their meaning, the session file format, the config +file, and the tool schemas the model sees. Anything a script or a resumed session +could depend on counts as API. + +## 0.2.0 + +### Added +- `read` streams instead of loading the whole file. It seeks to `offset` with a + buffered reader and consumes long lines without keeping them, so memory stays + flat: 16 MB RSS reading a 200 MB file at any offset, 0.8 s to reach line + 999,000. +- Single lines longer than 4 KiB are clipped and marked `…(line truncated)`. + +### Changed +- The truncation marker is now `… more lines; continue with offset=N`. + +## 0.1.0 + +Baseline: the harness as first built, before versioning was defined here. + +- Streaming provider client for OpenCode Go (`chat/completions`), stable + `x-opencode-session` header, retry with backoff. +- Append-only JSONL sessions, `--continue`, `--session`, `--list`. +- Six tools: read, write, edit, bash, grep, glob. +- Approval: first edit of a session with a diff, every bash call. +- Line editor with history and bracketed paste. +- i686 release gate: `GLIBC_2.34` required, verified on `linux/386 debian:12`. -- cgit v1.2.3