Skip to content

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

chore: files changed crates/openhuman-core/src/core/all_bound_controller_tests.rs,crates/openhuman-c

Steven Enamakeldee02978a4bd
diff --git a/crates/openhuman-core/src/core/all_bound_controller_tests.rs b/crates/openhuman-core/src/core/all_bound_controller_tests.rs
index 40796aa4cf..158ad76c82 100644
--- a/crates/openhuman-core/src/core/all_bound_controller_tests.rs
+++ b/crates/openhuman-core/src/core/all_bound_controller_tests.rs
@@ -35,6 +35,11 @@ fn staged_bound_methods() -> Vec<&'static str> {
"socket.emit",
"socket.connect_with_session",
]);
+ methods.extend([
+ "tool_registry.list",
+ "tool_registry.get",
+ "tool_registry.diagnostics",
+ ]);
#[cfg(feature = "voice")]
methods.extend([
"voice.status",
diff --git a/crates/openhuman-core/src/core/all_tool_registry_controller_tests.rs b/crates/openhuman-core/src/core/all_tool_registry_controller_tests.rs
index 0503cbe417..3749e6e295 100644
--- a/crates/openhuman-core/src/core/all_tool_registry_controller_tests.rs
+++ b/crates/openhuman-core/src/core/all_tool_registry_controller_tests.rs
@@ -55,10 +55,7 @@ fn raw_tool_registry_matches_its_independent_contract() {
use TypeSchema::{Array, Json, String};
let expected = [
(vec![], vec![("tools", Array(Box::new(Json)), true)]),
- (
- vec![("tool_id", String, true)],
- vec![("tool", Json, true)],
- ),
+ (vec![("tool_id", String, true)], vec![("tool", Json, true)]),
(vec![], vec![("diagnostics", Json, true)]),
];
assert_eq!(entries.len(), expected.len());
diff --git a/crates/openhuman-core/src/tools/registry/mod.rs b/crates/openhuman-core/src/tools/registry/mod.rs
index 4092e67866..454f3fc3fd 100644
--- a/crates/openhuman-core/src/tools/registry/mod.rs
+++ b/crates/openhuman-core/src/tools/registry/mod.rs
@@ -11,11 +11,11 @@ pub use providers::{
normalize_capability_provider_id, CapabilityProviderMetadata, CapabilityProviderRegistry,
CapabilityProviderRegistryError,
};
+pub(crate) use schemas::all_bound_controller_entries as all_tool_registry_bound_controller_entries;
pub use schemas::{
all_controller_schemas as all_tool_registry_controller_schemas,
all_registered_controllers as all_tool_registry_registered_controllers,
};
-pub(crate) use schemas::all_bound_controller_entries as all_tool_registry_bound_controller_entries;
pub use tinytools::{
CapabilityProviderDiagnostics, McpAllowlistDiagnostics, McpServerAllowlistSummary,
McpWriteAuditHealth, RecentPolicyDenial, ToolPolicyDiagnostics, ToolPolicyPosture,