feat(publish): support bulk skill package upload#349
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
支持从单个 zip 包中批量发布多个技能:
改动内容
后端 (
server/):SkillPublishAppService:编排批量发布流程,逐技能跟踪结果SkillPackageArchiveExtractor:从 zip 中提取并校验多个技能清单SkillPublishController:暴露批量发布接口,返回结构化响应前端 (
web/src/):useSkillQueries:处理批量发布 mutation 和结果解析publish-result.ts:发布结果解析与展示工具函数测试
后端测试:
前端测试:
E2E 测试:
Closes #319