- Separate /ok health check from proxy logic into dedicated healthCheck function
- Fix WebSocket message race condition by buffering messages until upstream connects
- Add 5s timeout for WebSocket upstream connection
- Create env.ts for centralized env var handling and validation
- Move exports to top of files for better discoverability
- Remove spawn() parameter and have it read from env.ts
- Remove unused validation logic (now handled by env.ts)
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>