Skip to content

feat(simulator-management): Add status bar overrides and shutdown_sim - #565

Open
OscarSwanros wants to merge 1 commit into
getsentry:mainfrom
OscarSwanros:pr/simulator-statusbar-shutdown
Open

OscarSwanros wants to merge 1 commit into
getsentry:mainfrom
OscarSwanros:pr/simulator-statusbar-shutdown

Conversation

@OscarSwanros

Copy link
Copy Markdown

Extends sim_statusbar with time, wifiMode, wifiBars, cellularMode, cellularBars, batteryState and batteryLevel, applied in one simctl status_bar override call. dataNetwork is optional, at least one field is required, and dataNetwork: "clear" must be used alone. Adds shutdown_sim (CLI simulator-management shutdown), mirroring boot_sim. Both return simulator-action-result schema v3, which adds the shutdown action and the new fields; other tools stay on v2.

Why: status bar overrides beyond data network are needed for marketing-quality screenshots; there is no tool to shut a simulator down.

Testing: unit tests for schema validation, the generated simctl command, structured output and errors; a v2/v3 schema test; regenerated MCP contract fixtures; new snapshot cases and fixtures; npm run typecheck, npm run lint, npm run format:check, npm test. Also checked on an iOS 27.2 simulator with Xcode 27.2: the override showed 9:41, full Wi-Fi and cellular bars and a full battery, clear restored the defaults, and shutdown_sim left the simulator Shutdown.

🤖 Generated with Claude Code

Extend sim_statusbar with time, Wi-Fi, cellular and battery overrides
applied in one simctl status_bar override call, keeping dataNetwork
"clear" as a standalone reset. Add shutdown_sim, mirroring boot_sim.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant