Skip to content

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

docs(cron): update tools readme for re-exports and schedule tool

Steven Enamakel3e024db178c1
diff --git a/crates/openhuman-core/src/cron/tools/README.md b/crates/openhuman-core/src/cron/tools/README.md
index 8019a1c628..84081df0fb 100644
--- a/crates/openhuman-core/src/cron/tools/README.md
+++ b/crates/openhuman-core/src/cron/tools/README.md
@@ -3,8 +3,8 @@
Agent-facing tools over the `cron` domain. Six per-operation tools
([`add.rs`](./add.rs), [`list.rs`](./list.rs), [`update.rs`](./update.rs), [`remove.rs`](./remove.rs), [`run.rs`](./run.rs), [`runs.rs`](./runs.rs)) are the
implementation; [`collapsed.rs`](./collapsed.rs) wraps them into a single action-dispatched
-`CronTool`. All seven are re-exported wholesale by `crate::tools` (`pub use
-crate::cron::tools::*` in `tools/mod.rs`).
+`CronTool`. The cron tool types are re-exported from `crate::cron::tools`; `tools/ops.rs`
+assembles the registered tool set.
Every tool first checks `config.cron.enabled` and returns an error result
when cron is disabled.
@@ -75,9 +75,8 @@ or immediately execute a stored command or agent prompt on the host.
- `cron` domain: [`../README.md`](../README.md): job/run model, scheduler,
delivery modes, agent-job minimum interval.
-- [`schedule.rs`](./schedule.rs): the separate
- one-shot `schedule` tool built on `cron::add_once` / `cron::add_once_at`;
- not part of the collapse above.
+- [`schedule.rs`](./schedule.rs): the separate `schedule` tool for recurring and
+ one-shot jobs; it is not part of the collapse above.
- `crates/openhuman-core/src/tools/impl/meta/collapse.rs` (module path
`tinytools::collapse`): the generic
action-collapsing helper `collapsed.rs` builds on.