BMAD-METHOD/tools/cli/installers/lib
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
..
core Fix: Support custom module agent compilation in rebuildAgentFiles() 2025-11-24 19:24:00 +08:00
ide feat: add empty IDE selection warning and promote Antigravity to recommended 2025-11-19 22:12:45 -06:00
modules customize installation folder for the bmad content 2025-11-08 15:19:19 -06:00