diff options
| author | Agando <roduccomm@gmail.com> | 2026-06-02 06:00:29 +0200 |
|---|---|---|
| committer | Agando <roduccomm@gmail.com> | 2026-06-02 06:00:29 +0200 |
| commit | 6d41e590a38c73ef60f1c04beaf8f5438f350f46 (patch) | |
| tree | dc94aba0816e7bb87834cf518cbfe78d7a95f397 /modules/core/module-aiassist.js | |
| parent | b839e58aa45da1945d0c46c8070b4e7016c59f94 (diff) | |
auto: 2026-06-02_06:00 changes
Diffstat (limited to 'modules/core/module-aiassist.js')
| -rw-r--r-- | modules/core/module-aiassist.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/module-aiassist.js b/modules/core/module-aiassist.js index f7be209..edc5225 100644 --- a/modules/core/module-aiassist.js +++ b/modules/core/module-aiassist.js @@ -568,7 +568,7 @@ RULES: (entry.error ? ' <span class="debug-err">⚠️</span>' : '') + '</div>'; } - panel.innerHTML = '<div class="debug-header">🔧 Tool Log <span class="debug-count">' + this._toolCallLog.length + ' calls</span></div>' + html; + panel.innerHTML = '<div class="debug-header" style="display:flex;justify-content:space-between;align-items:center;padding:6px 10px;border-bottom:1px solid #333;font-weight:bold;color:var(--success-color);font-size:0.9em;">🔧 Tool Log <span class="debug-count" style="color:var(--text-muted);font-weight:normal;font-size:0.85em;">' + this._toolCallLog.length + ' calls</span><span style="cursor:pointer;color:var(--text-muted);font-size:1.1em;touch-action:manipulation;" onclick="var p=document.getElementById(\'debug-panel\');if(p)p.style.display=\'none\';var a=window.webx11&&webx11.moduleManager&&webx11.moduleManager.modules&&webx11.moduleManager.modules.WebX11AIAssistantModule;if(a)a._debugPanelEnabled=false;">✕</span></div>' + html; } _isToolError(result) { if (!result || typeof result !== 'string') return null; @@ -931,7 +931,7 @@ RULES: // Create the debug panel panel = document.createElement('div'); panel.id = 'debug-panel'; - panel.style.cssText = 'position:fixed;right:10px;bottom:50px;width:380px;max-height:400px;overflow-y:auto;background:#0a0a0a;border:1px solid #333;border-radius:6px;z-index:9999;font-family:monospace;font-size:0.78em;display:none;'; + panel.style.cssText = 'position:fixed;right:10px;top:50px;width:340px;max-height:350px;overflow-y:auto;background:#0a0a0a;border:1px solid #333;border-radius:6px;z-index:100;font-family:monospace;font-size:0.75em;display:none;'; document.body.appendChild(panel); // Add close button handler panel.addEventListener('click', function() { |