Inline the description and schema of the shell tool in the source (#1709)

This commit is contained in:
Billy Biggs
2025-06-28 02:53:03 -07:00
committed by GitHub
parent ad7839ea4c
commit 25cdf9b762
4 changed files with 34 additions and 71 deletions

View File

@@ -31,16 +31,6 @@ if (!existsSync(bundleDir)) {
mkdirSync(bundleDir);
}
// Copy specific shell files to the root of the bundle directory
copyFileSync(
join(root, 'packages/core/src/tools/shell.md'),
join(bundleDir, 'shell.md'),
);
copyFileSync(
join(root, 'packages/core/src/tools/shell.json'),
join(bundleDir, 'shell.json'),
);
// Find and copy all .sb files from packages to the root of the bundle directory
const sbFiles = glob.sync('packages/**/*.sb', { cwd: root });
for (const file of sbFiles) {