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(caps_host): adjust module exports and dependencies
Steven Enamakela81e045957cf
diff --git a/crates/openhuman-core/src/flows/caps_host/binding_tests.rs b/crates/openhuman-core/src/flows/caps_host/binding_tests.rsindex 39e597bf5b..8b477b911f 100644--- a/crates/openhuman-core/src/flows/caps_host/binding_tests.rs+++ b/crates/openhuman-core/src/flows/caps_host/binding_tests.rs@@ -1,6 +1,6 @@use super::*;-use super::binding::{AgentRunRegistry, CapsHostBinding};+use super::binding::AgentRunRegistry;use crate::config::Config;use crate::core::runtime::{ComponentSet, CoreContext, DispatchCtx, DomainSet};use std::sync::Arc;diff --git a/crates/openhuman-core/src/flows/caps_host/mod.rs b/crates/openhuman-core/src/flows/caps_host/mod.rsindex 96e22ac9ef..39633d5d8c 100644--- a/crates/openhuman-core/src/flows/caps_host/mod.rs+++ b/crates/openhuman-core/src/flows/caps_host/mod.rs@@ -19,6 +19,8 @@ mod binding_tests;#[cfg(test)]pub(crate) use agent::OpenHumanAgentRunner;pub(crate) use binding::{serve, CapsHostRegistration};+#[cfg(test)]+pub(crate) use binding::CapsHostBinding;pub(crate) use code::OpenHumanCode;pub(crate) use error::{EngineError, Result};#[cfg(test)]@@ -29,8 +31,6 @@ 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,gate_call_for_tier,diff --git a/crates/openhuman-core/src/flows/catalog_storage.rs b/crates/openhuman-core/src/flows/catalog_storage.rsindex 64aeba4593..bc98a42ecc 100644--- a/crates/openhuman-core/src/flows/catalog_storage.rs+++ b/crates/openhuman-core/src/flows/catalog_storage.rs@@ -24,6 +24,8 @@ use tinystoragedrivers::{Capability, CollectionSpec, DocumentStore, Filter, Page, Precondition, Query, Scope,StorageError, Versioned, WriteOptions,};+#[cfg(test)]+use tinystoragedrivers::StorageBackend;use crate::config::Config;use crate::core::runtime::DispatchCtx;