wuji-cli-viz
Start a Viewer
viz supports Wuji Hand 2 and Wuji Glove. Without --sn, it scans for both device types:
wuji viz
It counts both supported device types together and connects directly only when exactly one supported device is found. In an interactive terminal, multiple supported devices open a searchable selector whose summary shows SN and Device Type. The highlighted item shows Transport and Address on separate detail lines, plus USB Port or IP only when that field is present. Only the selected device is connected. Pressing Esc or Ctrl+C at the selector writes Cancelled. to stderr, exits with code 9, and does not connect or fall back to another device. A connection failure also does not fall back.
Use wuji viz --sn <SN> to select a specific supported device. Structured output and unattended invocations require --sn when multiple supported devices are present; they never open the selector.
The command prints the viewer URL and opens it in the default browser. It keeps the device session and
Viewer running until stopped. When an Agent starts it from a chat, stop it by asking the Agent to stop
viz; do not tell the user to press Ctrl+C in the chat. Ctrl+C is appropriate only when the user is
running viz directly in its own terminal.