refactor(external-plugin): 收敛公开仓库为 Java/Node SPI - #19
Draft
zhou-hao wants to merge 2 commits into
Draft
Conversation
zhou-hao
marked this pull request as draft
August 12, 2026 09:11
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.
目的
jetlinks-plugin收敛为插件开发者可依赖的 Java/Node SPI。核心变动
plugin-coreJavaPluginDriver/Plugin/PluginContext契约。plugin-nodejs,提供 Node.js 24+ 的 transport-neutral SPI、生命周期、monitor、scheduler、host service 和 standalone/device/collector capability profile。plugin-protocol、plugin-external、旧plugin-sdk-noderuntime 实现及 wire 文档;平台 runtime 在 cloud 仓库维护。设计与测试目标
modules/jetlinks-components/docs/plans/2026-08-05-external-plugin-container-management.md测试结果
mvn -pl plugin-core -am testnpm test(plugin-nodejs)文档同步情况
plugin-nodejs/README.md。风险与说明
plugin-nodejs只定义 SPI,不提供运行时启动器;这是平台内部边界约束。