graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Prepare v0.302.45
justrach68d59ca1d76f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bf24d951..b666038d 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,6 +10,13 @@ The release workflow uses a tag's section here as its release notes (ahand-written `docs/releases/<tag>.md` wins if present), so keeping this filecurrent is part of cutting a release.+## v0.302.45++- Reports what graff kept out of the model's context (tool output kept in handle files, tokens freed by compaction, provider cache reads) on the ACP context meter as `_meta["codegraff/savings"]`; Harness shows it next to its context meter.+- `render_html` now reports a page as saved and ready to open, never as displayed, and its description no longer promises inline display.+- `workspace use` says project instructions follow the tree; the instructions update names the directory its file came from, and a switch is noticed even when both files match in size and time.+- Retains all changes from v0.302.44.+## v0.302.44- Adds an experimental Worker-native Zig/Wasm chat step with explicit host tools and remote sandbox cleanup.diff --git a/docs/releases/v0.302.45.md b/docs/releases/v0.302.45.mdnew file mode 100644index 00000000..3a02fb38--- /dev/null+++ b/docs/releases/v0.302.45.md@@ -0,0 +1,6 @@+# v0.302.45++- **Context savings on the meter.** The ACP `usage_update` now carries `_meta["codegraff/savings"]` once any count is nonzero: tool-result bytes kept in handle files instead of the conversation, estimated context tokens freed by compaction or an emergency trim, and input tokens the provider served from its prompt cache. They are measured counts for the process, not a model of what another agent would have spent. Harness shows them next to its context meter.+- **`render_html` says saved, not shown.** The tool result reports the page as saved and asks the model to say it is ready to open. No client acknowledges display, and a client that shows no views gets the same line. The `[Rendered view](path)` prefix and the `graff/view` metadata are unchanged.+- **`workspace use` and project instructions.** The tool now says instructions follow the tree you switch to, which is what hot context does. The `core/instructions` update names the directory its file came from, and the change probe notices a switch even when both files match in size and modification time.+- Retains all changes from v0.302.44.diff --git a/src/cli.zig b/src/cli.zigindex 94db03e2..c0fb5d13 100644--- a/src/cli.zig+++ b/src/cli.zig@@ -24,6 +24,11 @@ const update_target = @import("update_target.zig");pub const changelog_text =\\What's new\\──────────+ \\0.302.45+ \\ • ACP context meter reports what graff kept out of context+ \\ • render_html says a page is saved, not displayed+ \\ • workspace use: instructions follow the tree you switch to+ \\\\0.302.43\\ • updated subscription context capacity avoids premature compaction\\ • model catalog and ACP usage updates report the same window