agentgui 1.0.458 → 1.0.459
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/static/js/client.js +5 -0
package/package.json
CHANGED
package/static/js/client.js
CHANGED
|
@@ -2327,6 +2327,11 @@ class AgentGUIClient {
|
|
|
2327
2327
|
this.state.currentSession = null;
|
|
2328
2328
|
}
|
|
2329
2329
|
|
|
2330
|
+
const cachedConv = this.state.conversations.find(c => c.id === conversationId);
|
|
2331
|
+
if (cachedConv && this.state.currentConversation?.id !== conversationId) {
|
|
2332
|
+
this.state.currentConversation = cachedConv;
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2330
2335
|
this.updateUrlForConversation(conversationId);
|
|
2331
2336
|
if (this.wsManager.isConnected) {
|
|
2332
2337
|
this.wsManager.sendMessage({ type: 'subscribe', conversationId });
|