BMAD-METHOD/tools/cli
Jonah Schulte 0810646ed6 fix: update dependency resolver for new src/bmm structure (fixes 2 failing tests)
Fixed all path resolution logic in dependency-resolver.js to handle the new
directory structure where bmm is directly under src/ instead of src/modules/.

**Bugs Fixed:**
1. Line 341: Strip leading slash after removing {project-root} prefix
   - `{project-root}/bmad/` became `/bmad/` which failed `startsWith('bmad/')` check

2. Lines 358, 378, 385: Use bmm/ directly instead of modules/bmm/ for explicit deps
   - Updated both direct paths and glob patterns

3. Lines 537, 549, 565: Update resolveCommandToPath for @task/@agent/@bmad refs
   - Task search now checks src/bmm/tasks/ not src/modules/bmm/tasks/
   - Agent search now checks src/bmm/agents/ not src/modules/bmm/agents/
   - Direct bmad/ paths now resolve to src/bmm/ not src/modules/bmm/

**Test Results:**
- Before: 350/352 passing (2 failing)
- After: 352/352 passing (100% )

Tests fixed:
- "should resolve bmad/bmm/tasks/task.md (module path)"
- "should resolve bmad-path for module files"
2026-01-28 11:12:06 -05:00
..
commands versioned module downloads and manifest 2026-01-23 00:27:26 -06:00
installers fix: update dependency resolver for new src/bmm structure (fixes 2 failing tests) 2026-01-28 11:12:06 -05:00
lib refactor: consolidate to src/bmm, delete src/modules/bmm (Option A) 2026-01-28 10:55:03 -05:00
README.md remove modules moved to new repos and update installer to support the remote module isntallation and updates. this is a temporary imlemtation machanism 2026-01-15 22:20:56 -06:00
bmad-cli.js fix(cli): replace inquirer with @clack/prompts for Windows compatibility (#1316) 2026-01-14 16:25:35 -06:00
external-official-modules.yaml versioned module downloads and manifest 2026-01-23 00:27:26 -06:00

README.md

BMad CLI Tool

Installing external repo BMad official modules

For external official modules to be discoverable during install, ensure an entry for the external repo is added to external-official-modules.yaml.

For community modules - this will be handled in a different way. This file is only for registration of modules under the bmad-code-org.