26 lines
685 B
Rust
26 lines
685 B
Rust
//! Shared in-container harness code for the single `hive` binary that
|
|
//! serves every agent role (the manager is just an agent role, not a
|
|
//! separate binary).
|
|
|
|
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_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 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;
|