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(orchestration): remove unused ops module and types
Steven Enamakel975c38a13ee4
diff --git a/crates/openhuman-core/src/agent/orchestration/mod.rs b/crates/openhuman-core/src/agent/orchestration/mod.rsindex 70e99aea62..2153e14649 100644--- a/crates/openhuman-core/src/agent/orchestration/mod.rs+++ b/crates/openhuman-core/src/agent/orchestration/mod.rs@@ -5,12 +5,9 @@//! [`crate::agent::harness`] module remains responsible for prompt//! construction, tool filtering, and the actual sub-agent run loop.//!-//! Execution fans out on TinyAgents **graphs**: [`workflow_runs`] schedules-//! phase DAGs on a graph engine, [`delegation`] wires the durable-//! plan→execute⇄review→finalize graph, and parallel fanout goes through-//! `tinyagents_graph::parallel::map_reduce`. What stays here is the product-//! layer: durable SQL/JSON run ledgers, validation, cancellation semantics,-//! compatibility events, and JSON-RPC/tool response formatting.+//! Agent turns can dispatch live detached sub-agents through TinyAgents'+//! orchestration ports. OpenHuman supplies their definitions, policy,+//! persistence, steering, progress projection, and host-facing tools.//! [`running_subagents`] mirrors detached-sub-agent lifecycle into a//! TinyAgents task store.@@ -24,7 +21,6 @@ pub(crate) mod delegation;pub(crate) mod delivery_drain;pub use delegation::open_delegation_checkpointer;pub(crate) mod fleet_tools;-mod ops;#[path = "parent_context/builder.rs"]pub(crate) mod parent_context;pub(crate) mod running_subagents;@@ -32,12 +28,8 @@ pub(crate) mod spawn_parallel;pub(crate) mod subagent_events;pub(crate) mod subagent_sessions;pub mod tools;-pub mod types;pub mod worktree;-#[cfg(test)]-mod ops_tests;-#[cfg(test)]#[path = "background_completions_tenant_tests.rs"]mod background_completions_tenant_tests;@@ -46,8 +38,6 @@ mod background_completions_tenant_tests;#[path = "background_delivery_tenant_tests.rs"]mod background_delivery_tenant_tests;-pub use ops::{AgentOrchestrationSession, OrchestrationError};-/// Release the background-completion logs this process holds open. The core/// calls this on exit so a data reset can delete the workspace directory.pub async fn release_background_completion_stores() -> usize {diff --git a/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs b/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rsindex 3c8eaa3edf..9000cb0177 100644--- a/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs+++ b/crates/openhuman-core/src/agent/orchestration/parent_context/builder.rs@@ -1,10 +1,9 @@//! Shared root [`ParentExecutionContext`] builder for controller-spawned-//! orchestration tasks (#3374 PR4, extracted from the #3375 workflow engine).+//! orchestration tasks.//!-//! The workflow-run engine ([`workflow_runs::engine`]) needs to spawn real-//! sub-agents from a background task that has **no** enclosing agent turn on the-//! stack, so there is no live parent execution context for the spawn to inherit —-//! a naive spawn fails with `NoParentContext` (the TAURI-RUST-HMW regression, #4337).+//! Background host tasks that spawn real sub-agents have **no** enclosing agent+//! turn on the stack, so there is no live parent execution context for the spawn+//! to inherit — a naive spawn fails with `NoParentContext`.//!//! The fix (proven in `triage::escalation::dispatch_target_agent`) is to build a//! *root* [`ParentExecutionContext`] from a config-built [`Agent`] and hand it,