fn grant_watched( state: &AppState, pane: &str, agent: &str, origins: Vec<String>, powers: Vec<Power>, minutes: u64, how: How, idle: Duration, ) -> Grant