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(runtime): handle session host shutdown during pending operations
Steven Enamakel0720283434ad
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex f85f6bc429..a754cae11b 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -223,9 +223,14 @@ impl OpenHumanTurnPrelude {}async fn refresh_turn_boundary(&self, cold: bool) {- if cold {- self.refresh_cold_integrations().await;- } else {+ // Fetch whenever the session has no integration view yet, warm turn or+ // not. The builder only prewarms from the TTL-bound cache, so a session+ // built after it expired starts uninitialized; a resumed (warm) turn+ // used to read that same expired cache, get nothing, and run with zero+ // integration actions — a cron job could not reach `GMAIL_SEND_EMAIL`.+ // A no-op once initialized.+ self.refresh_cold_integrations().await;+ if !cold {self.refresh_dynamic_announcements().await;}// Integration changes are authority changes, not only display