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": "file-manager",
"name": "文件管家",
"icon": "folder-open",
"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 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\"></path></svg>",
"shortDesc": "本地文件系统的智能管理者,支持批量操作与内容分析",
"fullDesc": "文件管家为 Agent 提供安全的本地文件系统访问能力。支持文件读写、目录遍历、批量重命名、格式转换,以及基于内容的全文搜索。所有操作都在用户授权的沙箱内进行。\n\n功能特性\n- 文件操作:读写、复制、移动、删除(带回收站)\n- 批量处理:正则重命名、格式批量转换、目录同步\n- 内容分析:全文索引、重复文件检测、敏感信息扫描\n- 格式支持文本、图片、PDF、Office 文档、代码文件\n- 安全沙箱:路径白名单、操作审计、自动备份",
"category": "development",
"tags": ["文件管理", "批量处理", "全文搜索", "格式转换", "本地存储"],
"tags": [
"文件管理",
"批量处理",
"全文搜索",
"格式转换",
"本地存储"
],
"version": "2.4.1",
"latestVersion": "2.4.1",
"updatedAt": "2025-02-12",
@@ -19,9 +25,19 @@
"installStatus": "not_installed",
"riskLevel": "high",
"requires": {
"tools": ["file_system", "image_processor", "pdf_parser", "text_extractor"],
"tools": [
"file_system",
"image_processor",
"pdf_parser",
"text_extractor"
],
"connections": []
},
"compatibleAgents": ["code-reviewer", "writing-coach", "data-analyst", "task-master"],
"compatibleAgents": [
"code-reviewer",
"writing-coach",
"data-analyst",
"task-master"
],
"changelog": "v2.4.1: 新增文件版本历史,支持回溯任意时间点的文件状态"
}