mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 18:37:24 +00:00
After a --resume that finds no conversation, the fallback typed the fresh
command with terminal.send { enter: true }. On the host an Enter send waits
for the launched Claude's composer (watchLaunchComposer, 8 s default),
which never comes once Claude exited to the shell, and is then refused:
the 5 s request timed out and nothing was written, leaving a bare shell.
- Send the Enter inside the text (same bytes, no composer gate).
- Treat a refused send as a failed try; 20 s timeout, up to 3 tries, and
re-read the tail before each retry so nothing is typed twice.
- If every try fails, show Couldn't restart (hostUnresponsive) so the
person can Try again, instead of leaving the pane quiet.