mirror of
https://github.com/stablyai/orca.git
synced 2026-10-28 16:02:55 +00:00
Three fixes from review of the first commit: - Desktop advertised `/resume` in its `/` menu but never revealed the TUI the picker draws in, so the new entry led to the same dead end it removes on mobile. The chat view — the only layer that knows it is covering the terminal — now owns that decision, through a hook that also keeps the local `Ran /x` marker. It covers both desktop dispatch paths and agents with no session-option catalog behind them. - The mobile reveal toggled the view from a render-snapshot guard while the toggle itself reads live state. A send resolving after the user switched to the terminal would flip them back into chat, hiding the picker and pinning the tab there. Added an idempotent `showTabTerminalView` and used it. - An ack-lost send returned before the reveal. Those usually did land, so the picker was open and invisible on exactly the flaky links this bug came from.