BMAD-METHOD/tools/cli/installers/lib/ide
Alex Verkhovsky e72b82ed31
fix(installer): add custom Rovo Dev installer with prompts.yml generation (#1701)
* fix(installer): add custom Rovo Dev installer with prompts.yml generation

Rovo Dev CLI requires a .rovodev/prompts.yml manifest to register prompts
for /prompts access. The config-driven installer was writing .md files but
never generating this manifest, so /prompts showed nothing.

- Create custom rovodev.js installer extending BaseIdeSetup
- Generate prompts.yml indexing all written workflow files
- Merge with existing user entries (only touch bmad- prefixed entries)
- Remove stale rovo entry from tools/platform-codes.yaml

Closes #1466

* fix(installer): prefix prompts.yml descriptions with entry name

The /prompts list in Rovo Dev only shows descriptions, making it hard
to identify entries. Prefix each description with the bmad entry name
so users see e.g. "bmad-bmm-create-prd - PRD workflow..." instead of
just the description text.

* refactor(installer): address review findings in Rovo Dev installer

- Hoist toDashPath import to module top level
- Extract _collectPromptEntries helper replacing 3 duplicated loops
- Remove unused detectionPaths (detect() is overridden)
- Guard generatePromptsYml when writtenFiles is empty
- Align cleanup() with detect() predicate (remove any bmad-*, not just .md)
- Use BaseIdeSetup abstractions (this.pathExists/readFile/writeFile) in cleanup()
- Update loadHandlers() JSDoc to include rovodev.js

---------

Co-authored-by: Brian <bmadcode@gmail.com>
2026-02-20 20:31:45 -06:00
..
shared refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00
templates fix(opencode): remove incorrect mode: primary and restore name field in templates (#1644) 2026-02-12 18:58:13 -06:00
_base-ide.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00
_config-driven.js feat(cli): add uninstall command with selective component removal (#1650) 2026-02-15 08:13:03 -06:00
codex.js fix(config): remove Windsurf from recommended/preferred IDEs (#1727) 2026-02-20 20:16:43 -06:00
github-copilot.js feat(cli): add uninstall command with selective component removal (#1650) 2026-02-15 08:13:03 -06:00
kilo.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00
manager.js fix(installer): add custom Rovo Dev installer with prompts.yml generation (#1701) 2026-02-20 20:31:45 -06:00
platform-codes.js installer fix 2026-01-26 16:06:00 -06:00
platform-codes.yaml fix(installer): add custom Rovo Dev installer with prompts.yml generation (#1701) 2026-02-20 20:31:45 -06:00
rovodev.js fix(installer): add custom Rovo Dev installer with prompts.yml generation (#1701) 2026-02-20 20:31:45 -06:00