Documentation
¶
Overview ¶
Package notify raises OS notifications for needs_human, dead letters and budget exhaustion (RFC 7.4). Title = agent, body = summary (max 280 chars), never the raw inbound body.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct {
Kind string `json:"kind"` // needs_human | dead_letter | budget | claude_unavailable | session_waiting | session_answered
Agent string `json:"agent"`
Summary string `json:"summary"`
MessageID string `json:"message_id,omitempty"`
At time.Time `json:"at"`
}
Event is one notification.
Click to show internal directories.
Click to hide internal directories.