feat(cli): implement stable 2-row footer layout with responsive collision handling

This commit introduces a new, more stable footer architecture that addresses
several long-standing UX issues:
- Stabilizes the layout by anchoring mode indicators and context summaries
- Protects safety indicators (YOLO/Plan) from being hidden by notifications
- Decouples ambient tips/wit from real system status to prevent confusion
- Implements intelligent collision detection for narrow terminal windows
- Keeps input visible but disabled during tool approval pauses
- Enhances visual consistency with unified status colors and hook icons
This commit is contained in:
Keith Guerin
2026-02-28 01:30:40 -08:00
parent 703759cfae
commit f451f747f4
13 changed files with 1231 additions and 217 deletions
@@ -29,6 +29,7 @@ export const StatusDisplay: React.FC<StatusDisplayProps> = ({
}
if (
settings.merged.ui.newFooterLayout === 'legacy' &&
uiState.activeHooks.length > 0 &&
settings.merged.hooksConfig.notifications
) {