BMAD-METHOD/tools/cli/installers/lib/core
hunter6028 4fd7bba8f0 Fix: Support custom module agent compilation in rebuildAgentFiles()
- Check module's own agents directory first for custom modules
- Fall back to installer source for built-in modules
- Fixes custom module agent compilation issue in alpha versions

This change enables rebuildAgentFiles() to properly compile agents
from custom modules by first checking the module's own agents/
directory for .agent.yaml files. If found, it uses those files
directly. Otherwise, it falls back to the installer source directory
for built-in modules (core, bmm, bmb, etc.).

Tested with custom module 'po' (Prompt Optimizer) - agents compile
successfully and slash commands are generated correctly.
2025-11-24 19:24:00 +08:00
..
config-collector.js feat: default installer username to system user (#939) 2025-11-19 20:36:54 -06:00
dependency-resolver.js installer fixes 2025-10-26 19:38:38 -05:00
detector.js customize installation folder for the bmad content 2025-11-08 15:19:19 -06:00
ide-config-manager.js fix quick udpate status bug in installer 2025-11-04 21:16:52 -06:00
installer.js Fix: Support custom module agent compilation in rebuildAgentFiles() 2025-11-24 19:24:00 +08:00
manifest-generator.js Major Enhancements: 2025-11-09 17:39:05 -06:00
manifest.js fix: ensure POSIX-compliant newlines in generated files (#856) 2025-11-04 20:18:12 -06:00