pub fn parse_single_message(json: &str) -> Result<LspMessage, CopilotError>
Parse a single LSP message from a JSON string
Returns an error if the JSON is invalid.