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
Merge remote-tracking branch 'upstream/main' into storage-sqlite-default
Steven Enamakel3a4098b3b203
diff --cc crates/openhuman-app/Cargo.lockindex 7cb42fc714,25dd7ce3b7..134805b38b--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@@ -8155,12 -8156,10 +8156,12 @@@ dependencies =[[package]]name = "tinystoragedrivers"- version = "0.4.0"+ version = "0.5.0"dependencies = ["tinystoragedrivers-core",+ "tinystoragedrivers-file","tinystoragedrivers-secrets",+ "tinystoragedrivers-sqlite",][[package]]@@@ -8174,21 -8173,9 +8175,21 @@@ dependencies ="tokio",]+[[package]]+name = "tinystoragedrivers-file"+version = "0.4.0"+dependencies = [+ "async-trait",+ "libc",+ "serde",+ "serde_json",+ "tinystoragedrivers-core",+ "tokio",+]+[[package]]name = "tinystoragedrivers-secrets"- version = "0.4.0"+ version = "0.5.0"dependencies = ["async-trait","chacha20poly1305",diff --cc crates/openhuman-core/src/storage/mod.rsindex 1b86bb2532,dac45cb3c8..a642cc2091--- a/crates/openhuman-core/src/storage/mod.rs+++ b/crates/openhuman-core/src/storage/mod.rs@@@ -22,8 -19,9 +22,10 @@@//! misconfigured deployment stops at boot instead of at its first write.pub mod agents;+pub mod config;pub mod documents;+ pub mod fence;+ pub mod fenced_backend;pub mod lease;mod lease_documents;mod lease_local;@@@ -87,13 -83,14 +89,14 @@@ pub fn configured_url(config: &Config)/// [`configured_url`] with the environment read made explicit, so the rule/// is testable without mutating process-wide state.pub fn url_from(env: Option<String>, config: &Config) -> Option<String> {- env.into_iter()- .chain(config.storage.url.clone())- .map(|url| url.trim().to_string())- .find(|url| !url.is_empty())+ match config::mode_from(env, config) {+ config::StorageMode::Url(url) => Some(url),+ config::StorageMode::Default | config::StorageMode::Classic => None,+ }}- /// Parses and opens the backend `url` names.+ /// Parses and opens the backend `url` names, its writes fenced by the+ /// process's lease fences ([`fence`]).////// # Errors///