Skip to content
  • Tech Dev NotesTech Dev Notes
Apps
  • Lookup
  • Compare
Market movement
  • Charts
  • Rankings
Visual proof
  • Screens
  • Store listings
  • Icons
Stacks and releases
  • Tech stacks
  • Tool releases
  • Developers
More
  • X feature flags
  • Grokipedia
  • Grok companions
  • Blog
  • Follow on X
ChartsRankingsMoversCompareLookupScreensTech stacksReleases

© 2026 Tech Dev Notes

RSSAboutAPIStatusSecurityPrivacyTermsSitemap@techdevnotes
Grok Build

xAI · CLI

Grok Build 1.0.13

1.0.12→1.0.13·August 28, 2026 at 11:37 PM UTC

Patch release 1.0.13: headless --memory-flush, richer PreToolUse hook decisions (ask, defer, additionalContext), and shell-completion / help polish.

Changelog

  • [new] --memory-flush — In headless mode, run a memory flush after the turn (or instead of a prompt when resuming). Calls x.ai/memory/flush and waits for the flush LLM. Prefer this over sending /flush as -p text, which is not a reliable trigger.
  • [new] PreToolUse hook decisions: ask and defer — Settings-file hooks (command and HTTP) can return ask to force a permission prompt that names the hook and reason, or defer to leave the call on the normal permission path with no opinion. ask overrides always-approve, auto mode, saved “always allow” grants, and safe-command shortcuts (but not a client that auto-answers every prompt). It cannot widen a hard deny, auto-mode block, or plan-mode gate. In dontAsk mode, an ask turns an otherwise-approved call into a denial.
  • [new] PreToolUse additionalContext — Settings-file hooks can attach a note for the model. It is delivered after the tool call runs (with that batch’s results), wrapped in the harness reminder tag and labeled with the hook name. Multiple hooks’ notes are all delivered in run order; denies drop them; text over 10,000 characters is clipped.
  • [changed] Hook decision precedence and docs — Canonical hookSpecificOutput.permissionDecision wins when present; top-level decision applies only when it is absent. Deny/ask reasons prefer permissionDecisionReason, then reason. SDK-registered PreToolUse hooks still only allow or deny; ask, defer, and additionalContext from the SDK are ignored. Non-zero exits keep a deny but drop updatedInput and additionalContext. User guide updated accordingly.
  • [changed] Shell completions — bash, zsh, fish, elvish, and PowerShell completions include --memory-flush and refreshed option help.
  • [changed] CLI help wording — Minor clarification on grok wrap (forwards OSC 52 to the system clipboard) and related completion blurbs for resume matching, compaction mode, background wait timeout, minimal UI, relay-on-demand, worktree salvage, clone --full-history, and workspace start.

Under the hood

  • Headless memory flush is wired end-to-end against the memory flush API.
  • Session/ACP turn handling was reworked (cancel paths, turn tasks, message delivery, summary writes, turn completion, worktree cleanup).
  • New optional controls: GROK_TURN_TRANSIENT_RETRY and GROK_LENGTH_SALVAGE.
  • MCP auth-status handling and session-end telemetry groundwork.
  • Internal gboom game code moved into its own crate; pager input/search pieces reorganized under the render stack.
  • Remote model-source support extended (OpenAI-compatible path).
Older release← 1.0.12Newer release→ 6cb9ca9f87d4
All Grok Build releases →