Grok Build — June 2026 Releases

54 releases in June 2026.

What's new in Grok Build, June 2026

Grok Build adds Mermaid diagram rendering, --json-schema, sandbox deny rules and /recap

Grok Build in June 2026 added in-terminal Mermaid diagram rendering, a --json-schema flag for headless mode, file-level sandbox deny rules and a /recap command. Fifty-four releases shipped, from v0.2.23 to v0.2.76.

Mermaid support grew across many releases: flowcharts, sequence, state, class and ER diagrams now render in the TUI, and an Open Image button handles wide ones. Session handling also changed: /resume lists the current repo's sessions first, grok sessions delete <id> removes a session, and grok login now defaults to device code flow for SSH, WSL and VPN setups. On the MCP side, grok mcp add accepts positional arguments, --scope project and -e/-H flags, and host-provided MCP servers can change without restarting the session. Auto permission mode now leads the Shift+Tab cycle and is on by default. The rest was fixes for compaction, resume, clipboard (Wayland, KDE, SSH via grok wrap), Windows hangs and queue ordering.

  • Mermaid flowcharts, sequence, state, class and ER diagrams now render in the terminal (v0.2.44 to v0.2.52)
  • -json-schema flag constrains headless model output to a supplied JSON Schema (v0.2.67)
  • Custom sandbox profiles can kernel-deny specific files and directories for reads and writes (v0.2.66)
  • grok mcp add takes positional arguments, --scope project and -e/-H flags (v0.2.51)
  • Auto permission mode is added to the top of Shift+Tab cycles and enabled by default (v0.2.76)
  • grok login defaults to device code flow, which works in SSH, WSL and VPN environments (v0.2.34)

Upgrading from v0.2.16? See every change through v0.2.79.

Grok Build full changelog