A tiny Windows toast notification CLI that knows how to hook into Coding Agents so you get notified when their long running tasks are finished. 229 KB, no dependencies.
toasty "Hello World" -t "Toasty"That's it. Toasty auto-registers on first run.
toasty <message> [options]
toasty --install [agent]
toasty --uninstall
toasty --status
Options:
-t, --title <text> Set notification title (default: "Notification")
--app <name> Use AI CLI preset (claude, copilot, gemini)
-h, --help Show this help
--install [agent] Install hooks for AI CLI agents (claude, gemini, copilot, or all)
--uninstall Remove hooks from all AI CLI agents
--status Show installation status
Toasty automatically detects when it's called from a known AI CLI tool and applies the appropriate icon and title. No flags needed!
Auto-detected tools:
- Claude Code
- GitHub Copilot
- Google Gemini CLI
# Called from Claude - automatically uses Claude preset
toasty "Analysis complete"
# Called from Copilot - automatically uses Copilot preset
toasty "Code review done"Override auto-detection with --app:
toasty "Processing finished" --app claude
toasty "Build succeeded" --app copilot
toasty "Query done" --app geminiToasty can automatically configure AI CLI agents to show notifications when tasks complete.
| Agent | Config Path | Hook Event | Scope |
|---|---|---|---|
| Claude Code | ~/.claude/settings.json |
Stop |
User |
| Gemini CLI | ~/.gemini/settings.json |
AfterAgent |
User |
| GitHub Copilot | .github/hooks/toasty.json |
sessionEnd |
Repo |
# Install for all detected agents
toasty --install
# Install for specific agent
toasty --install claude
toasty --install gemini
toasty --install copilot
# Check what's installed
toasty --status
# Remove all hooks
toasty --uninstallDetecting AI CLI agents...
[x] Claude Code found
[x] Gemini CLI found
[ ] GitHub Copilot (in current repo)
Installing toasty hooks...
[x] Claude Code: Added Stop hook
[x] Gemini CLI: Added AfterAgent hook
Done! You'll get notifications when AI agents finish.
If you prefer to configure hooks manually:
Add to ~/.claude/settings.json:
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "C:\\path\\to\\toasty.exe \"Claude finished\"",
"timeout": 5000
}
]
}
]
}
}Add to ~/.gemini/settings.json:
{
"hooks": {
"AfterAgent": [
{
"hooks": [
{
"type": "command",
"command": "C:\\path\\to\\toasty.exe \"Gemini finished\"",
"timeout": 5000
}
]
}
]
}
}Add to .github/hooks/toasty.json:
{
"version": 1,
"hooks": {
"sessionEnd": [
{
"type": "command",
"bash": "toasty 'Copilot finished'",
"powershell": "toasty.exe 'Copilot finished'",
"timeoutSec": 5
}
]
}
}Requires Visual Studio 2022 with C++ workload.
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config ReleaseOutput: build\Release\toasty.exe
MIT