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
refactor(profiles): recover background deliveries on every profile open
Steven Enamakela8acf35f9db8
diff --git a/crates/openhuman-core/src/profiles/host.rs b/crates/openhuman-core/src/profiles/host.rsindex 346a81537f..565696d56d 100644--- a/crates/openhuman-core/src/profiles/host.rs+++ b/crates/openhuman-core/src/profiles/host.rs@@ -352,17 +352,13 @@ impl ProfileHost {recover_session_store(id, &context);}crate::platform::cost::seed_tenant_tracker(&context, &config);- if first_open {- // Results a previous process finished but never delivered. The- // owner table that routes them is process-local and empty after a- // restart, so recover them in this profile's scope: the scheduled- // drains then run as this profile and reach only its tables.- CoreContext::sync_scope(Arc::clone(&context), || {- crate::agent::orchestration::background_delivery::recover_on_boot(- &layout.workspace_dir,- )- });- }+ // Results a previous process finished but never delivered. The owner+ // table that routes them is process-local and empty after a restart,+ // so recover them in this profile's scope (once per workspace per+ // process): the drains then run as this profile, on its tables alone.+ CoreContext::sync_scope(Arc::clone(&context), || {+ crate::agent::orchestration::background_delivery::recover_on_boot(&layout.workspace_dir)+ });let state = Arc::new(Profile {id: id.clone(),layout,