feat(cordis): 接入上下文组合与模组事务热替换

This commit is contained in:
2026-08-16 23:20:40 +08:00
commit ad256f109b
676 changed files with 52168 additions and 0 deletions
@@ -0,0 +1,24 @@
# ShrinkCommand.Integration.Network
`ShrinkCommand``ShrinkNetwork` 的桥接层。
## 能力
- 通过网络 RPC 执行命令
- 远程命令来源自动映射为 `IShrinkCommandSource`
- 继续复用命令系统自己的权限与来源限制
## 接入
```csharp
commandService = new ShrinkCommandService();
commandService.AutoRegisterAll();
networkService.UseCommandBridge(commandService);
```
客户端调用:
```csharp
var response = await session.ExecuteCommandAsync("help");
```