fix(run): headless `run` can still hang on Windows when stdin is a pipe that never closes
altimate-code run "<prompt>" bounds its wait for stdin only when stdin is a socket (packages/opencode/src/altimate/cli/run-stdin.ts, readRunStdin). On macOS and Linux that covers agent shells and Node spawn with default stdio. On Windows a default-stdio spawn gives the child a named pipe, which is not reported as a socket, so run reads to EOF and waits forever when the caller never writes or closes stdin. That is the hang the bounded wait was added to fix, for the Claude Code / Codex plugins and the VS Code extension on Windows.
The docs (docs/docs/usage/cli.md) tell callers to redirect from NUL, but the plugins and extension are not named as needing it.
Options: detect a Windows pipe (fstat mode / isFIFO()) and apply the same bounded wait when a prompt is given; or make the plugins and extension spawn with stdin ignored. Needs a Windows repro first; this was inferred from code, not observed.
Found during the v0.12.8 release review. Deferred because: needs a Windows repro and a decision on where to fix it (CLI vs callers)
Folding in #934 (closed as a duplicate): the idle-socket case was fixed in #1552; this issue now tracks the remaining case, where run reads non-socket stdin (including Windows pipes) to EOF with no bound.