3 Commits
Author SHA1 Message Date
cneicy 28bedbb72c fix: download release SDK directly from Microsoft Blob
Publish NuGet packages / publish (push) Canceled after 0s
Publish UPM package / publish (push) Successful in 3s
2026-11-06 19:26:43 +08:00
cneicy cc2763413b feat: update Godot integration and coordinated package dependencies 2026-11-06 19:13:21 +08:00
cneicy 123bd170d9 chore: align SDK dependencies and document reusable capabilities
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 4m51s
2026-09-29 10:14:47 +08:00
4 changed files with 22 additions and 11 deletions

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ jobs:
const release = metadata.releases.find(item => item.sdk?.version === sdkVersion); const release = metadata.releases.find(item => item.sdk?.version === sdkVersion);
const file = release?.sdk?.files?.find(item => item.rid === 'linux-x64' && item.name.endsWith('.tar.gz')); const file = release?.sdk?.files?.find(item => item.rid === 'linux-x64' && item.name.endsWith('.tar.gz'));
if (!file) throw new Error(`Linux x64 SDK archive not found for ${sdkVersion}`); if (!file) throw new Error(`Linux x64 SDK archive not found for ${sdkVersion}`);
const archiveResponse = await fetch(file.url); const archiveUrl = `https://dotnetcli.blob.core.windows.net/dotnet/Sdk/${sdkVersion}/dotnet-sdk-${sdkVersion}-linux-x64.tar.gz`;
const archiveResponse = await fetch(archiveUrl);
if (!archiveResponse.ok) throw new Error(`SDK download failed: ${archiveResponse.status}`); if (!archiveResponse.ok) throw new Error(`SDK download failed: ${archiveResponse.status}`);
await writeFile('/tmp/dotnet-sdk.tar.gz', new Uint8Array(await archiveResponse.arrayBuffer())); await writeFile('/tmp/dotnet-sdk.tar.gz', new Uint8Array(await archiveResponse.arrayBuffer()));
@@ -5,16 +5,16 @@
<AssemblyName>ShrinkNetwork.Integration.App</AssemblyName> <AssemblyName>ShrinkNetwork.Integration.App</AssemblyName>
<RootNamespace>ShrinkNetwork.Integration.App</RootNamespace> <RootNamespace>ShrinkNetwork.Integration.App</RootNamespace>
<PackageId>ShrinkSDK.Network.Integration.App</PackageId> <PackageId>ShrinkSDK.Network.Integration.App</PackageId>
<Version>0.2.0</Version> <Version>0.2.6</Version>
<Description>ShrinkNetwork and App host integration.</Description> <Description>ShrinkNetwork and App host integration.</Description>
<ShrinkCodeGenEnabled>true</ShrinkCodeGenEnabled> <ShrinkCodeGenEnabled>true</ShrinkCodeGenEnabled>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="..\Runtime\*.cs" /> <Compile Include="..\Runtime\*.cs" />
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.1.0" /> <PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.2.0" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.2.0" /> <PackageReference Include="ShrinkSDK.Context.Core" Version="0.3.1" />
<PackageReference Include="ShrinkSDK.App.Core" Version="0.2.0" /> <PackageReference Include="ShrinkSDK.App.Core" Version="0.2.4" />
<PackageReference Include="ShrinkSDK.Network" Version="0.3.0" /> <PackageReference Include="ShrinkSDK.Network" Version="0.4.3" />
<PackageReference Include="ShrinkSDK.CodeGen" Version="0.1.0" PrivateAssets="compile;runtime;contentfiles;native" /> <PackageReference Include="ShrinkSDK.CodeGen" Version="0.2.0" PrivateAssets="compile;runtime;contentfiles;native" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+10
View File
@@ -23,3 +23,13 @@ var service = network.Service;
- 本包当前不主动绑定传输层,也不替业务决定 TCP / KCP / Loopback。 - 本包当前不主动绑定传输层,也不替业务决定 TCP / KCP / Loopback。
- 静态消息合同与静态 handler 的默认注册仍由 `ShrinkNetworkRuntime.Default` 完成。 - 静态消息合同与静态 handler 的默认注册仍由 `ShrinkNetworkRuntime.Default` 完成。
- 运行时实例 handler 仍然走 `RegisterHandlers(object target)`。 - 运行时实例 handler 仍然走 `RegisterHandlers(object target)`。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 把网络服务作为 Context 组件和应用服务门面提供
Aliases: 网络宿主 network app
Limits: 不实现具体联网玩法;生命周期决定服务可用性
Extension: shrink.service.network 和原生组件
Evidence: [ShrinkNetworkAppComponent](Runtime/ShrinkNetworkAppComponent.cs)
<!-- /shrink:capabilities -->
+4 -4
View File
@@ -1,14 +1,14 @@
{ {
"name": "com.cneicy.shrink-network-integration-app", "name": "com.cneicy.shrink-network-integration-app",
"version": "0.2.0", "version": "0.2.6",
"displayName": "ShrinkNetwork - App Integration", "displayName": "ShrinkNetwork - App Integration",
"description": "ShrinkNetwork 与 ShrinkApp 的桥接层,把默认网络服务纳入统一宿主服务容器。", "description": "ShrinkNetwork 与 ShrinkApp 的桥接层,把默认网络服务纳入统一宿主服务容器。",
"unity": "2022.3", "unity": "2022.3",
"dependencies": { "dependencies": {
"com.cneicy.shrink-network": "0.3.0", "com.cneicy.shrink-network": "0.4.3",
"com.cneicy.shrink-app-core": "0.2.0", "com.cneicy.shrink-app-core": "0.2.4",
"com.cysharp.unitask": "2.5.10", "com.cysharp.unitask": "2.5.10",
"com.cneicy.shrink-context-core": "0.2.0" "com.cneicy.shrink-context-core": "0.3.1"
}, },
"keywords": [ "keywords": [
"network", "network",