- new hive-bash-mcp crate: daemon (subprocess runner, wake signals) +
stdio bridge (mcp tools). mirrors hive-matrix-mcp architecture
- hive-ag3nt: remove bash_runner.rs and bash_run/bash_status mcp tools;
get_loose_ends uses hive_bash_mcp:🏃:active_tasks() via crate dep
- harness-base.nix: add hive-bash-daemon systemd service + auto-inject
bash extraMcpServer into every agent (socket: /run/hive-bash/socket)
24 lines
609 B
Rust
24 lines
609 B
Rust
//! Shared in-container harness code used by both `hive-ag3nt` (agent) and
|
|
//! `hive-m1nd` (manager) 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 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;
|