Skip to content

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

chore(flows): remove unused imports

Steven Enamakel972151dd9537
diff --git a/crates/openhuman-core/src/flows/catalog_storage.rs b/crates/openhuman-core/src/flows/catalog_storage.rs
index 14c7350f17..64aeba4593 100644
--- a/crates/openhuman-core/src/flows/catalog_storage.rs
+++ b/crates/openhuman-core/src/flows/catalog_storage.rs
@@ -22,7 +22,7 @@ use tinyflows_bus::catalog::{
};
use tinystoragedrivers::{
Capability, CollectionSpec, DocumentStore, Filter, Page, Precondition, Query, Scope,
- StorageBackend, StorageError, Versioned, WriteOptions,
+ StorageError, Versioned, WriteOptions,
};
use crate::config::Config;
diff --git a/crates/openhuman-core/src/flows/ops.rs b/crates/openhuman-core/src/flows/ops.rs
index e552801d39..49c6500ac4 100644
--- a/crates/openhuman-core/src/flows/ops.rs
+++ b/crates/openhuman-core/src/flows/ops.rs
@@ -32,13 +32,12 @@
//! | `drafts` | core-managed local drafts |
use std::collections::HashSet;
-use std::sync::{Arc, LazyLock};
+use std::sync::Arc;
use serde_json::{json, Value};
use tinyflows::model::{NodeKind, TriggerKind, WorkflowGraph};
// Generic graph analysis used for UI notes and authoring summaries comes from
// the TinyFlows bus. OpenHuman-specific save and dispatch policy stays here.
-use tinyflows::triggers::graph_trigger_warnings;
// The save/run safety predicates are `tinyflows-catalog`'s: whether a graph
// fires unattended, whether it can act on the world, whether it has anything to
// do at all are properties of the graph, not of this host. Re-exported at
@@ -49,11 +48,11 @@ use crate::core::Outcome;
use crate::flows::bus;
use crate::flows::draft_store;
use crate::flows::store;
-use crate::security::approval::{ApprovalChatContext, ApprovalTurnContext, FlowRunContext};
-use crate::security::turn_origin::{with_origin, AgentTurnOrigin, TrustedAutomationSource};
+use crate::security::approval::{ApprovalChatContext, ApprovalTurnContext};
+use crate::security::turn_origin::{with_origin, AgentTurnOrigin};
use tinyflows_catalog::build_registry;
pub(crate) use tinyflows_catalog::graph_policy::{
- enforce_side_effect_approval, graph_has_actionable_nodes, trigger_is_automatic,
+ enforce_side_effect_approval, trigger_is_automatic,
};
use tinyflows_catalog::types::{FlowConnection, FlowRunTrigger, FlowSuggestion, SuggestionStatus};
use tokio_util::sync::CancellationToken;
diff --git a/crates/openhuman-core/src/flows/runs_adapter/session.rs b/crates/openhuman-core/src/flows/runs_adapter/session.rs
index 20a8c0cc55..6fd33f2695 100644
--- a/crates/openhuman-core/src/flows/runs_adapter/session.rs
+++ b/crates/openhuman-core/src/flows/runs_adapter/session.rs
@@ -8,8 +8,6 @@ use tinyflows_bus::runs::{self, RunEvent};
use tinyflows_catalog::{types::FlowRunTrigger, Flow};
use crate::config::Config;
-use crate::modules::tinyflows as module;
-
use super::{projection, RunBindings};
#[derive(Clone, Debug, Eq, Hash, PartialEq)]