agentgui 1.0.491 → 1.0.492

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.
@@ -264,7 +264,9 @@ export function register(router, deps) {
264
264
  status: t.installed ? (t.isUpToDate ? 'installed' : 'needs_update') : 'not_installed',
265
265
  isUpToDate: t.isUpToDate,
266
266
  upgradeNeeded: t.upgradeNeeded,
267
- hasUpdate: t.upgradeNeeded && t.installed
267
+ hasUpdate: t.upgradeNeeded && t.installed,
268
+ installedVersion: t.installedVersion,
269
+ publishedVersion: t.publishedVersion
268
270
  }));
269
271
  return { tools: result };
270
272
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentgui",
3
- "version": "1.0.491",
3
+ "version": "1.0.492",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -147,6 +147,7 @@ class AgentGUIClient {
147
147
  this.wsManager.on('connected', () => {
148
148
  console.log('WebSocket connected');
149
149
  this.updateConnectionStatus('connected');
150
+ this._subscribeToConversationUpdates();
150
151
  this._recoverMissedChunks();
151
152
  this.emit('ws:connected');
152
153
  });
@@ -1378,6 +1379,13 @@ class AgentGUIClient {
1378
1379
  }
1379
1380
  }
1380
1381
 
1382
+ _subscribeToConversationUpdates() {
1383
+ if (!this.state.conversations || this.state.conversations.length === 0) return;
1384
+ for (const conv of this.state.conversations) {
1385
+ this.wsManager.subscribeToConversation(conv.id);
1386
+ }
1387
+ }
1388
+
1381
1389
  async _recoverMissedChunks() {
1382
1390
  if (!this.state.currentSession?.id) return;
1383
1391
  if (!this.state.streamingConversations.has(this.state.currentConversation?.id)) return;
@@ -473,6 +473,10 @@ class WebSocketManager {
473
473
  return this.sendMessage({ type: 'subscribe', sessionId, timestamp: Date.now() });
474
474
  }
475
475
 
476
+ subscribeToConversation(conversationId) {
477
+ return this.sendMessage({ type: 'subscribe', conversationId, timestamp: Date.now() });
478
+ }
479
+
476
480
  resubscribeAll() {
477
481
  for (const key of this.activeSubscriptions) {
478
482
  const [type, id] = key.split(':');