From 25f4cfb82e601c70b0cbce64deeb706a7df307f8 Mon Sep 17 00:00:00 2001 From: cneicy Date: Tue, 29 Sep 2026 10:14:39 +0800 Subject: [PATCH] chore: align SDK dependencies and document reusable capabilities --- DotNet~/ShrinkSDK.Command.Integration.App.csproj | 10 +++++----- README.md | 10 ++++++++++ package.json | 8 ++++---- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/DotNet~/ShrinkSDK.Command.Integration.App.csproj b/DotNet~/ShrinkSDK.Command.Integration.App.csproj index ee2173a..3441cfb 100644 --- a/DotNet~/ShrinkSDK.Command.Integration.App.csproj +++ b/DotNet~/ShrinkSDK.Command.Integration.App.csproj @@ -5,16 +5,16 @@ ShrinkCommand.Integration.App ShrinkCommand.Integration.App ShrinkSDK.Command.Integration.App - 0.2.0 + 0.2.5 ShrinkCommand and App host integration. true - - - - + + + + diff --git a/README.md b/README.md index 5958526..fd869bb 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,13 @@ var result = await command.ExecuteAsync(source, "help"); - 本包不改变 `ShrinkCommand` 的原有 API。 - 静态命令的默认注册仍由 `ShrinkCommandRuntime.Default` 完成。 - 运行时实例命令仍然走 `RegisterCommands(object target)`。 + +## 可复用能力 + + +Capability: 把命令服务作为 Context 组件和应用服务门面提供 +Aliases: 命令宿主 command app +Limits: 退役撤回门面;业务命令仍由 Command 实现 +Extension: shrink.service.command 和原生组件 +Evidence: [ShrinkCommandAppComponent](Runtime/ShrinkCommandAppComponent.cs) + diff --git a/package.json b/package.json index db91285..c23478a 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "name": "com.cneicy.shrink-command-integration-app", - "version": "0.2.0", + "version": "0.2.5", "displayName": "ShrinkCommand - App Integration", "description": "ShrinkCommand 与 ShrinkApp 的桥接层,把默认命令服务纳入统一宿主服务容器。", "unity": "2022.3", "dependencies": { - "com.cneicy.shrink-command": "0.3.0", - "com.cneicy.shrink-app-core": "0.2.0", + "com.cneicy.shrink-command": "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": [ "command",