Skip to main content

Module notifier

Module notifier 

Source
Expand description

Discord webhook notifications and JSONL structured logging for agent events.

The Notifier dispatches AgentEvents to two sinks:

  1. JSONL log files – one file per day (logs/YYYY-MM-DD.jsonl), one JSON line per event. Always written when a log_dir is configured.
  2. Discord webhook – a rich embed posted via reqwest. Suppressed during configurable quiet hours (default 23:00 - 08:00 local time).

Structs§

Notifier
Dispatches agent events to Discord and/or JSONL log files.

Enums§

AgentEvent
Structured events emitted by the agent during its lifecycle.
NotifierError
Errors emitted by the notifier.