Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
This has been tested only on an Intel Mac with Tahoe.
On a macOS self-hosted worker, agent worker --computer-use start crashes at startup. The worker re-execs into the signed worker binary (cursor-agent-worker-sea), which immediately aborts with:
Error: Filesystem createRequire is disabled in the self-contained worker SEA
Without --computer-use the worker starts and runs fine. So computer use is unusable on macOS.
Root cause: polished-renderer/native.js calls createRequire(__filename) outside its try/catch. The worker SEA disables filesystem createRequire, so that line throws uncaught. polished-renderer is imported eagerly on the computer-use startup path, so every --computer-use start dies.
Setting CURSOR_AGENT_ALLOW_UNSIGNED_COMPUTER_USE=1 avoids the crash (the worker stays plain node), but then CUCursorService rejects the connection because its local-RPC admission only trusts Anysphere-team peers (requiredTeamIdentifier DCNK4UB866), and node is team HX7739G8FX. Every action returns Computer use failed, even with Accessibility and Screen Recording correctly granted to Cursor Computer Use. So both paths are dead ends.
Steps to Reproduce
- agent worker --computer-use start on macOS → crash (createRequire error above).
- Retry with CURSOR_AGENT_ALLOW_UNSIGNED_COMPUTER_USE=1 → worker starts, but every computer action returns Computer use failed.
Expected Behavior
–computer-use worker starts, and screenshots/clicks work with the granted permissions.
Operating System
MacOS
Version Information
cursor-agent 2026.09.02-c22c1a3 (current stable per Cursor CLI — Run Agents in Terminal, GitHub Actions and Automations & Scripts).
Additional Information
The agent can work around using osascript calls but that requires giving the terminal heightened permissions, which isn’t ideal.
Does this stop you from using Cursor
No - Cursor works, but with this issue