[package] name = "hive-ag3nt" edition.workspace = true version.workspace = true [lints] workspace = true [dependencies] anyhow.workspace = true axum.workspace = true reqwest.workspace = true futures-util = "0.3" clap.workspace = true hive-sh4re.workspace = true rmcp.workspace = true rusqlite.workspace = true schemars.workspace = true serde.workspace = true serde_json.workspace = true tokio.workspace = true tokio-stream.workspace = true tower-http.workspace = true tracing.workspace = true tracing-subscriber.workspace = true [dev-dependencies] tempfile = "3" [[bin]] # Unified harness binary (#598). Replaces the pre-#598 split into # `hive-ag3nt` (sub-agent) + `hive-m1nd` (manager). Both code paths # live here; the binary picks its role at startup from `HIVE_ROLE` # (set by `harness-base.nix` from `hyperhive.role` — `"agent"` or # `"manager"`). The privilege boundary is enforced server-side at # the socket, so shipping both surfaces in one binary is safe. name = "hive" path = "src/bin/hive.rs"