Skip to content

v0.21.41

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 18:51
· 82 commits to main since this release
a620da0

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, back and home:

    • back taps 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 answers back_swipe_no_change or back_swipe_unverified.
    • home presses the Digital Crown without bringing the session app forward, so a second home opens the app grid. action-button works on Apple Watch Ultra simulators and is refused on other models.
    • Commands a watch cannot support, such as orientation or clipboard writes, refuse with a typed unsupported-platform-leaf reason. Private simulator sets via --ios-simulator-device-set work 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 dismiss cannot close a keyboard whose Return key submits (Search, Go, Done, Send), the refusal now names keyboard enter (#4768). fill is a little faster because it reuses the window it already resolved (#4769).

  • Discoverable gestures in MCP: the swipe, gesture and longpress descriptions 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-script repeats 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) as savedScript, with a warning, and does not download or re-read the file. The script_entry_changed and script_entry_unverified causes are gone. If a final close delivery fails, record again with your original open command plus --save-script=<path> --force.
  • Windows script destinations other than drive-absolute (C:\...) or plain UNC (\\server\share\...) paths are refused up front with windows_path_form; IPC shares, already refused, now report that reason instead of unnamed_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