Skip to content

v1.6.1 — Multi-Image E2E Pipeline (Lifted 4-Image/2 MiB Caps, Parallel HTTP/2 Uploads & Per-Account Blob Cache)

Choose a tag to compare

@ShawTim ShawTim released this 20 Nov 03:30
· 57 commits to main since this release

Highlights

  • Lifted Artificial 4-Image / 2 MiB Caps Across Gateway, Pi & OpenClaw Extensions:
    • Raised image safety bounds across the HTTP Gateway (src/image-input.mjs, src/openai-contract.mjs, src/gateway/image-upload.mjs, native-wire/robin-current.mjs), pi-gemini-app@0.1.6, and openclaw-gemini-app@0.1.2 (extensions/pi/transcript.js) to 256 images, 20 MiB per image, and 256 MiB combined decoded bytes, after live Robin verification confirmed 32+ multi-image batches and 10 MiB+ single PNG uploads. Non-image prompt text/JSON remains strictly bounded at 4 MiB.
    • Raised default HTTP JSON maxBodyBytes from 4 MiB to 128 MiB (max 256 MiB) in src/gateway/state.mjs, automatically upgrading untouched legacy 4 MiB defaults on restart while respecting explicit custom overrides.
  • Parallel HTTP/2 Image Uploads & Per-Account In-Memory blobId Cache:
    • Upgraded uploadNativeImages (src/gateway/image-upload.mjs) to multiplex concurrent HTTP/2 uploads (concurrency = 8, preserving exact attachment ordering) with upload timeouts scaled to the request deadline (up to 180s per turn / 600s max).
    • Added a lightweight, strictly isolated ephemeral in-memory ImageBlobCache ((accountId, tokenFingerprint, mimeType, sha256) -> blobId, 15 min TTL, max 2,048 entries, never storing image bytes or persisting to disk) across src/native-provider.mjs and extensions/pi/stream.js—eliminating redundant screenshot re-uploads across multi-turn E2E runs with transparent single-shot eviction and fresh re-upload fallback if a cached blobId expires before frames arrive.

Verification

  • npm run test:prerelease + CI offline gates (docker-copy-closure-offline, historical-entry-gate-offline): ALL PASS (verify-offline-product-runner 70 files, test:current-contract 6/6, test:product 70/70, test:browser 70/70 Playwright, test:python, docker build + test:docker, and test:release incl. pi-gemini-app@0.1.6 + openclaw-gemini-app@0.1.2).

Full Changelog: v1.6.0...v1.6.1