- Switch HERMES_WS_URL from ws:// to wss:// for encrypted transport
- Add _destroyed flag so disconnect() permanently stops reconnect loop
- Guard connect() and _scheduleReconnect() against _destroyed state
- Set this.connected = false in disconnect() for consistent state
Refs #210
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace stub WebSocket URL (wss://localhost:8080) with real Hermes
gateway at ws://143.198.27.163/api/world/ws. Add exponential backoff
reconnect (up to 10 attempts, max 30s), proper ws-connected /
ws-disconnected / ws-failed lifecycle events, and routing for
chat, status-update, and pr-notification message types.
Fixes#210
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>