Running bunx stash impl from a non-TTY context (CI, an automation harness, the Claude Code Bash tool, anything piped) hangs
on the prompt:
┌ CipherStash Implementation
│
● Plan at `.cipherstash/plan.md` — agent will execute it as the source of truth.
│
◆ How would you like to finish setup?
│
└
The picker selects between handoff targets (Claude Code, Codex, AGENTS.md for Cursor/Windsurf/Cline, @cipherstash/wizard).
It only reads from /dev/tty and waits forever.
To reproduce with stash v0.14.1:
echo "" | bunx stash impl # hangs indefinitely
bunx stash impl < /dev/null # hangs indefinitely
In a real TTY (bunx stash impl directly in a terminal) the picker works fine.
Running
bunx stash implfrom a non-TTY context (CI, an automation harness, the Claude CodeBashtool, anything piped) hangson the prompt:
The picker selects between handoff targets (Claude Code, Codex, AGENTS.md for Cursor/Windsurf/Cline,
@cipherstash/wizard).It only reads from
/dev/ttyand waits forever.To reproduce with stash v0.14.1:
In a real TTY (
bunx stash impldirectly in a terminal) the picker works fine.