Skip to content

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

chore: files changed src/openhuman/flows/catalogue.rs,src/openhuman/flows/mod.rs

Steven Enamakel6903a3bb0cac
diff --git a/src/openhuman/flows/catalogue.rs b/src/openhuman/flows/catalogue.rs
index 92b306bc25..bb1f928efb 100644
--- a/src/openhuman/flows/catalogue.rs
+++ b/src/openhuman/flows/catalogue.rs
@@ -54,7 +54,7 @@ pub const MAX_CATALOGUE_FLOWS: usize = 20;
/// a prompt section and a search index, and a transient `flows.db` problem
/// should degrade the catalogue, never fail the turn. The error is logged.
pub fn flow_entries(config: &Config) -> Vec<Workflow> {
- let (flows, skipped) = match crate::openhuman::flows::store::list_flows(config) {
+ let (flows, skipped) = match super::store::list_flows(config) {
Ok(pair) => pair,
Err(error) => {
tracing::warn!(%error, "[flows][catalogue] could not list flows; catalogue omits them");
@@ -91,7 +91,7 @@ pub fn flow_entries(config: &Config) -> Vec<Workflow> {
entries
}
-fn entry_for(flow: crate::openhuman::flows::types::Flow) -> Workflow {
+fn entry_for(flow: super::types::Flow) -> Workflow {
Workflow {
name: flow.name.clone(),
// The flow id, because that is what `run_workflow` / `get_flow` take.
@@ -113,7 +113,7 @@ fn entry_for(flow: crate::openhuman::flows::types::Flow) -> Workflow {
/// Deliberately structural — trigger, size, paused-ness — because that is all
/// the model carries. See the module docs: inventing a purpose from node
/// internals would read as authoritative and frequently be wrong.
-fn describe(flow: &crate::openhuman::flows::types::Flow) -> String {
+fn describe(flow: &super::types::Flow) -> String {
let trigger = flow
.graph
.trigger_kind()
diff --git a/src/openhuman/flows/mod.rs b/src/openhuman/flows/mod.rs
index 25f3325fdf..3fd7f07366 100644
--- a/src/openhuman/flows/mod.rs
+++ b/src/openhuman/flows/mod.rs
@@ -32,6 +32,7 @@ pub mod agents;
mod build_registry;
pub mod builder_tools;
pub mod bus;
+pub mod catalogue;
pub mod discovery_tools;
mod draft_store;
pub mod medulla_bridge;