Repository navigation
Highlights
-
watchOS simulators: drive Apple Watch apps on a watchOS simulator through the XCUITest runner (#4752). Open an app by its watch bundle ID with an iOS-style session, then use
snapshot -i,press,scroll,swipe,fill,screenshot,backandhome:backtaps the navigation bar's back button, or swipes from the edge, and reports success only when the navigation bar actually changed. On a root screen it answersback_swipe_no_changeorback_swipe_unverified.homepresses the Digital Crown without bringing the session app forward, so a secondhomeopens the app grid.action-buttonworks on Apple Watch Ultra simulators and is refused on other models.- Commands a watch cannot support, such as
orientationor clipboard writes, refuse with a typedunsupported-platform-leafreason. Private simulator sets via--ios-simulator-device-setwork too.
agent-device open com.apple.NanoSettings --platform ios --udid <watch-udid> --session watch agent-device snapshot -i --session watch
-
Clearer remote script repeats: when a remote session delivers a script version it already saved, or an older one, the client answers from its publication record instead of re-checking the file. The response names the saved destination and adds a warning that says the version was already saved or superseded, and how to recover (#4744). A failed cleanup after a failed script download is now a warning instead of an unhandled error.
-
iOS keyboard hint: when
keyboard dismisscannot close a keyboard whose Return key submits (Search, Go, Done, Send), the refusal now nameskeyboard enter(#4768).fillis a little faster because it reuses the window it already resolved (#4769). -
Discoverable gestures in MCP: the
swipe,gestureandlongpressdescriptions now say what each one does and where it applies (#4748). Command docs describe caller-visible outcomes instead of internal timings (#4756).
Behavior changes
- Remote
--save-scriptrepeats are answered from the record (#4744). A repeated or late-duplicate delivery of a version the client already committed reports the stored absolute destination (relative and~paths resolved) assavedScript, with a warning, and does not download or re-read the file. Thescript_entry_changedandscript_entry_unverifiedcauses are gone. If a finalclosedelivery fails, record again with your originalopencommand plus--save-script=<path> --force. - Windows script destinations other than drive-absolute (
C:\...) or plain UNC (\\server\share\...) paths are refused up front withwindows_path_form; IPC shares, already refused, now report that reason instead ofunnamed_entry(#4747).
What's Changed
- refactor(host-kit): split atomic-file by concern by @thymikee in #4745
- refactor(host-kit): accept only drive-absolute or plain UNC Windows destinations by @thymikee in #4747
- test(host-kit): share destination test helpers and pin the UNC trailing-dot rule by @thymikee in #4753
- docs(commands): publish caller-visible outcomes, not tuned constants by @thymikee in #4756
- refactor: de-duplicate exported type names within each package by @thymikee in #4757
- ci(apple): compile tvOS and visionOS runners on runner-owning PRs by @thymikee in #4755
- refactor(move): move AppleRunnerRequestOptions from contracts into apple-runner by @thymikee in #4751
- docs(gestures): make swipe/gesture/longpress discoverable and honest in MCP metadata by @thymikee in #4748
- fix(ios): name keyboard enter when a dismiss refusal sees a submitting Return key by @thymikee in #4768
- perf(ios): reuse the resolved window for a fill's content translation by @thymikee in #4769
- feat(apple): support watchOS simulators through the XCUITest runner by @thymikee in #4752
- fix(remote): answer a repeated script delivery from the publication record by @thymikee in #4744
- refactor(move): split script publication into record and publisher modules by @thymikee in #4746
Full Changelog: v0.21.40...v0.21.41