diff --git a/tools/cli/installers/lib/core/installer.js b/tools/cli/installers/lib/core/installer.js index 9063f5d9..fcfe076e 100644 --- a/tools/cli/installers/lib/core/installer.js +++ b/tools/cli/installers/lib/core/installer.js @@ -2222,6 +2222,12 @@ If AgentVibes party mode is enabled, immediately trigger TTS with agent's voice: } else { // Selective update - preserve user modifications await this.fileOps.syncDirectory(sourcePath, targetPath); + + // Recompile agents (#1133) + const { ModuleManager } = require('../modules/manager'); + const moduleManager = new ModuleManager(); + await moduleManager.compileModuleAgents(sourcePath, targetPath, 'core', bmadDir); + await this.processAgentFiles(targetPath, 'core'); } } diff --git a/tools/cli/installers/lib/modules/manager.js b/tools/cli/installers/lib/modules/manager.js index 3b152a99..f4568301 100644 --- a/tools/cli/installers/lib/modules/manager.js +++ b/tools/cli/installers/lib/modules/manager.js @@ -507,6 +507,10 @@ class ModuleManager { } else { // Selective update - preserve user modifications await this.syncModule(sourcePath, targetPath); + + // Recompile agents (#1133) + await this.compileModuleAgents(sourcePath, targetPath, moduleName, bmadDir); + await this.processAgentFiles(targetPath, moduleName); } return {