端点
ping 文本或 { "type":"heartbeat", "timestamp":... } 维持心跳。
服务端 → 客户端事件
connection_status— accepted / connected / errorheartbeat_response— 心跳回声- 文件解析事件:进度百分比、完成通知、错误通知
wss /api/ws/file-progress — 文件解析进度被动通道
ping 文本或 { "type":"heartbeat", "timestamp":... } 维持心跳。
connection_status — accepted / connected / errorheartbeat_response — 心跳回声