feat(settings): keep-awake on and off across android and harmonyos
ST
1d ago+182+182+012345678901234567890123456789-9-9-0123456789
Summary
Long QA sweeps die when the screen sleeps mid-run, and nothing in the toolset can hold the display on — one audited workflow hand-rolled power-shell setmode 2147483647 over raw hdc. This adds settings keep-awake --on/--off to the existing settings command family: Android lowers to svc power stayon, HarmonyOS to power-shell setmode, each platform declaring the setting in its facts so unsupported platforms refuse with the typed error instead of guessing.
12 files changed (settings catalog, two platform backends, CLI surface, tests; device-verified on a Redmi (Android 14) and a JDY-AL50 per docs/agents/device-verification.md).
Validation
- Head: 14befc1b5 on a68693c72 (includes review-fix commit).
pnpm run typecheck,pnpm run lint, settings and platform tests, integration-progress--check, fallow, freerange: pass locally; live device checks recorded in-repo per the device-verification doc.- Independent cold review: FIX findings applied (device verification added). CI runs the full gates on push.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.