Skip to content

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

chore(cron): add missing imports for cron schema handlers and tests

Steven Enamakel160ba863ff1b
diff --git a/crates/openhuman-core/src/cron/schemas/handlers.rs b/crates/openhuman-core/src/cron/schemas/handlers.rs
index 01f0285b84..b0d89e16da 100644
--- a/crates/openhuman-core/src/cron/schemas/handlers.rs
+++ b/crates/openhuman-core/src/cron/schemas/handlers.rs
@@ -3,6 +3,7 @@ use crate::core::runtime::DispatchCtx;
use crate::core::Outcome;
use serde::de::DeserializeOwned;
use serde_json::{Map, Value};
+use tinyflows_bus::schedule::types::{CronJobPatch, DeliveryConfig};
pub(super) fn handle_add(ctx: DispatchCtx, params: Map<String, Value>) -> ControllerFuture {
Box::pin(async move {
diff --git a/crates/openhuman-core/src/cron/schemas_tests.rs b/crates/openhuman-core/src/cron/schemas_tests.rs
index 8f57768956..30f7ed8eff 100644
--- a/crates/openhuman-core/src/cron/schemas_tests.rs
+++ b/crates/openhuman-core/src/cron/schemas_tests.rs
@@ -1,5 +1,7 @@
+use super::handlers::{read_optional_u64, read_required, type_name};
use super::*;
-use serde_json::json;
+use crate::core::TypeSchema;
+use serde_json::{json, Map, Value};
use tempfile::TempDir;
async fn cron_test_runtime(config: crate::config::Config) -> crate::core::runtime::CoreRuntime {
diff --git a/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
index 49768b1055..1fa075e43d 100644
--- a/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
@@ -1,5 +1,7 @@
use super::*;
-use crate::flows::agent_route::{route_for_agent_ref, AgentRoute};
+use crate::flows::agent_route::{
+ harness_model_default_override, route_custom_entry_lookup, route_for_agent_ref, AgentRoute,
+};
use crate::flows::tinyflows::caps::OpenHumanCode;
// ── build_capabilities smoke ────────────────────────────────────────────