From 4be78447fa1786b0eda54b524a2e77f6c685fca2 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Tue, 6 Oct 2026 15:20:50 +0200 Subject: [PATCH] gui: restart agent streams on session resume When resuming the active session, restart chat stream so user can continue working without switching agents. --- kde/gui/ollie9pclient.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kde/gui/ollie9pclient.cpp b/kde/gui/ollie9pclient.cpp index aaf3a29..63e2c5b 100644 --- a/kde/gui/ollie9pclient.cpp +++ b/kde/gui/ollie9pclient.cpp @@ -516,6 +516,10 @@ bool Ollie9pClient::resumeSession(const QString &sessionId) QString path = "session/" + sessionId + "/ctl"; if (m_9p->write(path, "resume")) { refreshSessions(); + // Restart streams if this is the active session + if (sessionId == m_activeSessionId && !m_agentId.isEmpty()) { + startActiveAgentStreams(); + } return true; } return false;