figma-mcp-stdio 1.0.4 → 1.0.5

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/build/index.js +4 -4
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -35,12 +35,12 @@ const taskList = [
35
35
  "5. 调用【获取组件库信息任务】,从知识库中获取组件库信息",
36
36
  "6. 使用【获取图片详情工具】获取截图详情",
37
37
  "【生成页面】:",
38
- `7. 根据截图详情内容生成页面,结合 figmaJson及offsetJSON 数据优化样式,截图为主,figmaJson 数据为辅。分段生成代码,例如template、script、scss,防止任务过大超时
38
+ `7. 根据截图详情内容生成页面,结合 figmaJson数据优化样式,截图为主,figmaJson 数据为辅。分段生成代码,例如template、script、scss,防止任务过大超时
39
39
  `,
40
40
  "【检查页面】:",
41
- "9. 调用【检查页面工具】检查页面各个部分,确保都已经正确生成",
41
+ "8. 调用【检查页面工具】检查页面各个部分,确保都已经正确生成",
42
42
  "【清理】:",
43
- "10. 使用terminal命令删除页面截图(保存在images下的),只保留用户指定下载的图片资源文件",
43
+ "9. 使用terminal命令删除页面截图(保存在images下的),只保留用户指定下载的图片资源文件",
44
44
  ];
45
45
  // 自动生成页面工具
46
46
  server.addTool({
@@ -65,7 +65,7 @@ server.addTool({
65
65
  `);
66
66
  }
67
67
  return String(`
68
- 使用ai-rag-c-component查找${args.libraryName}组件库中的${args.componentsName}组件所有使用事例和API文档
68
+ 使用ai-rag-api的非LLM模式查找id为8的${args.libraryName}组件库中的${args.componentsName}组件所有使用事例和API文档
69
69
  如果在知识库中找不到的话就不使用这个组件库,返回组件信息
70
70
  `);
71
71
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "figma-mcp-stdio",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "A Model Context Protocol server",
5
5
  "private": false,
6
6
  "type": "module",