From 3bb75b6c20628bb2f30a84c6acab37d2a9b4fe67 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sat, 1 Aug 2026 21:48:04 +0200 Subject: [PATCH] gui: stop rebuilding session tree on selection changes The dominant 9P spam came from buildSessionTree() re-listing session//agent on every activeSessionIdChanged and activeAgentIdChanged signal. Tree rebuilds are now limited to sessionsChanged and startup refresh; selection changes only refresh the right pane transcript. --- gui/main.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/gui/main.qml b/gui/main.qml index df3d798..9806a8d 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -218,7 +218,6 @@ ApplicationWindow { } } scrollTimer.start() - buildSessionTree() } function onActiveAgentIdChanged() { chatModel.reset() @@ -230,7 +229,6 @@ ApplicationWindow { } } scrollTimer.start() - buildSessionTree() } function onStreamingDone() { chatModel.appendData("\n[[[info]]]\nsession ended\n[[[end]]]\n")