Claude Code v2.1.221 ·
Artifact live-update sockets send keepalive pings
Live artifact updates now ping every 25 seconds so long sessions stop getting dropped.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ArtifactsArea: what it touches
ImprovementsKind: in v2.1.221,
ImprovementsSection of the release
What
Long-lived artifact subscriptions should stop being dropped by idle timeouts.
Details
- the live-subscribe websocket is opened with a keepalive config sending a "ping" frame every 25s (iV_ = 25000)
- "ping" and "hb" are treated as open frames
- the kill path now also aborts the subscription controller when the user stops the task
Evidence
openFrames: ["ping", "hb"]
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →