Open-source tree sync to 1.0.12 (xai-org/grok-build): headless resume and permission-mode improvements from 1.0.11, plus reliability and worktree performance fixes in 1.0.12.
Changelog
[new] Headless sessions are browsable in the resume picker without mixing into default history.
[new] Default permission mode for new interactive sessions is configurable.
[new] Headless sessions can auto-allow permission prompts via a startup hint.
[new] Turn duration appears in session history after resume.
[new] Turn footers (Worked for, cancelled, failed) appear after /resume.
[changed] mkdir and touch no longer prompt in auto mode or safe-command lists.
[changed] Subagent messages are allowed automatically in permission Auto mode.
[changed] Worktree creation is faster by skipping stale reflog copies.
[changed] Background command waits finish as soon as the process exits.
[fix] Copying wrapped table cells no longer inserts unwanted spaces at line breaks.
[fix] MCP server connections that fail transiently retry instead of staying unavailable.
[fix] Waiting on subagents after an interjection no longer blocks on unrelated background work.
[fix] Prompt blocks show friendly hook descriptions instead of internal IDs.
[fix] Truncation error message no longer suggests asking for a shorter answer.
[fix] Context estimates for conversations with reasoning are more accurate.
[fix] Token usage after rewinding or switching modes matches the server-reported count instead of overestimating.
[fix] Context bar updates immediately when auto-compaction begins.
[fix] File system monitoring for .NET projects no longer creates excessive watchers on Linux.
[fix] Auto recap no longer appears while a background task or monitor wake turn is streaming.
[fix] Permission prompts for common command chains and subcommands are more reliable.
[fix] Blocked prompts no longer appear in conversation history or scrollback after restart.