Skip to content

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

fix(registry): validate schema references on registration

Steven Enamakelca224fdcfdaf
diff --git a/crates/openhuman-core/src/mcp/registry/schemas/mod.rs b/crates/openhuman-core/src/mcp/registry/schemas/mod.rs
index f1a97bc67e..ddaad5642c 100644
--- a/crates/openhuman-core/src/mcp/registry/schemas/mod.rs
+++ b/crates/openhuman-core/src/mcp/registry/schemas/mod.rs
@@ -21,3 +21,5 @@ pub use registry::{all_controller_schemas, all_registered_controllers, schemas};
// had when `include!` spliced everything into one file.
#[cfg(test)]
use params::{read_optional_u32, read_required, type_name};
+#[cfg(test)]
+pub(crate) use setup_registry::setup_schemas;