The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(composio): handle missing bus part in sync module
Steven Enamakel5b0ae5d0c05c
diff --git a/src/openhuman/memory/sync/composio/bus_part_02.rs b/src/openhuman/memory/sync/composio/bus_part_02.rsindex 75ed4d65e2..d65a4d0ec8 100644--- a/src/openhuman/memory/sync/composio/bus_part_02.rs+++ b/src/openhuman/memory/sync/composio/bus_part_02.rs@@ -327,39 +327,36 @@ impl EventHandler<DomainEvent> for ComposioConnectionCreatedSubscriber {return;}};- let attempted = match crate::openhuman::memory::binding::for_config(&host_config) {- Ok(binding) => match binding.provider().as_source_sync() {- Some(sync) => sync- .run_connection_sync(&toolkit, &connection_id)- .await- .map_err(|error| error.to_string()),- None => Err(format!(- "the bound memory driver '{}' does not serve source sync",- binding.driver_id()- )),- },- Err(error) => Err(error),- };+ // Was `MemorySourceSync::run_connection_sync`, now unconditionally+ // refused for the same reason `bootstrap_connection` above is:+ // reads through the connector module and ingests through the+ // bound driver's `MemorySourceSink` instead — the same+ // `run_sync_pass` helper every other sync entry point in this+ // domain uses now.+ let attempted = crate::openhuman::integrations::composio::ops::run_sync_pass(+ &host_config,+ &toolkit,+ &connection_id,+ "connection_created",+ )+ .await;match attempted {- Ok(outcome) => {+ Ok(pass) => {tracing::info!(toolkit = %toolkit,connection_id = %connection_id,- items_ingested = outcome.records_ingested,- actions_called = outcome.actions_called,- "[composio:bus] tinycortex initial sync complete"+ records_read = pass.records_read,+ written = pass.written,+ already_ingested = pass.already_ingested,+ more_pending = pass.more_pending,+ "[composio:bus] initial sync complete");// Avoid immediately re-firing from the periodic scheduler.- super::periodic::record_sync_success(&toolkit, &connection_id);+ crate::openhuman::integrations::composio::periodic::record_sync_success(+ &toolkit,+ &connection_id,+ );}- // `actions_called` and `provider_cost_usd` are no longer- // separate fields here. The contract has one error channel- // and the driver folds the usage into its message, because- // a partial-success shape is not available on an error path- // — so the spend a failed run incurred is in the text rather- // than in two structured fields. Logged whole rather than- // parsed back out: re-deriving numbers from a message is how- // a log line becomes a fragile API.Err(error) => tracing::warn!(toolkit = %toolkit,connection_id = %connection_id,