BMAD-METHOD/tools
fxomo f38905628a
Fix: Add prompts and memories merging from customize.yaml (#889)
- Add merging logic for customizeYaml.prompts and customizeYaml.memories in loadAndMergeAgent()
- Implement buildMemoriesXml() method to output memories XML section
- Update buildPromptsXml() to use <content> wrapper instead of CDATA for better compatibility
- Integrate memories output into convertToXml() between persona and prompts sections

Changes:
1. Line 123-131: Added prompts and memories append logic in loadAndMergeAgent()
2. Line 215-218: Added memories XML output in convertToXml()
3. Line 286-301: New buildMemoriesXml() method
4. Line 312-315: Updated prompts to use <content> wrapper for consistency

This allows users to customize agents via bmad/_cfg/agents/*.customize.yaml with:
- prompts: Array of {id, content} objects for action handlers
- memories: Array of strings for persistent agent memories
2025-11-16 00:36:32 -06:00
..
cli Fix: Add prompts and memories merging from customize.yaml (#889) 2025-11-16 00:36:32 -06: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