Skip to content

graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs

Python

release: v0.0.285 — native follow-tail, prompt queue, #721

Rach Pradhaneab120d1c3a2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0615b167..0112eacf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,19 @@ The release workflow uses a tag's section here as its release notes (a
hand-written `docs/releases/<tag>.md` wins if present), so keeping this file
current is part of cutting a release.
+## v0.0.285 (2026-09-03)
+
+- Native transcript follow-tail only while the reader is at the bottom.
+ Scrolling up mid-stream no longer yanks the thread (#724).
+- Follow-ups typed while a turn is running queue and drain in order when
+ it ends. The composer stays usable; stop stays on an empty draft.
+- Native tools interleave with the answer instead of stacking above it;
+ settled tool batches fold; ACP patches paint once per frame.
+- `#721`: `workspace` switch stars and reports the process cwd.
+- TUI streams the live answer instead of a Thinking placeholder while
+ tokens arrive.
+- 284 stays published as-is. This is not a retag.
+
## v0.0.284 (2026-09-01)
- ACP turns stage GUI `@[image]` attachments as native vision blocks so
diff --git a/docs/releases/v0.0.285.md b/docs/releases/v0.0.285.md
new file mode 100644
index 00000000..0be9ae9a
--- /dev/null
+++ b/docs/releases/v0.0.285.md
@@ -0,0 +1,86 @@
+# v0.0.285 (2026-09-03)
+
+Next cut after [v0.0.284](v0.0.284.md). The headline is the native app
+behaving like a chat you can actually read: scrolling up while the
+agent is writing no longer yanks the transcript, follow-ups typed
+during a turn queue instead of vanishing, and tool rows land in the
+answer instead of as a wall on top.
+
+284 stays published as-is. This is not a retag.
+
+## What this cut is
+
+graff is still one static Zig binary that turns the AI subscriptions you
+already pay for into an agent on your machine — same `Agent` type on the
+line REPL, the fullscreen TUI, `graff acp`, and the native GUI. 285 is
+the native/TUI polish that landed after the 284 tag:
+
+- scrolling the native transcript during a stream was impossible — every
+ token pinned the viewport to the tail
+- sending a follow-up while a turn was running was a no-op
+- tool chips rendered as a stack above the answer
+- `workspace` switch could star the wrong tree and report a stale cwd
+- the TUI hid the live answer behind a Thinking placeholder
+
+Those are all closed.
+
+## Scroll away while it writes (#724)
+
+The native thread followed the tail with a large near-bottom magnet, so
+a short scroll never escaped — the next token jumped you back. Follow
+now pins only while the reader is actually at the tail. Scrolling up
+pauses it; returning to the bottom resumes. The pin uses the scroller
+offset, not `scrollIntoView` (that realigned the whole WKWebView every
+frame).
+
+## Queue a follow-up while a turn is running
+
+The composer stayed disabled for the whole turn, so the next prompt was
+dropped. It now stays open. Enter with text queues the line (shown above
+the bar, removable). Queued prompts drain in order when the turn ends.
+An empty draft still shows stop.
+
+## Tools in the answer, not a wall on top
+
+Tool chips and text now follow the wire order instead of dumping every
+tool first. Settled batches fold; the live row stays open. ACP patches
+coalesce to one paint per frame so a long thread does not re-parse
+every settled markdown block on each token.
+
+## Workspace switch reports the process cwd (#721)
+
+`workspace` could star a tree the process had not entered, and the
+status line could disagree with cwd. Switch now compares real paths and
+reports the process cwd after enter.
+
+## TUI live answer
+
+While tokens arrive, the TUI shows the live answer instead of a
+Thinking placeholder. `codedb` rows use the lookup family so they are
+not a blank Read chip.
+
+## Tests
+
+Suite floor stays the 284 ratchet. Native follow-tail and prompt-queue
+helpers are covered in the native unit suite.
+
+## Downloads
+
+All six CLI archives, the curl installer, and checksums:
+
+| File | Platform |
+|---|---|
+| [graff-aarch64-linux.tar.gz](https://github.com/justrach/codegraff/releases/download/v0.0.285/graff-aarch64-linux.tar.gz) | Linux arm64 |
+| [graff-aarch64-macos.tar.gz](https://github.com/justrach/codegraff/releases/download/v0.0.285/graff-aarch64-macos.tar.gz) | macOS Apple Silicon |
+| [graff-aarch64-windows.tar.gz](https://github.com/justrach/codegraff/releases/download/v0.0.285/graff-aarch64-windows.tar.gz) | Windows arm64 |
+| [graff-x86_64-linux.tar.gz](https://github.com/justrach/codegraff/releases/download/v0.0.285/graff-x86_64-linux.tar.gz) | Linux x86_64 |
+| [graff-x86_64-macos.tar.gz](https://github.com/justrach/codegraff/releases/download/v0.0.285/graff-x86_64-macos.tar.gz) | macOS Intel |
+| [graff-x86_64-windows.tar.gz](https://github.com/justrach/codegraff/releases/download/v0.0.285/graff-x86_64-windows.tar.gz) | Windows x86_64 |
+| [install.sh](https://github.com/justrach/codegraff/releases/download/v0.0.285/install.sh) | curl installer |
+| [SHA256SUMS](https://github.com/justrach/codegraff/releases/download/v0.0.285/SHA256SUMS) | checksums for the six archives |
+
+```bash
+curl -fsSL https://github.com/justrach/codegraff/releases/download/v0.0.285/install.sh | bash
+```
+
+GitHub also attaches the usual source zip/tarball for the tag.
diff --git a/src/cli.zig b/src/cli.zig
index 6a9d922f..8675bfbd 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -21,6 +21,13 @@ const harness_version = root.harness_version;
pub const changelog_text =
\\What's new
\\──────────
+ \\0.0.285
+ \\ • native transcript stays put when you scroll up mid-stream; return to the tail to follow again (#724)
+ \\ • follow-ups typed while a turn is running queue and send when it ends
+ \\ • native tools land in the answer, not as a wall on top; settled batches fold
+ \\ • workspace switch stars and reports the process cwd (#721)
+ \\ • TUI streams the live answer instead of a Thinking placeholder
+ \\
\\0.0.284
\\ • ACP turns stage GUI @[image] attachments as native vision blocks — pasted images reach the model
\\ • peer inbox wake is advisory ("parked; read when relevant"), never a command that displaces the turn
diff --git a/src/libgraff.zig b/src/libgraff.zig
index c667c39a..c449ddac 100644
--- a/src/libgraff.zig
+++ b/src/libgraff.zig
@@ -76,7 +76,7 @@ export fn graff_acp_create(new_seed: u32) void {
session_id = null;
seed = if (new_seed == 0) 1 else new_seed;
engine.cancel_flag.store(false, .release);
- engine.implementation_version = "0.0.284-core";
+ engine.implementation_version = "0.0.285-core";
}
export fn graff_acp_feed(len: usize) i32 {