add p2p-relay transport router scaffold for nodes tool

This commit is contained in:
DBT
2026-02-24 15:06:54 +00:00
parent 7fa0e629e8
commit 9635d48e67
5 changed files with 87 additions and 6 deletions

View File

@@ -40,7 +40,8 @@
已新增 `nodes` 工具控制平面PoC
- `action=status|describe`:查看已配对节点状态与能力矩阵
- `action=run|invoke|camera_snap|screen_record|location_get`:已接入路由框架(下一阶段接数据平面传输)
- `action=run|invoke|camera_snap|screen_record|location_get`:已接入路由框架
- `mode=auto|p2p|relay`:默认 `auto`(优先 p2p失败回退 relay
实现位置:
- `pkg/nodes/types.go`