Skip to content

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

fix(composio): re-export internal helpers for test module access

Steven Enamakel02c72dadafa3
diff --git a/crates/openhuman-core/src/integrations/composio/tools/direct.rs b/crates/openhuman-core/src/integrations/composio/tools/direct.rs
index 33c2c24f8a..19fcaba68f 100644
--- a/crates/openhuman-core/src/integrations/composio/tools/direct.rs
+++ b/crates/openhuman-core/src/integrations/composio/tools/direct.rs
@@ -21,3 +21,21 @@ mod types;
pub use connections::ComposioConnectedAccount;
pub use discovery::{ComposioAction, ComposioToolSchemaV3};
pub use types::ComposioTool;
+
+// Test-only bridges: the flat `direct_tests.rs` module (kept as a rename-only
+// group per the unsplit policy) still expects these internal helpers to be
+// reachable unqualified via `use super::*`, mirroring the single-scope shape
+// `include!` gave it before the split into responsibility-based submodules.
+#[cfg(test)]
+use connections::ComposioAuthConfig;
+#[cfg(test)]
+use construction::normalize_entity_id;
+#[cfg(test)]
+use discovery::{
+ map_v3_tools_to_actions, ComposioActionsResponse, ComposioToolkitRef, ComposioToolsResponse,
+ ComposioV3Tool,
+};
+#[cfg(test)]
+use http_errors::{extract_api_error_message, extract_redirect_url};
+#[cfg(test)]
+use types::{ensure_https, is_loopback_http_url, COMPOSIO_API_BASE_V3};