Speech: STT and TTS Loop

TTS Output

WORKING

CosyVoice3 TTS Server integration

Endpoint: http://kluster.klass.dev:8200/tts

Protocol: HTTP REST POST

Response: Streaming WAV audio bytes

Orchestrator to TTS Server to WAV bytes to Base64 broadcast to Dashboard Web Audio API playback

STT Input

PARTIAL

Kognigate Whisper ASR Service

Endpoint: ws://kluster.klass.dev:43008

Protocol: WebSocket (binary WebM/Opus)

Response: Transcript text

Dashboard push-to-talk to MediaRecorder to STT WebSocket to Transcript to Orchestrator user_intent

Gap: STT hook implemented but not wired into orchestrator state machine