mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-09 11:10:10 +00:00
* fix: reset terminal state before interactive session handoff The stdin handoff from TS orchestration to the interactive SSH session was leaving the terminal in a dirty state, causing users to need 2+ Enter presses or random keystrokes before input worked. Three fixes: 1. Unconditionally call setRawMode(false) instead of checking isRaw first — @clack/core's close() already resets the flag but the terminal can still be dirty after multiple readline instances 2. Run `stty sane` to fully reset the terminal line discipline, undoing any damage from readline's emitKeypressEvents 3. Resume stdin instead of pausing it — Bun.spawn with stdio:"inherit" needs an active stream, a paused stdin causes the child to see blocked input Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * style: fix Biome formatting for Bun.spawnSync call Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: spawn-bot <spawn-bot@openrouter.ai> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Ahmed Abushagur <ahmed@abushagur.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| aws | ||
| daytona | ||
| digitalocean | ||
| fly | ||
| gcp | ||
| hetzner | ||
| local | ||
| shared | ||
| sprite | ||
| commands.ts | ||
| flags.ts | ||
| guidance-data.ts | ||
| history.ts | ||
| index.ts | ||
| manifest.ts | ||
| picker.ts | ||
| security.ts | ||
| unicode-detect.ts | ||
| update-check.ts | ||