fix(cli): degrade to no-proxy on spawn error, and stop readStdin hanging on a TTY
A spawn 'error' arrives asynchronously, so the caller's try/catch never saw it and a wrong-arch or non-executable proxy binary killed the CLI before the agent launched. readStdin now rejects when stdin is a TTY instead of waiting forever. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SqmbqWDtNexzDfH5V3BMRz
J
Julius Brussee committed
7789c2f6face05f16f4a119eebf4bbe1e615e4e4
Parent: 5ebc35d