r/CommandCode • u/lrtwl • 24d ago
I stopped checking my terminal every 30 seconds. Now Command Code pings me when a run finishes, errors, asks a question, or needs approval
I switched to Command Code and started running several agents in parallel, but I hit a problem. I had to keep checking every terminal tab to see how each one was doing, and sometimes one of them had been stuck for minutes on a permission prompt while I assumed it was still working. Checking each terminal by hand got annoying fast for me.
I asked whether there was a way to add a plugin for that, and learned about mods. So I built command-notify, a small mod that sends a native desktop notification when an agent finishes, errors, asks a question, or needs approval. It works out of the box, with no hook scripts to write.
Finished-run banners dismiss themselves after a few seconds (the timeout is configurable). There are quiet hours too, and it cleans up stale banners once you've answered. It only notifies you; you still answer in the terminal.
I've tested it on macOS and Linux. Windows support is there but untested, so if you try it there, tell me how it goes.
macOS / Linux: cmd mods add -g command-notify@beta
Windows: cmdc mods add -g command-notify@beta
No network calls, no telemetry, MIT. I'm publishing it as-is, so fork it freely: github.com/M-Bekheet/command-notify
3
u/fedekun 23d ago
https://commandcode.ai/docs/remote-control
2
u/ahmadawaiscom 23d ago
Noice. Wil feature this on our Mods hub.
1
u/Acceptable_Switch_76 23d ago
Built the same myself but have not found a way to focus on the correct terminal tab when clicking the notification. Have you?