Skip to content

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

refactor(cron): use openhuman_core cron types instead of tinyflows_schedule

Steven Enamakel1f1b74628748
diff --git a/crates/openhuman-embed/src/cron.rs b/crates/openhuman-embed/src/cron.rs
index 88b8ca58de..6151708471 100644
--- a/crates/openhuman-embed/src/cron.rs
+++ b/crates/openhuman-embed/src/cron.rs
@@ -62,8 +62,8 @@ use openhuman_core::config::Config;
use openhuman_core::cron::policy::{self, JobPolicy};
use openhuman_core::cron::system_jobs::SYSTEM_COMMAND_PREFIX;
use {
- tinyflows_schedule::types::CronJob, tinyflows_schedule::types::CronJobPatch,
- tinyflows_schedule::types::JobType, tinyflows_schedule::types::Schedule,
+ openhuman_core::cron::CronJob, openhuman_core::cron::CronJobPatch,
+ openhuman_core::cron::JobType, openhuman_core::cron::Schedule,
};
pub use openhuman_core::cron::system_job_handlers::SystemJobContext;
@@ -531,7 +531,7 @@ fn create(
Some(name.to_string()),
schedule,
prompt,
- tinyflows_schedule::types::SessionTarget::Isolated,
+ openhuman_core::cron::SessionTarget::Isolated,
None,
None,
false,