agentgui 1.0.778 → 1.0.779

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.778",
3
+ "version": "1.0.779",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "electron/main.js",
@@ -2,7 +2,10 @@
2
2
  var activeDialogs = [];
3
3
  var dialogZIndex = 10000;
4
4
 
5
- function escapeHtml(text) { return window._escHtml(text); }
5
+ function escapeHtml(text) {
6
+ if (typeof window._escHtml === 'function') return window._escHtml(text);
7
+ var d = document.createElement('div'); d.textContent = text; return d.innerHTML;
8
+ }
6
9
 
7
10
  function createOverlay() {
8
11
  var overlay = document.createElement('div');
@@ -49,6 +49,7 @@ class SyntaxHighlighter {
49
49
  } catch (error) {
50
50
  console.error('Failed to load Prism:', error);
51
51
  this.isLoading = false;
52
+ this.loadPromise = null;
52
53
  throw error;
53
54
  }
54
55
  }