Files
ShrinkCommand.Integration.N…/README.md
T
cneicy f9b05b4178
Publish UPM package / publish (push) Failing after 1s
chore: initialize standalone UPM package
2026-08-26 02:49:49 +08:00

497 B

ShrinkCommand.Integration.Network

ShrinkCommandShrinkNetwork 的桥接层。

能力

  • 通过网络 RPC 执行命令
  • 远程命令来源自动映射为 IShrinkCommandSource
  • 继续复用命令系统自己的权限与来源限制

接入

commandService = new ShrinkCommandService();
commandService.AutoRegisterAll();

networkService.UseCommandBridge(commandService);

客户端调用:

var response = await session.ExecuteCommandAsync("help");