mirror of
https://github.com/remorses/gpuix.git
synced 2026-10-28 10:44:49 +08:00
https://gpuix.dev/chat-example/ stayed on the loader for two reasons. The error overlay read process.platform at module load. A browser has no process, so that threw before Wasm started. OVERLAY_MONO is now a CSS font stack. readMacCpuThrottle() treats a missing process as no THROTTLE. render() only calls process.exit when process exists. createRoot() also called setWindowKeyEvents before GPUI finished opening the web window, which threw GPUIX web window is not ready. The wasm renderer now queues those listeners the same way it already queues the debug overlay, then applies them when start_web_app builds GpuixView. The production chat bundle copies examples/web.css, and the website serves it as /chat-example/web.css so the loader styles load. Session: ses_f64d18bc8ffeysXOZPWSnfTQWv