Agy-cli v 1.1.10 image read bug

### Environment
- **Tool**: `agy-cli` (Antigravity CLI) / Language Server `v1.1.10`
- **OS**: Windows
- **Selected Model**: Gemini 3.6 Flash (High)

---

### Issue Summary
Attempting to process or inspect image files (e.g. screenshots used when debugging UI layout issues) results in an immediate

crash with the message:
⚠ Agent execution terminated due to error. Error ID: d1252ac5-cdda-44d3-81b6-803703af44de-17

This behavior appears to be a regression in `v1.1.10`, as image reading for app/UI debugging previously worked without error.

---

### Backend Log Analysis (`cli.log`)
Inspecting the CLI backend logs (`cli-20260806_125550.log`) reveals that during media token calculation, unpopulated inline

image data causes an incomplete payload to be sent to the Gemini API endpoint:

```text
trajectory_chat_converter.go:622] error calculating media token count: media has no inline data
stream_handler.go:101] error encountered while processing planner output: INVALID_ARGUMENT (code 400): Request contains an

invalid argument.
executor.go:525] error in generator: INVALID_ARGUMENT (code 400): Request contains an invalid argument.
errorreport.go:223] agent executor error: INVALID_ARGUMENT (code 400): Request contains an invalid argument.
──────

Root Cause

When an image reference or media object in the trajectory lacks immediate raw base64 inline bytes (media has no inline data),
trajectory_chat_converter.go fails to format the media part or drop the unpopulated buffer, dispatching an invalid payload to
streamGenerateContent. The API returns an HTTP 400 (INVALID_ARGUMENT), terminating agent execution.
──────

Expected Behavior

• The trajectory converter should gracefully handle media buffers missing inline data (or fall back gracefully) without crashing
the stream with an HTTP 400 error.
• Image reading and visual inspection for app debugging should succeed seamlessly as in earlier CLI builds.
──────

Steps to Reproduce

  1. Launch agy-cli (v1.1.10).
  2. Reference or view an image file/screenshot for UI debugging during an agent prompt turn.
  3. Observe execution crash with Error ID d1252ac5-cdda-44d3-81b6-803703…

Hi @ssfdre38 , this issue has been resolved in the latest release (v1.1.11). Please update your agy CLI to the newest version.