mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-23 10:13:12 -07:00
fc9623248d
- Add session cancellation on /reset to stop in-flight async streams - Implement per-session YOLO auto-approval with batch tool confirmations (sendBatchToolConfirmations sends all approvals in one A2A message to avoid hangs when agent needs ALL tools approved before proceeding) - Fix threading: include thread info in Add-ons response wrapper so replies appear in the user's thread instead of top-level - Make tool approval async: return immediate ack, process confirmation in background, push result via Chat API (fixes "Agent is processing..." empty response after approve) - Replace text-based approval with clickable Approve/Always Allow/Reject buttons on compact Cards V2 - Wire CARD_CLICKED handler to async approval flow (fire-and-forget with UPDATE_MESSAGE ack) Tested via Cloud Run proxy curl suite: /reset, simple messages, async guard, /yolo, /safe, CARD_CLICKED (approve + reject), ADDED_TO_SPACE, empty message, cancellation.