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": "web-search",
"name": "网络搜索",
"icon": "search",
"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=\"m21 21-4.34-4.34\"></path><circle cx=\"11\" cy=\"11\" r=\"8\"></circle></svg>",
"shortDesc": "智能网络搜索与信息聚合,快速获取准确答案",
"fullDesc": "网络搜索技能让 Agent 能够实时检索互联网信息,支持多引擎聚合、结果去重、可信度评估和结构化摘要。不只是返回链接,而是提炼出可直接使用的答案。\n\n功能特性\n- 多引擎聚合Google、Bing、DuckDuckGo 结果综合\n- 智能摘要:自动提取关键信息,生成 TL;DR\n- 可信度评估:基于域名权威性、发布日期、交叉验证打分\n- 实时热点:追踪新闻、社交媒体趋势\n- 学术搜索arXiv、Google Scholar、PubMed 专精模式",
"category": "productivity",
"tags": ["搜索", "信息检索", "网页抓取", "实时信息", "研究辅助"],
"tags": [
"搜索",
"信息检索",
"网页抓取",
"实时信息",
"研究辅助"
],
"version": "3.0.2",
"latestVersion": "3.0.2",
"updatedAt": "2025-02-10",
@@ -19,9 +25,21 @@
"installStatus": "not_installed",
"riskLevel": "medium",
"requires": {
"tools": ["http_client", "html_parser", "rate_limiter"],
"connections": ["internet", "search_api"]
"tools": [
"http_client",
"html_parser",
"rate_limiter"
],
"connections": [
"internet",
"search_api"
]
},
"compatibleAgents": ["translator", "business-analyst", "data-analyst", "writing-coach"],
"compatibleAgents": [
"translator",
"business-analyst",
"data-analyst",
"writing-coach"
],
"changelog": "v3.0.2: 新增 AI 搜索结果去重算法,减少 40% 冗余信息"
}