Show HN: Ccnotifs – macOS Claude Code Terminal Notifications (Tmux Friendly)
github.comA dead-simple macOS notification system for Claude Code.
Something I've been meaning to build for a long time. Uses Claude Code hooks (Notification and Stop events) to shoot you native notifications when your input is needed, or when Claude Code has finished and is awaiting further instructions.
Supports tmux out of the box: clicking a notification focuses your terminal and chains tmux commands to bring you back to the exact pane that spawned the notification.
Notifications are suppressed if you're already focused on that specific pane. Nice. The "suppress notification if you're already focused on that pane" is a good detail, that's the kind of thing that separates useful from annoying. I've been working on a similar problem (knowing when a terminal session needs attention) and settled on a 2-second interval comparing the last activity timestamp. If a PTY has been idle for >2s after previously being active, it probably wants input. Not perfect but surprisingly effective for Claude Code since it has distinct "working" and "waiting for input" phases. Does the hooks approach catch all the cases? I'm thinking about things like Claude getting stuck in a confirmation prompt where it technically hasn't "stopped" but isn't making progress either.