DUNGEONS-34: keep host screen awake while streaming

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-09-06 18:47:42 +05:00
parent ae3a3c5def
commit 1b55a86ba5
12 changed files with 307 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<script setup lang="ts">
const enabled = useKeepHostAwakePreference();
</script>
<template>
<label class="setting-row keep-awake-setting">
<span>
<strong>{{ $t("wake.title") }}</strong>
<span class="keep-awake-hint">{{ $t("wake.hint") }}</span>
</span>
<input v-model="enabled" type="checkbox" role="switch" />
</label>
</template>
<style scoped>
.keep-awake-setting { cursor: pointer; flex-direction: row; align-items: center; }
.keep-awake-setting strong { font-size: 0.9rem; }
.keep-awake-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 0.83rem; }
.keep-awake-setting input { width: 24px; height: 24px; min-height: 24px; padding: 0; flex-shrink: 0; accent-color: var(--accent); }
</style>