agentgui 1.0.310 → 1.0.311

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.310",
3
+ "version": "1.0.311",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -519,7 +519,7 @@ class StreamingRenderer {
519
519
 
520
520
  const thinking = block.thinking || '';
521
521
  div.innerHTML = `
522
- <details open>
522
+ <details>
523
523
  <summary>
524
524
  <svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"/></svg>
525
525
  <span>Thinking Process</span>
@@ -741,7 +741,6 @@ class StreamingRenderer {
741
741
 
742
742
  const details = document.createElement('details');
743
743
  details.className = 'block-tool-use folded-tool permanently-expanded';
744
- details.setAttribute('open', '');
745
744
  if (block.id) details.dataset.toolUseId = block.id;
746
745
  details.classList.add(this._getBlockTypeClass('tool_use'));
747
746
  details.classList.add(this._getToolColorClass(toolName));
@@ -1294,7 +1293,6 @@ class StreamingRenderer {
1294
1293
  renderBlockSystem(block, context) {
1295
1294
  const details = document.createElement('details');
1296
1295
  details.className = 'folded-tool folded-tool-info permanently-expanded';
1297
- details.setAttribute('open', '');
1298
1296
  details.dataset.eventType = 'system';
1299
1297
  details.classList.add(this._getBlockTypeClass('system'));
1300
1298
  const desc = block.model ? this.escapeHtml(block.model) : 'Session';
@@ -1332,7 +1330,6 @@ class StreamingRenderer {
1332
1330
 
1333
1331
  const details = document.createElement('details');
1334
1332
  details.className = isError ? 'folded-tool folded-tool-error permanently-expanded' : 'folded-tool permanently-expanded';
1335
- details.setAttribute('open', '');
1336
1333
  details.dataset.eventType = 'result';
1337
1334
  details.classList.add(this._getBlockTypeClass(isError ? 'error' : 'result'));
1338
1335
 
@@ -1766,7 +1763,6 @@ class StreamingRenderer {
1766
1763
 
1767
1764
  const details = document.createElement('details');
1768
1765
  details.className = 'folded-tool folded-tool-error permanently-expanded';
1769
- details.setAttribute('open', '');
1770
1766
  details.dataset.eventId = event.id || '';
1771
1767
  details.dataset.eventType = 'error';
1772
1768
  const summary = document.createElement('summary');