@ww_nero/skills 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -215,7 +215,7 @@ const buildSnippet = (title, workingDirectory) => {
|
|
|
215
215
|
fs.writeFileSync(outputPath, code);
|
|
216
216
|
|
|
217
217
|
const lines = [];
|
|
218
|
-
lines.push(
|
|
218
|
+
lines.push(`示例脚本已经存储到工作目录下,文件名: ${entry.codeFile},可直接作为工具模块导入使用。`);
|
|
219
219
|
if (entry.notes && entry.notes.length > 0) {
|
|
220
220
|
lines.push('');
|
|
221
221
|
lines.push('注意事项:');
|
|
@@ -280,7 +280,7 @@ const listTools = () => ({
|
|
|
280
280
|
]
|
|
281
281
|
});
|
|
282
282
|
|
|
283
|
-
const server = new Server({ name: 'skills', version: '2.4.
|
|
283
|
+
const server = new Server({ name: 'skills', version: '2.4.1' }, { capabilities: { tools: {} } });
|
|
284
284
|
|
|
285
285
|
server.setRequestHandler(ListToolsRequestSchema, async () => listTools());
|
|
286
286
|
|