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
chore(composio): remove unused file store module
Steven Enamakel6aeedcfeba1c
diff --git a/crates/openhuman-core/src/integrations/composio/file_store.rs b/crates/openhuman-core/src/integrations/composio/file_store.rsindex 994765224d..b557994426 100644--- a/crates/openhuman-core/src/integrations/composio/file_store.rs+++ b/crates/openhuman-core/src/integrations/composio/file_store.rs@@ -31,13 +31,11 @@ async fn import_legacy(name: &'static str,) -> Result<(), String> {let marker_docs = docs.clone();- let done =- ctx.spawn_blocking(move || marker_docs.legacy_imported(name))- .await- .map_err(|error| format!("[composio:store] checking legacy {name} failed: {error}"))?- .map_err(|error| {- format!("[composio:store] checking legacy {name} failed: {error:#}")- })?;+ let done = ctx+ .spawn_blocking(move || marker_docs.legacy_imported(name))+ .await+ .map_err(|error| format!("[composio:store] checking legacy {name} failed: {error}"))?+ .map_err(|error| format!("[composio:store] checking legacy {name} failed: {error:#}"))?;if done {return Ok(());}@@ -54,13 +52,11 @@ async fn import_legacy(let value: serde_json::Value = serde_json::from_slice(&bytes).map_err(|error| format!("[composio:store] parsing legacy {name} failed: {error}"))?;let docs = docs.clone();- let wrote =- ctx.spawn_blocking(move || docs.import_if_absent(name, value))- .await- .map_err(|error| format!("[composio:store] importing legacy {name} failed: {error}"))?- .map_err(|error| {- format!("[composio:store] importing legacy {name} failed: {error:#}")- })?;+ let wrote = ctx+ .spawn_blocking(move || docs.import_if_absent(name, value))+ .await+ .map_err(|error| format!("[composio:store] importing legacy {name} failed: {error}"))?+ .map_err(|error| format!("[composio:store] importing legacy {name} failed: {error:#}"))?;log::debug!("[composio:store] legacy import name={name} wrote={wrote}");Ok(())}@@ -73,7 +69,8 @@ async fn import_legacy(pub(crate) async fn load<T>(ctx: &crate::core::runtime::DispatchCtx,config: &Config,- name: &'static str) -> Result<T, String>+ name: &'static str,+) -> Result<T, String>whereT: DeserializeOwned + Default + Send + 'static,{@@ -123,7 +120,9 @@ wherepub(crate) async fn save<T>(ctx: &crate::core::runtime::DispatchCtx,config: &Config,- name: &'static str, value: &T) -> Result<(), String>+ name: &'static str,+ value: &T,+) -> Result<(), String>whereT: Serialize,{