Skip to content

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

Python
1.8 KB
Raw Blame

v0.0.252 (2026-08-13)

xAI joins the live-catalog club, the peer-channel spacing fix grows teeth, and the release workflow learns to survive a pre-existing release.

  • Grok models are discovered live, every load. The xAI provider spec was the last major catalog still baked into the binary. It is now enrolled in the generic /v1/models discovery (https://api.x.ai/v1/models) and marked always-live: every catalog load hits the network first, and ~/.codegraff/xai-models.json is only the offline fallback. Demand-gated so nothing hits the network without an xAI credential. Live rows replace the provider slice 1:1; omitted windows inherit from the baked table (grok-4.3-fast at the - boundary). SuperGrok device logins send X-XAI-Token-Auth: xai-grok-cli on chat and catalog GETs — the same routing header grok-build uses for user tokens — and request the frozen 10-scope OAuth set plus referrer=grok-build.
  • The #469 peer-message bracket is pinned as an event sequence. The v0.0.251 spacing fix extracted its emission into one helper (renderPeerBlock: blank, markers, lines, blank — silence for a history-only drain) with a unit test on the captured sink events, because a PTY transcript provably cannot attribute a blank line to the drain (neighbors emit their own). A new CI-wired PTY smoke test covers what the unit test can't: a device-room broadcast planted at the prompt renders as a peer line next turn.
  • The release workflow survives a release that already exists. release.yml now uploads assets onto an existing tag's release (gh release upload --clobber) with an expected-asset assertion, instead of failing into an untagged draft — the race that briefly left v0.0.251 asset-less and broke graff update with a 404.