Slim subagent runtime surface and remove legacy interfaces

This commit is contained in:
LPF
2026-03-17 13:41:12 +08:00
parent 341e578c9f
commit 0674d85ae1
76 changed files with 778 additions and 8782 deletions

View File

@@ -769,14 +769,6 @@ func (s *WhatsAppBridgeService) updateStatus(mut func(*WhatsAppBridgeStatus)) {
s.status.UpdatedAt = time.Now().Format(time.RFC3339)
}
func (s *WhatsAppBridgeService) broadcastWS(payload whatsappBridgeWSMessage) {
s.wsClientsMu.Lock()
defer s.wsClientsMu.Unlock()
for conn := range s.wsClients {
_ = conn.WriteJSON(payload)
}
}
func (s *WhatsAppBridgeService) broadcastWSMap(payload map[string]interface{}) {
s.wsClientsMu.Lock()
defer s.wsClientsMu.Unlock()