Skip to content

bunx stash impl requires an interactive TTY for the agent-target picker #445

@auxesis

Description

@auxesis

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions