From 87cb687610586f4fbaa0c946d363c46a21129af8 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Tue, 12 May 2026 00:21:10 +0200 Subject: [PATCH] fix(diagnostic): ARIA-Textantworten landen jetzt im Chat (Gateway-Dedup raus) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Symptom: Diagnostic-Chat zeigt nur ARIA-Dateien (file_from_aria), Text- Antworten kamen nicht an. STT-Eintraege + User-Messages waren sichtbar. Ursache: Im rvs_chat-Handler stand if (sender === 'aria') return; Die alte Begruendung war "ARIA-Antworten kommen schon via Gateway (chat:final)". Das galt zu OpenClaw-Zeit, wo Diagnostic eine direkte WS zum aria-core hatte. Gateway ist seit dem Abriss weg, ARIA-Antworten kommen jetzt ausschliesslich via RVS → der return blockte sie still. Fix: chatType + label je nach sender: - aria → received-Bubble, Label "ARIA" - stt → sent-Bubble, Label "🎤 Spracheingabe" (wie vorher) - sonst → sent-Bubble, Label "via RVS ()" Co-Authored-By: Claude Opus 4.7 (1M context) --- diagnostic/index.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/diagnostic/index.html b/diagnostic/index.html index 07c56df..c854278 100644 --- a/diagnostic/index.html +++ b/diagnostic/index.html @@ -1282,10 +1282,20 @@ if (msg.type === 'rvs_chat') { const p = msg.msg.payload || {}; const sender = p.sender || '?'; - // ARIA-Antworten kommen schon via Gateway (chat:final) — nicht nochmal via RVS anzeigen - if (sender === 'aria') return; - const chatType = 'sent'; - const label = sender === 'stt' ? '\uD83C\uDFA4 Spracheingabe' : `via RVS (${sender})`; + // Frueher: 'aria' kam parallel via OpenClaw-Gateway (chat:final) UND via RVS, + // RVS wurde dedupliziert. Gateway ist raus — ARIA-Antworten kommen jetzt + // ausschliesslich via RVS, also nicht mehr blocken. + let chatType, label; + if (sender === 'aria') { + chatType = 'received'; + label = 'ARIA'; + } else if (sender === 'stt') { + chatType = 'sent'; + label = '\uD83C\uDFA4 Spracheingabe'; + } else { + chatType = 'sent'; + label = `via RVS (${sender})`; + } addChat(chatType, p.text || '?', label, { location: p.location }); return; }