Skip to content

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

feat(ops): re-export tinyflows refusal codes for test stability

Steven Enamakel0edde4b908a6
diff --git a/src/openhuman/flows/ops.rs b/src/openhuman/flows/ops.rs
index 4938be3725..b7a48a0b14 100644
--- a/src/openhuman/flows/ops.rs
+++ b/src/openhuman/flows/ops.rs
@@ -166,6 +166,14 @@ pub(crate) fn max_sub_workflow_depth(graph: &WorkflowGraph) -> u64 {
tinyflows::compat::max_sub_workflow_depth(graph)
}
+// The two refusal codes are `tinyflows::compat`'s, re-exported at `ops::` scope
+// because this module's tests assert on them by name — which is the point of a
+// stable code, and what keeps a rename upstream a compile error here rather
+// than a silently-passing `contains`.
+pub(crate) use tinyflows::compat::{
+ UNSUPPORTED_MAIN_PORT_CONDITIONAL_FAN_IN, UNSUPPORTED_NESTED_CONDITIONAL_FAN_IN,
+};
+
fn to_compat_validation_error(
error: tinyflows::compat::CompatibilityError,
) -> crate::openhuman::flows::FlowValidationError {
diff --git a/vendor/tinyflows b/vendor/tinyflows
index a32b6fdd1b..c8658352e0 160000
--- a/vendor/tinyflows
+++ b/vendor/tinyflows
@@ -1 +1 @@
-Subproject commit a32b6fdd1b6148b28e0108a10c11141a5d41f143
+Subproject commit c8658352e015e3c427ed1890a83962318acb8f2c