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(ops): consolidate imports for host_candidates
Steven Enamakel48e234493617
diff --git a/crates/openhuman-core/src/modules/ops.rs b/crates/openhuman-core/src/modules/ops.rsindex 2f69a9406d..7541f0005c 100644--- a/crates/openhuman-core/src/modules/ops.rs+++ b/crates/openhuman-core/src/modules/ops.rs@@ -38,13 +38,11 @@ use std::time::Duration;use super::types::{ModuleRecord, ModuleState, ModuleStatus};use super::{host, registry};use crate::config::Config;+use tinybus::module::platform::host_candidates;use tinybus::module::resolution::{self, Claim, Resolution, ResolutionState, ResolutionTable, Waited,};-use tinybus::module::platform::host_candidates;-use tinybus::module::{- load_first_admitted, prune_stale_versions, ReleaseAsset, ReleasePlan,-};+use tinybus::module::{load_first_admitted, prune_stale_versions, ReleaseAsset, ReleasePlan};/// Installer-owned, read-only release cache. The desktop host sets this before/// starting the embedded core; other hosts continue using the user cache.@@ -500,7 +498,7 @@ fn status_of(config: &Config, record: &ModuleRecord) -> ModuleStatus {ResolutionState::Loading => (ModuleState::Loading, None),ResolutionState::Failed(reason) => (ModuleState::Failed, Some(reason)),ResolutionState::Unresolved => {- let supported = platform::host_candidates()+ let supported = host_candidates().iter().any(|key| record.asset_for(key).is_some());if supported {