Skip to content

v0.2.10

Choose a tag to compare

@github-actions github-actions released this 22 Nov 08:52
· 52 commits to main since this release
a876c12

English

Upgrade notes

  • MCP tools now refuse an argument they don't take, and do nothing, instead of ignoring it. A misspelt argument, or one from a newer version, used to run the call with the default and report success: iphone_wait_for with state: "disappeared" answered that the text had appeared (#158). The error names the arguments the tool takes. This includes then on tools that don't list it, and on the steps of iphone_batch (the batch's own then applies).

New

  • iphone_type_text supports replace: true (empty text empties the field) and verifies the full field value before pressing Return. With native control, when it fails, the old text is left unselected; through WDA (iOS 26 and earlier, or ICTL_IOS_BACKEND=wda) the field is cleared first, so a failure there says the old text is gone (#162).
  • iphone_list_elements reports the match count and whether limit truncated the list in its structured result (#159).
  • iphone_wait_for can wait for text to disappear without mistaking an incomplete screen read for success (#159).

中文

升级注意事项

  • MCP 工具收到不认识的参数时改为报错、什么都不做,不再忽略。以前参数名拼错、或者用了新版本才有的参数,调用会按默认行为执行并报成功:iphone_wait_for 带 state: "disappeared" 时直接回答文字已出现(#158)。报错里会列出这个工具接受的参数。没有声明 then 的工具传 then、iphone_batch 的单个步骤里传 then 也会报错(批量的 then 写在批量本身)。

新功能

  • iphone_type_text 支持 replace: true(文字为空时清空输入框),核对替换后的输入框全文后才按回车。原生控制下替换失败时会取消全选,原文保留;经 WDA(iOS 26 及以前,或 ICTL_IOS_BACKEND=wda)时先清空再输入,失败时会说明原文已删掉(#162)。
  • iphone_list_elements 的结构化结果会说明匹配数量和是否被 limit 截断(#159)。
  • iphone_wait_for 支持等待文字消失;读屏不完整时不会误报成功(#159)。

Binaries / 二进制: macOS macos-arm64 (11+, Apple Silicon) · Linux linux-x86_64, linux-aarch64 (glibc 2.34+) · .deb amd64, arm64 (Debian 12+, Ubuntu 22.04+)

  • Script / 脚本: curl -fsSL https://github.com/Derrors/iphone-control/releases/download/v0.2.10/install.sh | sh
  • Homebrew: brew install Derrors/tap/iphone-control
  • Debian / Ubuntu: sudo apt install ./iphone-control_0.2.10_amd64.deb (or / 或 _arm64.deb)

Already installed? Run iphone-control update. / 已安装的运行 iphone-control update 升级。