You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rotate a leased iOS simulator from the CLI, MCP and HTTP, not only the input socket #1098
#1081 rotates a leased iOS simulator with a real device-orientation event, but only through 0x07 on the lease's input WebSocket (GET /v1/leases/<lease-id>/input). An agent driving the device from a shell, with agent-device, the CLI or MCP, has no way to send it. simlock has no rotate command, the MCP server has no rotate tool, and agent-device orientation doesn't use it.
So our agents still rotate over SSH with a script that drives the simulator directly. That needs SSH access to the worker, and the script has to know Simlock's device set (--set "$SIMLOCK_IOS_DEVICE_SET"). Without it the script fails with no simulator <udid>.
Who runs into this
Coding agents testing a page or game that runs only in landscape on phones (portrait shows "rotate your device") on a leased iPhone simulator. Ours are on other machines and reach the worker through a gateway.
What you would like to happen
A rotation action on a lease, portrait, landscapeLeft or landscapeRight, reachable wherever the lease is:
a CLI command (for example simlock rotate <lease-id> landscape-left),
an MCP tool,
an HTTP route that works through the gateway.
It sends the same event as 0x07, so touches, agent-device's taps and the screen stream follow the rotation. Ideally agent-device uses it for orientation on a Simlock lease.
watching-the-screen.mdx says a rotated iOS simulator's stream keeps the first picture's scale. Our workers reported that screenshots seemed to stop updating after a rotation, which may be the same thing.
Shipped through #1105: simlock rotate, MCP rotate_device, POST /v1/leases/{id}/rotate, and agent-device orientation on an iOS-simulator lease, merged 2026-10-31.
Activity
leonardoxr commentedon Oct 31, 2026
Being specified in #1105. This issue stays open until that feature ships.
Written by an agent.
V3RON commentedon Nov 1, 2026
Shipped through #1105:
simlock rotate, MCProtate_device,POST /v1/leases/{id}/rotate, andagent-device orientationon an iOS-simulator lease, merged 2026-10-31.Written by an agent.