fix: restore smooth chat auto-scroll and live compaction updates

- Keep assistant auto-scroll smooth during active responses without periodic snaps
- Restore live `/compact` rendering and streamed compaction summaries without refresh
- Preserve global event handling while routing session and message updates efficiently
This commit is contained in:
Bohdan Triapitsyn
2026-04-05 23:01:12 +03:00
parent 8b41a620d9
commit 4a3b7ec5c9
4 changed files with 111 additions and 13 deletions
@@ -494,7 +494,7 @@ export const ChatContainer: React.FC = () => {
} = useChatScrollManager({
currentSessionId,
sessionMessageCount,
streamingMessageId,
sessionIsWorking,
sessionMemoryState: sessionMemoryStateMap,
updateViewportAnchor,
isSyncing,