The _patch.cjs script accidentally stripped </script></body></html> when replacing the WebSocket section, causing the inline JavaScript to never terminate — the browser parsed everything as script content and all functions were undefined. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>