]> acesimba.cloud Git - codebuddy-web.git/commit
feat: 支持在会话中管理自定义 skill(上传/删除/更新/热加载)
authorCodebuddy <codebuddy@localhost>
Fri, 14 Aug 2026 02:25:03 +0000 (10:25 +0800)
committerCodebuddy <codebuddy@localhost>
Fri, 14 Aug 2026 02:25:03 +0000 (10:25 +0800)
commit0e072f3597246c586e2127c8bb0b359955a55edb
tree05907f30d5215a0d579c4601fb1a51f5fb6350e2
parent4aef8ef20a4ab4101fc07fedad41646c8ee9c54a
feat: 支持在会话中管理自定义 skill(上传/删除/更新/热加载)

- 后端新增全局 skill 管理接口(~/.codebuddy/skills):
  GET/POST/PUT/DELETE /api/tasks/{id}/skills[/{name}]
  GET /api/tasks/{id}/skills/{name}/content
  POST /api/tasks/{id}/skills/{name}/notify(向运行中的会话注入 skill 路径实现热加载)
- zip 上传带 zip-slip 防护、单顶层目录校验、必需 SKILL.md 校验
- 前端新增「🧩 技能」按钮与弹窗:上传 zip、列出、删除、在线编辑 SKILL.md、通知加载
- 已实证 codebuddy 从 ~/.codebuddy/skills 自动发现 skill
backend/app.py
frontend/index.html