chore(installer): stop creating legacy _config/agents/ directory
The _config/agents/ subfolder was the v6.1 home for agent .customize.toml/.yaml files. Agent customizations now live in _bmad/custom/, so the folder is created empty on every install and never written to. Stop creating it. Existing installs that already have the folder are left alone — the detectCustomFiles path still preserves any legacy .customize.yaml files it finds there, so users updating from older installs keep any customizations they haven't yet migrated.
This commit is contained in:
parent
30ba701c02
commit
4abc227d91
|
|
@ -19,7 +19,6 @@ class InstallPaths {
|
||||||
const isUpdate = await fs.pathExists(bmadDir);
|
const isUpdate = await fs.pathExists(bmadDir);
|
||||||
|
|
||||||
const configDir = path.join(bmadDir, '_config');
|
const configDir = path.join(bmadDir, '_config');
|
||||||
const agentsDir = path.join(configDir, 'agents');
|
|
||||||
const coreDir = path.join(bmadDir, 'core');
|
const coreDir = path.join(bmadDir, 'core');
|
||||||
const scriptsDir = path.join(bmadDir, 'scripts');
|
const scriptsDir = path.join(bmadDir, 'scripts');
|
||||||
const customDir = path.join(bmadDir, 'custom');
|
const customDir = path.join(bmadDir, 'custom');
|
||||||
|
|
@ -27,7 +26,6 @@ class InstallPaths {
|
||||||
for (const [dir, label] of [
|
for (const [dir, label] of [
|
||||||
[bmadDir, 'bmad directory'],
|
[bmadDir, 'bmad directory'],
|
||||||
[configDir, 'config directory'],
|
[configDir, 'config directory'],
|
||||||
[agentsDir, 'agents config directory'],
|
|
||||||
[coreDir, 'core module directory'],
|
[coreDir, 'core module directory'],
|
||||||
[scriptsDir, 'shared scripts directory'],
|
[scriptsDir, 'shared scripts directory'],
|
||||||
[customDir, 'customizations directory'],
|
[customDir, 'customizations directory'],
|
||||||
|
|
@ -41,7 +39,6 @@ class InstallPaths {
|
||||||
projectRoot,
|
projectRoot,
|
||||||
bmadDir,
|
bmadDir,
|
||||||
configDir,
|
configDir,
|
||||||
agentsDir,
|
|
||||||
coreDir,
|
coreDir,
|
||||||
scriptsDir,
|
scriptsDir,
|
||||||
customDir,
|
customDir,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue