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 tinywallet-release-0192
Steven Enamakel560a4ecf5dab
diff --cc crates/openhuman-core/src/flows/tinyflows/caps/code.rsindex 58eae1dead,62e69bfee6..dfe87a0aeb--- a/crates/openhuman-core/src/flows/tinyflows/caps/code.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/code.rs@@@ -148,7 -151,7 +151,7 @@@ impl CodeRunner for OpenHumanCode"[flows] code: running sandboxed script");- execute_in_sandbox(&DispatchCtx::ambient(),- execute_in_sandbox(&dispatch,++ execute_in_sandbox(&dispatch,&policy,&command,&self.config.action_dir,diff --cc crates/openhuman-core/src/security/credentials/ops/credential.rsindex 52b997e90e,1a1ebf4176..335b01c3ea--- a/crates/openhuman-core/src/security/credentials/ops/credential.rs+++ b/crates/openhuman-core/src/security/credentials/ops/credential.rs@@@ -295,12 -295,12 +295,12 @@@ pub async fn set_credentiallogs.push("credential refreshed (same secret, same user)".to_string());config.clone()} else {- logs.extend(activate_user_scope(&user_id)?);+ logs.extend(activate_user_scope(ctx, &user_id)?);// Reload so auth-profiles.json, the encryption key and the workspace// resolve to the user-scoped location before the profile is written.- let effective = reload_config_or(&ctx, config).await?;+ let effective = reload_config_or(ctx, config).await?;if resolved.kind == CredentialKind::Local {- match crate::config::ops::set_onboarding_completed(&ctx, false).await {+ match crate::config::ops::set_onboarding_completed(ctx, false).await {Ok(_) => {logs.push("onboarding left incomplete for local session setup".to_string())}diff --cc scripts/ci/check-openhuman-rust-layout.mjsindex 426d3248a8,e5ffcdc9d0..4f8a123ac8--- a/scripts/ci/check-openhuman-rust-layout.mjs+++ b/scripts/ci/check-openhuman-rust-layout.mjs@@@ -32,10 -32,10 +32,10 @@@ const LEGACY_LIMIT_ENTRIES =// provider, security, memory, tool and prompt policy. Generic session// state moved to tinyagents-runtime; this remaining composition is split in// a follow-up without reintroducing an old harness/session exception.- ["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 974],+ ["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 965],- ["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1241],+ ["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1235],["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1045],- ["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1173],+ ["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1171],// These established external test modules grew with upstream coverage. Pin// their current sizes while follow-up work separates their test concerns.// `core/` was pruned from the line limit by name until these pins; itsdiff --cc scripts/ci/saas-ambient-baseline.jsonindex fd0b49cdef,08a4a4db5b..fa7b923aad--- a/scripts/ci/saas-ambient-baseline.json+++ b/scripts/ci/saas-ambient-baseline.json@@@ -135,7 -114,7 +114,7 @@@{"rule": "home-dir","path": "crates/openhuman-core/src/channels/host/adapters.rs",-- "line": 289,++ "line": 291,"text": ".map(|u| u.home_dir().to_path_buf())","occurrence": 1},@@@ -660,7 -646,7 +646,7 @@@{"rule": "bare-spawn","path": "crates/openhuman-core/src/integrations/composio/bus/config_changed_subscriber.rs",- "line": 64,- "line": 74,++ "line": 73,"text": "tokio::spawn(async move {","occurrence": 1},@@@ -674,7 -660,63 +660,63 @@@{"rule": "bare-spawn","path": "crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs",- "line": 186,- "line": 190,++ "line": 189,+ "text": "tokio::spawn(async move {",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/file_store.rs",+ "line": 34,+ "text": "tokio::task::spawn_blocking(move || marker_docs.legacy_imported(name))",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/file_store.rs",+ "line": 57,+ "text": "tokio::task::spawn_blocking(move || docs.import_if_absent(name, value))",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/file_store.rs",+ "line": 81,+ "text": "tokio::task::spawn_blocking(move || docs.load(name))",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/file_store.rs",+ "line": 106,+ "text": "tokio::task::spawn_blocking(move || docs.update(name, change))",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/file_store.rs",+ "line": 126,+ "text": "tokio::task::spawn_blocking(move || docs.save(name, &value))",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/trigger_history.rs",+ "line": 90,+ "text": "tokio::spawn(async move {",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/composio/trigger_history.rs",+ "line": 160,+ "text": "tokio::spawn(async move {",+ "occurrence": 2+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/integrations/task_sources/periodic.rs",- "line": 84,++ "line": 82,"text": "tokio::spawn(async move {","occurrence": 1},@@@ -791,10 -847,24 +847,24 @@@"occurrence": 1},{- "rule": "ambient-context",- "path": "crates/openhuman-core/src/platform/about_app/ops.rs",- "line": 43,- "text": "CoreContext::current().map_or_else(ComponentSet::all, |ctx| ctx.components())",+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/modules/storage_import_tinyjuice.rs",+ "line": 96,+ "text": "tokio::task::spawn_blocking(move || read_originals(&dir, now))",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/modules/storage_import_tinymcp.rs",- "line": 113,++ "line": 116,+ "text": "tokio::task::spawn_blocking(move || -> Result<_> {",+ "occurrence": 1+ },+ {+ "rule": "bare-spawn",+ "path": "crates/openhuman-core/src/modules/storage_import_tinywallet.rs",+ "line": 69,+ "text": "let (records, skipped) = tokio::task::spawn_blocking(move || -> Result<_> {","occurrence": 1},{@@@ -1108,7 -1199,7 +1199,7 @@@{"rule": "ambient-context","path": "crates/openhuman-core/src/tools/ops.rs",- "line": 553,- "line": 547,++ "line": 555,"text": "let domains = crate::core::runtime::context::CoreContext::current().map(|c| c.domains());","occurrence": 1},