Skip to content

feat: add marketplace core#319

Merged
h1177h merged 2 commits into1024XEngineer:mainfrom
h1177h:pr/marketplace-core
May 8, 2026
Merged

feat: add marketplace core#319
h1177h merged 2 commits into1024XEngineer:mainfrom
h1177h:pr/marketplace-core

Conversation

@h1177h
Copy link
Copy Markdown
Contributor

@h1177h h1177h commented May 8, 2026

变更内容

本 PR 新增 marketplace core 相关基础能力,为后续市场能力集成提供底层支撑。

主要包括:

  • 新增 marketplace catalog、artifact、installer、resolver、manifest 等核心模型和逻辑
  • 新增 marketplace registry client 相关基础能力
  • 新增 marketplace 示例 artifact 配置
  • 补充 marketplace 配置项及对应校验
  • 补充 marketplace/config 相关测试

不包含内容

本 PR 不包含以下内容,后续会通过独立 PR 提交:

  • 云端 registry server
  • runtime marketplace 集成
  • gateway marketplace API
  • agent marketplace tools
  • capability planner / prompt wiring

测试

go test ./pkg/marketplace ./pkg/marketplace/registry ./pkg/config

Copy link
Copy Markdown

@fennoai fennoai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found 4 issues worth addressing in the marketplace core changes. The main themes are trust-boundary handling around remote downloads and destructive filesystem operations, plus two behavior/config mismatches that are likely to surprise callers.

Comment thread pkg/marketplace/registry/client.go
Comment thread pkg/marketplace/lifecycle.go Outdated
Comment thread pkg/marketplace/installer.go
Comment thread pkg/marketplace/registry/client.go
@h1177h h1177h requested a review from nieshao001 May 8, 2026 12:13
@h1177h h1177h merged commit ef72b7f into 1024XEngineer:main May 8, 2026
4 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.

3 participants