mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-16 06:43:07 -07:00
cb68095627
Fixes a visual regression where tool outputs could render without a top
border ("capless") when multiple tools completed at different times or
during transient pending states.
The issue was caused by a synchronization failure between how history
items are "pushed" (from pending to committed items) and how their
borders were determined.
Changes:
- Ensured `pendingToolGroupItems` always uses `borderTop: true` to avoid
transient capless state for executing tools.
- Removed redundant `isFirstInThisPush` flag.
- Added `useGeminiStream.BorderRendering.test.tsx` to permanently cover
sequential tool completion and pending border states.