Davor Racic 5cb5606ba3 fix(cli): replace inquirer with @clack/prompts for Windows compatibility (#1316)
* fix(cli): replace inquirer with @clack/prompts for Windows compatibility

- Add new prompts.js wrapper around @clack/prompts to fix Windows arrow
  key navigation issues (libuv #852)
- Fix validation logic in github-copilot.js that always returned true
- Add support for primitive choice values (string/number) in select/multiselect
- Add 'when' property support for conditional questions in prompt()
- Update all IDE installers to use new prompts module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(cli): address code review feedback for prompts migration

- Move @clack/prompts from devDependencies to dependencies (critical)
- Remove unused inquirer dependency
- Fix potential crash in multiselect when initialValues is undefined
- Add async validator detection with explicit error message
- Extract validateCustomContentPathSync method in ui.js
- Extract promptInstallLocation methods in claude-code.js and antigravity.js
- Fix moduleId -> missing.id in installer.js remove flow
- Update multiselect to support native clack API (options/initialValues)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* chore: update comments to reference @clack/prompts instead of inquirer

- Update bmad-cli.js comment about CLI prompts
- Update config-collector.js JSDoc comments
- Rename inquirer variable to choiceUtils in ui.js
- Update JSDoc returns and calls documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(cli): add spacing between prompts and installation progress

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(cli): add multiselect usage hints for inexperienced users

Add inline navigation hints to all multiselect prompts showing
(↑/↓ navigate, SPACE select, ENTER confirm) to help users
unfamiliar with terminal multiselect controls.

Also restore detailed warning when no tools are selected,
explaining that SPACE must be pressed to select items.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(cli): restore IDE grouping using groupMultiselect

Replace flat multiselect with native @clack/prompts groupMultiselect
component to restore visual grouping of IDE/tool options:
- "Previously Configured" - pre-selected IDEs from existing install
- "Recommended Tools" - starred preferred options
- "Additional Tools" - other available options

This restores the grouped UX that was lost during the Inquirer.js
to @clack/prompts migration.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 16:25:35 -06:00
2025-11-05 14:14:31 -06:00
2025-12-27 18:29:35 +08:00
2026-01-13 02:27:25 +08:00
2026-01-11 13:16:49 +08:00
2026-01-07 18:18:12 +08:00
2025-12-15 17:30:12 +08:00

BMad Method

Version License: MIT Node.js Version Discord

Build More, Architect Dreams — An AI-driven agile development framework with 21 specialized agents, 50+ guided workflows, and scale-adaptive intelligence that adjusts from bug fixes to enterprise systems.

100% free and open source. No paywalls. No gated content. No gated Discord. We believe in empowering everyone, not just those who can pay.

Why BMad?

Traditional AI tools do the thinking for you, producing average results. BMad agents act as expert collaborators who guide you through structured workflows to bring out your best thinking.

  • Scale-Adaptive: Automatically adjusts planning depth based on project complexity (Level 0-4)
  • Structured Workflows: Grounded in agile best practices across analysis, planning, architecture, and implementation
  • Specialized Agents: 12+ domain experts (PM, Architect, Developer, UX, Scrum Master, and more)
  • Complete Lifecycle: From brainstorming to deployment, with just-in-time documentation

Quick Start

Prerequisites: Node.js v20+

npx bmad-method@alpha install

Follow the installer prompts to configure your project. Then run:

*workflow-init

This analyzes your project and recommends a track:

Track Best For Time to First Story
Quick Flow Bug fixes, small features ~5 minutes
BMad Method Products and platforms ~15 minutes
Enterprise Compliance-heavy systems ~30 minutes

Modules

Module Purpose
BMad Method (BMM) Core agile development with 34 workflows across 4 phases
BMad Builder (BMB) Create custom agents and domain-specific modules
Creative Intelligence Suite (CIS) Innovation, brainstorming, and problem-solving

Documentation

Full Documentation — Tutorials, how-to guides, concepts, and reference

For v4 Users

Community

  • Discord — Get help, share ideas, collaborate
  • YouTube — Tutorials, master class, and podcast (launching Feb 2025)
  • GitHub Issues — Bug reports and feature requests
  • Discussions — Community conversations

Support BMad

BMad is free for everyone — and always will be. If you'd like to support development:

  • Star us on GitHub — Helps others discover BMad
  • 📺 Subscribe on YouTube — Master class launching Feb 2026
  • Buy Me a Coffee — Fuel the development
  • 🏢 Corporate sponsorship — DM on Discord
  • 🎤 Speaking & Media — Available for conferences, podcasts, interviews (Discord)

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

MIT License — see LICENSE for details.


BMad and BMAD-METHOD are trademarks of BMad Code, LLC.

Contributors

Description
Breakthrough Method for Agile Ai Driven Development
Readme MIT 73 MiB
Languages
JavaScript 92.6%
Astro 2.3%
HTML 2%
Shell 1.8%
CSS 1.3%