pub fn notify(title: impl AsRef<str>, body: impl AsRef<str>, opts: NotifyOpts)Expand description
Fire an OS-level notification. Host emits OSC 9 + 777 escape sequences after the next render pass — Ghostty / iTerm2 / kitty / WezTerm route those to native banners. Terminals that don’t recognize the escape silently consume it.
Always fires an in-app toast at opts.level. OS emission
respects the integration’s [notifications] policy + rate
limit; when opts.source = None, both checks are bypassed.