hive-subagent-mcp: new crate for the subagent daemon, independent of hive-bash-mcp

This commit is contained in:
damocles 2026-09-09 18:15:28 +02:00
commit 7699db6500
9 changed files with 646 additions and 9 deletions

View file

@ -0,0 +1,14 @@
//! 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;