Open-source tree sync to 1.0.10 (xai-org/grok-build): faster grok clone via linked worktrees, plus the 1.0.9 TUI, workflow, MCP, and permissions polish.
Changelog
[changed] grok clone reuses a matching local checkout as a linked worktree instead of always fetching from the network, for faster session creation.
[changed] grok clone defaults to a depth-1 checkout of the selected branch tip; pass --full-history for a full clone.
[changed] Interactive TUI sessions default to ask permission mode again (auto remains available when you want fewer approval prompts).
[new] /feedback accepts image attachments (screenshots and similar).
[changed] The / slash menu is ordered by recency and groups skills below commands.
[new] /workflow accepts --agent-budget N / agent_budget and --effort LEVEL / effort for child-agent limits and reasoning effort.
[new] Workflows appear alongside skills in the model prompt so the agent can launch them by name.
[new] Dashboard can start new agents in Auto mode via Shift+Tab.
[changed] /edit-prompt opens an external editor from the full TUI, not only minimal mode.
[changed] /minimal and /fullscreen switch instantly in a running session without restarting or losing the current turn.
[changed] The configurable status line row shows at the bottom of minimal mode as well as fullscreen.
[new] /plugin is an alias for /plugins; plugin-provided agents appear in the /agents modal and can be toggled.
[changed] Up arrow on an empty prompt selects queued follow-ups before opening history.
[new] MCP servers send a grok-cli User-Agent so providers can attribute traffic.
[fix] Subagent tasks retry through temporary rate limits instead of failing immediately.
[fix] Narrow Bash allow rules correctly permit file writes without extra prompts.
[fix] Rules that contain markdown headings render correctly in the prompt.
[fix] /new and /clear keep the last-chosen reasoning effort instead of resetting to the model default.
[fix] Prompt dropdowns (slash, history, file search) align consistently with the composer; hint text lines up with typed input.
[fix] History lists every command, slash command, and memory note in typed order.
[fix] Collapsed tool-call rows no longer draw a vertical accent beside the status diamond.
[fix] Esc while peeking a conversation from the dashboard closes open modals instead of leaving the view.
[fix] /copy keeps markdown structure such as headings and code fences.
[fix] Sending a new message while a shell command runs backgrounds the command instead of cancelling it.
[fix] grok mcp add treats bare http(s):// URLs as HTTP servers, not stdio commands.
[fix] Plan mode no longer blocks subagent spawns as edits outside plan.md.
[fix] MCP servers that share a URL but differ by name stay separate entries.
[fix] Subagents and workflow-spawned agents no longer receive the top-level-only workflow tool.
[fix] Memory results are framed as historical context to verify against live sources before use.
[fix] Minimal mode no longer truncates subagent wake-turn replies after the first token.
[changed] Concurrent subagents avoid burst rate-limit errors; MCP connections no longer delay startup when many servers are configured.
Workflow tool visibility limited to top-level sessions; child/workflow-spawned agents do not get it.
Plugin agents surface in /agents; /plugin aliases /plugins.
MCP client identifies as grok-cli via User-Agent; form/URL consent paths unchanged from prior popup behavior.
New env knobs include GROK_DEFAULT_PERMISSION_MODE for the default permission mode.
Docs
New guide: grok clone user-guide section covering depth-1 Grove clones, --full-history, and safe deepen/switch fetch patterns (27-grok-clone.md).
Getting started documents grok clone when Grove [clone] enabled = true.
Permissions and agent-mode docs state interactive default ask, with auto opt-in.
Config reference: features.two_pass_compaction default is now true.
Hooks/folder-trust: trust covers subdirectories of the same repository; a nested git checkout is a separate workspace.
User-guide index lists the grok clone chapter.
Under the hood
Package set bumped to 1.0.10 (xai-grok-pager, xai-grok-shell, xai-grok-version, and related bins).
Workspace crate dependency builds with default-features = false at the workspace root.
Session picker / PTY mouse-filter and text sanitization paths landed for TUI reliability; MCP failed-reminder and session visibility helpers added on the shell side.
Upgrade notes
Permission default: interactive sessions start in ask unless you set auto (Shift+Tab, /settings, permission_mode, --permission-mode, or GROK_DEFAULT_PERMISSION_MODE).
grok clone: expect shallow branch-tip clones by default; use --full-history when you need full history/tags/all refs. Linked worktrees are used when a matching local checkout exists. Shallow clone needs a Grove daemon that supports clone_shallow.
features.two_pass_compaction: default is true (was false); pin or set GROK_TWO_PASS_COMPACTION if you need the old behavior.
Build: root Cargo.toml disables default features on xai-grok-workspace; keep that in mind if you re-enable workspace features locally.