Skip to content

zagent v0.1.1 - Gemini Attachment Recovery & Preflight Validation

Latest

Choose a tag to compare

@ranjanlive ranjanlive released this 17 Nov 12:56

What's Changed in zagent v0.1.1

?? Bug Fixes

  • Gemini Attachment Pruning Recovery: Resolved an issue where pruned tool attachment placeholders were erroneously serialized into nested functionResponse.parts (causing Gemini API HTTP 400 errors). Placeholders are now properly relocated to functionResponse.response.attachment_notes.
  • Preflight Request Validation: Added internal/provider/gemini_validate.go to preflight wire payloads before dispatch. Ambiguous nested attachments produce an immediate local error with the JSON path rather than triggering remote 400 rejections.
  • Prefix Cache Stability: Tool outputs, call IDs, media blobs, and thought signatures are preserved during attachment repair without altering unmodified request bytes.

?? Release Packaging

  • Unix Permissions: Release binaries for Linux and macOS retain executable 0755 permissions even when packaged on Windows via the Go package-tar utility.
  • Root-Cause Analysis: Full documentation and recovery reproduction details added in docs/GEMINI_ATTACHMENT_RECOVERY.md.