Skip to content

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

Python

docs(release): fold stream-with-answer into v0.0.285 notes

Cursor Agentea345035250b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5a94d836..05ac97c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -22,6 +22,12 @@ current is part of cutting a release.
- TUI mid-turn steer / `/btw` now bakes composer `[Image #N]` chips into
the queued payload as `@[path]`. Previously only the typed text was
queued, so the follow-up turn dropped the pixels.
+- Native + TUI: tools stream with the answer instead of landing as a
+ wall on top. Native pins the scroller (no WKWebView jitter),
+ interleaves chips at the text cursor, and collapses a settled batch
+ to “Explored N”. TUI drops the Thinking row once tokens arrive and
+ paints the live stream as the reply; codedb folds as “Looked up N
+ items”. `scrollback.zig` stays under 600 via `TUI/livetail.zig`.
## v0.0.284 (2026-09-01)
diff --git a/docs/releases/v0.0.285.md b/docs/releases/v0.0.285.md
index b1eb4ce3..fc0f1948 100644
--- a/docs/releases/v0.0.285.md
+++ b/docs/releases/v0.0.285.md
@@ -40,6 +40,21 @@ never staged `@[path]` pixels. Queueing now prefixes the same `@[path]`
markers a normal send uses, clears the chips, and an image-only Enter
queues the chip instead of treating empty text as “force interrupt”.
+## Tools stream with the answer
+
+Folded from `main` after the 285 branch (`0fb41c0`, `1632b0d`).
+
+On the native app, tool chips used to stack as a wall above the
+reply, and `scrollIntoView` jittered WKWebView. The thread scroller
+is pinned; chips interleave at the text cursor they landed on; a
+settled batch collapses to “Explored N”; markdown list numbers stay
+with the source.
+
+On the TUI, once tokens arrive the pending Thinking row goes away and
+the live stream paints as the assistant reply. `codedb` folds as
+“Looked up N items”. Live-tail helpers moved to `TUI/livetail.zig` so
+`scrollback.zig` stays under the 600-line ceiling.
+
## Tests
This fold adds `shouldReanchorRequest requires a rejected
diff --git a/src/cli.zig b/src/cli.zig
index 07e9be3b..453d69c6 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -25,6 +25,7 @@ pub const changelog_text =
\\ • Codex WS type:error retires the socket immediately; last_api_error stays bounded (#717)
\\ • chain re-anchor only when the rejected body sent previous_response_id
\\ • TUI steer / /btw queues composer image chips with the text, not text alone
+ \\ • tools stream with the answer (native chips + TUI live reply; codedb “Looked up N”)
\\
\\0.0.284
\\ • ACP turns stage GUI @[image] attachments as native vision blocks — pasted images reach the model