BMAD-METHOD/tools/cli/installers/lib/ide/shared
ZvoneO c035b2f247 fix(path-utils): deduplicate subdirectory agent names (#1422)
Fixes redundant skill names for agents in subdirectories where the
folder name matches the filename (e.g., tech-writer/tech-writer.md).

Changes:
- Deduplicate when last two path segments are identical
- Handle .yaml extension in addition to .md
- Add comprehensive test suite (40 tests)

Before: bmad-bmm-tech-writer-tech-writer.agent
After:  bmad-bmm-tech-writer.agent

Closes #1422

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 14:54:09 +01:00
..
agent-command-generator.js installer fix 2026-01-26 16:06:00 -06:00
bmad-artifacts.js installer fix 2026-01-26 16:06:00 -06:00
module-injections.js Fix glob pattern to use forward slashes (#1241) 2026-01-14 21:16:23 -06:00
path-utils.js fix(path-utils): deduplicate subdirectory agent names (#1422) 2026-01-27 14:54:09 +01:00
task-tool-command-generator.js allow updates from any beta, warn on alpha and v4 2026-01-26 17:33:02 -06:00
workflow-command-generator.js installer fix 2026-01-26 16:06:00 -06:00