fix(ios): name keyboard enter when a dismiss refusal sees a submitting Return key
Summary
keyboard dismiss on iOS refuses a keyboard it cannot hide (keyboard_dismiss_unavailable, dispatched: no). On a search field the useful next step is usually Return, but the hint only named the Hide Keyboard key and a pan gesture, so agents retried dismiss or got stuck behind the keyboard.
The refusal now reads the Return key its own status already observed. For search, go, done and send it opens with keyboard enter and what it will do; send is explicit that it sends. Other keys keep the old hint. Dismiss still never presses Return (#4644), and no extra device read is added.
4 files: runner refusal + call site, a runner unit test, and the keyboard help text.
$ agent-device keyboard dismiss
Error (UNSUPPORTED_OPERATION): The Apple runner cannot dismiss this keyboard automatically. Not dispatched. Next: To submit this search, run keyboard enter. Inspect the screen and press the visible Hide Keyboard key ...
Validation
- Tested at 2b8165a81c's content (pre-split head) on an iOS 27.0 simulator with the Bluesky prod app: fill the search field,
keyboard dismissreturns the output above;keyboard enterthen submits andkeyboard statusreports hidden. - New runner unit test
testKeyboardDismissRefusalNamesKeyboardEnterOnlyWhereReturnEndsTheEdit; CI owns the Swift unit and iOS device lanes. - Local
check:affectednot run (host load average 300ā1000); CI validates the pushed head.
š¤ Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith Ā· Need help on this PR? Tag @codesmith-bot with what you need.