Skip to content

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

chore: files changed src/openhuman/skills/ops.rs,src/openhuman/skills/stub.rs

Steven Enamakel00e5f6a7a1b8
diff --git a/src/openhuman/skills/ops.rs b/src/openhuman/skills/ops.rs
index 28a7d09e07..c09f6bf5a7 100644
--- a/src/openhuman/skills/ops.rs
+++ b/src/openhuman/skills/ops.rs
@@ -29,6 +29,7 @@
// Re-export everything that was previously public from this file so external
// callers are unaffected.
+pub use super::bundled::install as install_bundled_skills;
pub use super::ops_create::{create_workflow, CreateWorkflowParams, WorkflowCreateInputDef};
pub use super::ops_discover::{
discover_automations, discover_workflows, discover_workflows_with_profile, init_workflows_dir,
diff --git a/src/openhuman/skills/stub.rs b/src/openhuman/skills/stub.rs
index cf4bacc16d..5682a21752 100644
--- a/src/openhuman/skills/stub.rs
+++ b/src/openhuman/skills/stub.rs
@@ -56,6 +56,15 @@ pub fn load_workflow_metadata_for_profile(
Vec::new()
}
+/// No-op: with skills compiled out nothing can discover a bundled skill, so
+/// writing one into the workspace would only leave files nothing reads.
+///
+/// Returns unit rather than the real `InstallReport` — the report type lives
+/// inside the gated tree, and the one caller only logs it.
+pub fn install_bundled_skills(_workspace_dir: &Path) {
+ log::debug!("[skills-stub] install_bundled_skills skipped (skills disabled)");
+}
+
/// No-op success: with skills compiled out there is no skills directory to
/// provision, and workspace bootstrap must not fail because of it.
pub fn init_workflows_dir(_workspace_dir: &Path) -> Result<(), String> {