Skip to content

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

feat(composio): add schema registry for integration contracts

Steven Enamakel70c11a20e4cb
diff --git a/crates/openhuman-core/src/integrations/composio/contract/mod.rs b/crates/openhuman-core/src/integrations/composio/contract/mod.rs
index f5333c779c..67618731f4 100644
--- a/crates/openhuman-core/src/integrations/composio/contract/mod.rs
+++ b/crates/openhuman-core/src/integrations/composio/contract/mod.rs
@@ -3,10 +3,8 @@
//! profiles, per-toolkit user scope preferences and the
//! normalised task shape.
//!
-//! These types used to be part of TinyMemory's v1 bus contract, which carried
-//! them only because the memory engine ran Composio syncs. Memory v2 does not,
-//! so the shapes live here, beside the integration that produces and reads
-//! them. They are plain data and pure functions: no HTTP, no persistence.
+//! These shapes live beside the integration that produces and reads them.
+//! They are plain data and pure functions: no HTTP, no persistence.
pub mod catalogs;
pub mod profile;
diff --git a/crates/openhuman-core/src/integrations/composio/schemas.rs b/crates/openhuman-core/src/integrations/composio/schemas.rs
index b5d8b7165c..5ef6d1751c 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas.rs
@@ -14,7 +14,6 @@
//! - `composio.create_trigger` → `openhuman.composio_create_trigger`
//! - `composio.get_user_profile` → `openhuman.composio_get_user_profile`
//! - `composio.refresh_all_identities` → `openhuman.composio_refresh_all_identities`
-//! - `composio.sync` → `openhuman.composio_sync`
mod definitions;
mod handlers_connections;
diff --git a/crates/openhuman-core/src/integrations/composio/schemas/registry.rs b/crates/openhuman-core/src/integrations/composio/schemas/registry.rs
index 2602ec5549..0851449308 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas/registry.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas/registry.rs
@@ -14,7 +14,7 @@ use super::handlers_connections::{
};
use super::handlers_identity::{
handle_get_user_profile, handle_get_user_scopes, handle_refresh_all_identities,
- handle_set_user_scopes, handle_sync,
+ handle_set_user_scopes,
};
use super::handlers_tools::{handle_execute, handle_list_tools};
use super::handlers_triggers::{
@@ -37,7 +37,6 @@ pub fn all_controller_schemas() -> Vec<ControllerSchema> {
schemas("create_trigger"),
schemas("get_user_profile"),
schemas("refresh_all_identities"),
- schemas("sync"),
schemas("list_trigger_history"),
schemas("get_user_scopes"),
schemas("set_user_scopes"),
@@ -101,10 +100,6 @@ pub fn all_registered_controllers() -> Vec<RegisteredController> {
schema: schemas("refresh_all_identities"),
handler: handle_refresh_all_identities,
},
- RegisteredController {
- schema: schemas("sync"),
- handler: handle_sync,
- },
RegisteredController {
schema: schemas("list_trigger_history"),
handler: handle_list_trigger_history,