Tree sync for 0.2.120: unified keyboard handling for blocking cards, appearance/theme env propagation over SSH and tmux, and /delete returning to the dashboard when you came from there.
Changelog
[changed] Blocking cards — the question card (ask_user_question), permission prompt, and cancel-turn panel — share one keyboard contract. Tab / Shift+Tab walk that card’s rows (wrapping at the ends) without leaving it; Esc clears pending state first, then parks focus in the scrollback so you can read context (permission and question) or resolves “keep running” on the cancel-turn panel. Priority when more than one is open: permission, then cancel-turn, then question. The shortcuts bar names the card that owns the keys and keeps a pinned route back (Tab / Space).
[changed] Question-card Tab stays on the current question’s answers only; it no longer walks into the next question. Cross-question moves stay on ← / → (and friends).
[new] Light/dark appearance over SSH, tmux, and headless: GROK_APPEARANCE or LC_GROK_APPEARANCE (dark / light), then COLORFGBG, then the startup OSC 11 background query. grok wrap ssh … stamps LC_GROK_APPEARANCE from the local OS theme so it survives into the remote login shell.
[new] GROK_THEME or LC_GROK_THEME forces a theme or auto without editing config.toml.
[changed] /delete still confirms and wipes the session history; it returns to the welcome screen, or to the dashboard when the session was opened from the dashboard.
Agent & tools
[changed] /delete — same confirm-and-wipe behavior; return target is welcome or dashboard depending on how you attached (see above).
Permission prompt keys are documented in full alongside the shared blocking-card contract (scope widen/narrow, always-allow edit, always-approve mode, park vs cancel).
Sessions and dashboard guides: /delete return-to-dashboard when attached from the dashboard.
Under the hood
Appearance probing and theme env wiring (including tmux-aware paths); CLI version and turn-summary env hooks.
API key probe against the xAI API; session side-call and turn-summary helpers; workspace restore-fetch and permission auto-mode security-findings path (auto-mode module split out).
Proto build debug-redact support via prost-reflect; pager focus/key-owner and error-display work; dependency bumps (indexmap, rayon) and related lockfile updates.