pub fn render_response( command: &str, output: JsonOutput, data: Value, text: impl Into<String>, ) -> String
Render either the shared JSON envelope or plain text for a command response.