agentgui 1.0.30 → 1.0.31

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.30",
3
+ "version": "1.0.31",
4
4
  "description": "Multi-agent ACP client with real-time communication",
5
5
  "type": "module",
6
6
  "main": "server.js",
package/static/app.js CHANGED
@@ -760,7 +760,21 @@ class GMGUIApp {
760
760
  wrap.className = 'html-block rendered-html';
761
761
  const content = document.createElement('div');
762
762
  content.className = 'html-content';
763
- content.innerHTML = this.sanitizeHtml(rawHtml);
763
+
764
+ // CRITICAL: Ensure RippleUI styles are available for agent HTML
765
+ // Agent responses use RippleUI/Tailwind classes, so wrap in a context that has those styles
766
+ let enhancedHtml = rawHtml;
767
+
768
+ // If HTML doesn't already have the RippleUI wrapper classes, add them
769
+ if (!rawHtml.includes('space-y-4') && !rawHtml.includes('card') && !rawHtml.includes('alert')) {
770
+ // Wrap in RippleUI container if agent didn't already wrap it
771
+ enhancedHtml = `<div class="space-y-4 p-6 max-w-4xl">${rawHtml}</div>`;
772
+ console.log('[HTML] Wrapped agent HTML in RippleUI container for styling');
773
+ } else {
774
+ console.log('[HTML] Agent HTML already has RippleUI classes');
775
+ }
776
+
777
+ content.innerHTML = this.sanitizeHtml(enhancedHtml);
764
778
  wrap.appendChild(content);
765
779
  return wrap;
766
780
  }
package/static/index.html CHANGED
@@ -130,13 +130,6 @@
130
130
  <div class="chat-option-desc">Contextualize chat to a specific folder</div>
131
131
  </div>
132
132
  </button>
133
- <button class="chat-option-btn" onclick="importClaudeCodeConversations()">
134
- <span class="chat-option-icon">📥</span>
135
- <div class="chat-option-content">
136
- <div class="chat-option-title">Import Claude Code conversations</div>
137
- <div class="chat-option-desc">Load existing conversations from Claude Code</div>
138
- </div>
139
- </button>
140
133
  </div>
141
134
  </div>
142
135
  </div>