fix(installer): allow scripts/ directory to be copied during install

Remove the scripts/ exclusion from both installer paths so that
resolve-customization.py is available at the install destination
where SKILL.md references it.
This commit is contained in:
Brian Madison 2026-04-14 12:45:52 -05:00
parent 29f37255cf
commit 99094acd4f
2 changed files with 0 additions and 7 deletions

View File

@ -172,12 +172,10 @@ class ConfigDrivenIdeSetup {
const skipSuffixes = ['~', '.swp', '.swo', '.bak'];
const filter = (src) => {
const name = path.basename(src);
const rel = path.relative(sourceDir, src);
if (src === sourceDir) return true;
if (skipPatterns.has(name)) return false;
if (name.startsWith('.') && name !== '.gitkeep') return false;
if (skipSuffixes.some((s) => name.endsWith(s))) return false;
if (rel === 'scripts' || rel.startsWith('scripts/')) return false;
return true;
};
await fs.copy(sourceDir, skillDir, { filter });

View File

@ -454,11 +454,6 @@ class OfficialModules {
continue;
}
// Skip scripts directory - contains build/customization scripts not needed at install time
if (file.startsWith('scripts/') || file === 'scripts') {
continue;
}
// Skip sidecar directories - these contain agent-specific assets not needed at install time
const isInSidecarDirectory = path
.dirname(file)