@ww_nero/skills 2.4.2 → 2.4.4
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
|
@@ -182,7 +182,7 @@ const GUIDES = {
|
|
|
182
182
|
1. **规划PPT内容**,存储到markdown文件中:
|
|
183
183
|
- 每页Slide的规划需要包含:内容、布局方式、插图(只有用户明确提出要求时才添加插图)
|
|
184
184
|
- 不同页面应尽可能使用不同的布局方式,避免过于单调,可适当使用图表来呈现信息,例如折线图、柱状图、饼状图等;各正文页面背景和标题样式应保持一致
|
|
185
|
-
- 如果用户未明确提出要求,则页面默认比例为宽1280px、高720px
|
|
185
|
+
- 如果用户未明确提出要求,则页面默认比例为宽1280px、高720px,默认背景为深邃蓝色(#01104B)、弱渐变、商务简约风格
|
|
186
186
|
- 如果需要插入图片,则按照以下方式:
|
|
187
187
|
- 收集图片素材,优先使用用户提供的图片;如未提供,则使用图片生成工具生成合适的图片
|
|
188
188
|
- 将图片素材保存到\`images\`文件夹中,通过python脚本获取每个图片的宽高比例,然后对每张图片进行重命名,通过名称标识图片的内容及宽高比例,例如\`main_background_16_9.png\`表示该图片是主背景图,宽高比为16:9;对于用户提供的图片素材,可调用工具解读图片内容
|
|
@@ -281,7 +281,7 @@ const listTools = () => ({
|
|
|
281
281
|
]
|
|
282
282
|
});
|
|
283
283
|
|
|
284
|
-
const server = new Server({ name: 'skills', version: '2.4.
|
|
284
|
+
const server = new Server({ name: 'skills', version: '2.4.4' }, { capabilities: { tools: {} } });
|
|
285
285
|
|
|
286
286
|
server.setRequestHandler(ListToolsRequestSchema, async () => listTools());
|
|
287
287
|
|