Skip to content

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

fix(ops_discover): handle missing API response fields gracefully

Steven Enamakeld3cfdd0d4834
diff --git a/crates/openhuman-core/src/skills/ops_discover/api.rs b/crates/openhuman-core/src/skills/ops_discover/api.rs
index 8a0d2ed76c..f83b261cbf 100644
--- a/crates/openhuman-core/src/skills/ops_discover/api.rs
+++ b/crates/openhuman-core/src/skills/ops_discover/api.rs
@@ -164,10 +164,3 @@ pub fn discover_automations(
);
discover_filtered(home_dir, workspace_dir, None, trusted, WORKFLOW_ROOT_KINDS)
}
-
-// `RootKind` variants are matched by name in `discover_filtered`'s callers
-// only indirectly (via the `ALL_ROOT_KINDS` / `WORKFLOW_ROOT_KINDS` constants
-// above), so nothing here names it directly — the import keeps this module's
-// intent ("select all root kinds" vs. "workflow roots only") legible.
-#[allow(unused_imports)]
-use RootKind as _RootKindDocAnchor;