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
chore: files changed crates/openhuman-core/src/desktop/app_state/ops/current_user.rs,crates/openhuma
Steven Enamakelc38aa2e6cf39
diff --git a/crates/openhuman-core/src/desktop/app_state/ops/current_user.rs b/crates/openhuman-core/src/desktop/app_state/ops/current_user.rsindex 14c45a3b30..9b85201826 100644--- a/crates/openhuman-core/src/desktop/app_state/ops/current_user.rs+++ b/crates/openhuman-core/src/desktop/app_state/ops/current_user.rs@@ -9,7 +9,8 @@use super::current_user_fetch::{fetch_current_user, sanitize_snapshot_user};use super::current_user_generation::{clear_current_user_failure_unless_stale, current_user_generation,- note_current_user_success_unless_stale, record_current_user_failure_unless_stale,+ note_current_user_success_unless_stale, record_current_user_failure_locked,+ record_current_user_failure_unless_stale,};use super::auth_timeout::{auth_fetch_timeout, current_user_backoff_base};use super::LOG_PREFIX;diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rsindex 2dd9fe10f4..4dc7c8d44f 100644--- a/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs@@ -18,7 +18,7 @@ use std::time::{Duration, Instant};////// Background: the primary invalidation path is the/// `ComposioConnectionCreated` → `wait_for_connection_active` bus flow-/// (see [`super::bus::ComposioConnectionCreatedSubscriber`]), which+/// (see [`crate::integrations::composio::bus::ComposioConnectionCreatedSubscriber`]), which/// polls the backend for up to 60 s after `composio_authorize` returns/// a `connectUrl`. On Windows the OAuth round-trip can exceed that/// window (Defender SmartScreen, slower browser launch, extra consent@@ -74,7 +74,7 @@ pub(crate) fn cache_key(config: &Config) -> String {/// Clear cached connected integrations so the next call to/// [`fetch_connected_integrations`] hits the backend again.///-/// Called by [`super::bus::ComposioConnectionCreatedSubscriber`] when a+/// Called by [`crate::integrations::composio::bus::ComposioConnectionCreatedSubscriber`] when a/// new OAuth connection completes, by [`composio_list_connections`]/// when it observes a divergence between the backend response and the/// cached snapshot, and from tests. Clears the entire map because the@@ -203,7 +203,7 @@ fn read_cached_integrations(/// hashes within one process lifetime.////// Only `connected == true` entries contribute. Unconnected toolkits are-/// stripped by [`super::super::tools::orchestrator_tools::collect_orchestrator_tools`]+/// stripped by [`crate::integrations::composio::tools::orchestrator_tools::collect_orchestrator_tools`]/// anyway, so churn among the unconnected set never changes the agent's/// surface and shouldn't trigger a refresh.pub fn connected_set_hash(integrations: &[ConnectedIntegration]) -> u64 {@@ -254,7 +254,7 @@ fn connected_toolkit_set(integrations: &[ConnectedIntegration]) -> HashSet<Strin/// in chat in sync with the badge the user sees in Settings, even when/// the primary event-bus invalidation path misses (e.g. Windows OAuth/// flows that overrun the 60 s readiness poll).-pub(crate) fn sync_cache_with_connections(connections: &[super::types::ComposioConnection]) {+pub(crate) fn sync_cache_with_connections(connections: &[crate::integrations::composio::types::ComposioConnection]) {let live_active: HashSet<String> = connections.iter().filter(|c| c.is_active())diff --git a/crates/openhuman-core/src/security/policy/policy_tests.rs b/crates/openhuman-core/src/security/policy/policy_tests.rsindex cc07be17e1..95bce81d6e 100644--- a/crates/openhuman-core/src/security/policy/policy_tests.rs+++ b/crates/openhuman-core/src/security/policy/policy_tests.rs@@ -111,13 +111,13 @@ fn turn_workspace_policy() -> (tempfile::TempDir, PathBuf, SecurityPolicy) {(root, checkout, policy)}-#[path = "policy_tests_part_01_tests.rs"]-mod part_01_tests;-#[path = "policy_tests_part_02_tests.rs"]-mod part_02_tests;-#[path = "policy_tests_part_03_tests.rs"]-mod part_03_tests;-#[path = "policy_tests_part_04_tests.rs"]-mod part_04_tests;-#[path = "policy_tests_part_05_tests.rs"]-mod part_05_tests;+#[path = "policy_allowlist_tests.rs"]+mod allowlist_tests;+#[path = "policy_paths_and_risk_tests.rs"]+mod paths_and_risk_tests;+#[path = "policy_injection_tests.rs"]+mod injection_tests;+#[path = "policy_trusted_roots_tests.rs"]+mod trusted_roots_tests;+#[path = "policy_workspace_internal_tests.rs"]+mod workspace_internal_tests;