spawn/cli/src
A ed7ebedde4
fix: clean up stdin/TTY state before interactive session handoff (#1790)
After provisioning, @clack/prompts and readline leave stdin with stale
listeners, raw mode, and buffered input. This causes flaky keyboard input
in the interactive SSH session. Add prepareStdinForHandoff() that closes
the shared readline, removes all stdin listeners, resets raw mode, and
pauses stdin before launching the child process.

Co-authored-by: lab <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-23 01:56:49 -05:00
..
__tests__ feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
aws refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
daytona refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
digitalocean refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
fly refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
gcp refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
hetzner refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
local fix: use getSpawnDir()/getConnectionPath() in all cloud providers (#1774) 2026-02-22 19:27:21 -08:00
shared fix: clean up stdin/TTY state before interactive session handoff (#1790) 2026-02-23 01:56:49 -05:00
sprite fix: replace instanceof Error with hasMessage() duck-typing in SSH retry paths (#1785) 2026-02-23 00:57:03 -05:00
commands.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
flags.ts fix: extract flags module to fix KNOWN_FLAGS drift in tests (#1757) 2026-02-22 18:10:07 -05:00
guidance-data.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
history.ts refactor: extract saveVmConnection to history.ts (#1788) 2026-02-23 01:56:48 -05:00
index.ts fix: Result monad for retry logic — prevent duplicate server creation (#1771) 2026-02-22 20:39:42 -05:00
manifest.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
picker.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00
security.ts chore: harden biome lint rules and auto-fix codebase (#1759) 2026-02-22 14:37:47 -08:00
unicode-detect.ts fix: Switch build target from node to bun to fix UTF-8 mojibake 2026-02-10 09:36:28 +00:00
update-check.ts feat: ban as type assertions, add runtime schema validation with valibot (#1775) 2026-02-22 18:50:53 -08:00