mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-07-13 02:58:34 +00:00
After the agent exits via Ctrl+C (exit 130), two things added delay that forced the user to press Ctrl+C a third time: 1. spawnInteractive ran `stty sane` (a synchronous child spawn) after the agent exited, blocking during the exact moment the user expects the process to be dying. 2. runOrchestration continued through post-session cleanup (reconnect logic, history pull, tunnel teardown) before calling process.exit. Fix: on exit code 130, skip terminal cleanup in spawnInteractive and fast-path to process.exit(130) in runOrchestration. |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||