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(security): restore gated service access on login
Steven Enamakel0242243a3c08
diff --git a/crates/openhuman-core/src/security/credentials/ops/login_services.rs b/crates/openhuman-core/src/security/credentials/ops/gated_services.rssimilarity index 94%rename from crates/openhuman-core/src/security/credentials/ops/login_services.rsrename to crates/openhuman-core/src/security/credentials/ops/gated_services.rsindex 0b848992c1..33c4ca3552 100644--- a/crates/openhuman-core/src/security/credentials/ops/login_services.rs+++ b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs@@ -17,8 +17,8 @@ pub(super) fn is_embedder_host() -> bool {/// Start all login-gated background services (local AI and voice). Called both/// from the initial boot path (when an existing-/// session is detected) and from `store_session()` on fresh login.-pub async fn start_login_gated_services(config: &Config) {+/// session is detected) and from `set_credential()` when a credential is installed.+pub async fn start_credential_gated_services(config: &Config) {// These login-gated services are mutually independent — the ONLY ordering// constraint is voice-server → standalone-dictation-listener (they contend// for the single rdev global listener on macOS). Previously each was@@ -144,9 +144,9 @@ pub async fn start_login_gated_services(config: &Config) {}}-/// Stop all login-gated background services. Called from `clear_session()`+/// Stop all login-gated background services. Called from `clear_credential()`/// on logout so orphan processes don't consume resources.-pub async fn stop_login_gated_services(config: &Config) {+pub async fn stop_credential_gated_services(config: &Config) {// 2. Voice serverif let Some(server) = crate::voice::server::try_global_server() {server.stop().await;@@ -173,3 +173,7 @@ pub async fn stop_login_gated_services(config: &Config) {log::info!("[services] all login-gated services stopped");}++/// Historical names, kept for call sites outside this module.+pub use start_credential_gated_services as start_login_gated_services;+pub use stop_credential_gated_services as stop_login_gated_services;