agentcall
agentcall copied to clipboard
bridge-visual.py / tunnel.py crash with websockets >= 14 (._ws.closed)
BridgeTunnelClient._heartbeat (bridge-visual.py) and the tunnel client (tunnel.py) check self._ws.closed, which no longer exists on ClientConnection in websockets ≥ 14 → AttributeError: 'ClientConnection' object has no attribute 'closed'. requirements.txt allows websockets>=12.0, so new installs get the new API.
Fix: check the connection state instead of .closed.
Reported in #15.
Fixed in v1.1.16 — works with websockets 12 through 17. Thanks for the report!