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": "calendar-sync",
"name": "日历同步",
"icon": "calendar-days",
"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=\"M8 2v4\"></path><path d=\"M16 2v4\"></path><rect width=\"18\" height=\"18\" x=\"3\" y=\"4\" rx=\"2\"></rect><path d=\"M3 10h18\"></path><path d=\"M8 14h.01\"></path><path d=\"M12 14h.01\"></path><path d=\"M16 14h.01\"></path><path d=\"M8 18h.01\"></path><path d=\"M12 18h.01\"></path><path d=\"M16 18h.01\"></path></svg>",
"shortDesc": "无缝连接主流日历服务,智能安排与冲突检测",
"fullDesc": "日历同步技能让 Agent 能够读取和写入你的日程安排,支持 Google Calendar、Outlook、Apple Calendar 等主流服务。智能识别会议重要性、自动建议最佳会议时间、检测时区冲突。\n\n功能特性\n- 多平台同步Google、Outlook、Apple、CalDAV 协议支持\n- 智能调度:基于忙碌状态自动建议会议时间\n- 时区处理:跨时区会议自动转换、旅行者时区感知\n- 会议辅助:议程模板、会议纪要自动生成、行动项跟踪\n- 提醒策略:分层提醒(提前一天、一小时、十五分钟)",
"category": "business",
"tags": ["日历", "日程管理", "会议安排", "时区处理", "提醒"],
"tags": [
"日历",
"日程管理",
"会议安排",
"时区处理",
"提醒"
],
"version": "1.9.0",
"latestVersion": "1.9.0",
"updatedAt": "2025-02-08",
@@ -19,9 +25,22 @@
"installStatus": "not_installed",
"riskLevel": "medium",
"requires": {
"tools": ["oauth_client", "ical_parser", "timezone_calculator", "notification_api"],
"connections": ["google_calendar", "outlook_api", "apple_icloud"]
"tools": [
"oauth_client",
"ical_parser",
"timezone_calculator",
"notification_api"
],
"connections": [
"google_calendar",
"outlook_api",
"apple_icloud"
]
},
"compatibleAgents": ["task-master", "business-analyst", "translator"],
"compatibleAgents": [
"task-master",
"business-analyst",
"translator"
],
"changelog": "v1.9.0: 新增 AI 会议重要性评分,自动保护深度工作时段"
}