feat(app): 移除内置agents并添加CORS支持和技能上传优化
移除了agents/registry.json中的所有内置agents配置,将agents数组清空。 为web应用添加了CORS中间件支持,允许指定的前端地址跨域访问。 重构了技能上传功能,增加了LLM重写机制,自动规范化上传的技能格式。 新增了工具名称提取逻辑,从技能正文中自动识别Required Tools段落。 更新了技能学习候选者和草稿的载荷结构,添加评估报告统计信息。 修改了意图路由技能的说明,改进任务状态管理逻辑。
This commit is contained in:
@ -1,12 +1,14 @@
|
||||
{
|
||||
"change_reason": "Initial skill for cron scheduling",
|
||||
"content_hash": "placeholder",
|
||||
"content_hash": "1826b1b2921197045bccce45b4e1997ee212d10cc28b3ea5f42bf7b1982beacc",
|
||||
"created_at": "2026-05-26T00:00:00.000000+00:00",
|
||||
"created_by": "system",
|
||||
"frontmatter": {
|
||||
"description": "定时任务和周期性调度。支持标准 cron 表达式、一次性提醒和持久化任务。",
|
||||
"name": "cron-scheduler",
|
||||
"tools": ["cron"]
|
||||
"tools": [
|
||||
"cron"
|
||||
]
|
||||
},
|
||||
"parent_version": null,
|
||||
"provenance": {
|
||||
@ -15,8 +17,10 @@
|
||||
},
|
||||
"review_state": "published",
|
||||
"skill_name": "cron-scheduler",
|
||||
"summary": "Cron Scheduler — 基于 cron 表达式的定时任务和一次性提醒",
|
||||
"summary_hash": "placeholder",
|
||||
"tool_hints": ["cron"],
|
||||
"summary": "# Cron Scheduler ## Overview 定时任务和周期性调度。支持标准 cron 表达式、一次性提醒和持久化任务。",
|
||||
"summary_hash": "66b35720f0eb98008c5e53408bb8f13961f7e733deb5e01409f7cb6d017ba002",
|
||||
"tool_hints": [
|
||||
"cron"
|
||||
],
|
||||
"version": "v0001"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user