mirror of
https://github.com/bmadcode/BMAD-METHOD.git
synced 2025-12-29 16:14:59 +00:00
installer for bmm includes option to include game assets or not when adding to a project.
This commit is contained in:
@@ -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'));
|
||||
|
||||
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user