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.
This commit is contained in:
parent
74f54a088a
commit
79ef3b5431
|
|
@ -1560,6 +1560,13 @@ class Installer {
|
||||||
throw new Error(`BMAD not installed at ${bmadDir}`);
|
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 agentCount = 0;
|
||||||
let taskCount = 0;
|
let taskCount = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue