Skip to content

fix(resource-library): 提前拒绝歧义 Skill 包 - #237

Merged
uvwt merged 1 commit into
mainfrom
fix/library-export-nested-manifest-20261013
Oct 13, 2026
Merged

uvwt merged 1 commit into
mainfrom
fix/library-export-nested-manifest-20261013

Conversation

@uvwt

@uvwt uvwt commented Oct 13, 2026

Copy link
Copy Markdown
Owner

变更\n- Skill 导出仅允许根目录 SKILL.md,嵌套同名 Manifest 在 export_prepare 阶段直接返回 PACKAGE_INVALID\n- Cloud 返回非 2xx 时区分为 UPLOAD_REJECTED,不再与网络 UPLOAD_FAILED 混淆\n- 补充导出和上传错误回归测试\n\n## 验证\n- go test ./internal/resourcelibrary ./internal/nexusclient -count=1\n- go vet ./internal/resourcelibrary\n- 使用真实 weread-skills 修复包通过 ExportDirectory 导出

@uvwt
uvwt merged commit 8107019 into main Oct 13, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant