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(manager): handle session expiry during token refresh
Steven Enamakel2af17ef2a79b
diff --git a/crates/openhuman-session/src/manager.rs b/crates/openhuman-session/src/manager.rsindex 0f407f7ac5..fc25316a4e 100644--- a/crates/openhuman-session/src/manager.rs+++ b/crates/openhuman-session/src/manager.rs@@ -244,16 +244,9 @@ impl<L: CoreLink> SessionManager<L> {"{LOG_PREFIX} session JWT verified via GET /auth/me on {}",client.base_url());- // Hand the new credential to the core before cancelling the- // old one's revalidation loop: if `push` fails (or the core- // restarts mid-call), the prior pending credential must keep- // its background revalidation running rather than being left- // provisional with nothing to confirm it, possibly- // indefinitely for an idle TUI or host (#6318 review- // follow-up).+ self.cancel_revalidation();self.push(&credential, user_id.as_deref(), Some(&me)).await?;- self.cancel_revalidation();self.cache.seed(&client, &credential, me);drop(guard);self.changed().await