reminder: add background scheduler loop - checks & delivers due reminders every 5s

This commit is contained in:
damocles 2026-05-16 12:42:05 +02:00
parent 4fc9c02934
commit f38510930a
2 changed files with 50 additions and 0 deletions

View file

@ -118,6 +118,10 @@ impl Coordinator {
}
}
pub fn list_agents(&self) -> Vec<String> {
self.agents.lock().unwrap().keys().cloned().collect()
}
/// Mark an agent as in-progress (only one state per agent for now).
pub fn set_transient(&self, name: &str, kind: TransientKind) {
self.transient.lock().unwrap().insert(