0.2.119 — freer bash always-allow globs, Mermaid plan actions, sturdier gateway/auth recovery, and faster /btw and doctor startup.
Changelog
[changed] Always allow for bash commands now lets you edit a free-form glob pattern instead of only word-prefix scopes.
[new] Long responses show a clickable arrow that jumps back to the start of the answer.
[changed] Auto mode auto-approves more common read-only git commands and harmless file appends.
[new] Plan previews show Mermaid diagram buttons (Open Image, Copy Image Path, Copy Source).
[fix] Gateway connections detect and recover from dead sockets more reliably.
[fix] Expired external auth provider credentials correctly trigger the interactive sign-in flow instead of a silent 401 loop.
[fix] Question cards let you Tab through answers instead of losing focus to the scrollback.
[fix] Resume picker no longer tries to load a session from pasted garbage when you press Enter.
[fix] Background task completion messages no longer grow unbounded when the task produced a huge log.
[fix] Plan viewer scrollbar responds to clicks on the border column and renders without dark stripes in Terminal.app.
[changed] /btw side questions reuse the parent session’s cached prefix for faster responses.
[changed] Doctor and tmux-backed startup are faster when no live tmux processes remain.
Agent & tools
/btw: side questions reuse the parent session’s cached prefix, so follow-ups land sooner under load.
Auto mode: broader auto-approval for common read-only git commands and harmless file appends.
Bash always-allow: scope editing accepts free-form globs, not only word-prefix patterns.
Docs
External auth provider docs (shell-README, authentication guide) spell out the two run contracts: GROK_AUTH_EXPIRED=1 is a short headless refresh (mint silently or exit non-zero; never block), and unset is a full interactive sign-in with a longer budget and visible stderr. Log lines and the leader-mode edge case are documented to match.
Configuration guide: [hints] no longer documents project_picker_disabled (picker path removed from the tree).
Monitoring guide: grok_code.skill_activated now records trigger (slash_command | skill_md_read | skill_tool).
Under the hood
Package set bumped to 0.2.119 (xai-grok-shell, pager, version crates); lockfile churn includes dropping [email protected].
If you ship a custom external auth binary: on GROK_AUTH_EXPIRED=1, exit non-zero when a silent refresh cannot succeed. Blocking there delays handover to the interactive sign-in screen (headless refresh is only given a few seconds).