ShrinkSDK

Public Unity SDK packages and workspace. yeah, almost AI slop. ;)

com.cneicy.shrink-command-integration-network (0.2.0)

Published 2026-09-05 04:15:42 +08:00 by cneicy

Installation

registry=https://git.crash.work/api/packages/ShrinkSDK/npm/
npm install com.cneicy.shrink-command-integration-network@0.2.0
"com.cneicy.shrink-command-integration-network": "0.2.0"

About this package

ShrinkCommand 与 ShrinkNetwork 的桥接层,允许远程会话通过 RPC 执行命令。

ShrinkCommand.Integration.Network

ShrinkCommandShrinkNetwork 的桥接层。

Godot 和普通 .NET 项目安装 ShrinkSDK.Command.Integration.Network;可打包源码位于 DotNet~

能力

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

接入

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

networkService.UseCommandBridge(commandService);

客户端调用:

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

Dependencies

Dependencies

ID Version
com.cneicy.shrink-command 0.3.0
com.cneicy.shrink-context-core 0.2.0
com.cneicy.shrink-network 0.3.0

Keywords

command network integration rpc
Details
npm
2026-09-05 04:15:42 +08:00
3
cneicy
latest
6.5 KiB
Assets (1)
Versions (3) View all
0.2.0 2026-09-05
0.1.1 2026-08-26
0.1.0 2026-08-26