mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-18 07:43:00 -07:00
9f0a2cf7b0
Streaming fixes: - Fix A2UI text extraction preferring incremental chunks over accumulated text by swapping push order in extractFromStreamEvent - Defer tool approval handling to post-stream — server YOLO mode briefly publishes awaiting_approval before auto-approving, which was breaking the stream loop prematurely - Always update latestPendingApprovals to clear stale approvals after server auto-approves Message chunking: - Split long messages at paragraph/line boundaries to stay within Google Chat's 4096 character limit - Cards attach to first chunk only Streaming tool confirmations: - Add sendToolConfirmationStream and sendBatchToolConfirmationsStream for SSE-based tool approval flow README: - Update bridge deployment to max-instances=1 (single instance for in-memory async guard consistency) - Add Known Limitations section Working: - Server YOLO mode with streaming text extraction - Chat API push with proper threading - Session persistence across Cloud Run restarts - Retry logic for agent concurrency exhaustion - Text chunking for long responses - Per-session /yolo and /safe commands Not working: - Tool confirmation streaming with GEMINI_YOLO_MODE=false (executor aborts on SSE disconnect — SDK-level issue) - CARD_CLICKED button routing through Add-ons (text-based approval works as fallback)