Watch
0
0
Fork
You've already forked hyperhive
0

drop the remaining pointers at the removed send/recv tools

This commit is contained in:
damocles 2026-11-07 12:01:50 +01:00 • committed by mara
commit c5fba26d62
2 changed files with 16 additions and 20 deletions

View file

@ -410,9 +410,9 @@ impl AgentServer {
}
#[tool_handler(
instructions = "You are a hyperhive agent. Talk to peers and the operator over matrix if \
you have it; `send` (by logical name) is the hive-local broker, for peers without matrix. Use `recv` to drain your inbox one \
message at a time. Use `remind` to schedule a future wake-up message for yourself."
instructions = "You are a hyperhive agent. Talk to peers and the operator over matrix \
(`send_dm` takes a peer's agent name). Use `remind` to schedule a future wake-up \
message for yourself."
)]
impl ServerHandler for AgentServer {}

View file

@ -1,4 +1,4 @@
//! Formatting / render helpers for the MCP tool surface: ack / recv /
//! Formatting / render helpers for the MCP tool surface: ack /
//! loose-end / agent-meta reply shaping plus the retry annotation.
//! Stateless string builders, with one exception —
//! [`matrix_unread_summary`] queries `hive-matrix-daemon`'s local
@ -91,7 +91,7 @@ fn render_one_loose_end(out: &mut String, t: &hive_sh4re::inbox::LooseEnd) {
hive_sh4re::inbox::LooseEnd::PendingMessages { count } => {
let _ = writeln!(
out,
"- {count} pending inbox message(s) — drain with recv (recv(max: {count}) to batch)"
"- {count} inbox message(s) queued; the harness delivers them one per turn"
);
}
hive_sh4re::inbox::LooseEnd::UnreadMatrix { rooms, summary } => {