Skip to main content

Crate zerolaunch_plugin_protocol

Crate zerolaunch_plugin_protocol 

Source
Expand description

ZeroLaunch plugin JSON-RPC protocol definitions.

The transport layer uses LSP-style framed stdio JSON-RPC 2.0. This crate defines all message bodies, method name constants, manifest schema, and error codes.

Re-exports§

pub use error::*;
pub use jsonrpc::*;
pub use manifest::*;
pub use messages::*;
pub use methods::*;

Modules§

codec
LSP Content-Length 帧的编码工具。
error
jsonrpc
manifest
messages
methods

Constants§

PROTOCOL_VERSION
协议版本:宿主与插件在 plugin/initialize 握手时各自声明,宿主只比较 major (protocol_version_compatible)——major 不同即拒绝加载。 载荷级 breaking change 必须提升 major;仅新增可选字段/方法不提升。