Skip to content

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

feat(composio-slack): add Slack provider for composio memory sync

Steven Enamakelecd0dc564e4b
diff --git a/src/openhuman/memory/sync/composio/providers/slack/mod.rs b/src/openhuman/memory/sync/composio/providers/slack/mod.rs
index 0e2fc44ee1..6f45a88c0a 100644
--- a/src/openhuman/memory/sync/composio/providers/slack/mod.rs
+++ b/src/openhuman/memory/sync/composio/providers/slack/mod.rs
@@ -1,24 +1,20 @@
-//! Host layer over [`tinymemory_core::sync::composio::providers::slack`].
+//! The Composio-backed Slack provider's JSON-RPC surface.
//!
-//! The domain itself lives in the extracted crate; what stays here is its
-//! JSON-RPC surface — handlers and controller schemas name OpenHuman's
-//! `RpcOutcome` and `ControllerSchema`, which the engine crate cannot see.
-//! The glob re-export keeps every historical `memory::sync::composio::providers::slack::…` path resolving.
+//! This used to glob-import `tinymemory_core::sync::composio::providers::slack`,
+//! the engine's native `SlackProvider` (its own `sync()`, `post_process`,
+//! `run_backfill_via_search`, …). tinymemory v1.13.4 deleted that provider
+//! along with the rest of the in-process Composio pipeline — see
+//! `crate::openhuman::integrations::composio::providers` for where each piece
+//! went. `rpc.rs` now reads a Slack connection through the `tinyconnectors`
+//! module and hands what it returns to the bound memory driver via
+//! `MemorySourceSink::accept_source_items`, the same path
+//! `integrations::composio::ops::providers_ops::run_sync_pass` uses for every
+//! other toolkit.
//!
-//! # This one looks droppable from `src/` alone, and is not (#5560)
-//!
-//! Nothing under `src/` names a single item the glob supplies: `rpc.rs` reaches
-//! `SyncOutcome` through the parent `providers` module, and `schemas.rs` only
-//! reaches `super::rpc`. Reading that as "unused" and deleting the line breaks
-//! the build — four `tests/raw_coverage/` targets import `SlackProvider`,
-//! `run_backfill_via_search` and `post_process` through **this** path, and the
-//! engine's own module doc says `post_process` is `pub` for exactly that
-//! reason.
-//!
-//! `cargo test --lib` does not compile `tests/`, so that break would land in
-//! CI rather than locally. Grep both trees before narrowing any shim here.
-
-pub use tinymemory_core::sync::composio::providers::slack::*;
+//! What survives here is this host's own RPC pair —
+//! `openhuman.slack_memory_sync_trigger` / `openhuman.slack_memory_sync_status`
+//! — which never depended on the engine's Slack-specific parsing to begin
+//! with; only on the driver seam that is now the connector module.
pub mod rpc;
pub mod schemas;