Skip to content

feat(desktop): add complete pointer controls - #25

Merged
ElbertePlinio merged 2 commits into
mainfrom
feat/desktop-input-parity
Jul 12, 2026
Merged

ElbertePlinio merged 2 commits into
mainfrom
feat/desktop-input-parity

Conversation

@ElbertePlinio

Copy link
Copy Markdown
Member

Changed

  • Add desktop mouse move/hover, horizontal and vertical scroll, drag, and double-click.
  • Expose the controls through the desktop-linux package, CLI, and MCP server.
  • Validate coordinates, buttons, wheel-step limits, drag duration, and double-click interval.
  • Keep all execution as xdotool argv arrays with no shell interpolation.
  • Update prompts, README, release tracking, and security regression coverage.

This completes the independent input-parity slice required before PickLab's browser flow is called complete.

Validated

  • bun run typecheck
  • bun run test — 593 passed, 1 skipped
  • bun run test:coverage — thresholds met; desktop input module at 100%
  • bun run build
  • Exact xdotool argv tests
  • CLI and MCP tests
  • Security test for hostile arguments
  • Live Xvfb input integration executed successfully

Not tested

Risk

  • Negative CLI scroll deltas require Commander’s -- separator; this is documented and tested.

Closes #22
Refs #17

@ElbertePlinio

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: dd7a89c8e7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ElbertePlinio
ElbertePlinio force-pushed the feat/desktop-input-parity branch from dd7a89c to c629942 Compare July 12, 2026 19:32
@ElbertePlinio

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: c629942c39

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ElbertePlinio
ElbertePlinio merged commit 3b60929 into main Jul 12, 2026
1 check passed
@ElbertePlinio
ElbertePlinio deleted the feat/desktop-input-parity branch July 12, 2026 20:06
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.

Add complete desktop input primitives for computer use

1 participant