BMAD-METHOD/tools/installer/core
pbean 08c73796a6 fix(bmad-module): prevent atomicSwapDir data loss + harden ide-sync/wds cleanup paths
- atomicSwapDir: back the existing target up to a sibling before swapping the
  staged dir in, and roll back on a failed rename so an interrupted update can
  no longer leave neither the old nor the new install.
- ide-sync cleanup: only remove _bmad/ skill source dirs when EVERY IDE synced
  successfully (so failed targets remain retryable), and containment-check each
  CSV-derived path before fs.remove so a malformed row can't escape _bmad/.
- module-dirs: validate untrusted wds_folders entries for traversal/absolute
  escape before mkdir.
- Regenerate the vendored ide-sync bundle (vendor:check clean).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 15:57:38 -07:00
..
config.js feat(installer): add --set and --list-options for non-interactive config (#2354) 2026-04-28 20:15:57 -05:00
existing-install.js fix(installer): replace fs-extra with native node:fs to prevent file loss 2026-04-13 00:44:28 -05:00
ide-sync.js fix(bmad-module): prevent atomicSwapDir data loss + harden ide-sync/wds cleanup paths 2026-06-20 15:57:38 -07:00
install-paths.js refactor(skills): remove bmad-skill-manifest yaml; introduce central config.toml (#2285) 2026-04-19 23:11:44 -05:00
installer.js Merge remote-tracking branch 'origin/main' into feat/bmad-marketplace-plugin 2026-06-19 15:48:38 -07:00
legacy-warnings.js feat(installer): expand to 42 platforms with shared target_dir coordination (#2313) 2026-04-25 21:14:00 -05:00
manifest-generator.js feat/bmad-module. small patch to prevent community modules from being removed when bmad itself is updated 2026-05-22 12:06:28 -07:00
manifest.js v6.7.0: bundle module registry, retire marketplace, refresh display names (#2388) 2026-05-17 17:47:25 -05:00
python-check.js feat: installer detects Python version and warns when 3.11+ (tomllib) is missing (#2466) 2026-06-11 21:27:52 -05:00
wsl-node-check.js fix(installer): guard WSL installs from Windows Node (#2470) 2026-06-17 22:19:18 -05:00