BMAD-METHOD/tools/cli
Alex Verkhovsky f2f72fd476 fix: recompile agents during module update to get latest source changes
The update() and updateCore() methods were only syncing files without
recompiling agents. Since compiled .md agent files are always newer
than their source .agent.yaml files, mtime-based skip logic prevented
agent updates.

Now both methods call compileModuleAgents() after syncing, ensuring
agents are rebuilt from fresh source YAML. User customizations remain
safe in separate .customize.yaml files.

Fixed in two places:
- ModuleManager.update() for module agents (bmm, bmb, etc.)
- Installer.updateCore() for core agents (bmad-master)

Fixes: https://github.com/bmad-code-org/BMAD-METHOD/issues/1133

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 09:45:45 -07:00
..
commands _cfg -> _config 2025-12-13 19:41:09 +08:00
installers/lib fix: recompile agents during module update to get latest source changes 2025-12-13 09:45:45 -07:00
lib quick install fixed 2025-12-13 23:45:47 +08:00
README.md folder rename from .bmad to _bmad 2025-12-13 16:22:34 +08:00
bmad-cli.js npx with version selector 2025-10-26 23:42:56 -05:00

README.md

BMad CLI Tool

Revised CLI tool docs coming....