Notification when a CLI agent needs input

I would like to be notified if a Cursor CLI agent is waiting for my input.

Currently the system notifications seem to work only for the IDE, but my workflow centers a lot around the CLI agent. That is because I heavily use a workspace + worktree setup in multiple repos that is not supported by Cursor in VS-Code.

In this setup I explicitly have to look at my agent to see if it needs my input in interactive mode, which takes time with multiple agents. Is there a way to get proactively get notified in this case with CLI agents?

For example

So far I had some hacky ideas to look at the stdout stream and notify if there are no changes happening, or periodically query the git diff, but it is really not optimal.

1 Like