feat: kiosk auto-starts voice mode and blocks sleep — isolated patches only

This commit is contained in:
2026-06-21 05:17:55 +00:00
parent a6d4365f16
commit 6f0459be85
3 changed files with 10 additions and 6 deletions
+1
View File
@@ -5,6 +5,7 @@ var _sleepRefreshTimer = null;
var SLEEP_CMDS = /\b(good\s*night(\s*jarvis)?|go\s*to\s*sleep|sleep\s*mode|shut\s*(down|off)\s*(jarvis|for\s*the\s*night)|go\s*offline|going\s*offline|jarvis\s*(go\s*)?(offline|sleep|shutdown)|stand\s*by\s*mode|power\s*down(\s*jarvis)?|signing\s*off)\b/i;
function enterSleepMode() {
if (document.body.classList.contains("kiosk-mode")) return;
if (isAsleep) return;
isAsleep = true;