Repository navigation
feat(#9): Add setup wizard for missing dependencies - #63
Merged
admarble merged 2 commits intoJan 11, 2026
Merged
Conversation
Adds an interactive setup wizard during `sequant init` that: - Checks for required dependencies (gh, claude) and optional ones (jq) - Displays clear status for each dependency - Offers guided installation with platform-specific commands - Allows verification after installation attempts - Skips automatically in CI or with --skip-setup flag - Continues init even when dependencies are missing (with warnings) New files: - src/lib/wizard.ts - Wizard module with dependency checking and guided setup - src/lib/wizard.test.ts - Comprehensive tests for wizard functionality Modified files: - bin/cli.ts - Added --skip-setup flag to init command - src/commands/init.ts - Integrated wizard into init flow - src/lib/system.ts - Added claude to install hints - Tests updated for new wizard integration Closes #9 Co-Authored-By: Claude Opus 4.5 <[email protected]>
5 tasks
- Add input validation to commandExists() to prevent shell injection - Wrap inquirer prompts in try-catch for graceful degradation - Add tests for multi-dep wizard flow and verify-failure scenarios - Add tests for command injection prevention Co-Authored-By: Claude Opus 4.5 <[email protected]>
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
sequant initthat checks for required dependencies (gh, claude) and optional ones (jq)--skip-setupflag or automatically skips in CI environmentsTest plan
checkAllDependencies()detecting missing gh/claudeshouldRunSetupWizard()with skip flags and CI detectiongetInstallHint()returnssequant initwith dependencies missingsequant init --skip-setupto verify skip behaviorCloses #9
🤖 Generated with Claude Code