Repository navigation
docs(plugin-api): 明确 API 扩展 PR 与版本和交付规则 - #191
Merged
Merged
Conversation
xiaoyumuxi
marked this pull request as ready for review
November 23, 2026 21:00
This was referenced Nov 23, 2026
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
无(纯文档与贡献规则)。
配套桌面端 AI 规则 PR:1lck/Lithe-IDEA#2370
PR 类型 / Type
改动说明 / What changes
背景 / Why
插件需要补充 API 时,当前说明容易把 API-01–44 误读为封闭清单,或按旧的“新增就升版”规则处理。日志、错误码和 SDK 交付标准也需要明确,避免公共扩展只有一种语言能用或失败后无法定位。
改动 / Changes
shared/plugins/guides/plugin-api-pr-guide.zh-CN.md:复用调查、领域内扩展、可选字段、严格解码、新旧宿主兼容、发布顺序、仓库归属、资料登记、gh Draft PR 步骤及可复制的填写提纲。AGENTS.md入口;在插件总览和参考的中英导航中链接指南,修正契约和版本页中“全部填 0”“新增即升版”等冲突表述;更新协议记录的维护要求。不在本 PR 范围内 / Out of scope
没有新增运行时字段、方法、通知、错误码或版本;没有修改 SDK 实现。桌面端 AI 规则由配套 PR 维护。
类型专属:docs
范围检查 / Scope checks
功能矩阵 / Feature matrix
N/A:纯文档,无宿主用户可见能力或跨平台行为变化。
插件归属 / Plugin ownership
通用贡献指南,无具体插件实现、测试、功能矩阵、翻译或资源步骤。
统一日志系统 / Structured logging
N/A:本次规定 API 交付要求,没有修改运行时日志事件或调用。
插件契约 / Plugin contract
本次只修正文档贡献规则与既有版本说明;API、schema、capability、进程协议和文档格式的版本值均未变。无宿主方法或通知变动。
其他范围
UI、i18n、业务逻辑、性能与内存、设置、运行时资源及代码清理均 N/A:没有相关实现改动。
验证 / Verification
node shared/plugins/scripts/verify-docs.mjsgit diff --cached --check未运行 Rust/Go/Java/Node 编译或 SDK E2E:本次没有实现或线协议改动,仅修改文档与贡献规则。
提交前确认 / Final checks
origin/main创建分支,目标为main。