mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 11:41:04 +00:00
Inline the description and schema of the shell tool in the source (#1709)
This commit is contained in:
parent
ad7839ea4c
commit
25cdf9b762
4 changed files with 34 additions and 71 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue