3 Commits
Author SHA1 Message Date
cneicy 538518c2e8 fix: download release SDK directly from Microsoft Blob
Publish NuGet packages / publish (push) Canceled after 4s
Publish UPM package / publish (push) Successful in 2s
2026-11-06 19:26:37 +08:00
cneicy fc6600fe9e feat: update Godot integration and coordinated package dependencies 2026-11-06 19:13:13 +08:00
cneicy 82c0833a11 chore: align SDK dependencies and document reusable capabilities
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 3m48s
2026-09-29 10:14:39 +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 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}`);
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}`);
await writeFile('/tmp/dotnet-sdk.tar.gz', new Uint8Array(await archiveResponse.arrayBuffer()));
@@ -5,16 +5,16 @@
<AssemblyName>ShrinkCommand.Integration.EventBus</AssemblyName>
<RootNamespace>ShrinkCommand.Integration</RootNamespace>
<PackageId>ShrinkSDK.Command.Integration.EventBus</PackageId>
<Version>0.2.0</Version>
<Version>0.2.6</Version>
<Description>ShrinkCommand and EventBus integration.</Description>
<ShrinkCodeGenEnabled>true</ShrinkCodeGenEnabled>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\*.cs" />
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.1.0" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.2.0" />
<PackageReference Include="ShrinkSDK.EventBus" Version="2.1.0" />
<PackageReference Include="ShrinkSDK.Command" Version="0.3.0" />
<PackageReference Include="ShrinkSDK.CodeGen" Version="0.1.0" PrivateAssets="compile;runtime;contentfiles;native" />
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.2.0" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.3.1" />
<PackageReference Include="ShrinkSDK.EventBus" Version="2.3.1" />
<PackageReference Include="ShrinkSDK.Command" Version="0.4.3" />
<PackageReference Include="ShrinkSDK.CodeGen" Version="0.2.0" PrivateAssets="compile;runtime;contentfiles;native" />
</ItemGroup>
</Project>
+10
View File
@@ -37,3 +37,13 @@ service.UseEventBusBridge(new ShrinkCommandEventBusBridgeOptions
```csharp
var result = await ShrinkCommandEventBusBridge.RequestCommandAsync("help", source);
```
## 可复用能力
<!-- shrink:capabilities -->
Capability: 通过事件请求执行命令并发布结果
Aliases: 命令事件 结果反馈 command event
Limits: 命令权限仍由 Command 校验;桥不增加新命令
Extension: 请求事件和桥接生命周期
Evidence: [ShrinkCommandEventBusBridge](ShrinkCommandEventBusBridge.cs)
<!-- /shrink:capabilities -->
+4 -4
View File
@@ -1,13 +1,13 @@
{
"name": "com.cneicy.shrink-command-integration-eventbus",
"version": "0.2.0",
"version": "0.2.6",
"displayName": "ShrinkCommand - EventBus Integration",
"description": "ShrinkCommand 与 ShrinkEventBus 的桥接层,支持事件请求执行命令,以及命令执行生命周期事件发布。",
"unity": "2022.3",
"dependencies": {
"com.cneicy.shrink-command": "0.3.0",
"com.cneicy.shrink-context-core": "0.2.0",
"com.cneicy.shrink-eventbus": "2.1.0"
"com.cneicy.shrink-command": "0.4.3",
"com.cneicy.shrink-context-core": "0.3.1",
"com.cneicy.shrink-eventbus": "2.3.1"
},
"keywords": [
"command",