Endpoint
ping text or { "type":"heartbeat", "timestamp":... }.
Server → Client events
connection_status— accepted / connected / errorheartbeat_response— echoed back when client sends heartbeat- File-parse events: progress percentages, completion notices, error notices