Watch
0
0
Fork
You've already forked hyperhive
0

matrix-mcp: send_dm and open_dm accept a bare agent name

This commit is contained in:
damocles 2026-11-07 11:02:21 +01:00 • committed by mara
commit 66f4984223

View file

@ -280,7 +280,8 @@ impl MatrixMcp {
}
#[tool(description = "Open (or reuse) a direct message room with `user_id` \
(@user:server) and post `body` to it. If the DM room already exists \
(@user:server, or just an agent's name such as `iris` for that agent \
on this homeserver) and post `body` to it. If the DM room already exists \
and has unread messages, the send is rejected with a hint — read_room \
then mark_read the latest event first.")]
async fn send_dm(&self, Parameters(args): Parameters<SendDmArgs>) -> String {