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/agent/debug/mod_tests.rs,crates/openhuman-core/src/se
Steven Enamakel3bb45a34189d
diff --git a/crates/openhuman-core/src/agent/debug/mod_tests.rs b/crates/openhuman-core/src/agent/debug/mod_tests.rsindex 327b7b4b1e..8b103ac8e4 100644--- a/crates/openhuman-core/src/agent/debug/mod_tests.rs+++ b/crates/openhuman-core/src/agent/debug/mod_tests.rs@@ -12,12 +12,13 @@ async fn debug_dump_composes_each_flow_prompt_from_the_copilot_bus() {};AgentDefinitionRegistry::init_global(&config.workspace_dir).expect("initialize builtin registry");+ let ctx = crate::core::runtime::DispatchCtx::host_default();for (agent_id, required) in [("workflow_builder", "propose_workflow"),("flow_discovery", "suggest_workflows"),] {- let prompt = render_via_session(&config, agent_id)+ let prompt = render_via_session(&ctx, &config, agent_id).await.unwrap_or_else(|error| panic!("rendering {agent_id}: {error:#}"));assert!(diff --git a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs b/crates/openhuman-core/src/security/credentials/ops/gated_services.rsindex 647637c382..e3099f02a0 100644--- a/crates/openhuman-core/src/security/credentials/ops/gated_services.rs+++ b/crates/openhuman-core/src/security/credentials/ops/gated_services.rs@@ -49,7 +49,7 @@ pub async fn start_credential_gated_services() {// Optional TinyFlows resources warm in the background and must never hold// credential activation or ordinary chat startup on module availability.- crate::skills::bundled::schedule_flow_authoring_prewarm(ctx, config, None);+ crate::skills::schedule_flow_authoring_prewarm(ctx, config, None);// These login-gated services are mutually independent — the ONLY ordering// constraint is voice-server → standalone-dictation-listener (they contend// for the single rdev global listener on macOS). Previously each wasdiff --git a/crates/openhuman-core/src/skills/bundled/flow_authoring.rs b/crates/openhuman-core/src/skills/bundled/flow_authoring.rsindex 36c6922f30..31aa46d000 100644--- a/crates/openhuman-core/src/skills/bundled/flow_authoring.rs+++ b/crates/openhuman-core/src/skills/bundled/flow_authoring.rs@@ -18,7 +18,7 @@ use crate::core::runtime::{DispatchCtx, DomainSet};use tinyskills::{MaterializeEntry, MaterializeFile, MaterializeSource, Skill, SkillScope};use tinyflows_bus::copilot::ResourceFile;-use super::super::ops_discover::api::DiscoveryGate;+use super::super::ops_discover::DiscoveryGate;const FLOW_SKILL_ID: &str = "flow-authoring";const FLOW_ROOT_NAME: &str = "builtin-flow-skills";diff --git a/crates/openhuman-core/src/skills/ops_discover.rs b/crates/openhuman-core/src/skills/ops_discover.rsindex 63ad308f50..42a9b956a1 100644--- a/crates/openhuman-core/src/skills/ops_discover.rs+++ b/crates/openhuman-core/src/skills/ops_discover.rs@@ -25,6 +25,7 @@ pub use api::{pub use resource::{read_workflow_resource, read_workflow_resource_for};pub(crate) use api::discover_workflows_inner;+pub(crate) use api::DiscoveryGate;pub(crate) use api::load_workflow_metadata_for_domains;pub(crate) use api::load_workflow_metadata_for_with_home;pub(crate) use api::invalidate_workflow_metadata_cache;diff --git a/crates/openhuman-core/src/skills/ops_discover/scan.rs b/crates/openhuman-core/src/skills/ops_discover/scan.rsindex 950c889542..0f6d2cec8f 100644--- a/crates/openhuman-core/src/skills/ops_discover/scan.rs+++ b/crates/openhuman-core/src/skills/ops_discover/scan.rs@@ -49,17 +49,18 @@ pub(super) fn discover_filtered(_ => Vec::new(),};#[cfg(feature = "flows")]- if gate.flow_authoring_enabled()- && kinds.contains(&RootKind::Skill)- && let (Some(workspace), Some(generation)) = (workspace_dir, flow_generation)- && let Some(flow_authoring) =- crate::skills::bundled::flow_authoring::materialized_skill(- workspace,- gate,- generation,- )- {- builtin.push(flow_authoring);+ if gate.flow_authoring_enabled() && kinds.contains(&RootKind::Skill) {+ if let (Some(workspace), Some(generation)) = (workspace_dir, flow_generation) {+ if let Some(flow_authoring) =+ crate::skills::bundled::flow_authoring::materialized_skill(+ workspace,+ gate,+ generation,+ )+ {+ builtin.push(flow_authoring);+ }+ }}let extra_user_roots = workspace_dir