WebSocket endpoint for terminal I/O.
Connect via WebSocket and send JSON messages:
{ "type": "input", "sessionId": "...", "data": "..." } - Send input{ "type": "resize", "sessionId": "...", "cols": 80, "rows": 24 } - ResizeReceive:
{ "type": "output", "sessionId": "...", "data": "..." } - Terminal output{ "type": "exit", "sessionId": "...", "code": 0 } - Session exitSession cookie authentication
WebSocket upgrade