Skip to content

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

feat(cron): document cron module and add automation workflow catalog

Steven Enamakelabfb1ef4bea9
diff --git a/crates/openhuman-core/src/cron/README.md b/crates/openhuman-core/src/cron/README.md
index 0b977486bf..1cf5847eb1 100644
--- a/crates/openhuman-core/src/cron/README.md
+++ b/crates/openhuman-core/src/cron/README.md
@@ -52,7 +52,7 @@ Cron publishes through `core/bus.rs` using variants declared in `core/events.rs`
## Delivery modes
-A cron job's `DeliveryConfig.mode` decides where its output ends up. `DeliveryConfig::default()` is `none`; the `cron_add` tool substitutes `proactive` when an agent job is created without a `delivery` block.
+A cron job's `DeliveryConfig.mode` decides where its output ends up. `DeliveryConfig::default()` is `none`; the `cron` / `schedule` tools substitute `origin` when an agent job is created inside a conversation and `proactive` otherwise.
- `proactive`: `deliver_if_configured` publishes
`DomainEvent::ProactiveMessageRequested`. The proactive subscriber
@@ -65,8 +65,6 @@ A cron job's `DeliveryConfig.mode` decides where its output ends up. `DeliveryCo
non-web channel (Telegram, Discord, Slack, …) so the reminder ends up where
the user asked for it. The `cron_add` tool validates `to` against the
channel's `allowed_users` to reject cross-tenant targets.
-- `none`: silent; output is stored in `last_output` only.
-
- `origin`: commit the run's reply into the conversation that created the job
and send it there once (`scheduler/origin_delivery.rs`). Requires
`CronJob.origin`. Output that is blank or exactly `NO_REPLY` is
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
index 5fa1ecc077..848eb753c2 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
@@ -295,7 +295,7 @@ Capability {
name: "View Cron Jobs",
domain: "automation",
category: CapabilityCategory::Automation,
- description: "Review scheduled jobs available to the runtime.",
+ description: "Review scheduled jobs available to the runtime. A reminder or scheduled task you ask for in a chat (web or a channel such as Telegram) is delivered back into that same conversation.",
how_to: "Settings > Cron Jobs",
status: CapabilityStatus::Stable,
privacy: None,