pub async fn ws_agent_handler(
ws: WebSocketUpgrade,
__arg1: State<Arc<AppState>>,
__arg2: Query<WsQuery>,
) -> impl IntoResponseExpand description
Handle the WebSocket upgrade request.
Authenticates via the token query param, then upgrades to a
bidirectional WebSocket connection.