2df60cd388
Windows has no Unix domain sockets, so the control endpoint there is a random 127.0.0.1 port described by a JSON file (port and a 128-bit token, readable by the user only); a client's first line is auth TOKEN. Linux and macOS keep the Unix socket, and any endpoint path ending in .json picks the TCP transport, so it is tested on Linux too. control::connect and Stream serve both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>