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(core): drop unused test-only helpers
Steven Enamakel5c27614159f9
diff --git a/crates/openhuman-core/src/core/all_entry.rs b/crates/openhuman-core/src/core/all_entry.rsindex 1197fb5dd5..6cacec652b 100644--- a/crates/openhuman-core/src/core/all_entry.rs+++ b/crates/openhuman-core/src/core/all_entry.rs@@ -154,17 +154,6 @@ impl ControllerEntry {matches!(self.handler, EntryHandler::Bound(_))}- #[cfg(test)]- pub(super) fn legacy_controller(&self) -> Option<RegisteredController> {- match &self.handler {- EntryHandler::Legacy(handler) => Some(RegisteredController {- schema: self.schema.clone(),- handler: *handler,- }),- EntryHandler::Bound(_) => None,- }- }-pub fn invoke(&self, ctx: DispatchCtx, params: Map<String, Value>) -> ControllerFuture {match &self.handler {EntryHandler::Legacy(handler) => handler(ctx, params),diff --git a/crates/openhuman-core/src/core/all_schema_contract_tests.rs b/crates/openhuman-core/src/core/all_schema_contract_tests.rsindex 4f7df67f7d..b3057412ce 100644--- a/crates/openhuman-core/src/core/all_schema_contract_tests.rs+++ b/crates/openhuman-core/src/core/all_schema_contract_tests.rs@@ -147,6 +147,7 @@ fn registered_wallet_schema_contract_rejects_missing_encrypted_mnemonic() {/// Built-in/internal snapshots avoid ambient DomainSet filtering and global/// hosted-extension mutation. Hosted/RPC contracts belong to their own crates.+#[cfg(not(any(feature = "modules", feature = "mcp")))]fn builtin_controller_snapshot() -> Vec<ControllerEntry> {registry().iter()diff --git a/crates/openhuman-core/src/mcp/registry/mod.rs b/crates/openhuman-core/src/mcp/registry/mod.rsindex 3ffa16472a..c54ca8f365 100644--- a/crates/openhuman-core/src/mcp/registry/mod.rs+++ b/crates/openhuman-core/src/mcp/registry/mod.rs@@ -489,6 +489,3 @@ pub(crate) fn tools_safe_for_agent(mod stub;#[cfg(not(feature = "mcp"))]pub use stub::*;--#[cfg(all(test, feature = "mcp"))]-pub(crate) use schemas::registry_get_parameter_contract;