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(agent): remove unused tinyagents middleware
Steven Enamakel82098d39f4c3
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware.rs b/crates/openhuman-core/src/agent/tinyagents/middleware.rsindex d7af857e7c..bafd118036 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware.rs@@ -21,39 +21,25 @@//! [`TurnContextMiddleware`] bundles the config and installs whichever hooks are//! enabled onto a harness.//!-//! Each middleware lives in its own submodule below; this file only wires and-//! re-exports them so `tinyagents::middleware::*` paths stay stable.+//! Each middleware lives in its own submodule below; callers import from the+//! owning submodule directly (no re-export facade).-mod approval;-mod cli_rpc_only;-mod credential_scrub;-mod embedder_hooks;-mod failure_policy;-mod fetched_site;-mod memory_pack;-mod packed_tool_route;-mod repeated_failure;-mod tool_exposure;-mod tool_outcome_capture;-mod tool_output;-mod tool_policy;-mod turn_context;+pub(crate) mod approval;+pub(crate) mod cli_rpc_only;+pub(crate) mod credential_scrub;+pub(crate) mod embedder_hooks;+pub(crate) mod failure_policy;+pub(crate) mod fetched_site;+pub(crate) mod memory_pack;+pub(crate) mod packed_tool_route;+pub(crate) mod repeated_failure;+pub(crate) mod tool_exposure;+pub(crate) mod tool_outcome_capture;+pub(crate) mod tool_output;+pub(crate) mod tool_policy;+pub(crate) mod turn_context;-pub(crate) use approval::ApprovalSecurityMiddleware;-pub(crate) use cli_rpc_only::CliRpcOnlyMiddleware;-pub(crate) use credential_scrub::credential_scrub_middleware;-pub(crate) use embedder_hooks::EmbedderToolHooksMiddleware;-pub(crate) use memory_pack::memory_pack_middleware;-pub(crate) use packed_tool_route::packed_tool_route_middleware;-pub(crate) use repeated_failure::RepeatedToolFailureMiddleware;-pub(crate) use tool_exposure::OpenHumanToolExposureShadowMiddleware;-pub(crate) use tool_outcome_capture::ToolOutcomeCaptureMiddleware;#[cfg(test)]-pub(crate) use tool_output::ToolOutputMiddleware;-pub(crate) use tool_policy::{AllowAllToolPolicy, ToolPolicyMiddleware};-pub(crate) use turn_context::{- render_unanswered_steps, TranscriptSnapshot, TranscriptSnapshotSink, TurnContextMiddleware,-};/// Render the canonical TinyTools content blocks at the OpenHuman boundary./// Middleware that used the retired string-shaped harness result must not@@ -78,4 +64,4 @@ pub(crate) fn append_tool_result_text(result: &mut tinytools::ToolResult, text:#[cfg(test)]#[path = "middleware_tests.rs"]-mod tests;+pub(crate) mod tests;