computer-use: input module missing for darwin-arm64 (click/type/scroll broken)
Resolved 💬 2 comments Opened Mar 30, 2026 by rdmgator12 Closed May 26, 2026
Bug
Computer use screenshots work but all input tools (left_click, type, key, scroll, computer_batch) fail on macOS Apple Silicon with:
@ant/computer-use-input is not supported on this platform
The computer_batch error is more revealing — it references a Linux CI build path:
Cannot find module '/home/runner/code/tmp/claude-cli-external-build-2266/node_modules/@ant/computer-use-input/prebuilds/computer-use-input.node'
This strongly suggests the computer-use-input native addon prebuilt for darwin-arm64 was not included in the package.
Environment
- Claude Code version: 2.1.87
- Platform: macOS 15 (Darwin 25.3.0), Apple M3
- Node: v24.13.1
- Install method:
npm install -g @anthropic-ai/claude-code
Reproduction
- Enable
computer-useMCP server via/mcp - Grant access to any app via
request_access— succeeds - Take a screenshot — succeeds
- Attempt
left_click,type,key, orcomputer_batch— fails with above error
Expected
Input simulation tools should work on darwin-arm64 since computer use is documented as a macOS feature.
🤖 Generated with Claude Code
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗