pub fn write_auth_json(config: &CodexConfiguration) -> Result<()>
Write CodexConfiguration to ~/.codex/auth.json