Repository navigation
docs(plugins): 桌面端已声明 runConfigurationTypes(API-29) - #95
Merged
Merged
Conversation
- api-catalog.md:API-29 中英两行不再写桌面端未声明 runConfigurationTypes,改为自 #2148 起声明、插件类型不能调试。 - capabilities-and-versions.md:runConfigurationTypes 0 的桌面端列由“未声明”改为 ✅¹,脚注 ¹ 加一条插件类型不能调试。 - domains/build-systems.md:中英“宿主支持”说明写明对话框列出、编辑、保存和运行插件类型的方式。
xiaoyumuxi
marked this pull request as ready for review
November 18, 2026 08:57
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
pluginhost.go的Declared()列表里已有runConfigurationTypes改动说明 / What changes
只改文档。#94 合入时桌面端还没有声明这个能力,所以参考页写的是“未声明”。现在桌面端已经声明,这些地方都要更新:
shared/plugins/reference/api-catalog.md:API-29 的中英两行不再写桌面端未声明runConfigurationTypes,改为“自 feat(run): 插件声明的运行配置类型,运行配置可允许多个实例 1lck/Lithe-IDEA#2148 起声明,插件类型只能运行、不能调试”;buildModelInputs仍未声明。shared/plugins/reference/capabilities-and-versions.md:runConfigurationTypes0的“Lithe 桌面端”列,中英都从“未声明”改为✅¹;pluginhost.go的注释 “A declared kind has no debugger” 一致)。shared/plugins/reference/domains/build-systems.md:中英“宿主支持”说明加一句,写明桌面端怎样处理插件类型:.lithe/run/plugin/<插件 ID>.toml;没有改契约、schema、fixture、能力版本或插件函数协议,所以不更新协议更新记录。
验证 / Verification
node shared/plugins/scripts/verify-docs.mjs第一个按这份契约声明类型的插件是 Go Support 1.1.0,在 Draft Lithe-IDEA/lithe-plugin-go#18 里,宿主 main a8797ae 上的端到端测试已通过。