fix(extension): resolve 10-item limit truncation & WS zombie disconnection (v0.5.14)

This commit is contained in:
Variet Worker
2026-04-01 18:21:51 +09:00
parent 2d5059d2d5
commit 13f13ee243
10 changed files with 147 additions and 4 deletions

3
hub.py
View File

@@ -590,7 +590,8 @@ class WSHub:
await self._on_brain_event(conn.project, payload)
elif msg_type == MsgType.HEARTBEAT:
pass # last_heartbeat already updated above
# Echo back a "pong" so clients without native ping/pong can update their timers
await conn.ws.send_json({"type": "pong"})
else:
logger.warning(f"[HUB] Unknown message type: {msg_type} from {conn.conn_id}")