graff — a fast agentic coding harness in Zig: multi-provider, MCP, workflows, DGM evolution loop, TS/Python SDKs
Python
Prepare v0.302.48
Rach Pradhana2468717926b
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex e9a1564b..12bfed27 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -10,11 +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.-## Unreleased+## v0.302.48-- oMLX is a built-in local provider (`omlx`, `127.0.0.1:8000`). Set its key with `graff key set omlx <key>` or `OMLX_API_KEY`. `graff models` lists the models it serves, `--model omlx` starts on the first one, `/effort` is sent as `reasoning_effort`, and it is billed as local.+- oMLX is a built-in local provider (`omlx`, `127.0.0.1:8000`). Set its key with `graff key set omlx <key>` or `OMLX_API_KEY`. `graff models` lists the models it serves, `--model omlx` starts on the first one, `/effort` is sent as `reasoning_effort`, and it is billed as local (#1695).- Live model catalogs read a `max_model_len` context window, which oMLX and vLLM-style servers report.- When a local server refuses the connection, the failed turn names its URL, so a stopped server is easy to spot.+- Compaction state is counted by the provider's own measure after the first full request that carries it, so a large state blob no longer reads as far over the compaction point and compacts every turn (#1686).+- Retains all changes from v0.302.47.## v0.302.47diff --git a/docs/releases/v0.302.48.md b/docs/releases/v0.302.48.mdnew file mode 100644index 00000000..b8ac88c3--- /dev/null+++ b/docs/releases/v0.302.48.md@@ -0,0 +1,7 @@+# v0.302.48++- **oMLX is a built-in local provider.** `--model omlx` talks to the oMLX app's OpenAI-compatible server on `127.0.0.1:8000` from any directory, with no `.graff/.config.router`. Store its key with `graff key set omlx <key>` or set `OMLX_API_KEY`. `graff models` lists the models oMLX serves, a bare `--model omlx` starts on the first one, `/effort` and ACP thought levels are sent as `reasoning_effort`, and calls are billed as local (#1695).+- **Local model windows come from the server.** Live model catalogs read `max_model_len`, which oMLX and vLLM-style servers report, so a local model gets its real context window instead of the 200k fallback.+- **A stopped local server is named.** When a loopback server refuses the connection, the failed turn ends with the URL it tried.+- **Compaction counts opaque state by the provider's own measure.** Compaction state was estimated at bytes / 16, so a large blob could read as several times its real size and keep the context over the compaction point, compacting every turn (#1686). After a full request that carries the state, its share of the provider's reported input replaces the estimate for that state.+- Retains all changes from v0.302.47.diff --git a/src/cli.zig b/src/cli.zigindex 12678630..7ea5680d 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.48+ \\ • oMLX is a built-in local provider: --model omlx+ \\ • compaction counts opaque state by the provider's own measure+ \\ • a stopped local server is named in the failed turn+ \\\\0.302.47\\ • compaction waits instead of repeating when it can't make room\\ • the shared-tree checkpoint lets a re-issued call through