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
chore(host): collapse function signature to a single line\n\nReformat the `resolve` function signature to fit on one line, and reorder imports in the test file to follow the project's convention of grouping related imports together. No functional changes are introduced.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel56c954796d65
diff --git a/src/openhuman/mcp/host.rs b/src/openhuman/mcp/host.rsindex 5f17a36825..34667f4d74 100644--- a/src/openhuman/mcp/host.rs+++ b/src/openhuman/mcp/host.rs@@ -270,10 +270,7 @@ pub fn try_service() -> Option<Arc<McpHost>> {/// two `OnceLock`s and a process-wide map that every case in this suite shares,/// so a test driving `try_service` directly could only assert whatever the rest/// of the suite happened to leave behind — which is to say, nothing.-fn resolve(- default: Option<&Path>,- hosts: &HashMap<PathBuf, HostEntry>,-) -> Option<Arc<McpHost>> {+fn resolve(default: Option<&Path>, hosts: &HashMap<PathBuf, HostEntry>) -> Option<Arc<McpHost>> {if let Some(workspace) = default {if let Some(entry) = hosts.get(workspace) {return Some(Arc::clone(&entry.host));diff --git a/tests/raw_coverage/agent_round26_raw_coverage_e2e.rs b/tests/raw_coverage/agent_round26_raw_coverage_e2e.rsindex 67fd9b6a84..c85d6342ef 100644--- a/tests/raw_coverage/agent_round26_raw_coverage_e2e.rs+++ b/tests/raw_coverage/agent_round26_raw_coverage_e2e.rs@@ -1,10 +1,6 @@use anyhow::Result;use async_trait::async_trait;use chrono::{TimeZone, Utc};-use openhuman_core::openhuman::agent::debug::{dump_agent_prompt, DumpPromptOptions};-use openhuman_core::openhuman::agent::dispatcher::NativeToolDispatcher;-use openhuman_core::openhuman::agent::Agent;-use openhuman_core::openhuman::config::AgentConfig;use openhuman_core::openhuman::agent::context::prompt::{render_ambient_environment, render_safety, render_subagent_system_prompt_with_format,render_tools, ConnectedIntegration, CuratedMemoryPromptSnapshot, LearnedContextData,@@ -12,6 +8,10 @@ use openhuman_core::openhuman::agent::context::prompt::{PromptContext, PromptTool, SubagentRenderOptions, SystemPromptBuilder, ToolCallFormat,UserIdentity,};+use openhuman_core::openhuman::agent::debug::{dump_agent_prompt, DumpPromptOptions};+use openhuman_core::openhuman::agent::dispatcher::NativeToolDispatcher;+use openhuman_core::openhuman::agent::Agent;+use openhuman_core::openhuman::config::AgentConfig;use openhuman_core::openhuman::memory::{Memory, MemoryCategory, MemoryEntry, NamespaceSummary, RecallOpts,};