Files
gemini-cli/packages/cli
gemini-cli[bot] 41a12e13bb feat(ui): implement compact version tags in AppHeader
Long nightly and pre-release version strings (e.g., `0.42.0-nightly.20260428.g59b2dea0e`) were causing UI clutter and layout issues, especially on narrow terminals.

This change:
- Parses the version string to extract the base version and the first pre-release tag.
- Renders the tag in a compact format `[tag]` with dimmed color.
- Reduces the horizontal footprint of the header metadata.

Verified with new unit tests in `AppHeader.test.tsx` and manual inspection of Ink output snapshots.

cc @gundermanc

Label: bot-fix
2026-05-13 19:29:31 +00:00
..