BMAD-METHOD/tools/cli/installers
Ziyu Huang 1af87338ae Fix #990: Enable custom module discovery in installer
- Fix 'installedModules is not defined' error in compileAgents()
- Add manifest regeneration during compilation to discover custom content
- Change manifest generator to scan all directories dynamically
- Fix ManifestGenerator import to use destructuring
- Handle custom modules without installer source gracefully

This enables custom workflows/agents/tasks in .bmad/custom/ to be
automatically discovered and generate proper .claude/commands/ files.

Changes:
- installer.js: Add manifest regeneration, fix imports, handle custom modules
- manifest-generator.js: Scan all directories instead of hardcoded list

Fixes #990
2025-11-28 06:45:38 +08:00
..
lib Fix #990: Enable custom module discovery in installer 2025-11-28 06:45:38 +08:00