agentgui 1.0.565 → 1.0.567

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.565",
3
+ "version": "1.0.567",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -730,11 +730,13 @@ class AgentGUIClient {
730
730
  return;
731
731
  }
732
732
 
733
- // Show stop, steer, and inject buttons when streaming starts for current conversation
733
+ // Show stop, steer, queue, and inject buttons when streaming starts for current conversation
734
734
  if (this.ui.stopButton) this.ui.stopButton.classList.add('visible');
735
735
  if (this.ui.injectButton) this.ui.injectButton.classList.add('visible');
736
736
  if (this.ui.steerButton) this.ui.steerButton.classList.add('visible');
737
+ if (this.ui.queueButton) this.ui.queueButton.classList.add('visible');
737
738
  if (this.ui.sendButton) this.ui.sendButton.style.display = 'none';
739
+ this.ensurePromptAreaAlwaysEnabled();
738
740
 
739
741
  this.state.streamingConversations.set(data.conversationId, true);
740
742
  this.state.currentSession = {
@@ -2668,7 +2670,9 @@ class AgentGUIClient {
2668
2670
  }
2669
2671
  const element = this.renderer.renderBlock(chunk.block, chunk);
2670
2672
  if (!element) return;
2673
+ // Ensure CSS classes are always applied for styling consistency
2671
2674
  element.classList.add('block-loaded');
2675
+ element.classList.add(`block-type-${chunk.block.type}`);
2672
2676
  blockFrag.appendChild(element);
2673
2677
  });
2674
2678
 
@@ -3061,6 +3065,15 @@ class AgentGUIClient {
3061
3065
  if (injectBtn) injectBtn.disabled = false;
3062
3066
  }
3063
3067
 
3068
+ /**
3069
+ * Ensure prompt area is always enabled and shows queue/steer when agent streaming
3070
+ */
3071
+ ensurePromptAreaAlwaysEnabled() {
3072
+ if (this.ui.messageInput) {
3073
+ this.ui.messageInput.disabled = false;
3074
+ }
3075
+ }
3076
+
3064
3077
  /**
3065
3078
  * Cleanup resources
3066
3079
  */