Gemini CLI PR fixes lost uri and mimeType provenance for embedded MCP text resources

ayam04 · ghdev · 2026-11-30

PR #30550 on google-gemini/gemini-cli fixes transformResourceBlock, which previously discarded resource.uri and resource.mimeType for embedded text resources. It now emits a lightweight provenance header [Resource <uri> (<mimeType>)] when either field is present, matching existing blob and resourcelink handling; behavior is unchanged when neither exists. The embedded-text-resource test was updated, with CI expected to validate since nodemodules wasn't available locally.

Original post →

More from coding & agent

coding & agent channel →