Skip to content

fix: make fill clear input and progressively fill the input#17

Merged
thymikee merged 3 commits intomainfrom
fix/fill
Feb 6, 2026
Merged

fix: make fill clear input and progressively fill the input#17
thymikee merged 3 commits intomainfrom
fix/fill

Conversation

@thymikee
Copy link
Contributor

@thymikee thymikee commented Feb 6, 2026

Refactors and stabilizes fill behavior across platforms while keeping type as non-clearing input.

Fixes #8

  • Unified Android fill into a single attempt loop: focus -> clear -> type -> verify; fast first pass + one safer retry pass
  • Fast chunked typing instead of pasting
  • Removed extra pre-typing hierarchy dump on happy path
  • Simplified daemon flow: removed iOS-specific fill @ref special case; all fill @ref now route through the same dispatchCommand('fill') path
  • Added iOS runner support for clear-first typing
  • Cleaned up Android parsing helpers by centralizing attribute extraction.

Behavior now aligns better with agent-browser:

  • fill: clears existing text, then types.
  • type: types into focused field without clearing.
  • Android fill verifies final text and retries once on mismatch.

Updated skills.

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-17/

Built to branch gh-pages at 2026-02-06 11:16 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee merged commit d8440a6 into main Feb 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When the fill command outputs a long string of text (20+ characters), some parts of the text may be misaligned.

1 participant