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
feat(cron): add job builder and schema definitions
Steven Enamakel047280864cf4
diff --git a/crates/openhuman-core/src/cron/job_builder.rs b/crates/openhuman-core/src/cron/job_builder.rsindex 0dfdcfa511..7a18e21f28 100644--- a/crates/openhuman-core/src/cron/job_builder.rs+++ b/crates/openhuman-core/src/cron/job_builder.rs@@ -12,7 +12,7 @@ use {crate::cron, tinyflows_schedule::types::delivery_mode, tinyflows_schedule::types::CronJob,tinyflows_schedule::types::DeliveryConfig, tinyflows_schedule::types::JobOrigin,tinyflows_schedule::types::Schedule, tinyflows_schedule::types::SessionTarget,- tinyflows_sqlite::schedule::AgentJobSpec,+ tinyflows_schedule::AgentJobSpec,};/// What an agent job creation request carries; everything defaults.diff --git a/crates/openhuman-core/src/cron/mod.rs b/crates/openhuman-core/src/cron/mod.rsindex b791c99823..0b2e1c02e1 100644--- a/crates/openhuman-core/src/cron/mod.rs+++ b/crates/openhuman-core/src/cron/mod.rs@@ -60,4 +60,4 @@ pub use tinyflows_schedule::types::{ActiveHours, CronJob, CronJobPatch, CronRun, DeliveryConfig, DeliveryStatus, JobOrigin,JobType, Schedule, SessionTarget,};-pub use tinyflows_sqlite::schedule::AgentJobSpec;+pub use tinyflows_schedule::AgentJobSpec;diff --git a/crates/openhuman-core/src/cron/schemas.rs b/crates/openhuman-core/src/cron/schemas.rsindex 557516d312..c3b030f952 100644--- a/crates/openhuman-core/src/cron/schemas.rs+++ b/crates/openhuman-core/src/cron/schemas.rs@@ -382,7 +382,7 @@ fn handle_add(params: Map<String, Value>) -> ControllerFuture {&delivery_cfg,origin.as_ref(),)?;- let mut spec = tinyflows_sqlite::schedule::AgentJobSpec::new(schedule, p);+ let mut spec = tinyflows_schedule::AgentJobSpec::new(schedule, p);spec.name = name;spec.session_target = session_target;spec.model = model;diff --git a/crates/openhuman-core/src/cron/store.rs b/crates/openhuman-core/src/cron/store.rsindex d500856a73..61e293ab08 100644--- a/crates/openhuman-core/src/cron/store.rs+++ b/crates/openhuman-core/src/cron/store.rs@@ -21,7 +21,7 @@ use tinyflows_schedule::{};use super::limits;-pub use tinyflows_schedule::AgentJobSpec;+use tinyflows_schedule::AgentJobSpec;/// The cron store's own database for `config`: `<workspace>/cron/schedule.db`,/// or the agent's `<workspace>/agents/<id>/cron/schedule.db` under an embedded