remove hardcoded .bmad folders from demo content

This commit is contained in:
Brian Madison
2025-12-07 21:41:37 -06:00
parent a638f062b9
commit 86f2786dde
23 changed files with 33 additions and 302 deletions

View File

@@ -242,7 +242,8 @@ function installAgent(agentInfo, answers, targetPath, options = {}) {
const { xml, metadata, processedYaml } = compileAgent(fs.readFileSync(agentInfo.yamlFile, 'utf8'), answers);
// Determine target agent folder name
const agentFolderName = metadata.name ? metadata.name.toLowerCase().replaceAll(/\s+/g, '-') : agentInfo.name;
// Use the folder name from agentInfo, NOT the persona name from metadata
const agentFolderName = agentInfo.name;
const agentTargetDir = path.join(targetPath, agentFolderName);