Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on /story/48745590. Parent comment
Ideally you are only notified when the main agent stops, the main agent has a question, or a subagent has a question.
I created a script that figures out if any of those states apply before emitting a macOS notification and then called it in each hook:
"Stop": [ { "hooks": [ { "type": "command", "command": "script.sh", "timeout": 10 } ] } ], "PreToolUse": ... "PermissionRequest": ... "Elicitation": ...
There are no comments on this comment yet.
Ideally you are only notified when the main agent stops, the main agent has a question, or a subagent has a question.
I created a script that figures out if any of those states apply before emitting a macOS notification and then called it in each hook: