Conversation
Removes the four remaining interactive prompts: init's idea input, tech/tasks' spec picker, and scaffold's confirm. Each was a TTY-only convenience layer on top of flags that already drove the canonical input path. With api mode gone, those prompts had nothing meaningful to gate — the CLI's job is to load context and hand off to the host coding agent, not run a Q&A loop. Concrete behavior changes: tech / tasks with multiple specs and no slug arg now error with the available list (was: TTY → inquirer picker, non-TTY → error); scaffold requires --yes to confirm before writing (was: TTY → inquirer confirm, non-TTY → error); init greenfield without --idea always prints the structured agent handoff (was: TTY → inquirer input, non-TTY → handoff). The TTY/non-TTY distinction is gone entirely — src/utils/tty.js, test/setup.js, and vitest.config.js are deleted; deps.isInteractive is no longer a dependency-injection seam. CLAUDE.md and README.md updated to drop "TTY-only fallback" framing. 222 tests passing; lint clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes Draftwise's last remaining stdin dependency. With api mode gone in #60, the four interactive prompts (
init's idea input,tech/tasks' spec picker,scaffold's confirm) had nothing meaningful to gate — the CLI's job is to load context and hand off to the host coding agent.tech/taskswith multiple specs and no slug → always error with the available listscaffoldrequires--yesto confirm before writinginitgreenfield without--idea→ always prints the structured agent handoff (a plain-terminal user reads it as a usage hint)src/utils/tty.js,test/setup.js, andvitest.config.jsdeleted;deps.isInteractiveis no longer a DI seam@inquirer/promptsremoved frompackage.json; lockfile regeneratedTest plan
npm test— 222 passingnpm run lint— clean