agentgui 1.0.159 → 1.0.160

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.159",
3
+ "version": "1.0.160",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -60,13 +60,13 @@ class AgentGUIClient {
60
60
  this.setupWebSocketListeners();
61
61
  this.setupRendererListeners();
62
62
 
63
+ // Setup UI elements (must happen before loading data so DOM refs exist)
64
+ this.setupUI();
65
+
63
66
  // Load initial data
64
67
  await this.loadAgents();
65
68
  await this.loadConversations();
66
69
 
67
- // Setup UI elements
68
- this.setupUI();
69
-
70
70
  // Enable controls for initial interaction
71
71
  this.enableControls();
72
72