Skip to content

Add consolidated gesture controls for press and swipe#54

Merged
thymikee merged 3 commits intomainfrom
codex/gesture-series-controls
Feb 14, 2026
Merged

Add consolidated gesture controls for press and swipe#54
thymikee merged 3 commits intomainfrom
codex/gesture-series-controls

Conversation

@thymikee
Copy link
Copy Markdown
Contributor

Summary

  • extend press with gesture-series controls (--count, --interval-ms, --hold-ms, --jitter-px)
  • add new coordinate swipe command with repetition controls (--count, --pause-ms, --pattern one-way|ping-pong) and configurable duration
  • add Android backend swipeAndroid(...) and iOS runner drag command wiring for coordinate swipes
  • keep existing scroll semantics unchanged
  • keep Android pinch unsupported and return explicit UNSUPPORTED_OPERATION message
  • update docs across README, website commands page, and skill docs

Implementation details

  • src/utils/args.ts: parse new flags and update usage help
  • src/core/capabilities.ts: add swipe capability matrix
  • src/core/dispatch.ts: series loops, validation bounds, deterministic jitter, swipe command, Android pinch error message
  • src/daemon/context.ts: forward new flags to dispatch
  • src/utils/interactors.ts: add swipe(...) interactor API
  • src/platforms/android/index.ts: add low-level swipeAndroid
  • src/platforms/ios/runner-client.ts + ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift: add drag runner command with x2/y2

Tests

  • pnpm typecheck
  • pnpm test:unit
  • pnpm test:smoke
  • pnpm build:xcuitest
  • pnpm test:integration ⚠️
    • failed in this environment on iOS integration due an existing device lock/session (DEVICE_IN_USE), not code-level failures
    • validated new gestures manually with an alternate iOS session (open -> press --count -> swipe --pattern ping-pong -> close) ✅

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 13, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-02-14 12:56 UTC

@thymikee thymikee merged commit 64d27c1 into main Feb 14, 2026
6 checks passed
@thymikee thymikee deleted the codex/gesture-series-controls branch February 14, 2026 12:55
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.

1 participant