feat(core): support shipping built-in skills with the CLI (#16300)

This commit is contained in:
N. Taylor Mullen
2026-01-12 15:44:08 -08:00
committed by GitHub
parent 57d4cd6357
commit d4d2cd3de9
4 changed files with 75 additions and 3 deletions
+9
View File
@@ -74,4 +74,13 @@ if (packageName === 'cli') {
}
}
// Copy built-in skills for the core package.
if (packageName === 'core') {
const builtinSkillsSource = path.join(sourceDir, 'skills', 'builtin');
const builtinSkillsTarget = path.join(targetDir, 'skills', 'builtin');
if (fs.existsSync(builtinSkillsSource)) {
fs.cpSync(builtinSkillsSource, builtinSkillsTarget, { recursive: true });
}
}
console.log('Successfully copied files.');