The macOS companion app (node mode) cannot execute shell commands from a remote gateway because it doesn't support system.run.prepare. This makes the app unable to perform basic remote automation tasks that the CLI node host handles without issue.
Environment
- macOS app version: 2026.4.14 (2026041490)
- Gateway version: 2026.4.14 (323493f)
- Gateway mode: remote (VPS)
- macOS version: 26.4.1
- Node connection: paired and connected successfully
When using exec tool with host=node targeting the macOS app node, commands should execute in the app's UI context (WindowServer), leveraging its TCC permissions and native approval dialogs.
All exec attempts fail with:
node command not allowed: the node (platform: macOS 26.4.1) does not support "system.run.prepare"
Related Issues
- Browser control also broken on macOS app node (transport layer failures)
- Canvas authentication broken in remote mode (#60292, #56577)
According to docs (docs/platforms/mac/xpc.md, docs/platforms/mac/peekaboo.md), the macOS app is designed to execute commands in its UI context with native approval dialogs. The missing system.run.prepare support appears to be an implementation gap rather than an intentional limitation.
Question for maintainers: Is system.run.prepare support planned for the macOS app, or is there a different execution pathway we should be using?