f36b98db30e91e2443002253814d4c81c40f345e
Bun closes a WS idle for idleTimeout (60s) and only resets its timer on frames received from the client — but during a chat turn the client only receives, so a long tool call or a gap between turns tripped the timeout (clean close 1000, mid-stream cuts, reconnects). Now each chat connection is pinged every 25s in the WS open handler (cleared in close); the client auto-pongs at the protocol level, resetting Bun's timer. Covers every client (web, mobile) with one server change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
No description provided
42 MiB
Languages
TypeScript
90.9%
Shell
4.7%
JavaScript
4.1%
CSS
0.2%
HTML
0.1%