The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(host): handle missing MCP server gracefully on shutdown\n\nWhen the MCP host shuts down, it now checks whether the server instance exists before attempting to stop it, preventing a panic on a consumed or absent `Option`. This ensures clean teardown in edge cases where the server was never started or has already been taken.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel43464274acef
diff --git a/src/openhuman/mcp/host.rs b/src/openhuman/mcp/host.rsindex 1809f3601f..bf3ff3b7bf 100644--- a/src/openhuman/mcp/host.rs+++ b/src/openhuman/mcp/host.rs@@ -54,7 +54,10 @@ const DEFAULT_CORE_PORT: u16 = 7788;////// The map is what keeps that cheap. Opening a service runs the store's/// migrations and builds an HTTP client, which no request path should pay for.-static HOSTS: OnceLock<Mutex<HashMap<PathBuf, Arc<McpHost>>>> = OnceLock::new();+/// Each entry carries the identity and proxy its host was built with, so the+/// reconnect supervisor can dial with the same identity the host's connections+/// use — `McpRegistry` keeps those private.+static HOSTS: OnceLock<Mutex<HashMap<PathBuf, HostEntry>>> = OnceLock::new();/// The workspace [`init`] opened, for the callers that have no `Config`.///