Skip to content

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

refactor(flows): update tinyflows dependency imports

Steven Enamakel6515def5e2d6
diff --git a/crates/openhuman-core/src/flows/ops.rs b/crates/openhuman-core/src/flows/ops.rs
index 669aa89bc4..1d909d92e3 100644
--- a/crates/openhuman-core/src/flows/ops.rs
+++ b/crates/openhuman-core/src/flows/ops.rs
@@ -34,6 +34,7 @@ use std::collections::HashSet;
use std::sync::Arc;
use serde_json::{json, Value};
+#[cfg(test)]
use tinyflows::model::{NodeKind, WorkflowGraph};
// Generic graph analysis used for UI notes and authoring summaries comes from
// the TinyFlows bus. OpenHuman-specific save and dispatch policy stays here.
@@ -48,9 +49,11 @@ use crate::flows::store;
use crate::security::approval::{ApprovalChatContext, ApprovalTurnContext};
use crate::security::turn_origin::{with_origin, AgentTurnOrigin};
mod build_registry;
-use tinyflows_catalog::types::{FlowConnection, FlowRunTrigger, FlowSuggestion, SuggestionStatus};
+use tinyflows_bus::catalog::{FlowRun, FlowSuggestion, SuggestionStatus};
+use tinyflows_bus::runs::FlowRunTrigger;
use tokio_util::sync::CancellationToken;
-use {tinyflows_catalog::Flow, tinyflows_catalog::FlowRun};
+
+pub(crate) use tinyflows_bus::catalog::Workflow as Flow;
/// Overall safety bound on a single `flows_run` / `flows_resume`. Individual
/// capabilities have their own timeouts (HTTP, sandbox), but a hung LLM/tool