From 123bd170d91ff6f704bb5d38c23ff6bd4a5f7acd Mon Sep 17 00:00:00 2001 From: cneicy Date: Tue, 29 Sep 2026 10:14:47 +0800 Subject: [PATCH] chore: align SDK dependencies and document reusable capabilities --- DotNet~/ShrinkSDK.Network.Integration.App.csproj | 10 +++++----- README.md | 10 ++++++++++ package.json | 8 ++++---- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/DotNet~/ShrinkSDK.Network.Integration.App.csproj b/DotNet~/ShrinkSDK.Network.Integration.App.csproj index f7a2188..b216f7f 100644 --- a/DotNet~/ShrinkSDK.Network.Integration.App.csproj +++ b/DotNet~/ShrinkSDK.Network.Integration.App.csproj @@ -5,16 +5,16 @@ ShrinkNetwork.Integration.App ShrinkNetwork.Integration.App ShrinkSDK.Network.Integration.App - 0.2.0 + 0.2.5 ShrinkNetwork and App host integration. true - - - - + + + + diff --git a/README.md b/README.md index 903d3b3..65ba94d 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,13 @@ var service = network.Service; - 本包当前不主动绑定传输层,也不替业务决定 TCP / KCP / Loopback。 - 静态消息合同与静态 handler 的默认注册仍由 `ShrinkNetworkRuntime.Default` 完成。 - 运行时实例 handler 仍然走 `RegisterHandlers(object target)`。 + +## 可复用能力 + + +Capability: 把网络服务作为 Context 组件和应用服务门面提供 +Aliases: 网络宿主 network app +Limits: 不实现具体联网玩法;生命周期决定服务可用性 +Extension: shrink.service.network 和原生组件 +Evidence: [ShrinkNetworkAppComponent](Runtime/ShrinkNetworkAppComponent.cs) + diff --git a/package.json b/package.json index 6a563c4..cc797a6 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "com.cneicy.shrink-network-integration-app", - "version": "0.2.0", + "version": "0.2.5", "displayName": "ShrinkNetwork - App Integration", "description": "ShrinkNetwork 与 ShrinkApp 的桥接层,把默认网络服务纳入统一宿主服务容器。", "unity": "2022.3", "dependencies": { - "com.cneicy.shrink-network": "0.3.0", - "com.cneicy.shrink-app-core": "0.2.0", + "com.cneicy.shrink-network": "0.4.2", + "com.cneicy.shrink-app-core": "0.2.3", "com.cysharp.unitask": "2.5.10", - "com.cneicy.shrink-context-core": "0.2.0" + "com.cneicy.shrink-context-core": "0.3.0" }, "keywords": [ "network",