fixed _bmad folder stutter with agent custom files

This commit is contained in:
Brian Madison
2025-12-18 03:22:46 +08:00
parent 363915b0c6
commit 23f650ff4d
3 changed files with 32 additions and 3688 deletions

View File

@@ -731,7 +731,7 @@ class ModuleManager {
async compileModuleAgents(sourcePath, targetPath, moduleName, bmadDir, installer = null) {
const sourceAgentsPath = path.join(sourcePath, 'agents');
const targetAgentsPath = path.join(targetPath, 'agents');
const cfgAgentsDir = path.join(bmadDir, '_bmad', '_config', 'agents');
const cfgAgentsDir = path.join(bmadDir, '_config', 'agents');
// Check if agents directory exists in source
if (!(await fs.pathExists(sourceAgentsPath))) {