implement broadcast messaging: send to '*' reaches all agents with hint

This commit is contained in:
damocles 2026-05-16 13:16:13 +02:00
parent a57e500f48
commit abcf7a0c41
4 changed files with 41 additions and 11 deletions

View file

@ -117,6 +117,9 @@ impl Coordinator {
let _ = std::fs::remove_file(&socket.path);
}
}
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) {