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

@@ -45,7 +45,7 @@ async function testWebBundler() {
const hasPersona = content.includes('<persona>');
const activationBeforePersona = content.indexOf('<activation') < content.indexOf('<persona>');
const hasManifests =
content.includes('<agent-party id="bmad/_cfg/agent-party.xml">') && content.includes('<manifest id="bmad/web-manifest.xml">');
content.includes('<agent-party id="bmad/_cfg/agent-manifest.csv">') && content.includes('<manifest id="bmad/web-manifest.xml">');
const hasDependencies = content.includes('<dependencies>');
console.log(chalk.green('✓ Analyst bundle created successfully'));

View File

@@ -620,8 +620,8 @@ class WebBundler {
}
processed.add(filePath);
// Skip agent-party.xml manifest for web bundles (agents are already bundled)
if (filePath === 'bmad/_cfg/agent-party.xml' || filePath.endsWith('/agent-party.xml')) {
// Skip agent-manifest.csv manifest for web bundles (agents are already bundled)
if (filePath === 'bmad/_cfg/agent-manifest.csv' || filePath.endsWith('/agent-manifest.csv')) {
return;
}
@@ -1393,8 +1393,8 @@ class WebBundler {
// Ensure temp directory exists
await fs.ensureDir(this.tempManifestDir);
// Generate agent-party.xml using shared generator
const agentPartyPath = path.join(this.tempManifestDir, 'agent-party.xml');
// Generate agent-manifest.csv using shared generator
const agentPartyPath = path.join(this.tempManifestDir, 'agent-manifest.csv');
await AgentPartyGenerator.writeAgentParty(agentPartyPath, this.discoveredAgents, { forWeb: true });
console.log(chalk.dim(' ✓ Created temporary manifest files'));