From 79ef3b543119e34feae565c7419048036345f8af Mon Sep 17 00:00:00 2001 From: Phil Mahncke Date: Wed, 12 Nov 2025 10:47:14 -0500 Subject: [PATCH] feat(installer): enhance IDE configuration updates with dynamic folder name handling - Extracted the bmad folder name from the directory path to ensure correct usage in IDE commands. - Updated the module and IDE managers to utilize the extracted folder name for improved consistency. - Improved spinner handling during IDE setup to enhance user experience by stopping and restarting appropriately around configuration prompts. --- tools/cli/installers/lib/core/installer.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/cli/installers/lib/core/installer.js b/tools/cli/installers/lib/core/installer.js index 97eb8c19..d2e949cc 100644 --- a/tools/cli/installers/lib/core/installer.js +++ b/tools/cli/installers/lib/core/installer.js @@ -1560,6 +1560,13 @@ class Installer { throw new Error(`BMAD not installed at ${bmadDir}`); } + // Extract bmad folder name from the directory path and set it on managers + // This ensures generated IDE commands use the correct folder name (e.g., .bmad vs bmad) + const bmadFolderName = path.basename(bmadDir); + this.bmadFolderName = bmadFolderName; // Store for use in other methods + this.moduleManager.setBmadFolderName(bmadFolderName); + this.ideManager.setBmadFolderName(bmadFolderName); + let agentCount = 0; let taskCount = 0;