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(storage): clone dispatch context before blocking import
Steven Enamakel565d2c9a1ac1
diff --git a/crates/openhuman-core/src/modules/storage_import_tinymcp.rs b/crates/openhuman-core/src/modules/storage_import_tinymcp.rsindex ad312454f3..eb595f9000 100644--- a/crates/openhuman-core/src/modules/storage_import_tinymcp.rs+++ b/crates/openhuman-core/src/modules/storage_import_tinymcp.rs@@ -88,6 +88,7 @@ pub(crate) async fn import_legacy(ctx: &DispatchCtx, data_dir: &Path) -> Result<let marker = marker_id(data_dir);let marker_for_claim = marker.clone();let data_dir = data_dir.to_path_buf();+ let import_ctx = ctx.clone();let scope = super::storage_host::current_module_scope(ctx, MODULE_ID).map_err(|error| anyhow!("resolve the module scope: {:?}", error.kind()))?;let imported = super::storage_import_support::with_module_claim(@@ -111,7 +112,7 @@ pub(crate) async fn import_legacy(ctx: &DispatchCtx, data_dir: &Path) -> Result<if !clients.exists() && !audit.exists() {return Ok(Outcome::NoSource);}- let (legacy_servers, legacy_audit) = ctx+ let (legacy_servers, legacy_audit) = import_ctx.spawn_blocking(move || {let servers = if clients.exists() {read_servers(&clients)?