Skip to content

v1.6.3 — Clean Short-Reply Stall Recovery, Safe Deliverable Watchdogs & Extension Parity

Choose a tag to compare

@ShawTim ShawTim released this 20 Nov 12:11
· 47 commits to main since this release

Highlights

  • Clean Short-Reply Stall Recovery (< 2,048 B): When upstream finishes streaming verified plain text (mode and attribution verified, no unclosed tool_call fence, tool choice satisfied, no refusal/soft-error, valid structured JSON) and stalls without sending completed: true / END_STREAM, the gateway flushes the reply on attempt 1 with finish_reason: "stop", incomplete: true, and data: [DONE] — eliminating shortOutputRetry and client 300s headers-timeout retry loops.
  • Standalone Pi & OpenClaw Extension Parity: extensions/pi/stream.js (bundled into pi-gemini-app@0.1.8 and openclaw-gemini-app@0.1.4) now finishes verified post-tool and post-output idle stalls cleanly with done (toolUse / stop) instead of raising retryable errors.
  • Tighter, Safe Deliverable-Only Idle Watchdogs: Tuned src/native-provider.mjs defaults to 2s (postCompleteGraceMs), 6s (postToolIdleMs), and 15s (postOutputIdleMs), strictly gated so idle timers only arm once verified, complete, deliverable output already exists — preventing premature 504 -> 422 GENERATION_FAILED aborts during slow mid-tool_call, mid-JSON, or prefill pauses.
  • One-Command Extension Publishing Scripts: Added npm run publish:pi, publish:openclaw:npm, publish:openclaw:clawhub, publish:openclaw, and publish:extensions to package.json.

Packages & Docker

  • Gateway: gemini-app2api@1.6.3 · ghcr.io/shawtim/gemini-app2api:v1.6.3 (linux/amd64, linux/arm64)
  • Pi Extension: pi-gemini-app@0.1.8
  • OpenClaw Plugin: openclaw-gemini-app@0.1.4

Full Changelog: v1.6.2...v1.6.3