## Problem
Compile Agents ignored custom agents in source locations like:
- {project-root}/custom/src/agents/
- {bmad-folder}/custom/src/agents/
## Solution
Update reinstallCustomAgents to check all locations:
1. _cfg/custom/agents/ (backup location)
2. {bmad-folder}/custom/src/agents/ (source in BMAD folder)
3. {project-root}/custom/src/agents/ (source at project root)
## Changes
- Search multiple locations for agents during compile
- Avoid duplicate processing with Set tracking
- Auto-backup source YAML to _cfg/custom/agents/ if needed
- Works with any custom bmad_folder name from config
Now 'Compile Agents' works with agents in any source location!
|
||
|---|---|---|
| .. | ||
| cli | ||
| flattener | ||
| schema | ||
| bmad-npx-wrapper.js | ||
| format-workflow-md.js | ||
| platform-codes.yaml | ||
| validate-agent-schema.js | ||
| validate-bundles.js | ||