Tech
macOS TCC permissions for unattended AI agents: stop losing nights to hidden prompts
If you run AI agents unattended on a Mac (Claude Code in iTerm, a launchd job driving osascript , Hammerspoon clicking buttons), you've probably woken up to find nothing happened overnight. The cause is usually one dialog sitting on an unwatched screen: "Terminal" would like to control "System Events" .
That's macOS TCC (Transparency, Consent and Control). Here's how to set it up once so it stops eating your nights.
The key idea: permissions belong to the host app
TCC grants...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to