Setup:
1. Send /start to the bot
2. Execute bash command that the bot sends you back. You can see source code of the script here [1] and the built plugin here [2].
3. Done! Whenever your agent finish, you will get message with project name, session title and duration of the agent work.
I decided to make it available to everyone on my free tier of cloudflare workers, but it's fully hostable on your own cloudflare accounts or even docker containers on custom infra with few minor changes in the code.
Development was done mostly by Claude Opus 4.5 and custom agents in opencode.
[1] https://github.com/Davasny/opencode-telegram-notification-pl...
[2] https://github.com/Davasny/opencode-telegram-notification-pl...