websocket-development
Installation
SKILL.md
WebSocket Development
Quick reference for WebSocket development in the Lupin project.
Architecture Overview
Lupin uses a dual-session WebSocket design:
| Endpoint | Purpose | Events |
|---|---|---|
/ws/queue/{session_id} |
Main application | Queue, notifications, system events |
/ws/audio/{session_id} |
Audio streaming | TTS streaming, audio events |
Key Principle: User-centric routing - events routed by user identity, not just session.
Authentication
All connections require auth_request with Bearer token: