refactor: icon 字段从 Lucide 名称迁移到内联 SVG

将 9 个技能的 icon 字段从 Lucide 图标名称(如 "search")替换为
内联 SVG 字符串,使市场数据完全自包含,新增技能无需修改前端代码。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 10:17:01 +08:00
parent a787208db9
commit 6837bd897a
9 changed files with 156 additions and 35 deletions

View File

@@ -1,11 +1,17 @@
{
"id": "doc-parser",
"name": "文档解析器",
"icon": "file-text",
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"></path><path d=\"M14 2v5a1 1 0 0 0 1 1h5\"></path><path d=\"M10 9H8\"></path><path d=\"M16 13H8\"></path><path d=\"M16 17H8\"></path></svg>",
"shortDesc": "支持 50+ 格式的文档解析与结构化提取",
"fullDesc": "文档解析器是 Agent 的文档理解基础设施。无论是扫描版 PDF、手写笔记照片还是复杂排版的 Word 文档,都能准确提取文本、表格、图片和元数据,输出结构化的 Markdown 或 JSON。\n\n支持格式\n- 办公文档Word、Excel、PowerPoint、WPS\n- 版式文档PDF含扫描版 OCR、EPUB、MOBI\n- 图片文档JPG、PNG、TIFF、WebPOCR 识别)\n- 标记语言Markdown、HTML、XML、LaTeX\n- 代码文档Jupyter Notebook、Swagger/OpenAPI",
"category": "data",
"tags": ["文档解析", "OCR", "PDF处理", "表格提取", "格式转换"],
"tags": [
"文档解析",
"OCR",
"PDF处理",
"表格提取",
"格式转换"
],
"version": "2.1.3",
"latestVersion": "2.1.3",
"updatedAt": "2025-02-14",
@@ -19,9 +25,19 @@
"installStatus": "not_installed",
"riskLevel": "low",
"requires": {
"tools": ["ocr_engine", "pdf_renderer", "table_extractor", "layout_analyzer"],
"tools": [
"ocr_engine",
"pdf_renderer",
"table_extractor",
"layout_analyzer"
],
"connections": []
},
"compatibleAgents": ["writing-coach", "data-analyst", "translator", "code-reviewer"],
"compatibleAgents": [
"writing-coach",
"data-analyst",
"translator",
"code-reviewer"
],
"changelog": "v2.1.3: 新增手写公式识别,支持 LaTeX 自动转换"
}