Skip to content

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

feat(tools): register show_ui

oxoxDevf092142548e8
diff --git a/app/src/features/conversations/tools/__fixtures__/coreToolNames.json b/app/src/features/conversations/tools/__fixtures__/coreToolNames.json
index c1640bebe8..869e0809f2 100644
--- a/app/src/features/conversations/tools/__fixtures__/coreToolNames.json
+++ b/app/src/features/conversations/tools/__fixtures__/coreToolNames.json
@@ -138,6 +138,7 @@
"service_uninstall",
"session_state",
"shell",
+ "show_ui",
"skill_registry_browse",
"skill_registry_install",
"skill_registry_search",
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 38a67abf06..7a2eedf5a9 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -248,6 +248,11 @@ pub fn all_tools_with_runtime(
tracing::debug!("[tools::ops] memory off; memory tool not registered");
}
+ #[cfg(feature = "mcp")]
+ tools.push(Box::new(crate::mcp::ui::ShowUiTool::for_config(
+ root_config,
+ )));
+
// `juice_find` / `juice_extract` / `juice_summarize`: only while a handle can name them.
tools.extend(crate::inference::tokenjuice::repl_tools_for(root_config));