installer for bmm includes option to include game assets or not when adding to a project.

This commit is contained in:
Brian Madison
2025-10-27 22:38:34 -05:00
parent f55e822338
commit 7ad841964d
16 changed files with 72 additions and 23 deletions

View File

@@ -912,6 +912,9 @@ class Installer {
* @param {Object} moduleFiles - Module files to install
*/
async installModuleWithDependencies(moduleName, bmadDir, moduleFiles) {
// Get module configuration for conditional installation
const moduleConfig = this.configCollector.collectedConfig[moduleName] || {};
// Use existing module manager for full installation with file tracking
// Note: Module-specific installers are called separately after IDE setup
await this.moduleManager.install(
@@ -922,6 +925,7 @@ class Installer {
},
{
skipModuleInstaller: true, // We'll run it later after IDE setup
moduleConfig: moduleConfig, // Pass module config for conditional filtering
},
);
@@ -1990,7 +1994,7 @@ class Installer {
* @param {Array} agentDetails - Array of agent details
*/
async generateAgentManifest(bmadDir, agentDetails) {
const manifestPath = path.join(bmadDir, '_cfg', 'agent-party.xml');
const manifestPath = path.join(bmadDir, '_cfg', 'agent-manifest.csv');
await AgentPartyGenerator.writeAgentParty(manifestPath, agentDetails, { forWeb: false });
}