agentgui 1.0.563 → 1.0.564

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.563",
3
+ "version": "1.0.564",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -2659,7 +2659,7 @@ class AgentGUIClient {
2659
2659
  toolResultBlocks.set(chunk.id, chunk);
2660
2660
  return;
2661
2661
  }
2662
- const element = this.renderer.renderBlockHeader(chunk.block, chunk);
2662
+ const element = this.renderer.renderBlock(chunk.block, chunk);
2663
2663
  if (!element) return;
2664
2664
  blockFrag.appendChild(element);
2665
2665
  });
@@ -2759,12 +2759,7 @@ class AgentGUIClient {
2759
2759
  if (!conversation || conversation.id !== conversationId) return;
2760
2760
 
2761
2761
  if (this.ui.messageInput) {
2762
- const isStreaming = this.state.streamingConversations.has(conversationId);
2763
- if (isStreaming) {
2764
- this.ui.messageInput.disabled = true;
2765
- } else {
2766
- this.ui.messageInput.disabled = !this.wsManager.isConnected;
2767
- }
2762
+ this.ui.messageInput.disabled = !this.wsManager.isConnected;
2768
2763
  }
2769
2764
  }
2770
2765
 
@@ -2188,6 +2188,7 @@ class StreamingRenderer {
2188
2188
  details.className = `block-type-${block.type} ${this._getBlockTypeClass(block.type)}`;
2189
2189
  details.setAttribute('data-block-type', block.type);
2190
2190
  details.setAttribute('data-lazy-load', 'pending');
2191
+ details.open = block.type === 'success' || (block.type === 'tool_result' && !block.is_error);
2191
2192
  details.appendChild(summary);
2192
2193
 
2193
2194
  // Attach lazy loader on first open