notification.go
1// Package notification provides desktop notification support for the UI.
2package notification
3
4// Notification represents a desktop notification request.
5type Notification struct {
6 Title string
7 Message string
8}
9
10// Backend defines the interface for sending desktop notifications.
11// Implementations are pure transport - policy decisions (config, focus state)
12// are handled by the caller.
13type Backend interface {
14 Send(n Notification) error
15}