@ww_nero/skills 3.3.0 → 3.4.0

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.
Files changed (2) hide show
  1. package/index.js +7 -7
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -139,8 +139,8 @@ const listTools = () => ({
139
139
  }
140
140
  },
141
141
  {
142
- name: 'make_ppt',
143
- description: '制作PPT的全流程指导说明及注意事项',
142
+ name: 'ppt',
143
+ description: '制作PPT的全流程指导说明和注意事项',
144
144
  inputSchema: {
145
145
  type: 'object',
146
146
  properties: {},
@@ -148,8 +148,8 @@ const listTools = () => ({
148
148
  }
149
149
  },
150
150
  {
151
- name: 'process_video',
152
- description: '视频处理的技巧指导',
151
+ name: 'video',
152
+ description: '视频处理(如添加字幕)的指导说明和注意事项',
153
153
  inputSchema: {
154
154
  type: 'object',
155
155
  properties: {},
@@ -159,7 +159,7 @@ const listTools = () => ({
159
159
  ]
160
160
  });
161
161
 
162
- const server = new Server({ name: 'skills', version: '3.3.0' }, { capabilities: { tools: {} } });
162
+ const server = new Server({ name: 'skills', version: '3.4.0' }, { capabilities: { tools: {} } });
163
163
 
164
164
  server.setRequestHandler(ListToolsRequestSchema, async () => listTools());
165
165
 
@@ -176,11 +176,11 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
176
176
  return { content: [{ type: 'text', text: result }] };
177
177
  }
178
178
 
179
- if (name === 'make_ppt') {
179
+ if (name === 'ppt') {
180
180
  return { content: [{ type: 'text', text: PPT_PROMPT }] };
181
181
  }
182
182
 
183
- if (name === 'process_video') {
183
+ if (name === 'video') {
184
184
  return { content: [{ type: 'text', text: VIDEO_PROMPT }] };
185
185
  }
186
186
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ww_nero/skills",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "MCP server that returns Python reference snippets and skill guides",
5
5
  "main": "index.js",
6
6
  "bin": {