mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Inline the description and schema of the shell tool in the source (#1709)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user