Skip to content

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

fix(mcp-ui): take the user skill root from discovery_home_dir

oxoxDeve447f1491eb8
diff --git a/crates/openhuman-core/src/mcp/ui/tools.rs b/crates/openhuman-core/src/mcp/ui/tools.rs
index cf2a4d67ce..4f406dba7c 100644
--- a/crates/openhuman-core/src/mcp/ui/tools.rs
+++ b/crates/openhuman-core/src/mcp/ui/tools.rs
@@ -39,7 +39,7 @@ impl ShowUiTool {
#[must_use]
pub fn for_config(config: &crate::config::Config) -> Self {
let mut roots = vec![config.action_dir.clone(), config.workspace_dir.clone()];
- if let Some(home) = dirs::home_dir() {
+ if let Some(home) = crate::skills::ops_discover::discovery_home_dir() {
roots.push(home.join(".openhuman").join("skills"));
}
Self::new(roots)