Skip to content

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

feat(composio): add connection ops and error utilities

Steven Enamakel5709941e5065
diff --git a/crates/openhuman-core/src/integrations/composio/ops/connections.rs b/crates/openhuman-core/src/integrations/composio/ops/connections.rs
index 323a11f04c..46f5826efe 100644
--- a/crates/openhuman-core/src/integrations/composio/ops/connections.rs
+++ b/crates/openhuman-core/src/integrations/composio/ops/connections.rs
@@ -42,8 +42,7 @@ pub async fn composio_list_connections(
// No session means no proxy route, so the connector module cannot
// answer — but the connections may well exist server-side. That makes
// this "unavailable", not "none": callers that tell the two apart
- // (`the connection cache hides nothing on `Err`,
- // `flows::validate_connection_refs` fails open on `Err`) must keep
+ // (`flows::validate_connection_refs` fails open on `Err`) must keep
// doing so, which an empty `Ok` would silently defeat. It is also not
// a fault, so it is not reported here: nothing reaches Sentry for a
// user who has simply not signed in yet (#6176). The wording is the one
diff --git a/crates/openhuman-core/src/integrations/composio/ops/error_utils.rs b/crates/openhuman-core/src/integrations/composio/ops/error_utils.rs
index 48f1494eed..0eca70ce83 100644
--- a/crates/openhuman-core/src/integrations/composio/ops/error_utils.rs
+++ b/crates/openhuman-core/src/integrations/composio/ops/error_utils.rs
@@ -80,13 +80,13 @@ pub(crate) fn direct_mode_without_key(config: &Config) -> OpResult<bool> {
/// reconfigures the module with `{"route": "none"}`, and every routed member
/// answers "this module was loaded without a connector route" — which the op
/// layer then reported at error level (and to Sentry) once at boot from the
-/// memory-source reconcile and again on every periodic tick, for a user who
+/// every periodic tick, for a user who
/// simply has not signed in (#6176). Callers answer with the quiet
/// [`COMPOSIO_NO_SESSION`] error instead — deliberately not an empty list,
/// unlike the direct-mode guard: no key means no tenant and truly no
/// connections, whereas no session only means the connections cannot be
-/// reached yet, and `flows::validate_connection_refs` rely on `Err` meaning "unknown" (fail
-/// open) rather than "none".
+/// reached yet, and `flows::validate_connection_refs` relies on `Err` meaning
+/// "unknown" (fail open) rather than "none".
///
/// Credential presence MUST mirror the module route's own resolution:
/// `module_config` calls `integrations::build_client`, which takes the stored