Docs Release notes
Tomacco 1.6.0#
Tomacco 1.6.0 makes an iPhone mirrored over AirPlay easier to control from the desktop and safer to leave running, and gives MCP agents a safe default. It follows 1.5.0.
On this page (4)
Highlights#
- The device window shows only the buttons that work for the session, and its own notices.
- AirPlay swipes, flicks and scrolling are paced the way iOS reads them.
- Keys for Home, Back, the App Switcher, Control Center and Notification Center; typing uses the phone's own keyboard layout.
- The AirPlay receiver asks the iPhone for a PIN, new for each session.
- An MCP agent without its own policy no longer runs code, builds or installs.
iPhone over AirPlay#
The rail of the device window follows the session's input_capabilities: an iPhone over
AirPlay has no Rotate button, and Back appears where the session has it. Success and error
notices appear in the device window, where they were only in the main window, hidden while
the device floats. Home on an iPhone that is not paired over Bluetooth says how to pair
Tomacco and turn on AssistiveTouch.
A drag that jumps is cut into steps the phone can follow, the finger lifts where the last move ended, a release after a rest stops instead of flinging, and the mouse wheel scrolls with a short swipe in the middle of the screen. A press near an edge goes down on the edge, where iOS starts its edge gestures.
Back is a swipe in from the left edge, also on the mouse's back button and Ctrl+Shift+B. The
App Switcher is on Ctrl+Shift+A, Notification Center on Ctrl+Shift+N, Control Center on
Ctrl+Shift+C and Home on Ctrl+Shift+H; Spotlight is available through runtime.input. Typing
sends physical keys. runtime.input takes scancode, t on touches and hold and rest
on swipes.
These follow the measurements of Jalrux's iphone-control (MIT) and have contract tests; they are not yet hardware-qualified on an iPhone.
Security#
- Safe MCP default. Without an
agent_policy, an MCP agent getsno_destructiveinstead offull: it reads, looks at screens and uses the devices, but running code, building, installing and changing settings need a policy you choose.{"agent_policy":{"mcp":"full"}}restores the old behaviour.tomaccoctl callkeepsfull. - Code that runs is destructive. 45 operations that run code on this computer or the Mac,
install software or apps, change settings or upload a release are now marked
destructiveHint, so MCP clients that ask before destructive tools ask for them. Aworkflow.runstep with one needsconfirm. - AirPlay PIN. The receiver asks the iPhone for a four-digit PIN, new for each session and
shown in the desktop.
runtime.listandruntime.stateleave it out. - Bluetooth pairing window. The Bluetooth pointer and keyboard accept a new pairing for two minutes after the start and after a mirror starts, and are not discoverable outside them.
- Own loopback listeners. The AirPlay video input and the virtual iPhone's lldb bridge accept connections from your user only.
Upgrading#
An MCP agent that builds, installs or runs projects through Tomacco needs a policy that
allows it, set by you from a terminal; over MCP that call is refused, so an agent cannot
loosen its own policy. tomaccoctl call settings.configure '{"agent_policy":{"mcp":"full"}}'
restores the old behaviour, and agent workflows describe the narrower policies.
The iPhone asks for the receiver's PIN when it starts mirroring.
The changelog lists every change.