pub async fn clear_event_log(
app: AppHandle,
scheduler: State<'_, Scheduler>,
) -> Result<(), String>Expand description
Delete the persistent events.jsonl log (the “Clear history”
button on Insights). In-session counters are unaffected. Emits
stats:cleared so the renderer can refresh.