Repository navigation
docs(release): 发布说明列出插件需要的新宿主能力 - #2245
Merged
Merged
Conversation
15 of 18 tasks
xiaoyumuxi
marked this pull request as ready for review
November 20, 2026 16:56
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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
背景 / Why
很多宿主能力都是因为插件需要才加的,例如
commandInstallers能力版本 1 就是为 Rust Support 按需下载 CodeLLDB 加的。插件声明了新的能力版本后,旧版 Lithe 会拒绝安装这个插件。以前发布说明不写这层关系,有两个问题:维护者要求以后每次发版都写清“插件仓库 + 插件版本 + 所需的新能力”。
改动 / Changes
.agents/skills/release-lithe/SKILL.mdPINNED_CORE_REVISION,在 Core 里 diffcapabilities.rs的SUPPORTED_CAPABILITIES,读protocol-changelog.md这段时间新增的宿主方法和通知;只算桌面端在目标提交里也实现了的。plugin.json的requires(或后端调用)确认,取第一个需要它的插件版本。#### 🔌 插件需要的新宿主能力和#### 🔌 New host capabilities that plugins need,排在“修复”之后。docs/releases/TEMPLATE.md:开头注释的分类顺序加入这一类,并指向 Skill;中英文各加这一类的占位条目。不在本 PR 范围内 / Out of scope
scripts/release/notes/validate-stable-release-notes.mjs,也不加 CI 检查。这一类可以为空,没法自动判断该不该有,由发版时按 Skill 核对。类型专属:docs
.agents/notes/:这是发版操作规则,真源是release-litheSkill,没有新增 Notescripts/desktop/build-desktop-core.sh的PINNED_CORE_REVISION、Core 的rust/crates/plugin-model/src/capabilities.rs(SUPPORTED_CAPABILITIES)和shared/plugins/reference/protocol-changelog.md都在 Coremain上范围检查 / Scope checks
功能矩阵 / Feature matrix
matrix-exempt标签。插件归属 / Plugin ownership
N/A:不改宿主代码、测试或插件资料。
UI 验证 / UI evidence
N/A:没有界面变化。
统一日志系统 / Structured logging
N/A。
界面文案 / i18n
N/A:发布说明不走
shared/i18n/。逻辑归属 / Logic placement
N/A。
性能与内存 / Performance and memory
N/A。
设置 / Settings
N/A。
插件契约 / Plugin contract
N/A:不改契约、能力版本或宿主方法。
发行包与资源 / Bundle and resources
N/A。
无用代码与重构 / Dead code and refactoring
验证 / Verification
node scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.11.mddocs/releases/v0.8.12.md上按新规则写这一类,再跑同一个校验desktop-v0.8.11(Core4ef9d9e)与 #2244(Core43e3f27)的capabilities.rscommandInstallers从[0]变为[0, 1],对上 Rust Support 0.1.0 的requires.commandInstallers: 1未能执行的检查和原因: 无。
提交前确认 / Final checks
main创建;目标分支:feat、fix、docs 为main,release 以发布流程要求为准.build/、target/、dist/、.artifacts/等产物,没有凭据、个人路径和未脱敏的日志或截图