Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(agent_runs): update module paths for orchestration controllers

Steven Enamakelea3fbfb61a9b
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
index 4bb5070d9c..90685b62b8 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
@@ -120,7 +120,7 @@ impl Pair {
}
async fn control(function: &str, task: &str) -> serde_json::Value {
- let controller = crate::agent::orchestration::subagent_control::all_registered_controllers()
+ let controller = crate::agent_runs::subagent_control::all_registered_controllers()
.into_iter()
.find(|c| c.schema.function == function)
.expect("public controller");
@@ -206,7 +206,7 @@ async fn saas_dispatch_exposes_only_the_callers_detached_worker_controls() {
);
assert!(crate::core::all::schema_for_rpc_method("openhuman.config_get_config").is_none());
let unreviewed =
- crate::agent::orchestration::command_center::all_command_center_registered_controllers(
+ crate::agent_runs::command_center::all_command_center_registered_controllers(
)
.into_iter()
.find(|controller| controller.schema.function == "list")
diff --git a/crates/openhuman-core/src/core/all.rs b/crates/openhuman-core/src/core/all.rs
index fa47bd4705..25db29de75 100644
--- a/crates/openhuman-core/src/core/all.rs
+++ b/crates/openhuman-core/src/core/all.rs
@@ -690,31 +690,31 @@ fn build_registered_controllers() -> Vec<GroupedController> {
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::orchestration::all_command_center_registered_controllers(),
+ crate::agent_runs::all_command_center_registered_controllers(),
);
// Durable dynamic workflow runs — definitions + read surface over the run ledger
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::orchestration::all_workflow_run_registered_controllers(),
+ crate::agent_runs::all_workflow_run_registered_controllers(),
);
// Durable agent-team coordination — teams, members, dependency-aware task claiming, messaging
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::orchestration::all_agent_team_registered_controllers(),
+ crate::agent_runs::all_agent_team_registered_controllers(),
);
// Git-worktree isolation manager — list / status / diff / remove worker worktrees (#3376)
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::orchestration::all_worktree_registered_controllers(),
+ crate::agent_runs::all_worktree_registered_controllers(),
);
// User-driven cancel of detached background sub-agents (#3711)
push(
&mut controllers,
DomainGroup::Agent,
- crate::agent::orchestration::all_subagent_control_registered_controllers(),
+ crate::agent_runs::all_subagent_control_registered_controllers(),
);
// SaaS operator plane: provision and inspect user profiles.
push(
diff --git a/crates/openhuman-core/src/inference/host_runtime/schemas.rs b/crates/openhuman-core/src/inference/host_runtime/schemas.rs
index 5806dc6a94..8c91880ca9 100644
--- a/crates/openhuman-core/src/inference/host_runtime/schemas.rs
+++ b/crates/openhuman-core/src/inference/host_runtime/schemas.rs
@@ -14,7 +14,7 @@ use crate::core::{ControllerSchema, FieldSchema, TypeSchema};
/// Params for `inference.agent_chat` and `inference.agent_chat_simple`.
///
-/// A near-copy of the params in [`crate::agent::schemas`], which
+/// A near-copy of the params in [`crate::agent_runs::schemas`], which
/// backs the `agent.chat` / `agent.chat_simple` namespace over the same ops.
/// The two diverge in one field: only this surface accepts a per-call
/// `inference_url` + `api_key`, because `agent.chat` describes a turn on the