[claude] Fix Timmy OFFLINE status & GPU error handling (#811) #1337
Reference in New Issue
Block a user
Delete Branch "claude/issue-811"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #811
Changes
OFFLINE Status Fix (
base.html)connectStatusWs()hadcatch(e) { return; }which silently abandoned reconnection if the WebSocket constructor threw — leaving status permanently OFFLINE. Now schedules a retry with the existing exponential backoff."OFFLINE"label to"Reconnecting..."— more accurate since we always retry, and friendlier per the issue requirements.WebGL Context Loss Handling (
static/world/index.html)webglcontextlost/webglcontextrestoredevent handlers. On loss, shows "Timmy is taking a quick break — back in a moment" overlay and halts the animation loop. On restore, hides the overlay and resumes rendering cleanly.New CSS (
static/world/style.css)#gpu-error-overlay— full-screen context loss overlay#webgl-fallback— text-only mode for unsupported devices / mobile