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:
@@ -446,7 +446,11 @@ const resolveDirectoryFromRoutingIndex = (
|
||||
}
|
||||
}
|
||||
|
||||
if ((!normalizedDirectory || normalizedDirectory === "global") && childStores.children.size === 1) {
|
||||
if (
|
||||
(sessionID || messageID)
|
||||
&& (!normalizedDirectory || normalizedDirectory === "global")
|
||||
&& childStores.children.size === 1
|
||||
) {
|
||||
const onlyDirectory = childStores.children.keys().next().value
|
||||
if (typeof onlyDirectory === "string" && onlyDirectory.length > 0) {
|
||||
return onlyDirectory
|
||||
|
||||
Reference in New Issue
Block a user