fix: use pipe+close for fly ssh stdin instead of ignore (#1632)

fly ssh console with stdin as /dev/null ("ignore") can cause the
connection to hang — flyctl doesn't get a clean EOF signal to know
when to close the transport. Switch to "pipe" and immediately call
stdin.end() so flyctl receives a proper EOF.

Applied to runServer, runServerCapture, and uploadFile.

Co-authored-by: lab <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
A 2026-02-21 15:12:44 -08:00 committed by GitHub
parent 9b6e860bba
commit b4be9b9d2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.5.25",
"version": "0.5.26",
"type": "module",
"bin": {
"spawn": "cli.js"