Skip to content

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

refactor: qualify re-exported types with their crate paths

Steven Enamakel065b017ff04a
diff --git a/crates/openhuman-core/src/agent/orchestration/ops_tests.rs b/crates/openhuman-core/src/agent/orchestration/ops_tests.rs
index 4fe15e2d0c..531ea62051 100644
--- a/crates/openhuman-core/src/agent/orchestration/ops_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/ops_tests.rs
@@ -1,4 +1,5 @@
use super::*;
+use tinyagents_tasks::OrchestrationTaskStatus;
use crate::agent::harness::definition::AgentDefinitionRegistry;
use crate::agent::harness::fork_context::{with_parent_context, ParentExecutionContext};
use crate::agent::prompts::ToolCallFormat;
diff --git a/crates/openhuman-core/src/inference/host_runtime/mod.rs b/crates/openhuman-core/src/inference/host_runtime/mod.rs
index c79182ca00..fabd370a8d 100644
--- a/crates/openhuman-core/src/inference/host_runtime/mod.rs
+++ b/crates/openhuman-core/src/inference/host_runtime/mod.rs
@@ -36,4 +36,3 @@ pub use schemas::{
all_controller_schemas as all_local_inference_controller_schemas,
all_registered_controllers as all_local_inference_registered_controllers,
};
-use tinyinference_local::service::LocalAiService;
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
index bdd031b4c7..ff61db3208 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
+++ b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
@@ -21,9 +21,9 @@ async fn the_module_defers_a_summary_until_requested() {
);
return;
}
- let seen = std::sync::Arc::new(std::sync::Mutex::new(None::<types::GenerateRequest>));
+ let seen = std::sync::Arc::new(std::sync::Mutex::new(None::<tinyjuice_bus::wire::GenerateRequest>));
let sink = seen.clone();
- let ticket = generate::register(Box::new(move |request: types::GenerateRequest| {
+ let ticket = generate::register(Box::new(move |request: tinyjuice_bus::wire::GenerateRequest| {
*sink.lock().unwrap() = Some(request);
Box::pin(async { Ok("the rate limit is 60 requests a minute".to_string()) })
}));
@@ -249,7 +249,7 @@ fn install_request_summarizes_only_on_request_under_a_64k_cap() {
assert!(request.options.llm_summary_enabled);
assert_eq!(
request.options.llm_summary_mode,
- types::LlmSummaryMode::OnDemand,
+ tinyjuice_bus::types::LlmSummaryMode::OnDemand,
"ingest must never call the summary model on its own"
);
assert_eq!(request.options.llm_summary_max_input_tokens, 64_000);
@@ -273,11 +273,11 @@ async fn released_queries_keep_cached_originals_in_the_module_and_accept_artifac
};
install_from_config(&config).await.unwrap();
let content = format!("{}\nmodule-owned-needle\n", "boring row\n".repeat(2000));
- let compressed: types::CompressedOutput = client(&config)
+ let compressed: tinyjuice_bus::types::CompressedOutput = client(&config)
.call(
"tinyjuice",
methods::COMPRESS,
- (content.clone(), types::ContentHint::default()),
+ (content.clone(), tinyjuice_bus::types::ContentHint::default()),
)
.await
.unwrap();
diff --git a/crates/openhuman-core/src/web3/wallet/mod.rs b/crates/openhuman-core/src/web3/wallet/mod.rs
index e6f36bb6d1..1dcdb26cea 100644
--- a/crates/openhuman-core/src/web3/wallet/mod.rs
+++ b/crates/openhuman-core/src/web3/wallet/mod.rs
@@ -86,12 +86,7 @@ pub use {
ops::reveal_recovery_phrase, ops::setup, ops::status, ops::RevealRecoveryPhraseResult,
ops::WalletSetupParams,
};
-use {
- tinywallet_web3::crypto::wallet::WalletAccount, tinywallet_web3::crypto::wallet::WalletChain,
- tinywallet_web3::crypto::wallet::WalletSetupSource,
- tinywallet_web3::crypto::wallet::WalletStatus,
- tinywallet_web3::quote::WALLET_NOT_CONFIGURED_MESSAGE,
-};
+
// ---------------------------------------------------------------------------
// Disabled facade — compiled only when the `web3` feature is OFF.