Senparc.Ncf.Shared.Abstractions
0.6.0-preview5
Prefix Reserved
dotnet add package Senparc.Ncf.Shared.Abstractions --version 0.6.0-preview5
NuGet\Install-Package Senparc.Ncf.Shared.Abstractions -Version 0.6.0-preview5
<PackageReference Include="Senparc.Ncf.Shared.Abstractions" Version="0.6.0-preview5" />
<PackageVersion Include="Senparc.Ncf.Shared.Abstractions" Version="0.6.0-preview5" />
<PackageReference Include="Senparc.Ncf.Shared.Abstractions" />
paket add Senparc.Ncf.Shared.Abstractions --version 0.6.0-preview5
#r "nuget: Senparc.Ncf.Shared.Abstractions, 0.6.0-preview5"
#:package Senparc.Ncf.Shared.Abstractions@0.6.0-preview5
#addin nuget:?package=Senparc.Ncf.Shared.Abstractions&version=0.6.0-preview5&prerelease
#tool nuget:?package=Senparc.Ncf.Shared.Abstractions&version=0.6.0-preview5&prerelease
Senparc.Ncf.Shared.Abstractions
Senparc.Ncf.Shared.Abstractions contains small contracts shared by independently deployable NCF components. It is designed to reduce coupling between event producers, event consumers, and optional XNCF modules.
Features
- Integration event and event-handler contracts.
- Request/response event contracts for in-process request clients.
- Authorized synchronization event markers for identity-scoped updates.
- NeuBell provider and change-notification contracts for optional Admin Footer monitoring.
- A narrow desktop admin token-issuer contract for server-side, one-time auth handoff; it does not expose browser cookies.
- No concrete web host or database implementation.
Installation
<PackageReference Include="Senparc.Ncf.Shared.Abstractions" Version="0.26.0-preview3" />
Key API
- Implement
IIntegrationEventfor a publishable event payload. - Implement
IIntegrationEventHandler<TEvent>for a consumer. - Use
IIntegrationRequestwithIEventBusRequestClientfor correlated request/response flows. - Use
IAuthorizedIntegrationSyncEventwhen the event must be filtered by the current authorized owner. - Implement
INeuBellProviderin an XNCF module and register it with DI to expose a small, non-sensitive status snapshot. - Implement
IDesktopAdminAuthTokenIssueronly in the trusted Admin host; callers must first validate the desktop session, PKCE challenge, source identity, and source expiry.
The package defines contracts only. Register a compatible IEventBus implementation, validate event ownership in the consuming host, and avoid putting secrets or full message bodies into shared event payloads.
| Product | Versions 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. |
-
net10.0
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Senparc.Ncf.Shared.Abstractions:
| Package | Downloads |
|---|---|
|
Senparc.Ncf.Core
Senparc.Ncf.Core |
|
|
Senparc.Xncf.PromptRange.Abstractions
Senparc.Xncf.PromptRange.Abstractions |
|
|
Senparc.Xncf.AgentsManager.Abstractions
Senparc.Xncf.AgentsManager.Abstractions |
|
|
Senparc.Xncf.DesktopBridge
为 NCF 桌面应用提供安全的本机状态发现和事件流桥接。 |
|
|
Senparc.Xncf.XncfBuilder.Abstractions
Senparc.Xncf.XncfBuilder 集成事件与跨模块契约抽象 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0-preview5 | 1,367 | 8/12/2026 |
| 0.5.0-preview4 | 424 | 8/8/2026 |
| 0.4.0-preview3 | 459 | 8/3/2026 |
| 0.3.0-preview2 | 991 | 7/26/2026 |
| 0.2.1-preview1 | 683 | 6/17/2026 |
| 0.1.2-preview1 | 444 | 6/16/2026 |
| 0.1.1-preview1 | 293 | 5/22/2026 |
v0.1.0 创世
[2026-07-26] v0.3.0-preview2 新增 EventBus 请求-响应与授权同步公共契约
1、新增 IEventBusRequestClient 与 IIntegrationRequest 公共请求契约
2、新增管理员隔离的授权集成同步事件契约
[2026-08-04] v0.4.0-preview3 新增运行时纽铃提供程序抽象并统一品牌命名
1、新增 INeuBellProvider,统一同步提供程序标识、可用性与执行契约
2、将公共契约迁移到 NeuBell/纽铃命名,调用方需同步更新命名空间、接口与类型名
[2026-08-08] v0.5.0-preview4 新增桌面管理员一次性换票签发契约
1、新增 IDesktopAdminAuthTokenIssuer 与 DesktopAdminAuthTokenIssueResult 公共契约
2、支持桌面桥接在完成会话与 PKCE 校验后申请受源会话寿命约束的短期管理员令牌
[2026-08-13] v0.6.0-preview5 扩展工作流与智能体共享契约,支持 NeuBell 通知和对象编辑元数据
1、新增可消费 NeuBell 通知提供者契约
2、扩展工作流对象描述、编辑地址与元数据,支持模块协作