Skip to content

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

feat(tools): add ops tool module

Steven Enamakel4897ac4c8ebb
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 4f20244a56..626d53631a 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -544,6 +544,25 @@ pub fn all_tools_with_runtime(
tracing::debug!("[lsp] capability gate off (set OPENHUMAN_LSP_ENABLED=1 to register)");
}
+ // Registered tool sources (`tools::sources`): tools an outside crate plugs
+ // in, appended in registration order after every built-in and before the
+ // filters below, so they are gated exactly like built-ins. Nothing
+ // registered => nothing appended.
+ tools.extend(crate::tools::sources::build_registered_tool_sources(
+ &crate::tools::sources::ToolSourceCtx {
+ config: &config,
+ root_config,
+ security,
+ runtime: &runtime,
+ audit: &audit,
+ browser_config,
+ http_config,
+ action_dir,
+ agents,
+ approval_workspace_root,
+ },
+ ));
+
// Post-filters over the assembled list:
//
// 1. DomainSet (#4796): drop tools whose DomainGroup is disabled under the