Watch
0
0
Fork
You've already forked hyperhive
0

hive-agent-mcp: the send allow-list is gone, agents talk to peers over matrix

This commit is contained in:
damocles 2026-11-06 23:28:05 +01:00 • committed by mara
commit c1f7bb798e

View file

@ -150,11 +150,6 @@ impl AgentServer {
async fn send(&self, Parameters(args): Parameters<SendArgs>) -> String {
let log = format!("{args:?}");
let to = args.to.clone();
// Check per-agent allow-list (services.hyperhive.agent.allowedRecipients). When no
// policy file is present the check is a no-op.
if let Err(refusal) = crate::send_allow::check_send_allowed(&to) {
return run_tool_envelope("send", log, async move { refusal }).await;
}
run_tool_envelope("send", log, async move {
let (resp, retries) = self
.dispatch(hive_core_agent_sock::Request::Send {