Gemini CLI fixes Windows diff views by normalizing CRLF to LF in a2a-server
luisfelipe-alt · ghdev · 2026-07-25
Google’s Gemini CLI PR #28531 fixes a Windows bug in Gemini Code Assist’s side-by-side diff view, where generated edits appeared empty because CRLF line endings in local files did not match the LF line endings produced by the model.
What changed
- a2a-server now normalizes file content to LF before applying proposed replacements.
- The fix aligns the local agent backend with the core package’s EditTool behavior.
- A new unit test covers the CRLF normalization case, and the PR notes validation on Windows, Linux, and the monorepo test suite.
More from coding & agent
- Sol61 flunks instruction-following: skips mandated research even when explicitly told — lucasmeijer · 2026-10-26
- Ben Bajarin: Frontier AI is becoming the enterprise cyber-defense stack — BenBajarin · 2026-10-26
- Building AI bots on raw APIs? Devs say models are 'dumb without the harness' — madeofAjala · 2026-10-26
- HarnessMM cuts agent tokens per task by up to 88% while raising success rates — omarsar0 · 2026-10-26
- Microsoft demos intent-classifying agents built with Copilot App and Foundry, deployable across Teams and Outlook — marlene_zw · 2026-10-26
- Looking for a wearable mic with best battery life that feeds recordings to personal agents via MCP — altryne · 2026-10-26