Length-truncated responses and tool calls now continue automatically instead of failing the turn, and transient inference failures (stalls, drops, 5xx) retry instead of ending it. Hooks can also ask for confirmation on tool calls; pasted images preview live on iTerm2.
Grok Build
AI coding agent for the terminal (Grok CLI).
npx @buildinternet/releases get grok-buildMCP server connections that fail transiently now retry instead of staying unavailable, and copying wrapped table cells no longer inserts unwanted spaces at line breaks. Also fixes subagent waiting, prompt block descriptions, and token usage reporting.
- Headless sessions are browsable in the resume picker without mixing into default history
- Default permission mode for new interactive sessions is configurable
- Turn duration appears in session history after resume
- Turn footers (Worked for, cancelled, failed) appear after…
/workflow now accepts --agent-budget and --effort to limit child agents, and /minimal and /fullscreen switch instantly without losing the current turn. grok clone fetches only the branch tip by default with optional worktree reuse, and subagent tasks retry on rate limits instead of failing.
grok clone now reuses matching local checkouts as linked worktrees, making session creation faster.
MCP servers can now request form input or URL consent through the same popup used for questions, and Ctrl+S stashes a prompt draft for later. Concurrent subagents start much faster without freezing the parent session, and opening many subagents at once no longer freezes the interface while loading history.
New /workflows command and Workflows tab in the extensions modal list and manage workflows, while /workflow runs shows live runs. Permission prompts now include Always allow and Never allow options, with a persistent Never allow choice for MCP tools and web-fetch domains; also fixed MCP server auth in non-interactive sessions and startup timeouts from concurrent auth refreshes.
Session startup no longer hangs on large or unhealthy git repositories, and queued messages during goals no longer starve with reliable prompt editing mid-queue. Prompt editing now supports shift+arrow text selection, an optional status line can show live session info at the pager's bottom, and grok clone can fetch a repo into a content store with a projected working tree. Also fixed Ctrl+C-then-edit removing original text, double-click terminal results showing full output, stricter consent notice links, and clearer video storage errors.
Launchers can now override config settings via GROK_CONFIG and GROK_CONFIG_PATH environment variables, and tool calls no longer fail for the rest of a session if /dev/null is removed. Adds safeguards around automatic worktree reclamation, clearer hook-policy blocking messages, and better Arabic/Persian text reordering in the terminal UI.
Web search can now be restricted to allowed or excluded domains via [toolset.web_search] in config.toml. A new Follow-up Behavior setting lets queued messages steer immediately, and queued messages no longer auto-submit while still being edited. Includes numerous stability fixes for sessions, subagents, and terminal input handling.
Subagent spawning is much faster when you have many sessions in ~/.grok, and TUI rendering now automatically matches high-refresh displays (120 Hz+). /session-info rows are now clickable to copy values, with a copy-all shortcut.
Fixed compaction limits for large sessions with images, and recovered the ability to use sessions after server-rejected images. Worktree copies of large repos no longer inherit unsafe fetch specs or stale shallow grafts, and startup timeout messages now include step details and actionable advice.
Subagents bounded; /rewind scoped to history only
Breaking (minor)Subagent spawning is now bounded with wide fan-outs queuing instead of exhausting file descriptors, /rewind only truncates conversation history (not files) and asks for confirmation by default, and sandbox /** entries now grant the parent directory. Also adds a grok du disk-usage command, read-only tool reporting for safer restricted agents, and fixes for git-status CPU/memory spikes and large-session resume stalls.
MCP tools that return images no longer drop or corrupt large screenshots, and Markdown tables reflow instead of clipping on narrow panes. Also fixes a codebase restore hang, a login skip with an invalid API key, and memory spikes when forking large sessions.
Model picker now updates the status bar and /model menu immediately, even before the first prompt creates a session. Background task completions consume less memory over ACP.
Always-allow for bash commands now supports free-form glob patterns instead of only word-prefix scopes. Expired external auth provider credentials trigger interactive sign-in instead of a silent 401 loop, and background task completion messages no longer grow unbounded for huge task logs.
Users can now permanently delete sessions from the dashboard or welcome list, and pressing Ctrl+/ opens a keyboard shortcuts help window. Ctrl+C during /compact cancels the operation instead of being ignored, and /btw retries on temporary model overload instead of failing immediately.
Headless streaming output now supports tool calls, results, and usage via --output-format streaming-json. Fixed repeated forced re-logins after laptop sleep or network hiccups during token refresh, plus a new /undo slash command, and slash commands are hidden or refused in minimal/fullscreen mode based on their declared support.
GROK_EXTRA_CA_BUNDLE env var allows adding custom TLS root certificates, and the stop command now terminates all background subagents from prior turns. Terminal resize is much faster on long conversations in fullscreen mode.
Fixed chat history corruption that could duplicate tool results or cause 400 errors, and infinite redirect loops in embedded previews when the browser blocks a required cookie. Also fixes incorrect tool-result nudge text, auth provider commands on Windows, and language server crashes for C# diagnostics.