agentgui 1.0.562 → 1.0.563

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.562",
3
+ "version": "1.0.563",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -2565,7 +2565,7 @@ class AgentGUIClient {
2565
2565
  }
2566
2566
 
2567
2567
  if (this.ui.messageInput) {
2568
- this.ui.messageInput.disabled = shouldResumeStreaming;
2568
+ this.ui.messageInput.disabled = false;
2569
2569
  }
2570
2570
 
2571
2571
  const outputEl = document.getElementById('output');
@@ -619,13 +619,11 @@ class StreamingRenderer {
619
619
  case 'TodoWrite':
620
620
  if (input.todos && Array.isArray(input.todos)) {
621
621
  const statusIcons = { completed: '✅', in_progress: '⚙', pending: '☐' };
622
- const hasInProgress = input.todos.some(t => t.status === 'in_progress');
623
622
  const completedCount = input.todos.filter(t => t.status === 'completed').length;
624
623
  const totalCount = input.todos.length;
625
624
  const items = input.todos.map(t => `<div class="todo-item"><span class="todo-status">${statusIcons[t.status] || '&#9744;'}</span><span class="todo-text">${this.escapeHtml(t.content || '')}</span></div>`).join('');
626
- const openAttr = hasInProgress ? 'open' : '';
627
625
  const summary = `<summary class="folded-tool-bar" style="cursor:pointer;padding:0.5rem;background:var(--color-bg-secondary);border-radius:0.25rem;user-select:none"><span style="font-weight:600;font-size:0.9rem">📋 Tasks</span><span style="margin-left:0.5rem;font-size:0.8rem;color:var(--color-text-secondary)">${completedCount}/${totalCount} complete</span></summary>`;
628
- return `<details class="folded-tool" ${openAttr}>${summary}<div class="folded-tool-body tool-param-todos" style="padding:0.75rem">${items}</div></details>`;
626
+ return `<details class="folded-tool" open>${summary}<div class="folded-tool-body tool-param-todos" style="padding:0.75rem">${items}</div></details>`;
629
627
  }
630
628
  return this.renderJsonParams(input);
631
629
 
@@ -2187,7 +2185,7 @@ class StreamingRenderer {
2187
2185
  summary.textContent = summaryText;
2188
2186
 
2189
2187
  const details = document.createElement('details');
2190
- details.className = `block-type-${block.type}`;
2188
+ details.className = `block-type-${block.type} ${this._getBlockTypeClass(block.type)}`;
2191
2189
  details.setAttribute('data-block-type', block.type);
2192
2190
  details.setAttribute('data-lazy-load', 'pending');
2193
2191
  details.appendChild(summary);