refactor(extensions): separate plugin capability projection and publication - #2629
Merged
limityan merged 2 commits intoAug 29, 2026
Merged
Conversation
limityan
force-pushed
the
yanzhn/sync-plugin-capabilities-to-1.0.0
branch
3 times, most recently
from
August 29, 2026 06:28
a8296e0 to
2cbd3b4
Compare
Move provider-neutral Agent, Tool, and Skill contribution contracts into product domains while keeping OpenCode parsing and lifecycle in its adapter and composition path. Scope publication generations by owner so future sibling adapters cannot overwrite each other.
limityan
force-pushed
the
yanzhn/sync-plugin-capabilities-to-1.0.0
branch
from
August 29, 2026 06:54
2cbd3b4 to
6ed677e
Compare
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.
背景
将 GitCode #87 和 #90 的扩展边界收敛同步到
1.0.0-explore。保留两个来源提交,便于分别追溯 Config 投影迁移和 provider-neutral 能力发布边界。变更
opencode-adapter;Core 只保留 owner 校验、runtime key 绑定和 generation 原子发布。product-domains增加最小的 provider-neutral 插件能力贡献 DTO,避免 Core 依赖 OpenCode 投影类型。1.0.0 适配
CoworkMode本地 Agent baseline,不恢复已移除的 PlanMode 代码。ExternalSourceControlPlane的准确 owner 命名,并补充 feat: unified image analysis pipeline, bot image support, and mobile-web enhancements #90 的多生态边界。风险
验证
cargo test --locked -p bitfun-product-domains --no-default-features --features external-sources --test external_source_contracts(67 passed)cargo test --locked -p bitfun-opencode-adapter --lib plugin_config_projection(14 passed)cargo test --locked -p bitfun-core --features product-full --lib plugin_capability_publication::tests(4 passed)cargo test --locked -p bitfun-core --features product-full --lib plugin_host::tests(9 passed)cargo check --locked -p bitfun-core --no-default-features --features opencode-plugin-hostnode scripts/check-core-boundaries.mjspnpm run check:repo-hygienegit diff --check