Changes
- Breaking: split the Node relay adapter into two HTTP servers.
- Host uplink traffic now uses
hostPort/hostHostnameand optional Host-serverfallbackHTTP. - CDP clients,
/json,/json/list,/json/version, and/icdp/statusnow usebrowserPort/browserHostname. - Removed the old single-port
port/serverreturn shape;RelayServernow returnshostServer,browserServer,hostPort, andbrowserPort. - Updated playground defaults to Host shell
3000, CDP9222, and app3001. - Updated docs, integration tests, and agent-browser e2e harness for the split topology.
Rationale
Deployments can expose the Host uplink through ingress while keeping CDP discovery and the CDP WebSocket private. The split belongs in the Node transport adapter because RelayCore already owns the Host-vs-Client protocol boundary without knowing about sockets or ports.
Verification
npm run checknpm testnpm run buildnpm run docs:buildnpm run test:e2e