XiHan.Framework.Plugins.Protocol 5.0.0-preview.1

Prefix Reserved
This is a prerelease version of XiHan.Framework.Plugins.Protocol.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package XiHan.Framework.Plugins.Protocol --version 5.0.0-preview.1
                    
NuGet\Install-Package XiHan.Framework.Plugins.Protocol -Version 5.0.0-preview.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XiHan.Framework.Plugins.Protocol" Version="5.0.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XiHan.Framework.Plugins.Protocol" Version="5.0.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="XiHan.Framework.Plugins.Protocol" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XiHan.Framework.Plugins.Protocol --version 5.0.0-preview.1
                    
#r "nuget: XiHan.Framework.Plugins.Protocol, 5.0.0-preview.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package XiHan.Framework.Plugins.Protocol@5.0.0-preview.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=XiHan.Framework.Plugins.Protocol&version=5.0.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=XiHan.Framework.Plugins.Protocol&version=5.0.0-preview.1&prerelease
                    
Install as a Cake Tool

XiHan.Framework.Plugins.Protocol

插件协议 xihan.plugin.v1(RFC-0017)的 .NET 类型,进程外宿主(Plugins.OutOfProcess)、Wasm 宿主(Plugins.Wasm)与一致性套件(Plugins.Conformance)共用;应用通常不直接引用。

内容

  • 公开:PluginEndpoint(本机端点与握手行)、PluginProtocol(版本协商、元数据键、环境变量名)、PluginErrors / PluginMessages(PLUGINS_* 错误码与消息键,文案 10 种区域各一个文件)。
  • internal(经 InternalsVisibleTo 给上述三个包):从 spec/plugin/plugin.proto 生成的消息与 gRPC 桩、HandshakeValidator(握手响应与清单核对)、PluginMetadata(上下文 ↔ InvocationMetadata)、PluginErrorMapper(Error / Result ↔ 协议错误与状态,gRPC 状态映射)、PluginEnvelopeMapper(消息信封)、PluginJson(错误细节与配置节 JSON)、ProxyOperationDescriptor + IPluginInvoker(代理操作)、PluginContributions(把清单 contributes.permissions 声明的权限码与代理操作经 OperationRegistry.AddRange(operations, permissions) 一次登记,全进或全不进,ADR-0080)。

依赖方向

Ring 3。依赖 Kernel、Messaging.Abstractions、Localization.Abstractions,以及 Google.Protobuf、Grpc.Core.Api(Grpc.Tools 只在构建期)。非 AOT。

状态

P4:可用。

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on XiHan.Framework.Plugins.Protocol:

Package Downloads
XiHan.Framework.Plugins.Wasm

曦寒框架 Wasm 插件宿主

XiHan.Framework.Plugins.OutOfProcess

曦寒框架进程外插件宿主

XiHan.Framework.Plugins.Conformance

曦寒框架插件协议一致性测试套件

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0-rc.6 53 11/21/2026
5.0.0-rc.5 54 11/20/2026
5.0.0-rc.4 62 11/19/2026
5.0.0-rc.3 55 11/19/2026
5.0.0-rc.2 71 11/15/2026
5.0.0-rc.1 79 11/13/2026
5.0.0-preview.3 74 11/11/2026
5.0.0-preview.2 80 11/6/2026
5.0.0-preview.1 71 11/4/2026