feat: add settings appearance command#119
Merged
thymikee merged 3 commits intoFeb 24, 2026
Merged
Conversation
- add appearance light|dark|toggle support to settings command - implement iOS simulator and Android night mode handlers - cover parser/handler/platform behavior with unit tests - update README, docs, and agent-device skill guidance
- expect split settings usage lines for wifi/location and appearance
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for controlling device appearance/dark mode through the settings command family. The implementation provides a consistent API (settings appearance <light|dark|toggle>) that works across both iOS simulators (using simctl ui appearance) and Android devices (using cmd uimode night).
Changes:
- Added
settings appearancecommand withlight,dark, andtoggleoptions - Implemented iOS simulator appearance control via
xcrun simctl uicommands - Implemented Android night mode control via
adb shell cmd uimode nightcommands - Updated CLI help text, documentation, and skill guidance across the codebase
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| website/docs/docs/quick-start.md | Added example usage of settings appearance toggle to quick start guide |
| website/docs/docs/commands.md | Documented all appearance command variants and clarified iOS/Android mapping |
| src/utils/command-schema.ts | Updated settings command schema to include appearance options |
| src/utils/tests/args.test.ts | Added test assertions for appearance in help text output |
| src/platforms/ios/apps.ts | Implemented iOS appearance handling with toggle support and current state detection |
| src/platforms/ios/tests/index.test.ts | Added unit tests for iOS appearance dark and toggle functionality |
| src/platforms/android/index.ts | Implemented Android night mode handling with toggle support and current state detection |
| src/platforms/android/tests/index.test.ts | Added unit tests for Android appearance dark and toggle functionality |
| src/daemon/handlers/snapshot.ts | Updated error message to include appearance command options |
| src/daemon/handlers/tests/snapshot-handler.test.ts | Added test assertion for appearance in error message |
| skills/agent-device/SKILL.md | Updated skill guidance to document appearance command |
| README.md | Added appearance command to features list and settings helpers section |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
|
Looks good! |
thymikee
approved these changes
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
settings appearance <light|dark|toggle>support to the settings command familysimctl ui ... appearancewith toggle behavioradb shell cmd uimode nightwith toggle behaviorValidation