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
feat(browser): add browser automation module
Steven Enamakeld3be19e25ce2
diff --git a/crates/openhuman-core/src/desktop/control/ops_tests.rs b/crates/openhuman-core/src/desktop/control/ops_tests.rsindex 23b12f1315..afa3f34bcf 100644--- a/crates/openhuman-core/src/desktop/control/ops_tests.rs+++ b/crates/openhuman-core/src/desktop/control/ops_tests.rs@@ -341,7 +341,10 @@ fn component_off_overrides_local_consent() {save(&config, true).unwrap();assert!(enabled(&config));config.components.computer = false;- assert!(!enabled(&config), "component off must disable despite consent");+ assert!(+ !enabled(&config),+ "component off must disable despite consent"+ );}#[test]diff --git a/crates/openhuman-core/src/modules/browser.rs b/crates/openhuman-core/src/modules/browser.rsindex eebdc3ded0..3b50f07c30 100644--- a/crates/openhuman-core/src/modules/browser.rs+++ b/crates/openhuman-core/src/modules/browser.rs@@ -204,8 +204,12 @@ impl BrowserClient {} else {None};- let claimed =- claim_profile(&self.config, &mut options, super::profile_claim::SESSION_WAIT_MS).await;+ let claimed = claim_profile(+ &self.config,+ &mut options,+ super::profile_claim::SESSION_WAIT_MS,+ )+ .await;options.download_dir = browser.download_dir.clone();options.default_timeout_ms = browser.task_timeout_secs.saturating_mul(1000);options.allowed_origins =diff --git a/crates/openhuman-core/src/modules/mod.rs b/crates/openhuman-core/src/modules/mod.rsindex 154d130c5b..8f046089e8 100644--- a/crates/openhuman-core/src/modules/mod.rs+++ b/crates/openhuman-core/src/modules/mod.rs@@ -47,8 +47,6 @@ pub mod boot;#[cfg(feature = "modules")]pub mod browser;#[cfg(feature = "modules")]-pub(crate) mod profile_claim;-#[cfg(feature = "modules")]pub(crate) mod browser_sites;#[cfg(feature = "modules")]pub mod browser_task;@@ -78,6 +76,8 @@ pub mod host;pub mod linked;#[cfg(feature = "modules")]pub mod ops;+#[cfg(feature = "modules")]+pub(crate) mod profile_claim;pub mod registry;#[cfg(feature = "modules")]pub mod schemas;@@ -85,14 +85,14 @@ pub mod schemas;pub mod search;#[cfg(feature = "modules")]mod search_path;+#[cfg(feature = "modules")]+mod site_memory_host;mod source;#[cfg(feature = "modules")]mod storage_grant_tinymcp;#[cfg(feature = "modules")]pub mod storage_grants;#[cfg(feature = "modules")]-mod site_memory_host;-#[cfg(feature = "modules")]mod storage_host;#[cfg(feature = "modules")]pub mod tinybox;diff --git a/crates/openhuman-core/src/tools/impl/browser/browser.rs b/crates/openhuman-core/src/tools/impl/browser/browser.rsindex 13575fcfc2..06e2009101 100644--- a/crates/openhuman-core/src/tools/impl/browser/browser.rs+++ b/crates/openhuman-core/src/tools/impl/browser/browser.rs@@ -587,7 +587,6 @@ impl Tool for BrowserTool {#[path = "browser_computer_tests.rs"]mod tests;-#[cfg(test)]#[path = "browser_task_outcome_tests.rs"]mod task_outcome_tests;