Repository navigation
Conversation
Collaborator
|
感觉吧,其实也可以拆成插件,但是好像工程量有点大,后面再下载也是可以的吧(但是下载大小可能有点大) |
Mucheen
marked this pull request as ready for review
October 25, 2026 06:45
Lithe Review结论: ❓ 审查未完成 任务: 343 审查状态:已由服务器取消 可以重新评论 |
Mucheen
marked this pull request as draft
October 25, 2026 06:54
Collaborator
|
#1498 你看看这个issue看看能不能全部从rust核心移出来呗,最近在清理重构代码,很多Java的还是用的之前的入口没有走统一的逻辑 |
Collaborator
Author
ok |
Collaborator
Author
@xiaoyumuxi 是1495这个issue吗 |
Collaborator
是的是的 |
This branch has not been deployed
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.
Java Support 已经是声明式插件,但资源仍随应用下载,外部副本也不能沿用宿主签名。本 PR 在同一插件 ID 下补齐可信独立发布、老用户切换和按需安装,并让应用在完整双架构官方索引上架后省去内置 Java 资源。当前
releaseEnabled: false且真实索引为空,默认构建继续保留过渡包。功能与行为
packageTrust: 1契约、schema 和 fixture,旧宿主在下载前过滤新版。下载副本要求publisherPackage;可选bundledSignatureRequirement: sameTeamAsHost仅适用于官方目录固定、确实位于宿主 app 内的 bundled 来源。任意来源只要存在签名文档都必须验证,来源伪造不能借用内置例外。bundledUntilPublishedVersion: 1.1.0控制默认包的退出条件。构建要求官方索引的仓库、API、能力与双架构 URL、平台和哈希完整且唯一,才跳过 Java 组装及 JDT/JDK 准备;缺项保留过渡包,损坏输入中止构建。后续兼容下载版本可继续满足门槛。打包判断和嵌入使用同一索引,支持只读的LITHE_OFFICIAL_PLUGIN_INDEX/--marketplace-index构建输入;临时 fixture 不参与发布或工作树复用,运行时不改写发行目录。--bundled-only使用宿主签名;开发包只允许 debug 显式生成。验证
.artifacts/test-stability/。--slimuniversal 应用与 DMG 均实际构建通过,ARM64/Intel 架构、资源清单、应用签名和磁盘镜像检查通过。完整 fixture 索引下,缺少 JDT/JDK 构建输入仍可产出无 Java 副本的应用;空真实索引下,过渡包完整保留。临时应用和 DMG 已清理。00ab21e22已通过 Rust Core 1207 项及集成测试、Swift 信任安装等 121 项和 Java 消费者 180 项、C ABI/桥接;本次迁移提交6ab867aeb未进一步修改 Rust 实现或契约,macOS 受影响模块另按上述 95 项回归验证。发布边界
没有创建插件线上 Release、真实市场索引或使用正式发布私钥。默认应用当前仍含 Java,必须先发行支持新信任能力的宿主,再验证正式签名双架构包和真实市场安装,最后合并真实索引触发精简。fixture 索引只能证明构建路径,不能替代真实上架、Intel 真机及完整 Java 产品工作流;矩阵保持运行验收 pending。Windows 独立分发尚未实现。
插件契约合并后,需在
lithe-plugin-docs运行node scripts/contract.mjs sync --revision <合并后的 preview commit>并提交完整副本。本 PR 未修改插件后端 wire 协议或 SDK。