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(flows): update agent runner path references
Steven Enamakel39bb26925369
diff --git a/crates/openhuman-core/src/flows/agent_route.rs b/crates/openhuman-core/src/flows/agent_route.rsindex 7a06534890..5eb44ab96a 100644--- a/crates/openhuman-core/src/flows/agent_route.rs+++ b/crates/openhuman-core/src/flows/agent_route.rs@@ -2,7 +2,7 @@use crate::inference::provider::{is_raw_passthrough_model, role_for_model_tier};-/// Which execution path an `agent_ref` routes to (see [`crate::flows::caps_host::OpenHumanAgentRunner`]).+/// Which execution path an `agent_ref` routes to (see [`crate::flows::caps_host::agent::OpenHumanAgentRunner`]).#[derive(Debug, Clone, Copy, PartialEq, Eq)]pub(crate) enum AgentRoute {/// A host-registered agent (`agent::host_agents`) — run the full agent@@ -60,7 +60,7 @@ pub(crate) fn harness_model_default_override(node_model: &str) -> String {/// synthesizes a real `AgentDefinition` for it (issue B38/Gap 2), so it can/// run the full tool loop — and [`AgentRoute::RegistryFallback`] for/// anything else (no entry at all, or a disabled one, which-/// [`crate::flows::caps_host::OpenHumanAgentRunner::run_via_registry_fallback`] itself rejects with a+/// [`crate::flows::caps_host::agent::OpenHumanAgentRunner::run_via_registry_fallback`] itself rejects with a/// clear "is disabled" error rather than silently skipping it here). Pure/// over the lookup result so the decision is unit-testable without a live/// `Config`/registry.diff --git a/crates/openhuman-core/src/flows/caps_host/mod.rs b/crates/openhuman-core/src/flows/caps_host/mod.rsindex 19c27a9f2e..96e22ac9ef 100644--- a/crates/openhuman-core/src/flows/caps_host/mod.rs+++ b/crates/openhuman-core/src/flows/caps_host/mod.rs@@ -16,14 +16,20 @@ pub(crate) mod tools;#[path = "binding_tests.rs"]mod binding_tests;+#[cfg(test)]pub(crate) use agent::OpenHumanAgentRunner;pub(crate) use binding::{serve, CapsHostRegistration};pub(crate) use code::OpenHumanCode;-pub(crate) use error::{CapsError, EngineError, Result};-pub(crate) use http::{resolve_http_credential, OpenHumanHttp};-pub(crate) use llm::{resolve_host_model, OpenHumanLlm};+pub(crate) use error::{EngineError, Result};+#[cfg(test)]+pub(crate) use http::resolve_http_credential;+pub(crate) use http::OpenHumanHttp;+#[cfg(test)]+pub(crate) use llm::resolve_host_model;+pub(crate) use llm::OpenHumanLlm;pub(crate) use memory::OpenHumanMemory;pub(crate) use prompt::model_response_to_completion_value;+#[cfg(test)]pub(crate) use service::CapsHostService;pub(crate) use tier::{close_audit, current_tier_policy, enforce_current_node_tier_gate, enforce_node_tier_gate,diff --git a/crates/openhuman-core/src/flows/store.rs b/crates/openhuman-core/src/flows/store.rsindex 2607e28bfa..bc325181c6 100644--- a/crates/openhuman-core/src/flows/store.rs+++ b/crates/openhuman-core/src/flows/store.rs@@ -7,6 +7,7 @@use anyhow::{anyhow, Result};use serde::{de::DeserializeOwned, Serialize};+#[cfg(test)]use serde_json::Value;use std::path::PathBuf;use tinyflows_bus::catalog::{