it0/packages/services/voice-service
hailin bc7e32061a fix: improve voice call reconnection robustness
Server side (session_router.py):
- /reconnect now accepts sessions in "active" state (not just "disconnected")
- When client reconnects to an active session, the old WebSocket/pipeline is
  automatically replaced when the new WebSocket connects
- Only truly terminal states (e.g. "ended") return 409

Flutter side (agent_call_page.dart):
- Distinguish terminal errors (404 session gone, 409 ended) from transient
  errors (network timeout, server unreachable) in reconnect loop
- Terminal errors break immediately instead of wasting retry attempts
- Extract _connectWebSocket() helper for cleaner reconnect flow
- Add DioException handling for proper HTTP status code inspection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 07:33:34 -08:00
..
src fix: improve voice call reconnection robustness 2026-02-25 07:33:34 -08:00
Dockerfile fix: upgrade faster-whisper to 1.2.1 to resolve av build failure 2026-02-19 16:40:04 -08:00
requirements.txt feat: add OpenAI TTS/STT API endpoints for comparison testing 2026-02-24 07:20:03 -08:00