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
- Cheaper OpenAI Agents API alternative: sandbox service undercutting E2B by 46% — airesearch12 · 2026-09-11
- His agent kill switch ran for months before he found it was wired to nothing — AnvilandCode · 2026-09-11
- Kernel's Browser Agents Can Now Pay Online Using Aliases, Never Touching Card Data — jeff_weinstein · 2026-09-11
- OpenAI opens up agent sandboxes: BYO or pick from Cloudflare, E2B, Modal, Vercel and more — threepointone · 2026-09-11
- SocialCrawl MCP lets agents search Reddit, YouTube, TikTok, X with one API key — dooddyman · 2026-09-11
- Astra builds a surprisingly polished Catan game in three.js, reusing past UI and 3D assets — FinanceYF5 · 2026-09-11