Tip: Enable sandbox.allowAppleEvents to Let Sandboxed Claude Code Drive macOS Apps
Claude Code Docs·low signal
The new `sandbox.allowAppleEvents` opt-in lets commands running inside Claude Code's macOS sandbox send Apple Events — the scripting bridge that controls native apps (Finder, Safari, Mail, etc.). It's off by default for safety; turning it on enables AppleScript/osascript-style automation from within a sandboxed agent run without dropping the sandbox entirely, useful for desktop-automation workflows that previously required unsandboxed execution.