The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(flows): drop unused imports and tighten connection gate visibility
Steven Enamakelf8ed8a0b086e
diff --git a/crates/openhuman-core/src/flows/host_gates/connections.rs b/crates/openhuman-core/src/flows/host_gates/connections.rsindex e3cc9438f9..42bb8eec9c 100644--- a/crates/openhuman-core/src/flows/host_gates/connections.rs+++ b/crates/openhuman-core/src/flows/host_gates/connections.rs@@ -1,7 +1,5 @@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;@@ -65,7 +63,7 @@ pub(crate) async fn validate_connection_refs(/// when the live connection list was fetched (possibly empty — a genuine "no/// connections" state), or `None` when it was unavailable (fail-open: the/// id-existence check is skipped, only the toolkit-mismatch check runs).-pub(crate) fn validate_connection_refs_against(+pub(super) fn validate_connection_refs_against(graph: &WorkflowGraph,connections: Option<&[FlowConnection]>,) -> Vec<String> {diff --git a/crates/openhuman-core/src/flows/ops/updates.rs b/crates/openhuman-core/src/flows/ops/updates.rsindex a0d4c7ca1e..07f48ae0b9 100644--- a/crates/openhuman-core/src/flows/ops/updates.rs+++ b/crates/openhuman-core/src/flows/ops/updates.rs@@ -81,7 +81,6 @@ pub async fn flows_update(graph_json,require_approval,expected_version,- false,).await}