Skip to content

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

refactor(composio): drop redundant catalog re-exports from tinyflows ops

Steven Enamakelde07889b087b
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs
index 264bd188a7..1bdc3ccb03 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs
@@ -32,20 +32,6 @@ use crate::security::GateDecision;
use crate::security::SecurityPolicy;
use tinybox_bus::CommandClass;
-// The live Composio catalog and probe moved to `composio::catalog` -- the domain
-// that owns Composio's vocabulary. This import is the edge pointing the right
-// way round: the feature-gated seam depends on the always-compiled domain, not
-// the reverse. See that module's docs.
-#[cfg(test)]
-pub(crate) use crate::integrations::composio::catalog::ProbedOutputSample;
-pub(crate) use crate::integrations::composio::catalog::{
- composio_required_args, fetch_live_toolkit_catalog, probe_tool_output_sample, ToolContract,
-};
-#[cfg(test)]
-pub(crate) use crate::integrations::composio::catalog::{
- seed_live_catalog_cache, seed_live_catalog_cache_expired, seed_probe_cache,
-};
-
use super::*;
pub(crate) use crate::integrations::composio::flow_gate::composio_connection_id;
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tool_results_and_credentials_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tool_results_and_credentials_tests.rs
index 5457721056..332c0c62eb 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tool_results_and_credentials_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tool_results_and_credentials_tests.rs
@@ -1,4 +1,7 @@
use super::*;
+use crate::integrations::composio::catalog::{
+ seed_live_catalog_cache, seed_live_catalog_cache_expired, ToolContract,
+};
// ── native `oh:` tool result handling ──────────────────────────────────
diff --git a/crates/openhuman-core/src/integrations/composio/ops/mod.rs b/crates/openhuman-core/src/integrations/composio/ops/mod.rs
index ff92cd8bbc..b4230359c8 100644
--- a/crates/openhuman-core/src/integrations/composio/ops/mod.rs
+++ b/crates/openhuman-core/src/integrations/composio/ops/mod.rs
@@ -34,12 +34,12 @@ mod triggers;
// ── Public re-exports (match original ops.rs public surface) ───────────────
+pub(crate) use connections::flow_connection_entries;
pub(crate) use connections::title_case_toolkit;
pub use connections::{
active_connection_ids, composio_authorize, composio_delete_connection,
composio_list_connections, ComposioDeleteResult,
};
-pub(crate) use connections::flow_connection_entries;
pub use direct_mode::{composio_clear_api_key, composio_get_mode, composio_set_api_key};
pub(crate) use error_utils::{report_composio_op_error, should_forward_tags};
pub use execute::composio_execute;