fix(provider-limrun): preserve Unicode in Limrun iOS fill

Merged
MV
1mo ago
+89-44

Summary

Limrun iOS fill writes the complete focused field value in one call so text without hardware key codes is not dropped. type still sends key events. A failed value write now returns text_entry_value_write_failed with an unknown dispatch outcome. This change touches five files, including shared command help and documentation. Fixes #3819.

Validation

  • Head 20adcdca62; base 3c6673a2b9. pnpm check:affected --run --head HEAD passed at the exact commit, including the unit suite. GitHub owns integration, coverage, and device lanes. No equivalent base run was performed.

  • Live Limrun iOS at b8b5c96b11 (identical file content after rebase), using limrun-inc/sample-native-app and a Flutter sign-in app (com.example.ad2578). Commands used an isolated Limrun session. Output and read-back:

    CommandResult
    fill 'id="nameField"' Ada; fill 'id="nameField"' '你好'; press 'id="greetButton"'Both fills succeeded with textEntryReadiness: focused-element; snapshot: field 你好, greeting Hello, 你好!.
    fill 'id="nameField"' ''; press 'id="greetButton"'Filled 0 chars; snapshot: placeholder Your name, greeting Hello, world!.
    fill 'id="nameField"' Ada; type HelloTyped 5 chars; snapshot: field AdaHello.
    Flutter: fill 'label="Email" editable=true' '你好'COMMAND_FAILED, reason text_entry_value_write_failed, dispatched: unknown. Limrun did not find a globally focused element; inspect before retrying.
  • The cloud session was closed. CI for this head is pending. At ee2d49a7bf, Apple smoke failed in GitHub hashFiles after 120 seconds; provider integration timed out in Android recording. The provider gate passed on base 3c6673a2b9 locally and CI integration passed at 806016dacc; the earlier timeout cause remains unproven. Vercel requires team authorization. Independent review was unavailable; the diff was reviewed locally.