- Create centralized useCliStreamWebSocket hook with module-level
message tracking to ensure each WebSocket message is processed only once globally
- Replace position:absolute with position:sticky + flexbox wrapper
for scroll-to-bottom buttons to fix viewport positioning
- Remove duplicate WebSocket handling from CliViewerPage, CliStreamMonitorLegacy,
and CliStreamMonitorNew components
Fixes:
- CLI output no longer duplicated when multiple components subscribe
to the same WebSocket feed
- Scroll-to-bottom button now stays fixed at bottom-right corner
of viewport instead of scrolling with content