chore: align SDK dependencies and document reusable capabilities

This commit is contained in:
2026-09-29 10:14:40 +08:00
parent 789aa2181b
commit 43cf61db95
3 changed files with 17 additions and 7 deletions
+3 -3
View File
@@ -5,13 +5,13 @@
<AssemblyName>ShrinkContext.AppAdapter</AssemblyName> <AssemblyName>ShrinkContext.AppAdapter</AssemblyName>
<RootNamespace>ShrinkContext.AppAdapter</RootNamespace> <RootNamespace>ShrinkContext.AppAdapter</RootNamespace>
<PackageId>ShrinkSDK.Context.AppAdapter</PackageId> <PackageId>ShrinkSDK.Context.AppAdapter</PackageId>
<Version>0.2.0</Version> <Version>0.2.4</Version>
<Description>Engine-neutral ShrinkContext composition host for ShrinkApp.</Description> <Description>Engine-neutral ShrinkContext composition host for ShrinkApp.</Description>
<ShrinkCodeGenEnabled>false</ShrinkCodeGenEnabled> <ShrinkCodeGenEnabled>false</ShrinkCodeGenEnabled>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Runtime\*.cs" /> <Compile Include="Runtime\*.cs" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.2.0" /> <PackageReference Include="ShrinkSDK.Context.Core" Version="0.3.0" />
<PackageReference Include="ShrinkSDK.App.Core" Version="0.2.0" /> <PackageReference Include="ShrinkSDK.App.Core" Version="0.2.3" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+10
View File
@@ -82,3 +82,13 @@ Profile 的 JSON 结构如下:
## 测试 ## 测试
`Tests/` 覆盖安装器生命周期、LoaderHost 开关、原生 Starter 接线、Profile/JSON 校验、显式条目选择、设置禁用优先级,以及 notify/失败恢复结构性基准。 `Tests/` 覆盖安装器生命周期、LoaderHost 开关、原生 Starter 接线、Profile/JSON 校验、显式条目选择、设置禁用优先级,以及 notify/失败恢复结构性基准。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 通过 ContextLoader 驱动应用模块,支持组合 Profile、启停和失败恢复
Aliases: 组合 配置 启动 模块开关 composition
Limits: Profile 描述组合而非生成业务实现;组件工厂由代码注册
Extension: ShrinkAppCompositionProfile;ShrinkAppLoaderHost
Evidence: [ShrinkAppLoaderHost](Runtime/ShrinkAppLoaderHost.cs); [ShrinkAppCompositionProfile](Runtime/ShrinkAppCompositionProfile.cs)
<!-- /shrink:capabilities -->
+4 -4
View File
@@ -1,13 +1,13 @@
{ {
"name": "com.cneicy.shrink-context-app-adapter", "name": "com.cneicy.shrink-context-app-adapter",
"version": "0.2.0", "version": "0.2.4",
"displayName": "ShrinkContext - ShrinkApp Adapter", "displayName": "ShrinkContext - ShrinkApp Adapter",
"description": "把现有 IShrinkAppModuleInstaller 包装为 ShrinkContext 组件:依赖缺失改为等待而非抛错,模块激活由响应式余效应驱动。", "description": "把现有 IShrinkAppModuleInstaller 包装为 ShrinkContext 组件:依赖缺失改为等待而非抛错,模块激活由响应式余效应驱动。",
"unity": "2022.3", "unity": "2022.3",
"dependencies": { "dependencies": {
"com.cneicy.shrink-context-core": "0.2.0", "com.cneicy.shrink-context-core": "0.3.0",
"com.cneicy.shrink-app-core": "0.2.0", "com.cneicy.shrink-app-core": "0.2.3",
"com.cneicy.shrink-eventbus": "2.1.0", "com.cneicy.shrink-eventbus": "2.2.2",
"com.cysharp.unitask": "2.5.10", "com.cysharp.unitask": "2.5.10",
"com.unity.modules.jsonserialize": "1.0.0" "com.unity.modules.jsonserialize": "1.0.0"
}, },