hyperhive/hive-subagent-mcp/src/lib.rs

14 lines
709 B
Rust

//! Library for `hive-subagent-daemon`: spawns nested claude sessions on
//! request and serves the `start`/`continue`/`interrupt` MCP tool surface
//! directly over streamable-http — no stdio bridge, no round-trip socket.
//! Independent of `hive-bash-mcp` — a subagent is a much heavier capability
//! than a bash command (a full nested `claude` process), worth its own
//! deployable/restartable unit rather than sharing one.
//!
//! See [`session`]'s module doc for the actual design: no task files, no
//! restart recovery, no mid-turn compaction — the daemon's only state is an
//! in-memory `name -> Cancel` map, live only as long as the process is.
pub mod mcp;
pub mod paths;
pub mod session;