Revert "feat(installer): register bmo as built-in module"
This reverts commit a446eb21d0.
This commit is contained in:
parent
050df51df7
commit
5e86ae4356
|
|
@ -54,7 +54,7 @@ async function discoverOfficialModuleYamls() {
|
|||
};
|
||||
|
||||
// Built-ins.
|
||||
for (const code of ['core', 'bmm', 'bmo']) {
|
||||
for (const code of ['core', 'bmm']) {
|
||||
const yamlPath = path.join(getModulePath(code), 'module.yaml');
|
||||
if (await fs.pathExists(yamlPath)) {
|
||||
// Built-ins use their well-known short codes regardless of what the
|
||||
|
|
|
|||
|
|
@ -128,15 +128,6 @@ class OfficialModules {
|
|||
}
|
||||
}
|
||||
|
||||
// Add built-in bmo module (directly under src/orchestrator-skills)
|
||||
const bmoPath = getSourcePath('orchestrator-skills');
|
||||
if (await fs.pathExists(bmoPath)) {
|
||||
const bmoInfo = await this.getModuleInfo(bmoPath, 'bmo', 'src/orchestrator-skills');
|
||||
if (bmoInfo) {
|
||||
modules.push(bmoInfo);
|
||||
}
|
||||
}
|
||||
|
||||
return { modules };
|
||||
}
|
||||
|
||||
|
|
@ -234,14 +225,6 @@ class OfficialModules {
|
|||
}
|
||||
}
|
||||
|
||||
// Check for built-in bmo module (directly under src/orchestrator-skills)
|
||||
if (moduleCode === 'bmo') {
|
||||
const bmoPath = getSourcePath('orchestrator-skills');
|
||||
if (await fs.pathExists(bmoPath)) {
|
||||
return bmoPath;
|
||||
}
|
||||
}
|
||||
|
||||
// Check external official modules (pass channelOptions so channel plan applies)
|
||||
const externalSource = await this.externalModuleManager.findExternalModuleSource(moduleCode, options);
|
||||
if (externalSource) {
|
||||
|
|
|
|||
|
|
@ -68,9 +68,6 @@ function getModulePath(moduleName, ...segments) {
|
|||
if (moduleName === 'bmm') {
|
||||
return getSourcePath('bmm-skills', ...segments);
|
||||
}
|
||||
if (moduleName === 'bmo') {
|
||||
return getSourcePath('orchestrator-skills', ...segments);
|
||||
}
|
||||
return getSourcePath('modules', moduleName, ...segments);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue