hyperhive/hive-ag3nt/src/lib.rs

29 lines
783 B
Rust

//! Shared in-container harness code for the sibling `hive-agent` /
//! `hive-agent-mcp` / `hive-agent-wake` binaries, which serve every
//! agent role (the manager is just an agent role, not a separate set
//! of binaries).
pub mod client;
pub mod events;
pub mod forge_notify;
pub mod identity;
pub mod login;
pub mod login_session;
pub mod mcp;
pub mod mcp_config;
pub mod mcp_loose_ends;
pub mod paths;
pub mod plugins;
pub mod prompt;
pub mod serve_common;
pub mod stats;
pub mod turn;
pub mod turn_stats;
pub mod vacuum;
pub mod web_ui;
/// Default socket path inside the container — bind-mounted by `hive-c0re`.
pub const DEFAULT_SOCKET: &str = "/run/hive/mcp.sock";
/// Default web UI port — used when `HIVE_PORT` env is unset.
pub const DEFAULT_WEB_PORT: u16 = 8042;