Skip to content

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

fix: correct tool exposure test to verify all tools are accessible

Steven Enamakel489c7ce6d2ab
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
index f54c5e7399..40d97f4cc4 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
@@ -235,13 +235,18 @@ fn orchestrator_reaches_the_replaced_specialists_tools_through_discovery() {
let deferred = agent.deferred_tool_names_for_test();
let visible = agent.visible_tool_names_for_test();
let policy = agent.tool_policy_session_for_test();
+ // Unconditionally registered members only: `node_exec` / `npm_exec` need
+ // the managed Node runtime and the wallet family needs the `web3`
+ // feature, so a test profile without them cannot see them either way.
for tool in [
"cron",
"config_snapshot",
"service_restart",
"gitbooks_search",
- "node_exec",
+ "edit",
+ "curl",
"read_diff",
+ "run_linter",
"run_tests",
"mcp_registry_installed_list",
] {