feat(command): expose registration snapshots for inspection
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 3m37s

This commit is contained in:
2026-09-29 10:14:38 +08:00
parent 5414a747e5
commit 174b9c6976
4 changed files with 17 additions and 4 deletions
+10
View File
@@ -85,3 +85,13 @@ service.RegisterCommands(myCommandInstance);
- 运行时创建的对象
- 模组实例
- 需要带状态的命令宿主
## 可复用能力
<!-- shrink:capabilities -->
Capability: 路径式命令解析、参数转换、来源权限和帮助输出
Aliases: 命令 控制台 控制 指令 权限 command
Limits: 不替代游戏行为实现;从网络调用仍需检查命令来源与权限;注册与执行归宿主协调
Extension: ShrinkCommandRegistration;RegisterConverter;ShrinkCommandAttribute
Evidence: [ShrinkCommandService](Runtime/Core/ShrinkCommandService.cs); [ShrinkCommandRegistration](Runtime/Core/ShrinkCommandService.cs)
<!-- /shrink:capabilities -->