agentgui 1.0.450 → 1.0.451

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.450",
3
+ "version": "1.0.451",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
@@ -578,9 +578,9 @@
578
578
  }
579
579
  }
580
580
 
581
- function stripHtml(text) {
582
- return text.replace(/<[^>]*>/g, '').replace(/[ \t]+/g, ' ').trim();
583
- }
581
+ function stripHtml(text) {
582
+ return text.replace(/<[^>]*>/g, '').replace(/[ \t]+/g, ' ').trim();
583
+ }
584
584
 
585
585
  function addVoiceBlock(text, isUser) {
586
586
  var container = document.getElementById('voiceMessages');
@@ -742,8 +742,6 @@
742
742
  }
743
743
  } else if (block.type === 'result') {
744
744
  _voiceBreakNext = true;
745
- } else {
746
- _voiceBreakNext = true;
747
745
  }
748
746
  }
749
747
 
@@ -780,8 +778,6 @@
780
778
  hasContent = true;
781
779
  } else if (block.type === 'result') {
782
780
  _voiceBreakNext = true;
783
- } else {
784
- _voiceBreakNext = true;
785
781
  }
786
782
  });
787
783
  if (!hasContent) showVoiceEmpty(container);