Skip to content

v1.11.0 — Clean Opt-In Native YouTube Analysis, Hydrogen Native Search (#14), Extension Precondition Diagnostics (#15) & Chat extra_content Replay (#16)

Latest

Choose a tag to compare

@ShawTim ShawTim released this 01 Dec 17:43

Highlights

  • Clean Opt-In Native YouTube Video Analysis (native_youtube)
    • Analyze public YouTube videos (visuals, audio, transcript, and timestamps) using Google's native youtube_tool across Gateway /v1/chat/completions & /v1/responses (native_youtube: true), Gateway POST /mcp (dynamic gemini_youtube), standalone mcp-gemini-app (opt-in via GEMINI_MCP_NATIVE_YOUTUBE=1 or --enable-youtube), and gemini-app-cli (gemini-app youtube <url> [prompt]).
    • Clean by default: Off by default (nativeYoutubeEnabled: false); ordinary turns and native_search: true remain 100% temporaryChat: true. Native YouTube turns buffer until final:youtube_tool is verified, reject & withhold any response reporting non-YouTube native tools (502 UNSUPPORTED_NATIVE_TOOL_REPORT, stripping free-text upstreamMessage), verify per-frame byte-exact conversationId consistency, and run bounded post-turn RobinService/DeleteConversation cleanup with unary gRPC frame verification.
    • VPS & Admin Controls: Toggleable in Admin UI → Settings (with trilingual risk disclosure #native-youtube-risk and sparse draft patching), configurable via GATEWAY_NATIVE_YOUTUBE=1|0 (forwarded in compose.yaml and .env.example), and inspectable/mutable via gemini-gateway native-youtube [on|off|default|status] (read-only status + lock-inside-reload across server & CLI mutators).
  • gemini-hydrogen Native Search Support (Fixes #14)
    • Enabled native_search: true on gemini-hydrogen (thinking_level 0 / 1 / 2, supporting upstream 0 -> 1 promotion), preserved 429/422 upstream error statuses, isolated diagnostic attribution via non-enumerable INTERNAL_ATTRIBUTION, and guarded snapshot early-stop against allowTextSnapshotReplacement.
  • Sanitized Upstream grpc-message Surfacing & OpenCode Precondition Retry Stop (Fixes #15)
    • Fixed standalone OpenCode, MCP, and CLI error formatting to surface sanitized error.nativeEvidence.upstreamMessage via shared extractSafeUpstreamMessage(), and mapped NATIVE_PRECONDITION_REQUIRED to HTTP 412 + X-Should-Retry: false at the standalone OpenCode adapter boundary.
  • Chat Completions Replayed Gemini tool_calls[].extra_content Compatibility (Fixes #16)
    • Validated and stripped replayed assistant messages[].tool_calls[].extra_content shaped as { google?: { thought_signature?: string | null } | null } | null using strippedText() (UTF-16 well-formedness + 4 MiB per-value bound) and dedicated strippedSlots 16 MiB budgeting in requestBudget(), keeping replayed signatures out of canonical prompts and estimated usage.input_tokens.

Standalone Extension Versions

  • pi-gemini-app@0.1.17
  • openclaw-gemini-app@0.1.13
  • opencode-gemini-app@0.1.9
  • mcp-gemini-app@0.1.8
  • gemini-app-cli@0.1.2

Full Changelog: v1.10.0...v1.11.0