feat(agents): agent 市场迁移为 codex-plugin 元数据并增强技能关联展示 - #96
Merged
Conversation
- 导入从 .codex-plugin/plugin.json 读取元数据,去掉 agent.yaml - logo 从包内 assets/logo.png 读取落盘,前端回退首字母占位 - 删除 demo_images 列、entrypoint_host/type/name/ref 列、agent_skills 表 - 删除 demo gallery / 内置 Skills / 依赖 Skills 前端展示 - 移除 agent_skill 模型与 entrypoint 编排逻辑 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- 新增 agent_skills 持久化关联表,导入时解析包内 SKILL.md 落库 - 详情接口返回 skills 并匹配 skill 市场判定收录状态 - 详情页 Skills 模块与 master「依赖 Skills」网格卡片样式对齐,点击新标签页跳转 - 恢复「相关 Agent」模块,基于共同技能重叠推荐 - 合并功能概览与关键词,关键词移至顶部 hero Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- 启动存储时兼容检查 agent_skills 表,处理历史 relation_type 非空约束 - deleteAgent 事务中补充清理 agent_skills 关联数据 - getRelatedAgents 改为基于共同技能过滤的定向查询,避免全表扫描 - parseAgentZip 过滤 .codex-plugin/assets 避免二进制图片存入快照文件 - 修复 controller 上传临时文件遍历清理 - 移除注释结尾中文句号 - 补齐相关功能单元测试
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.
提交的变更类型是
相关链接
需求描述和解决方案
描述
agent.yaml全面迁移为 codex-plugin 规范(.codex-plugin/plugin.json)。解决方案
.codex-plugin/plugin.json读取元数据,严格校验双宿主 manifest 及 prompt 限制。agent_skills关联持久化表,导入时解析包内SKILL.md落库。自查清单