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
refactor(mcp): remove duplicate agent_close_pending definitions
Steven Enamakel0b09c3e3cb07
diff --git a/crates/openhuman-core/src/mcp/host.rs b/crates/openhuman-core/src/mcp/host.rsindex b187cf72de..60d5fdf463 100644--- a/crates/openhuman-core/src/mcp/host.rs+++ b/crates/openhuman-core/src/mcp/host.rs@@ -58,14 +58,6 @@ pub fn agent_close_pending(workspace_dir: &std::path::Path, agent_id: &str) -> b)}-/// Whether a prior agent-scoped module close is still pending acknowledgment.-#[cfg(feature = "mcp")]-pub fn agent_close_pending(workspace_dir: &std::path::Path, agent_id: &str) -> bool {- crate::mcp::module_client::McpConfiguredClient::agent_close_pending(- &workspace_dir.join("agents").join(agent_id),- )-}-/// There is no MCP client to close when the feature is disabled.#[cfg(not(feature = "mcp"))]pub async fn close_agent(_workspace_dir: &std::path::Path, _agent_id: &str) -> bool {@@ -82,12 +74,6 @@ pub fn agent_close_pending(_workspace_dir: &std::path::Path, _agent_id: &str) ->false}-/// No agent-scoped module close is pending when MCP is disabled.-#[cfg(not(feature = "mcp"))]-pub fn agent_close_pending(_workspace_dir: &std::path::Path, _agent_id: &str) -> bool {- false-}-/// Converts the MCP section of product configuration to the module contract.pub fn client_config(config: &Config) -> tinymcp_bus::McpClientConfig {let mut client = tinymcp_bus::McpClientConfig {