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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.458",
3
+ "version": "1.0.459",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -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 });