Skip to content

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

refactor(skills): trim unused stub re-exports

Steven Enamakelb313f990e207
diff --git a/crates/openhuman-core/src/skills/stub.rs b/crates/openhuman-core/src/skills/stub.rs
index d1659412b5..70f5175a88 100644
--- a/crates/openhuman-core/src/skills/stub.rs
+++ b/crates/openhuman-core/src/skills/stub.rs
@@ -21,17 +21,8 @@ use std::path::Path;
use crate::core::all::RegisteredController;
use crate::core::ControllerSchema;
-// ---------------------------------------------------------------------------
-// Type surface — re-exported from the ungated carve-out, NOT re-declared.
-// Mirrors the `pub use ops::*` → `pub use super::ops_types::{…}` chain that the
-// real build exposes at the `skills` root (`skills::Workflow`, etc.).
-// ---------------------------------------------------------------------------
-
-use {
- tinyskills::Skill as Workflow, tinyskills::SkillFrontmatter as WorkflowFrontmatter,
- tinyskills::SkillScope as WorkflowScope,
- tinyskills::MAX_RESOURCE_BYTES as MAX_WORKFLOW_RESOURCE_BYTES,
-};
+// Disabled discovery returns the same portable skill metadata as an enabled host.
+use tinyskills::Skill as Workflow;
// ---------------------------------------------------------------------------
// Discovery surface (mirrors `ops_discover::*` re-exported at the skills root)
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 8ad70a2dc7..1bff908970 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -6,6 +6,7 @@ use crate::security::{AuditLogger, SecurityPolicy};
use std::collections::HashMap;
use std::sync::Arc;
use tinyagents_harness::tools::{CurrentTimeTool, ResolveTimeTool};
+#[cfg(feature = "mcp")]
use tinymcp::tools::{McpListServersTool, McpListToolsTool};
use tinytools::Tool;
use tinytools_std::detect_tools::DetectToolsTool;