From 91f0141b865ea02fde063d055e54b892ab426e5e Mon Sep 17 00:00:00 2001 From: cneicy Date: Tue, 29 Sep 2026 10:14:46 +0800 Subject: [PATCH] chore: align SDK dependencies and document reusable capabilities --- DotNet~/ShrinkSDK.ModFramework.csproj | 2 +- Godot~/ShrinkSDK.ModFramework.Godot.csproj | 4 ++-- README.md | 10 ++++++++++ package.json | 6 +++--- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/DotNet~/ShrinkSDK.ModFramework.csproj b/DotNet~/ShrinkSDK.ModFramework.csproj index d3539ff..0ac42e3 100644 --- a/DotNet~/ShrinkSDK.ModFramework.csproj +++ b/DotNet~/ShrinkSDK.ModFramework.csproj @@ -5,7 +5,7 @@ ShrinkModFramework.Runtime ShrinkModFramework ShrinkSDK.ModFramework - 0.3.0 + 0.3.6 Engine-neutral ShrinkSDK mod contracts and lifecycle. disable false diff --git a/Godot~/ShrinkSDK.ModFramework.Godot.csproj b/Godot~/ShrinkSDK.ModFramework.Godot.csproj index dd855d9..929c50b 100644 --- a/Godot~/ShrinkSDK.ModFramework.Godot.csproj +++ b/Godot~/ShrinkSDK.ModFramework.Godot.csproj @@ -4,12 +4,12 @@ ShrinkModFramework.Godot ShrinkModFramework.Godot ShrinkSDK.ModFramework.Godot - 0.1.0 + 0.1.5 Collectible AssemblyLoadContext host for ShrinkSDK mods in Godot. false - + diff --git a/README.md b/README.md index c7bc2a1..fddb798 100644 --- a/README.md +++ b/README.md @@ -712,3 +712,13 @@ public sealed partial class DemoFullMod : ShrinkModBase - 模组资源系统 - 模组命令系统 - 模组专属存档与同步策略 + +## 可复用能力 + + +Capability: 模组发现、依赖、阶段生命周期、内容注册和外部程序集加载 +Aliases: mod 插件 模组 模组退役 热加载 内容注册 +Limits: 动态程序集不能假定全部卸载;宿主加载上下文须单独验证;不默认 NativeAOT +Extension: 模组声明、阶段钩子与宿主加载接口 +Evidence: [ShrinkModContextHost](Runtime/Context/ShrinkModContextHost.cs) + diff --git a/package.json b/package.json index d21c6ec..be5c840 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "com.cneicy.shrink-mod-framework", - "version": "0.3.0", + "version": "0.3.6", "displayName": "ShrinkModFramework", "description": "Unity 模组框架,提供发现、依赖、可逆生命周期、命名空间内容注册与优先级覆盖。", "unity": "2022.3", "dependencies": { "com.unity.nuget.newtonsoft-json": "3.2.2", - "com.cneicy.shrink-context-core": "0.2.0", - "com.cneicy.shrink-eventbus": "2.1.0", + "com.cneicy.shrink-context-core": "0.3.0", + "com.cneicy.shrink-eventbus": "2.2.2", "com.cysharp.unitask": "2.5.10" }, "keywords": [