]> acesimba.cloud Git - codebuddy-web.git/commit
fix(skills): 上传支持扁平 zip 与自动命名
authorCodebuddy <codebuddy@localhost>
Fri, 14 Aug 2026 12:37:58 +0000 (20:37 +0800)
committerCodebuddy <codebuddy@localhost>
Fri, 14 Aug 2026 12:37:58 +0000 (20:37 +0800)
commitfa972e152b0759b87e11bae550f62f5509da22b0
tree3b56e3de60df5293ec78554e1481c61e35a8b72d
parentd692ad8d084122533c974f2eb2a6105bcfb7597a
fix(skills): 上传支持扁平 zip 与自动命名

- 解压跳过 __MACOSX / ._* 系统文件
- 支持扁平结构(技能内容直接压缩,无统一顶层目录):原样解压
- 扁平时从 SKILL.md frontmatter 的 name 自动取 skill 名称,缺省回退到文件名
- 仅『恰好 1 个顶层目录』才剥前缀(单目录包裹场景)
backend/app.py