Repository navigation
docs(agents): Java 插件改为普通插件身份,记录宿主前置条件 - #1754
Merged
Merged
Conversation
Lithe 不再区分官方插件和普通插件,Java 插件和 Cargo、Maven、Gradle 一样使用 io.github.lithe-idea.java-support,不带发布者签名,由 Lithe Store 自动收录。 - 通用 API 与语言闸门 Q1:改定新身份;E1 必须先取消 hostIntegration 按官方 命名空间判定的限制(plugins/declarative.rs is_official_namespace)和短工具 ID 要求 verifiedOfficial 的限制(toolchain/definitions.rs);旧 ID 按 #1357 留在 OfficialPluginCatalog 并填 communityReplacementID;之前 Java 仓库只发预发布 - Java 独立分发提案:结论、ID、仓库、信任、私钥、安装阶段、单一生效来源、 阶段表、验收和验证改为新身份;“保留官方 ID 并加发布者签名”改为被放弃的备选 - Java 插件分发基础(已实现):注明本篇描述的是旧 ID 内置包的现状,随旧 ID 退役
xiaoyumuxi
marked this pull request as ready for review
November 5, 2026 05:42
This was referenced Nov 5, 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.
背景
Lithe 不再区分官方插件和普通插件,所有插件都按普通插件处理,不带发布者签名。区别只在 Lithe Store 的收录方式:Lithe-IDEA 组织的
lithe-plugin-*仓库由 bot 自动收录,组织外的插件提 PR 由维护者审核。Java 插件因此改成和 Cargo、Maven、Gradle 一样的普通插件:ID
io.github.lithe-idea.java-support,vendorLithe Community,signatureRequirement: "none"(Lithe-IDEA/lithe-plugin-java#3)。本 PR 只改 Agent Note,记录这次改定和阶段 E 必须先解决的宿主限制;不改代码。改动
.agents/notes/proposed/architecture/2026-11-04-java-extraction-generic-apis-and-gate.md(通用 API 与语言闸门)dev.lithe.plugin.java-support”,改为 2026-11-05 的新身份:普通插件 ID、vendor、signatureRequirement: "none"、不带发布者签名和packageTrust、从Lithe-IDEA/lithe-plugin-java构建、由 Store 自动收录;短工具 IDjava保留。rust/lithe-core/src/plugins/declarative.rs里languageServers[].hostIntegration按is_official_namespace判定官方的限制(其他 ID 现在得到plugin.integration.unsupported);rust/lithe-core/src/toolchain/definitions.rs里不带:的短工具 ID 要求verifiedOfficial的限制(Maven 插件依赖工具 IDjava)。OfficialPluginCatalog并填写communityReplacementID;在这之前 Java 仓库只发预发布。.agents/notes/proposed/architecture/2026-10-24-java-support-independent-distribution.md(Java 独立分发提案)hostIntegration和短工具 ID)。communityReplacementID迁移,插件设置、项目 JDK、运行配置随 ID 迁移。Lithe-IDEA/lithe-plugin-java;主仓库Plugins/mac/Official/JavaSupport/只服务旧 ID 内置包,随旧 ID 退役。收录改由 Lithe Store 负责。signatureRequirement: "none",来源信任靠 Store 登记的 SHA-256 和安装前确认;新 ID 需要宿主解除两条官方限制,且不继承旧 ID 的任何信任。原来的私钥分发段落改为“不需要私钥”。.agents/notes/implemented/architecture/2026-10-25-java-plugin-distribution-foundation.md(Java 插件分发基础,已实现)验证
./scripts/agent-notes/verify-agent-notes.sh:210 篇 active Agent Note 通过(已变基到最新preview后重跑)。相关 PR