@ww_nero/skills 2.4.5 → 2.4.6
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 +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -190,6 +190,8 @@ const GUIDES = {
|
|
|
190
190
|
|
|
191
191
|
2. **通过SVG代码实现Slides的排版**:
|
|
192
192
|
- 如需插图,统一使用\`rect\`或\`circle\`元素进行占位(必须符合图片宽高比例),占位元素应设置合适的位置,可添加浅色填充或边框以便预览时识别
|
|
193
|
+
- 如需图标,优先使用Emoji,其次使用纯代码的方式绘制
|
|
194
|
+
- 如需图表,如折线图、柱状图等,应使用纯代码的方式绘制,而不是使用图片占位元素
|
|
193
195
|
- 所有Slide的页面共同保存在一个HTML文件中。
|
|
194
196
|
|
|
195
197
|
3. **把SVG转成PPTX文件**:
|
|
@@ -282,7 +284,7 @@ const listTools = () => ({
|
|
|
282
284
|
]
|
|
283
285
|
});
|
|
284
286
|
|
|
285
|
-
const server = new Server({ name: 'skills', version: '2.4.
|
|
287
|
+
const server = new Server({ name: 'skills', version: '2.4.6' }, { capabilities: { tools: {} } });
|
|
286
288
|
|
|
287
289
|
server.setRequestHandler(ListToolsRequestSchema, async () => listTools());
|
|
288
290
|
|