Skip to content

功能:支持管理端导入资源包 - #1387

Open
yokowu wants to merge 3 commits into
mainfrom
feat-resource-package-import
Open

yokowu wants to merge 3 commits into
mainfrom
feat-resource-package-import

Conversation

@yokowu

@yokowu yokowu commented Oct 10, 2026

Copy link
Copy Markdown
Collaborator

改动概览

  • 增加管理端资源包上传、完整性校验、差异预览、确认导入与批次历史;独立静态资源仅校验并明确忽略。
  • 以 publisher + slug 识别导入资源,支持事务内更新、缺失资源退役及重现恢复;导入资源禁止人工改写,使用授权与 Connector 凭证仍可单独管理。
  • 支持 Header / OAuth DCR 映射、Connector 级超时、Expert 依赖与头像;增加 000015_resource_import 迁移,并向 Agent API 下发四类资源的 i18n 映射。
  • 对不合规的 Skill frontmatter 名称和描述在预览提示并确认后做确定性规范化,保留原包摘要及实际存储包摘要。

验证

  • go test ./...(另以本地 r0016 解压目录作为可选真实样本)及 go vet ./...
  • make sqlc-check、迁移编号检查
  • 管理端 pnpm typecheck、pnpm lint、pnpm build

范围与待验收事项

  • 本 PR 包含 Agent API 的 i18n 存储与下发,不包含 Agent 客户端语言选择。
  • 按已确认的验收范围,未在 PostgreSQL 实例执行 000015 迁移及完整导入事务的运行时验收;部署前需在隔离数据库中补做。
  • 原始外层 ZIP、Expert 独占依赖和非空静态资源样本仍需补齐对应的验收材料。
  • 先前发布的 53e0824d 镜像不是本 PR 提交 b74c612b 的构建产物。

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