Skip to content

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

refactor(flows): replace glob imports with explicit ones in host gates

Steven Enamakel9d0b145f9808
diff --git a/crates/openhuman-core/src/flows/host_gates/connections.rs b/crates/openhuman-core/src/flows/host_gates/connections.rs
index b9042ce5de..8c354479e6 100644
--- a/crates/openhuman-core/src/flows/host_gates/connections.rs
+++ b/crates/openhuman-core/src/flows/host_gates/connections.rs
@@ -1,4 +1,9 @@
-use super::*;
+use crate::config::Config;
+use crate::core::runtime::DispatchCtx;
+use crate::flows::ops::build_flow_connections;
+use serde_json::Value;
+use tinyflows::model::{NodeKind, WorkflowGraph};
+use tinyflows_catalog::FlowConnection;
// ─────────────────────────────────────────────────────────────────────────────
// Connection-ref gate (WS3): a Composio tool_call's `connection_ref` must name
diff --git a/crates/openhuman-core/src/flows/host_gates/tool_contracts.rs b/crates/openhuman-core/src/flows/host_gates/tool_contracts.rs
index 908a34c844..5fa6d95e67 100644
--- a/crates/openhuman-core/src/flows/host_gates/tool_contracts.rs
+++ b/crates/openhuman-core/src/flows/host_gates/tool_contracts.rs
@@ -1,4 +1,6 @@
-use super::*;
+use crate::config::Config;
+use serde_json::Value;
+use tinyflows::model::{NodeKind, WorkflowGraph};
// ─────────────────────────────────────────────────────────────────────────────
// Tool-contract enforcement gate (systemic tool-contract fix, Part 2)