Repository navigation
v0.2.10
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_forwithstate: "disappeared"answered that the text had appeared (#158). The error names the arguments the tool takes. This includesthenon tools that don't list it, and on the steps ofiphone_batch(the batch's ownthenapplies).
New
iphone_type_textsupportsreplace: 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, orICTL_IOS_BACKEND=wda) the field is cleared first, so a failure there says the old text is gone (#162).iphone_list_elementsreports the match count and whetherlimittruncated the list in its structured result (#159).iphone_wait_forcan 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 升级。