Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(caps_host): remove unused host seam module

Steven Enamakel456a7b7435c3
diff --git a/crates/openhuman-core/src/flows/caps_host/mod.rs b/crates/openhuman-core/src/flows/caps_host/mod.rs
index 1ccab28ba6..459f576b88 100644
--- a/crates/openhuman-core/src/flows/caps_host/mod.rs
+++ b/crates/openhuman-core/src/flows/caps_host/mod.rs
@@ -1,32 +1,28 @@
-//! OpenHuman adapters for the `tinyflows::caps` host seam.
-//!
-//! This module stays export-focused. Capability construction, curation,
-//! preflight, and invocation logic live in [`ops`]; individual trait adapters
-//! live in their focused sibling modules.
+//! Host adapters served to the compiled TinyFlows module for one run.
mod agent;
+mod binding;
mod code;
+mod error;
mod http;
mod llm;
+mod memory;
mod ops;
mod prompt;
-mod resolver;
+mod service;
mod tier;
pub(crate) mod tools;
-// Preserve the existing `caps::X` paths used by flows and adapter siblings.
-pub(crate) use agent::*;
-pub(crate) use code::*;
-pub(crate) use http::*;
-pub(crate) use llm::*;
-pub use ops::*;
-pub(crate) use prompt::*;
-// The pure prompt/reply helpers live upstream, beside the agent request builder.
-pub(crate) use resolver::*;
-pub(crate) use tier::*;
-pub(crate) use tinyflows::nodes::integration::agent_prompt::{
- build_agent_result, build_harness_run_prompt, clamp_run_timeout_secs, extract_structured_json,
- prepend_system_message, resolve_node_model, resolve_run_timeout_secs,
- structured_output_requested,
+pub(crate) use binding::{CapsHostRegistration, serve};
+pub(crate) use error::{CapsError, EngineError, Result};
+pub(crate) use llm::OpenHumanLlm;
+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,
};
pub(crate) use tools::NATIVE_TOOL_PREFIX;
+
+#[cfg(test)]
+#[path = "mod_tests.rs"]
+mod tests;