- hive-ag3nt: remove bash_tasks.rs entirely; add mcp_loose_ends.rs that scans harness/mcp-loose-ends/*.json generically (no bash knowledge) - hive-bash-mcp: daemon writes mcp-loose-ends/bash.json on every task state transition (pending/running/done/interrupted/timed_out) - get_loose_ends: reads mcp_loose_ends::collect() instead of bash-specific code - implements the generic mechanism from #1162
25 lines
633 B
Rust
25 lines
633 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 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;
|