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 upstream/main into storage-cron-flows; bump tinyflows to fe508cad
Steven Enamakel084ed215056f
diff --cc crates/openhuman-cli/Cargo.tomlindex e39658e4a4,0d0cc8cfe7..e15948e9fc--- a/crates/openhuman-cli/Cargo.toml+++ b/crates/openhuman-cli/Cargo.toml@@@ -89,11 -93,12 +93,17 @@@ path = "../../tests/storage_approvals_ename = "storage_domains_e2e"path = "../../tests/storage_domains_e2e.rs"+[[test]]+# Its own binary: it installs a storage backend into the process-wide slot.+name = "storage_flows_e2e"+path = "../../tests/storage_flows_e2e.rs"++ [[test]]+ # Its own binary: it installs a storage backend into the process-wide slot and+ # sets the keyring master-key environment.+ name = "storage_secrets_e2e"+ path = "../../tests/storage_secrets_e2e.rs"+[[test]]name = "embedded_server_shutdown_e2e"path = "../../tests/embedded_server_shutdown_e2e.rs"diff --cc crates/openhuman-core/src/storage/README.mdindex e8914e9b6f,7f17ebd280..14e34a43d4--- a/crates/openhuman-core/src/storage/README.md+++ b/crates/openhuman-core/src/storage/README.md@@@ -52,15 -52,15 +52,24 @@@ on `storage-mongodb`approvals (`security::approval`), paired devices (`security::devices`),notifications (`desktop::notifications`) and task sources(`integrations::task_sources`).+- tinyflows' own stores on the ports (`tinyflows-drivers`), picked per call+ the same way: cron jobs and runs (`cron::store`, `CronDocuments`), the flow+ catalog and drafts (`flows::store`, `flows::draft_store`,+ `FlowCatalogDocuments`), per-flow engine state and dedup settlement+ (`flows::tinyflows::state::FlowState`), and the flow-run checkpointer+ (`DriverCheckpointer`). The delegation graph's checkpointer uses+ tinyagents-graph's `DriverCheckpointer`.+- `block_on_anyhow(future)`: `block_on` for those stores, whose errors are+ `anyhow::Error` (a typed `FlowUpdateError` passes through unchanged).+ - Approvals (`security::approval`), through `store_documents.rs`.+ - Secrets (`storage::secrets`): the keyring's user secrets+ (`security::keyring::get` / `set` / `delete`) and the credential stores'+ files (`auth-profiles.json`, `http-credentials.json`) become encrypted+ documents (`DocumentSecrets`, `enc2:`) in the acting agent's scope. Each+ scope's data key is derived with HKDF-SHA256 from the keyring master key+ (`OPENHUMAN_KEYRING_MASTER_KEY` / `_FILE`, else the OS keychain); with no+ master key they fail closed. The config encryption key stays on the+ process keyring, because `config.toml` is loaded before any agent acts.## Boundariesdiff --cc vendor/tinyflowsindex d945b082f3,f9df351f2c..fe508caddc--- a/vendor/tinyflows+++ b/vendor/tinyflows@@@ -1,1 -1,1 +1,1 @@@- Subproject commit d945b082f3d9ce4a34f84dde8f56a9c1012d7b27-Subproject commit f9df351f2cd73db99dd9ea19560001a4c35a12bc++Subproject commit fe508caddc62402ea6ac5eda3e2db8943eb39d10