Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/hive-bash-mcp/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris d34c594f2b feat: hint to do other work when recv/bash_status waits time out
When an agent parks on a long-poll that expires with nothing to show,
nudge it to spend the idle time on other useful work instead of
immediately re-blocking on the same call.

- recv: when wait_seconds > 0 and the inbox is empty at timeout, the
  '(empty)' result now carries IDLE_WAIT_HINT. Immediate peeks
  (no/zero wait) are unchanged.
- bash_status: when wait_seconds > 0 and the task is still
  pending/running at timeout, append BASH_IDLE_WAIT_HINT. Finished
  tasks and no-wait calls are unchanged.

Both thread a 'waited' flag into the formatter so the hint only fires
on an actual wait-timeout. Unit tests cover both. Implements #1411.
2026-06-05 20:50:44 +02:00
..
bin feat: hint to do other work when recv/bash_status waits time out 2026-06-05 20:50:44 +02:00
lib.rs feat(#1106): split bash mcp into hive-bash-daemon + hive-bash-mcp bridge 2026-06-03 18:06:59 +02:00
main.rs feat(#1106): split bash mcp into hive-bash-daemon + hive-bash-mcp bridge 2026-06-03 18:06:59 +02:00
paths.rs fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass 2026-06-05 16:55:09 +02:00
protocol.rs fix(#1220): remove default 180s timeout from bash run — no timeout unless explicitly set 2026-06-03 22:35:51 +02:00
runner.rs fix(#1375): clean up pedantic warnings and re-enable -D warnings without pedantic bypass 2026-06-05 16:55:09 +02:00
socket.rs fix(ci): unblock nix flake check after clippy 0.1.95 bump (#1368) 2026-06-05 15:32:07 +02:00