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/flows/caps_host/agent.rs,crates/openhuman-core/src/fl
Steven Enamakel1e865f9f7852
diff --git a/crates/openhuman-core/src/flows/caps_host/agent.rs b/crates/openhuman-core/src/flows/caps_host/agent.rsindex 237b39b127..c01160d12a 100644--- a/crates/openhuman-core/src/flows/caps_host/agent.rs+++ b/crates/openhuman-core/src/flows/caps_host/agent.rs@@ -11,12 +11,12 @@use std::borrow::Cow;use std::sync::Arc;-use serde_json::{json, Value};+use serde_json::{Value, json};use super::*;use crate::config::Config;use crate::flows::agent_route::{- harness_model_default_override, route_custom_entry_lookup, route_for_agent_ref, AgentRoute,+ AgentRoute, harness_model_default_override, route_custom_entry_lookup, route_for_agent_ref,};use crate::modules::tinyflows as module;@@ -503,7 +503,8 @@ impl OpenHumanAgentRunner {}};- self.format_agent_result(agent_ref, request, final_text).await+ self.format_agent_result(agent_ref, request, final_text)+ .await}/// Persona-shaping single-completion fallback for a customdiff --git a/crates/openhuman-core/src/flows/caps_host/binding.rs b/crates/openhuman-core/src/flows/caps_host/binding.rsindex a6dd560eb2..8f938baf20 100644--- a/crates/openhuman-core/src/flows/caps_host/binding.rs+++ b/crates/openhuman-core/src/flows/caps_host/binding.rs@@ -1,7 +1,7 @@//! One trusted `CapsHost` callback object for a single TinyFlows run.-use std::{collections::HashMap, sync::Arc};use std::future::Future;+use std::{collections::HashMap, sync::Arc};use crate::config::Config;use crate::core::runtime::DispatchCtx;@@ -37,11 +37,9 @@ impl CapsHostBinding {/// bus callback that runs on the module runtime.pub(crate) async fn within<F: Future>(&self, future: F) -> F::Output {match self.ctx.core() {- Some(context) => crate::core::runtime::CoreContext::scope(- Arc::clone(context),- future,- )- .await,+ Some(context) => {+ crate::core::runtime::CoreContext::scope(Arc::clone(context), future).await+ }None => future.await,}}@@ -65,9 +63,7 @@ pub(crate) async fn serve() -> Result<CapsHostRegistration, String> {let origin = crate::agent::turn_origin::AgentTurnOrigin::TrustedAutomation {job_id: flow_id.clone(),- source: crate::agent::turn_origin::TrustedAutomationSource::Workflow {- require_approval,- },+ source: crate::agent::turn_origin::TrustedAutomationSource::Workflow { require_approval },};let ctx = ctx.with_turn_origin(origin);let security = Arc::new(crate::security::SecurityPolicy::from_config(diff --git a/crates/openhuman-core/src/flows/caps_host/code.rs b/crates/openhuman-core/src/flows/caps_host/code.rsindex 2b307277ae..c00a23b368 100644--- a/crates/openhuman-core/src/flows/caps_host/code.rs+++ b/crates/openhuman-core/src/flows/caps_host/code.rs@@ -8,7 +8,7 @@use crate::core::runtime::DispatchCtx;use std::sync::Arc;-use serde_json::{json, Value};+use serde_json::{Value, json};use super::*;use crate::config::Config;diff --git a/crates/openhuman-core/src/flows/caps_host/http.rs b/crates/openhuman-core/src/flows/caps_host/http.rsindex 7076b908fb..84651017ae 100644--- a/crates/openhuman-core/src/flows/caps_host/http.rs+++ b/crates/openhuman-core/src/flows/caps_host/http.rs@@ -11,19 +11,21 @@use std::sync::Arc;-use serde_json::{json, Value};+use serde_json::{Value, json};use super::*;use crate::config::{Config, HttpRequestConfig};-use crate::security::credentials::{HttpCredential, HttpCredentialsStore};+use crate::modules::tinyflows as module;use crate::security::SecurityPolicy;+use crate::security::credentials::{HttpCredential, HttpCredentialsStore};use crate::tools::http_request_tool;-use crate::modules::tinyflows as module;use tinybox_bus::CommandClass;use tinytools::Tool as _;-use super::{close_audit, enforce_current_node_tier_gate, enforce_node_tier_gate, gate_call_for_tier};use super::{EngineError, Result};+use super::{+ close_audit, enforce_current_node_tier_gate, enforce_node_tier_gate, gate_call_for_tier,+};/// [`HttpClient`] adapter over `HttpRequestTool`/// (`tinytools_std::network::HttpRequestTool`, built by `tools/impl/network/host.rs`). Allowlist + DNS-rebind@@ -63,7 +65,10 @@ pub(crate) fn resolve_http_credential(store: &HttpCredentialsStore,credential_name: Option<&str>,) -> Result<Option<HttpCredential>> {- let Some(name) = credential_name.map(str::trim).filter(|name| !name.is_empty()) else {+ let Some(name) = credential_name+ .map(str::trim)+ .filter(|name| !name.is_empty())+ else {return Ok(None);};match store.get(name) {diff --git a/crates/openhuman-core/src/flows/caps_host/llm.rs b/crates/openhuman-core/src/flows/caps_host/llm.rsindex 903263d594..9bf006abfe 100644--- a/crates/openhuman-core/src/flows/caps_host/llm.rs+++ b/crates/openhuman-core/src/flows/caps_host/llm.rs@@ -7,7 +7,7 @@use std::sync::Arc;-use serde_json::{json, Value};+use serde_json::{Value, json};use super::*;use crate::config::Config;diff --git a/crates/openhuman-core/src/flows/caps_host/ops_schema_and_structured_output_tests.rs b/crates/openhuman-core/src/flows/caps_host/ops_schema_and_structured_output_tests.rsindex fcb389b9bb..1fecfb65d4 100644--- a/crates/openhuman-core/src/flows/caps_host/ops_schema_and_structured_output_tests.rs+++ b/crates/openhuman-core/src/flows/caps_host/ops_schema_and_structured_output_tests.rs@@ -6,10 +6,7 @@ use serde_json::json;fn raw_provider_models_override_the_role_default() {for raw in ["claude-opus-4", "deepseek-v4-pro"] {assert!(is_raw_passthrough_model(raw));- assert_eq!(- resolve_host_model(Some(raw), "chat-v1".to_owned()),- raw- );+ assert_eq!(resolve_host_model(Some(raw), "chat-v1".to_owned()), raw);}}@@ -21,10 +18,7 @@ fn managed_model_tiers_keep_the_provider_resolved_model() {"reasoning-v1");}- assert_eq!(- resolve_host_model(None, "chat-v1".to_owned()),- "chat-v1"- );+ assert_eq!(resolve_host_model(None, "chat-v1".to_owned()), "chat-v1");assert_eq!(resolve_host_model(Some(" "), "chat-v1".to_owned()),"chat-v1"diff --git a/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rs b/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rsindex ee4d22e1d3..dd1f541066 100644--- a/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rs+++ b/crates/openhuman-core/src/flows/caps_host/ops_tier_gate_and_timeouts_tests.rs@@ -26,18 +26,22 @@ fn http_request_node_tier_gate_blocks_readonly_allows_higher() {// Supervised/full do not hard-block — they fall through to the// ApprovalGate (which performs the Prompt round-trip).- assert!(enforce_node_tier_gate(- &policy(AutonomyLevel::Supervised),- CommandClass::Network,- "http_request"- )- .is_ok());- assert!(enforce_node_tier_gate(- &policy(AutonomyLevel::Full),- CommandClass::Network,- "http_request"- )- .is_ok());+ assert!(+ enforce_node_tier_gate(+ &policy(AutonomyLevel::Supervised),+ CommandClass::Network,+ "http_request"+ )+ .is_ok()+ );+ assert!(+ enforce_node_tier_gate(+ &policy(AutonomyLevel::Full),+ CommandClass::Network,+ "http_request"+ )+ .is_ok()+ );}/// The tier gate a `code` (Write-class) node calls: BLOCKED under read-only,@@ -46,18 +50,22 @@ fn http_request_node_tier_gate_blocks_readonly_allows_higher() {fn code_node_tier_gate_blocks_readonly_allows_full() {use crate::security::AutonomyLevel;- assert!(enforce_node_tier_gate(- &policy(AutonomyLevel::ReadOnly),- CommandClass::Write,- "code"- )- .is_err());- assert!(enforce_node_tier_gate(- &policy(AutonomyLevel::Supervised),- CommandClass::Write,- "code"- )- .is_ok());+ assert!(+ enforce_node_tier_gate(+ &policy(AutonomyLevel::ReadOnly),+ CommandClass::Write,+ "code"+ )+ .is_err()+ );+ assert!(+ enforce_node_tier_gate(+ &policy(AutonomyLevel::Supervised),+ CommandClass::Write,+ "code"+ )+ .is_ok()+ );assert!(enforce_node_tier_gate(&policy(AutonomyLevel::Full), CommandClass::Write, "code").is_ok());@@ -280,22 +288,20 @@ fn prompt_decision_escalates_default_workflow_origin() {/// escalation — it's already forced through the parking flow.#[test]fn prompt_decision_does_not_re_escalate_already_gated_workflow() {- assert!(escalated_origin_for_prompt(- GateDecision::Prompt,- Some(workflow_origin("flow-1", true))- )- .is_none());+ assert!(+ escalated_origin_for_prompt(GateDecision::Prompt, Some(workflow_origin("flow-1", true)))+ .is_none()+ );}/// An `Allow` tier decision never escalates, regardless of the workflow's/// `require_approval` toggle — Full-tier runs keep running unattended.#[test]fn allow_decision_never_escalates() {- assert!(escalated_origin_for_prompt(- GateDecision::Allow,- Some(workflow_origin("flow-1", false))- )- .is_none());+ assert!(+ escalated_origin_for_prompt(GateDecision::Allow, Some(workflow_origin("flow-1", false)))+ .is_none()+ );}/// No scoped origin (or a non-Workflow origin) never escalates — there isdiff --git a/crates/openhuman-core/src/flows/caps_host/ops_tier_live_config_tests.rs b/crates/openhuman-core/src/flows/caps_host/ops_tier_live_config_tests.rsindex 091c9bf0a4..7e9613c657 100644--- a/crates/openhuman-core/src/flows/caps_host/ops_tier_live_config_tests.rs+++ b/crates/openhuman-core/src/flows/caps_host/ops_tier_live_config_tests.rs@@ -190,15 +190,17 @@ async fn captured_agent_and_config_fn_tiers_are_not_replaced_by_parent_file() {&captured.workspace_dir,&captured.action_dir,);- assert!(enforce_current_node_tier_gate(- &captured_ctx,- &captured,- &captured_policy,- CommandClass::Write,- "code"- )- .await- .is_err());+ assert!(+ enforce_current_node_tier_gate(+ &captured_ctx,+ &captured,+ &captured_policy,+ CommandClass::Write,+ "code"+ )+ .await+ .is_err()+ );// A fixed ceiling contributes independently of a disabled file tier.parent_file.autonomy.enabled = false;diff --git a/crates/openhuman-core/src/flows/caps_host/service.rs b/crates/openhuman-core/src/flows/caps_host/service.rsindex d75b08f378..ebf2acdc4c 100644--- a/crates/openhuman-core/src/flows/caps_host/service.rs+++ b/crates/openhuman-core/src/flows/caps_host/service.rs@@ -2,7 +2,7 @@use std::sync::Arc;-use serde_json::{Value, json};+use serde_json::Value;use tinyflows_bus::runs;use crate::security::credentials::HttpCredentialsStore;@@ -22,8 +22,6 @@ impl CapsHostService {pub(crate) fn new(binding: Arc<CapsHostBinding>) -> Self {Self(binding)}--}#[tinybus::interface(name = "ai.tinyhumans.tinyflows.CapsHost")]@@ -105,7 +103,10 @@ impl CapsHostService {.map_err(bus_error)}- async fn shell_run(&self, _request: runs::ShellRunRequest) -> tinybus::Result<runs::ShellRunOutcome> {+ async fn shell_run(+ &self,+ _request: runs::ShellRunRequest,+ ) -> tinybus::Result<runs::ShellRunOutcome> {Err(tinybus::Error::failed("shell execution is disabled for workflow runs",))@@ -166,14 +167,15 @@ impl CapsHostService {.map_err(bus_error)}- async fn agent_run(&self, request: runs::AgentRunRequest) -> tinybus::Result<runs::AgentRunHandle> {+ async fn agent_run(+ &self,+ request: runs::AgentRunRequest,+ ) -> tinybus::Result<runs::AgentRunHandle> {let handle = uuid::Uuid::new_v4().simple().to_string();- let state = Arc::new(tokio::sync::Mutex::new(super::agent::AgentRunState::default()));- self.0- .agent_runs- .lock()- .await- .insert(handle.clone(), state);+ let state = Arc::new(tokio::sync::Mutex::new(+ super::agent::AgentRunState::default(),+ ));+ self.0.agent_runs.lock().await.insert(handle.clone(), state);let binding = Arc::clone(&self.0);tokio::spawn(async move {if let Err(error) = service_agent::run_agent(binding.clone(), request).await {@@ -225,7 +227,8 @@ impl CapsHostService {&binding.config.workspace_dir,).map_err(|error| error.to_string())?;- let registry = crate::agent::harness::host_definition::AgentDefinitionRegistry::current();+ let registry =+ crate::agent::harness::host_definition::AgentDefinitionRegistry::current();registry.and_then(|registry| registry.get(&id).cloned()).map(to_bus_agent_definition)@@ -244,9 +247,17 @@ impl CapsHostService {&binding.config.workspace_dir,).map_err(|error| error.to_string())?;- let registry = crate::agent::harness::host_definition::AgentDefinitionRegistry::current();+ let registry =+ crate::agent::harness::host_definition::AgentDefinitionRegistry::current();registry- .map(|registry| registry.list().into_iter().cloned().map(to_bus_agent_definition).collect())+ .map(|registry| {+ registry+ .list()+ .into_iter()+ .cloned()+ .map(to_bus_agent_definition)+ .collect()+ }).unwrap_or_else(|| Ok(Vec::new()))}).await@@ -294,13 +305,9 @@ impl CapsHostService {Ok(runs::ApprovalOutcome::Pending)}- async fn approval_cancel(- &self,- _request: runs::ApprovalCancelRequest,- ) -> tinybus::Result<()> {+ async fn approval_cancel(&self, _request: runs::ApprovalCancelRequest) -> tinybus::Result<()> {// Graph approval rows are module-owned; cancellation is represented// by the module's run lifecycle and does not cancel tool approvals.Ok(())}}-diff --git a/crates/openhuman-core/src/flows/caps_host/service_agent.rs b/crates/openhuman-core/src/flows/caps_host/service_agent.rsindex e4fad3e508..6685fda7d3 100644--- a/crates/openhuman-core/src/flows/caps_host/service_agent.rs+++ b/crates/openhuman-core/src/flows/caps_host/service_agent.rs@@ -5,8 +5,8 @@ use std::sync::Arc;use serde_json::{Value, json};use tinyflows_bus::runs;-use super::binding::CapsHostBinding;use super::agent::{AgentRunState, OpenHumanAgentRunner};+use super::binding::CapsHostBinding;pub(crate) async fn run_agent(binding: Arc<CapsHostBinding>,@@ -18,8 +18,7 @@ pub(crate) async fn run_agent(let progress = tokio::spawn(async move {while let Some(event) = progress_rx.recv().await {if let crate::agent::progress::AgentProgress::TurnCompleted {- stop: Some(stop),- ..+ stop: Some(stop), ..} = &event{progress_state.lock().await.turn_stop = Some(stop.clone());@@ -156,19 +155,20 @@ fn progress_event(event: crate::agent::progress::AgentProgress) -> Option<(Strinuse crate::agent::progress::AgentProgress;match event {AgentProgress::TurnStarted => Some(("turn_started".into(), "Agent turn started".into())),- AgentProgress::IterationStarted { iteration, .. } => Some((- "iteration_started".into(),- format!("Iteration {iteration}"),- )),- AgentProgress::ToolCallStarted { tool_name, .. } => Some((- "tool_call_started".into(),- format!("Calling {tool_name}"),- )),+ AgentProgress::IterationStarted { iteration, .. } => {+ Some(("iteration_started".into(), format!("Iteration {iteration}")))+ }+ AgentProgress::ToolCallStarted { tool_name, .. } => {+ Some(("tool_call_started".into(), format!("Calling {tool_name}")))+ }AgentProgress::ToolCallCompleted {tool_name, success, ..} => Some(("tool_call_completed".into(),- format!("{tool_name} {}", if success { "completed" } else { "failed" }),+ format!(+ "{tool_name} {}",+ if success { "completed" } else { "failed" }+ ),)),AgentProgress::TextDelta { delta, .. } if !delta.is_empty() => {Some(("text_delta".into(), delta))diff --git a/crates/openhuman-core/src/flows/caps_host/service_helpers.rs b/crates/openhuman-core/src/flows/caps_host/service_helpers.rsindex 8c85984f98..b8eaa9ce8b 100644--- a/crates/openhuman-core/src/flows/caps_host/service_helpers.rs+++ b/crates/openhuman-core/src/flows/caps_host/service_helpers.rs@@ -4,8 +4,8 @@ use std::sync::Arc;use tinyflows_bus::runs;-use super::super::binding::CapsHostBinding;use super::super::OpenHumanMemory;+use super::super::binding::CapsHostBinding;pub(super) fn memory(binding: &CapsHostBinding) -> OpenHumanMemory {OpenHumanMemory {diff --git a/crates/openhuman-core/src/flows/caps_host/tier.rs b/crates/openhuman-core/src/flows/caps_host/tier.rsindex c064aa7893..31505905fb 100644--- a/crates/openhuman-core/src/flows/caps_host/tier.rs+++ b/crates/openhuman-core/src/flows/caps_host/tier.rs@@ -5,8 +5,8 @@//! is allowed outright, needs a human, or is refused; the approval gate is what//! actually performs the round-trip when a human is needed.-use serde_json::Value;use super::{EngineError, Result};+use serde_json::Value;use crate::security::{GateDecision, SecurityPolicy};use tinybox_bus::CommandClass;diff --git a/crates/openhuman-core/src/flows/caps_host/tools/composio.rs b/crates/openhuman-core/src/flows/caps_host/tools/composio.rsindex 6c183131e8..4e4225cc8b 100644--- a/crates/openhuman-core/src/flows/caps_host/tools/composio.rs+++ b/crates/openhuman-core/src/flows/caps_host/tools/composio.rs@@ -1,5 +1,6 @@//! Thin `tinyflows` adapter for the Composio-owned flow backend.+use super::super::{EngineError, Result};use super::{ToolBackend, ToolCallCtx};use crate::config::Config;use crate::core::runtime::DispatchCtx;@@ -8,7 +9,6 @@ use crate::security::approval::ApprovalTurnContext;use crate::security::{GateDecision, SecurityPolicy};use async_trait::async_trait;use serde_json::Value;-use super::super::{EngineError, Result};pub(crate) struct ComposioToolBackend;diff --git a/crates/openhuman-core/src/flows/caps_host/tools/mod.rs b/crates/openhuman-core/src/flows/caps_host/tools/mod.rsindex 5aa5212092..d1a3a940b8 100644--- a/crates/openhuman-core/src/flows/caps_host/tools/mod.rs+++ b/crates/openhuman-core/src/flows/caps_host/tools/mod.rs@@ -32,8 +32,8 @@ use serde_json::Value;use crate::config::Config;use crate::core::runtime::DispatchCtx;-use crate::security::approval::ApprovalTurnContext;use crate::security::SecurityPolicy;+use crate::security::approval::ApprovalTurnContext;use super::{EngineError, Result};@@ -52,11 +52,7 @@ pub(crate) async fn classify_composio_action_for_tier(slug: &str) -> tinybox_buscrate::integrations::composio::flow_gate::classify_composio_action_for_tier(slug)}-pub(crate) async fn is_curated_flow_tool(- ctx: &DispatchCtx,- config: &Config,- slug: &str,-) -> bool {+pub(crate) async fn is_curated_flow_tool(ctx: &DispatchCtx, config: &Config, slug: &str) -> bool {crate::integrations::composio::flow_gate::is_curated_flow_tool(ctx, config, slug).await}diff --git a/crates/openhuman-core/src/flows/caps_host/tools/native.rs b/crates/openhuman-core/src/flows/caps_host/tools/native.rsindex d6e55255c7..a15d63eccb 100644--- a/crates/openhuman-core/src/flows/caps_host/tools/native.rs+++ b/crates/openhuman-core/src/flows/caps_host/tools/native.rs@@ -1,11 +1,11 @@//! Thin TinyFlows registration and error adapter for native OpenHuman tools.+use super::super::{EngineError, Result};use async_trait::async_trait;use serde_json::Value;use tinybox_bus::CommandClass;-use super::super::{EngineError, Result};-use super::{ToolBackend, ToolCallCtx, NATIVE_TOOL_PREFIX};+use super::{NATIVE_TOOL_PREFIX, ToolBackend, ToolCallCtx};pub(crate) struct NativeToolBackend;diff --git a/crates/openhuman-core/src/flows/ops/resume.rs b/crates/openhuman-core/src/flows/ops/resume.rsindex 597e85fd4e..3435e3b020 100644--- a/crates/openhuman-core/src/flows/ops/resume.rs+++ b/crates/openhuman-core/src/flows/ops/resume.rs@@ -1,5 +1,5 @@use super::*;-use tinyflows_bus::runs::{ResumeRun, ResumeRunResponse};+use tinyflows_bus::runs::ResumeRun;/// Ask TinyFlows to continue a parked workflow after a human approval/// decision. The module owns the persisted run snapshot, approval validation,@@ -48,7 +48,8 @@ pub async fn flows_resume(rejections,timeout_ms: FLOW_RUN_TIMEOUT_SECS.saturating_mul(1_000),};- let resumed: ResumeRunResponse = crate::flows::runs_adapter::resume_run(+ let resumed = crate::flows::runs_adapter::resume_and_wait(+ ctx,config,request,bindings,@@ -59,17 +60,17 @@ pub async fn flows_resume(target: "flows",flow_id,run_id = %resumed.run_id,- "[flows] flows_resume: module admitted the parked run"+ status = %resumed.status,+ pending_approvals = resumed.pending_approvals.len(),+ "[flows] flows_resume: module run segment settled");Ok(Outcome::single_log(json!({- "output": Value::Null,- "pending_approvals": Vec::<String>::new(),+ "output": resumed.output,+ "pending_approvals": resumed.pending_approvals,"thread_id": resumed.run_id,- "status": "running",- "resumed": true,}),- format!("flow resume started: {}", resumed.run_id),+ format!("flow resume {}", resumed.status),))}diff --git a/crates/openhuman-core/src/modules/tinyflows.rs b/crates/openhuman-core/src/modules/tinyflows.rsindex b004d3be35..5ebf6186af 100644--- a/crates/openhuman-core/src/modules/tinyflows.rs+++ b/crates/openhuman-core/src/modules/tinyflows.rs@@ -53,7 +53,7 @@ pub(crate) fn disabled_message() -> String {mod imp {#[cfg(not(test))]use super::MODULE_ID;- use super::{disabled_message, ServedObjectRegistration, HOST_BUS_NAME};+ use super::{HOST_BUS_NAME, ServedObjectRegistration, disabled_message};use crate::config::Config;#[cfg(not(test))]use crate::modules::ops;@@ -372,7 +372,7 @@ pub(crate) use imp::{#[cfg(not(feature = "modules"))]mod imp {- use super::{disabled_message, ServedObjectRegistration};+ use super::{ServedObjectRegistration, disabled_message};use crate::config::Config;fn unavailable(config: &Config) -> String {diff --git a/crates/openhuman-core/src/modules/tinyflows_fixture.rs b/crates/openhuman-core/src/modules/tinyflows_fixture.rsindex f1c2a78ae7..ab94e8cf2d 100644--- a/crates/openhuman-core/src/modules/tinyflows_fixture.rs+++ b/crates/openhuman-core/src/modules/tinyflows_fixture.rs@@ -1,8 +1,8 @@//! The tinyflows module linked into the test binary: the `static-link` build of//! `tinyflows-module`, attached once to the process-wide module host.-use crate::config::schema::ModuleSourceMode;use crate::config::Config;+use crate::config::schema::ModuleSourceMode;use crate::modules::{linked::register_linked, ops};use tokio::sync::OnceCell;diff --git a/crates/openhuman-core/src/modules/tinyflows_tests.rs b/crates/openhuman-core/src/modules/tinyflows_tests.rsindex 60fd1a6883..245092ba45 100644--- a/crates/openhuman-core/src/modules/tinyflows_tests.rs+++ b/crates/openhuman-core/src/modules/tinyflows_tests.rs@@ -249,6 +249,9 @@ async fn single_callback_registration_unserves_when_its_guard_drops() {.await.expect("registration guard drop removes its interface");drop(context);- assert!(weak_context.upgrade().is_none(), "callback context is released");+ assert!(+ weak_context.upgrade().is_none(),+ "callback context is released"+ );assert!(proxy.call::<serde_json::Value>("Ping", ()).await.is_err());}