Files
Netcatty/electron
陈大猫andbinaricat c01d057a7d fix(mcp): recognize Oh My Zsh ➜ idle prompts (#4079)
* fix(mcp): recognize Oh My Zsh ➜ idle prompts

Oh My Zsh robbyrussell paints idle prompts like `➜  ~` / `➜  ~ git:(main) ✗`.
The POSIX idle whitelist never matched leading Unicode ➜, so MCP
terminal_execute stayed SHELL_NOT_READY after a session switched into zsh.
Accept common robbyrussell ➜ lines (two-space theme form and `➜ ~`) and
still reject pending input and bare ➜.

Fixes #4078

* chore: retrigger CI after unrelated PluginAIContextHost flake

* chore: retrigger CI (lint-and-test hung after cancelled plugin-verify step)

* chore: empty commit to retrigger CI

---------

Co-authored-by: binaricat <binaricat@users.noreply.github.com>
2026-10-31 05:22:08 -07:00
..