mirror of
https://github.com/Fission-AI/OpenSpec.git
synced 2026-09-14 20:16:53 +08:00
a55a5c9eb4
Update the tool selection wizard so pressing Enter on a highlighted tool automatically selects it before proceeding to the review step. This aligns with common CLI expectations where Enter confirms the highlighted item. Changes: - Add logic to select the currently highlighted tool when Enter is pressed - Update help text to clarify that Enter selects the highlighted tool - Maintain Space key for toggling multiple selections This reduces friction during onboarding by matching user expectations, especially for users who navigate to a tool and press Enter without first toggling it with Space.
918 B
918 B
MODIFIED Requirements
Requirement: Interactive Mode
The command SHALL provide an interactive menu for AI tool selection with clear navigation instructions.
Scenario: Displaying interactive menu
- WHEN run in fresh or extend mode
- THEN present a looping select menu that lets users toggle tools with Space and review selections with Enter
- AND when Enter is pressed on a highlighted selectable tool that is not already selected, automatically add it to the selection before moving to review so the highlighted tool is configured
- AND label already configured tools with "(already configured)" while keeping disabled options marked "coming soon"
- AND change the prompt copy in extend mode to "Which AI tools would you like to add or refresh?"
- AND display inline instructions clarifying that Space toggles tools and Enter selects the highlighted tool before reviewing selections