WebChat (macOS ऐप)
The macOS menu bar app embeds the WebChat UI as a native SwiftUI view. It connects to the Gateway and defaults to the main session for the selected agent (with a session switcher for other sessions).- Local mode: सीधे स्थानीय Gateway WebSocket से कनेक्ट होता है।
- Remote mode: Gateway कंट्रोल पोर्ट को SSH के माध्यम से फ़ॉरवर्ड करता है और उस टनल को डेटा प्लेन के रूप में उपयोग करता है।
लॉन्च और डिबगिंग
- Manual: Lobster मेनू → “Open Chat”.
-
परीक्षण के लिए Auto‑open:
-
Logs:
./scripts/clawlog.sh(subsystembot.molt, categoryWebChatSwiftUI)।
यह कैसे जुड़ा है
- Data plane: Gateway WS मेथड्स
chat.history,chat.send,chat.abort,chat.injectऔर इवेंट्सchat,agent,presence,tick,health। - Session: defaults to the primary session (
main, orglobalwhen scope is global). The UI can switch between sessions. - Onboarding पहले‑रन सेटअप को अलग रखने के लिए एक समर्पित सत्र का उपयोग करता है।
सुरक्षा सतह
- Remote mode में केवल Gateway WebSocket कंट्रोल पोर्ट को SSH के माध्यम से फ़ॉरवर्ड किया जाता है।
ज्ञात सीमाएँ
- UI चैट सत्रों के लिए अनुकूलित है (पूर्ण ब्राउज़र sandbox नहीं)।