Skip to content

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

chore(tools): remove empty tool registration placeholders

Steven Enamakel59cb2ea5dd4d
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 953f916ada..2d76328d3d 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -266,7 +266,6 @@ pub fn all_tools_with_runtime(
tools.extend(crate::agent::artifacts::tools::registered_tools(
config.clone(),
));
- tools.extend(vec![]);
tools.extend(crate::integrations::task_sources::tools::registered_tools(
config.clone(),
));
@@ -279,13 +278,10 @@ pub fn all_tools_with_runtime(
tools.extend(crate::platform::doctor::tools::registered_tools(
config.clone(),
));
- tools.extend(vec![]);
tools.extend(crate::platform::health::tools::registered_tools());
- tools.extend(vec![]);
tools.extend(crate::platform::cost::tools::registered_tools(
config.clone(),
));
- tools.extend(vec![]);
tools.extend(crate::desktop::dashboard::tools::registered_tools(
config.clone(),
));
@@ -312,11 +308,10 @@ pub fn all_tools_with_runtime(
tools.extend(crate::platform::service::tools::registered_tools(
config.clone(),
));
- tools.extend(vec![
- // Config: read-only surface (default-ON). The config_update_* mutators
- // are deferred (their apply fns take non-Deserialize patch structs);
- // see config/tools.rs.
- ]);
+
+ // Config: read-only surface (default-ON). The config_update_* mutators
+ // are deferred (their apply fns take non-Deserialize patch structs);
+ // see config/tools.rs.
tools.extend(crate::config::tools::registered_tools(config.clone()));
tools.extend(vec![
// Account & money. The billing / team / referral agent-tool families were
@@ -358,7 +353,6 @@ pub fn all_tools_with_runtime(
tools.extend(crate::config::workspace::tools::registered_tools(
config.clone(),
));
- tools.extend(vec![]);
// The single `memory` tool (recall | fetch | learn | forget), registered
// only while memory is on: with no usable engine (signed out, no CortexDB
diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjs
index 69e44fc072..6c68eba2ec 100644
--- a/scripts/ci/check-openhuman-rust-layout.mjs
+++ b/scripts/ci/check-openhuman-rust-layout.mjs
@@ -48,7 +48,6 @@ const LEGACY_LIMIT_ENTRIES = [
["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 973],
["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1247],
["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1132],
- ["crates/openhuman-core/src/tools/ops.rs", 870],
["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1264],
// These established external test modules grew with upstream coverage. Pin
// their current sizes while follow-up work separates their test concerns.