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(subagent_host): clean up imports in subagent host components
Steven Enamakele0e47b2e5292
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rsindex 6537189237..82e18b157d 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs@@ -14,7 +14,7 @@ use tinyagents_harness::tool::ToolSnapshot;use tinyagents_orchestration::subagent::{ArtifactReference, PreparedSubagent, SubagentCapabilities, SubagentDriver, SubagentError,SubagentExecution, SubagentExecutor, SubagentIncomplete, SubagentOutcome, SubagentOutcomeKind,- SubagentPause, SubagentPausePersistenceDisposition, SubagentPersistence,+ SubagentPause, SubagentPausePersistenceDisposition,SubagentPersistenceDisposition, SubagentPlanner, SubagentRequest, SubagentResume,SubagentRunResult, SubagentTaskKey, SubagentTerminalPersistenceDisposition,};diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rsindex fd717cfc8c..cb804dd7b6 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs@@ -1,8 +1,5 @@use crate::agent::subagent_host::types::SubagentCheckpointData;-use std::{- collections::HashMap,- sync::{Arc, Mutex},-};+use std::sync::Arc;use tinyagents_orchestration::subagent::{PersistedSubagentPause, SubagentOutcome, SubagentOutcomeKind, SubagentPause,SubagentPausePersistenceDisposition, SubagentPersistence, SubagentResume, SubagentTaskKey,diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests.rsindex 5bbc60dc1f..df8d6f5f4b 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs@@ -1,4 +1,5 @@use super::*;+use crate::agent::subagent_host::SubagentRunOutcome;use tinyagents_definition::{ModelSpec, ToolScope};use tinytools::Tool;diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rsindex eb1d572e89..811d26ebf5 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests_trace_export_tests.rs@@ -1,5 +1,5 @@use super::*;-use crate::agent::subagent_host::spawn_async_via_driver_tool_with_jobs;+use crate::agent::subagent_host::{spawn_async_via_driver_tool_with_jobs, SubagentRunStatus};/// The native journal tree must preserve the exact run identity handed to the/// prepared child by Tiny's driver, including the host lifecycle link and the