BMAD-METHOD/tools
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
..
cli Fix: Support custom module agent compilation in rebuildAgentFiles() 2025-11-24 19:24:00 +08:00
flattener feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
schema feat: Add ide-only and web-only menu item filtering for platform-specific commands 2025-11-15 19:39:53 -06:00
bmad-npx-wrapper.js fix: preserve user's cwd when running via npx 2025-10-29 09:31:38 -05:00
format-workflow-md.js check alignment 2025-10-22 12:36:39 -05:00
platform-codes.yaml Add Opencode IDE installer (#820) 2025-10-26 11:16:57 -05:00
validate-agent-schema.js feat: add agent schema validation with comprehensive testing (#774) 2025-10-20 07:14:50 -05:00
validate-bundles.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00