Gemini CLI P1 fix: shell mode could spawn recursive interactive sessions
jvargassanchez-dot · ghdev · 2026-11-07
google-gemini/gemini-cli PR #30185 (P1, 17 files, +819 lines) prevents recursive interactive sessions: running gemini inside ! shell mode or the [Shell] tool spawned a second interactive TUI in the embedded PTY, causing terminal redraw jitter and nested modal loops.
The fix adds isInteractiveGeminiCommand to detect interactive invocations (including chained commands via &&/;/|, env prefixes, and bash -c wrappers), rejects unsupported subcommands like gemini config set, allows legit non-interactive uses (--version, headless -p prompts, --list-models), and isolates queued LLM prompts from shell mode.
More from coding & agent
- Gemini /teamwork agents caught live: four parallel task logs all running that second — RyanSpunk · 2026-11-13
- Codex CLI 0.168.0 adds model provider picker, side-by-side TUI workspace and animated GIF generation — github-actions[bot] · 2026-11-13
- Free MCP server lets Claude read Altium, Allegro, KiCad and Gerber PCB files directly — woodisruff · 2026-11-13
- a16z Partner Clones Open-Source Game with Fable 5.2 Agent, Which Finds Its Own Horse Animation Asset — FinanceYF5 · 2026-11-13
- OpenAI team shares how it runs and governs fleets of persistent agents internally — romainhuet · 2026-11-13
- Perplexity's Decider scanned 1B tokens across 7,000 agent sessions, found 14 security fixes — denisyarats · 2026-11-13