Skip to content

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

refactor: simplify component id construction and imports

Steven Enamakel6e7c9f73d976
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
index 31610ce294..f279a540ed 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_workspace_owner_tests.rs
@@ -211,11 +211,11 @@ async fn driver_job_controls_are_isolated_by_workspace_with_shared_runtime_state
.register(&mut harness, None);
let mut status_a = tinyagents_harness::events::HarnessRunStatus::new(
run_a.run_id().clone(),
- tinyagents_harness::ComponentId::new("workspace-a-control".into()),
+ tinyagents_harness::ComponentId::new("workspace-a-control"),
);
let mut status_b = tinyagents_harness::events::HarnessRunStatus::new(
run_b.run_id().clone(),
- tinyagents_harness::ComponentId::new("workspace-b-control".into()),
+ tinyagents_harness::ComponentId::new("workspace-b-control"),
);
let mut agent_run_a = tinyagents_harness::middleware::AgentRun::new();
let mut agent_run_b = tinyagents_harness::middleware::AgentRun::new();
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 9cb616b69d..7a7d619ce5 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -18,8 +18,8 @@ use tinyagents_orchestration::subagent::{
ArtifactReference, PreparedSubagent, SubagentCapabilities, SubagentDriver, SubagentError,
SubagentExecution, SubagentExecutor, SubagentIncomplete, SubagentOutcome, SubagentOutcomeKind,
SubagentPause, SubagentPausePersistenceDisposition, SubagentPlanner, SubagentRequest,
- SubagentPersistenceDisposition, SubagentResume, SubagentRunResult, SubagentTaskKey,
- SubagentTerminalPersistenceDisposition,
+ SubagentPersistence, SubagentPersistenceDisposition, SubagentResume, SubagentRunResult,
+ SubagentTaskKey, SubagentTerminalPersistenceDisposition,
};
use tinyagents_runtime::ToolSnapshot;
use tinyinference_llm::{