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
refactor(orchestration): import steering helpers from new module
Steven Enamakele0cb39a57385
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rsindex a696ed18d8..6fa3972e62 100644--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/steering.rs@@ -2,7 +2,9 @@use tinyagents_harness::ids::TaskId;use tinyagents_harness::run_queue::QueueLane;-use tinyagents_orchestration::subagent::{steer_detached, SteerAccess, SteerError};+use tinyagents_orchestration::steering::{+ queue_lane_name, steer_detached, SteerAccess, SteerError,+};use super::cancel::now_ms;use super::registry::{control_admits, owner_key, registry};@@ -44,7 +46,7 @@ pub async fn steer(.await?;tracing::info!(task_id,- lane = tinyagents_orchestration::subagent::queue_lane_name(lane),+ lane = queue_lane_name(lane),?route,"[running_subagents] steered detached task");@@ -97,7 +99,7 @@ pub(crate) async fn steer_control(.await?;tracing::info!(task_id,- lane = tinyagents_orchestration::subagent::queue_lane_name(lane),+ lane = queue_lane_name(lane),?route,"[running_subagents] control-steered detached task");diff --git a/crates/openhuman-core/src/agent_runs/subagent_control.rs b/crates/openhuman-core/src/agent_runs/subagent_control.rsindex e1d43165d7..427dee6bd0 100644--- a/crates/openhuman-core/src/agent_runs/subagent_control.rs+++ b/crates/openhuman-core/src/agent_runs/subagent_control.rs@@ -16,7 +16,7 @@use crate::core::runtime::DispatchCtx;use serde_json::{json, Map, Value};-use tinyagents_orchestration::subagent::SteerError;+use tinyagents_orchestration::steering::SteerError;use crate::agent::orchestration::running_subagents::CancelledSubagent;use crate::agent::orchestration::{background_completions, running_subagents, subagent_sessions};diff --git a/crates/openhuman-core/src/tools/rules/ops.rs b/crates/openhuman-core/src/tools/rules/ops.rsindex 1e3f31592b..01bddbd616 100644--- a/crates/openhuman-core/src/tools/rules/ops.rs+++ b/crates/openhuman-core/src/tools/rules/ops.rs@@ -149,6 +149,7 @@ pub fn child_rule_policy(Some(Arc::new(ToolRulePolicy {rules: Arc::new(set),context,+ permission_ceiling: None,}))}@@ -184,5 +185,9 @@ impl crate::agent::tinyagents::host::OpenHumanRunContext {/// The harness policy for one turn: `rules` evaluated in `context`.#[must_use]pub fn turn_rule_policy(rules: Arc<ToolRuleSet>, context: RuleContext) -> ToolRulePolicy {- ToolRulePolicy { rules, context }+ ToolRulePolicy {+ rules,+ context,+ permission_ceiling: None,+ }}