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
chore(cron): upgrade tinyflows to v0.8.23
Steven Enamakel40dd2ba2673c
diff --git a/crates/openhuman-core/src/cron/README.md b/crates/openhuman-core/src/cron/README.mdindex 90f1449f7e..cd6750519d 100644--- a/crates/openhuman-core/src/cron/README.md+++ b/crates/openhuman-core/src/cron/README.md@@ -437,9 +437,9 @@ Cron publishes, through [`core/bus.rs`](../core/bus.rs), these `DomainEvent` vartable, then collection) are folded into the job by the importer and bythe module's store when it opens.- A `CronJobPatch` crosses the bus as JSON and `agent_id` is a double option- whose `null` means "clear". `client::wire_operation` drops an untouched- `agent_id` until the contract skips it when unset (tinyflows branch- `agent-id-patch-fix`); without it every patch cleared the agent definition.+ whose `null` means "clear"; the contract (tinyflows v0.8.23) omits it when+ unset, so an unrelated patch leaves the agent definition alone+ (`a_patch_over_the_bus_keeps_the_agent_definition_it_does_not_mention`).- The hosted-profile sweep runs an agent-only scheduler (`JobDispatcher::agent_only`):a due shell or flow row of a profile is refused by the callback (and recordedas a failed run), never executed. The sweep ticks on the module's clock; itsdiff --git a/crates/openhuman-core/src/cron/client.rs b/crates/openhuman-core/src/cron/client.rsindex c10ea5ccfd..2c3d95dd0c 100644--- a/crates/openhuman-core/src/cron/client.rs+++ b/crates/openhuman-core/src/cron/client.rs@@ -58,27 +58,6 @@ async fn store_config(config: &Config, scope: &DocScope) -> Result<StoreConfig>})}-/// `operation` as the module's JSON.-///-/// `CronJobPatch.agent_id` is `Option<Option<_>>` whose deserializer reads a-/// present `null` as "clear the agent definition", but through tinyflows-/// v0.8.22 the serializer writes `null` for an untouched field, so every patch-/// sent over the bus would clear it. Until the contract skips the field when-/// unset (fix on tinyflows branch `agent-id-patch-fix`), an untouched-/// `agent_id` is dropped from the wire here; only an explicit clear-/// (`Some(None)`) keeps its `null`.-fn wire_operation(operation: &StoreOperation) -> Result<Value> {- let mut wire = serde_json::to_value(operation)?;- if let StoreOperation::Update { patch, .. } = operation {- if patch.agent_id.is_none() {- if let Some(patch) = wire.get_mut("patch").and_then(Value::as_object_mut) {- patch.remove("agent_id");- }- }- }- Ok(wire)-}-/// Run one store operation in `scope` and decode its reply.pub(crate) async fn store_in<R: DeserializeOwned>(config: &Config,@@ -87,7 +66,7 @@ pub(crate) async fn store_in<R: DeserializeOwned>() -> Result<R> {let request = StoreRequest {storage: store_config(config, scope).await?,- operation: wire_operation(&operation)?,+ operation: serde_json::to_value(&operation)?,};let value: Value = call(config, members::SCHEDULE_STORE, (request,)).await?;serde_json::from_value(value).map_err(|error| {diff --git a/crates/openhuman-core/src/cron/client_tests.rs b/crates/openhuman-core/src/cron/client_tests.rsindex d43b603cc6..bf06069b1d 100644--- a/crates/openhuman-core/src/cron/client_tests.rs+++ b/crates/openhuman-core/src/cron/client_tests.rs@@ -161,28 +161,3 @@ async fn a_switched_off_component_answers_component_disabled() {"{error}");}--#[test]-fn an_untouched_agent_id_is_not_sent_but_an_explicit_clear_is() {- let untouched = StoreOperation::Update {- job_id: "j".into(),- patch: CronJobPatch {- enabled: Some(false),- ..CronJobPatch::default()- },- };- assert!(wire_operation(&untouched).unwrap()["patch"]- .get("agent_id")- .is_none());- let cleared = StoreOperation::Update {- job_id: "j".into(),- patch: CronJobPatch {- agent_id: Some(None),- ..CronJobPatch::default()- },- };- assert_eq!(- wire_operation(&cleared).unwrap()["patch"]["agent_id"],- Value::Null- );-}diff --git a/crates/openhuman-core/src/modules/registry/records_flows.rs b/crates/openhuman-core/src/modules/registry/records_flows.rsindex 0ee601ca9c..b455448de0 100644--- a/crates/openhuman-core/src/modules/registry/records_flows.rs+++ b/crates/openhuman-core/src/modules/registry/records_flows.rs@@ -9,65 +9,65 @@ pub(crate) const TINYFLOWS: ModuleRecord = ModuleRecord {"Scheduled jobs (runtime, job store, schedule maths) and workflow authoring through TinyFlows",bus_name: tinyflows_bus::BUS_NAME,object_path: tinyflows_bus::OBJECT_PATH,- version: "0.8.22",- release_url: "https://github.com/tinyhumansai/tinyflows/releases/tag/v0.8.22",- // Verbatim from the published v0.8.22 checksum.toml; the same host set as+ version: "0.8.23",+ release_url: "https://github.com/tinyhumansai/tinyflows/releases/tag/v0.8.23",+ // Verbatim from the published v0.8.23 checksum.toml; the same host set as// the other native modules (macOS, Ubuntu, Windows).assets: &[PlatformAsset {host_key: "macos-26-arm64",- archive: "tinyflows-module-0.8.22-macos-26-arm64.tar.gz",- sha256: "c61b9847e26368cdf70ebfda2fd53f0a7e4847655e4fc47b4342b42f7550da14",+ archive: "tinyflows-module-0.8.23-macos-26-arm64.tar.gz",+ sha256: "1ea581047502dca7e99cc701342b118f5684db44083a5dcbaeb3a924c3fe9f8f",},PlatformAsset {host_key: "macos-26-x86_64",- archive: "tinyflows-module-0.8.22-macos-26-x86_64.tar.gz",- sha256: "e548e5ca9923a4ec05293e215300ff2c2481d4628d95f9f8216b1faddbca54aa",+ archive: "tinyflows-module-0.8.23-macos-26-x86_64.tar.gz",+ sha256: "d7a9ca4fee0b331652dd0ec5e7dc51bde59674fcf225d5102691e8d5b1b03927",},PlatformAsset {host_key: "macos-15-arm64",- archive: "tinyflows-module-0.8.22-macos-15-arm64.tar.gz",- sha256: "7520988f152fab5c3c0bc28bf18269d5dc64d44d6ef3f2d8c369cd331e12d30a",+ archive: "tinyflows-module-0.8.23-macos-15-arm64.tar.gz",+ sha256: "cd1811acc26c928a96e962b9b042dc4c2d60a318b7cb08837773812d04ce7973",},PlatformAsset {host_key: "macos-15-x86_64",- archive: "tinyflows-module-0.8.22-macos-15-x86_64.tar.gz",- sha256: "4eaedf98348b3c6b63906e0f905c984c5cb134758bbaf57f3e20cc3a556be1c6",+ archive: "tinyflows-module-0.8.23-macos-15-x86_64.tar.gz",+ sha256: "084c9255dddaef3be06e0c6e733ed7cc408e5338df624ea79fbdbb304f04571c",},PlatformAsset {host_key: "ubuntu-24.04-x86_64",- archive: "tinyflows-module-0.8.22-ubuntu-24.04-x86_64.tar.gz",- sha256: "2556fe259e9f6041cb667e08a888a1ba74789967559bf8598664aeb328afb5ce",+ archive: "tinyflows-module-0.8.23-ubuntu-24.04-x86_64.tar.gz",+ sha256: "990870ba9e942eee481f3b4252ec840cd3ed304ad981d9d6fb9032aa4bbfdab1",},PlatformAsset {host_key: "ubuntu-24.04-arm64",- archive: "tinyflows-module-0.8.22-ubuntu-24.04-arm64.tar.gz",- sha256: "8ee3475419faa0102dbd854995c267313344d2ca9d19527bf1b115acae3ed0f9",+ archive: "tinyflows-module-0.8.23-ubuntu-24.04-arm64.tar.gz",+ sha256: "867b2176f0b7e0f40b18a1f95dbfb81a876b831ccd918da2db77a893d00556d2",},PlatformAsset {host_key: "ubuntu-22.04-x86_64",- archive: "tinyflows-module-0.8.22-ubuntu-22.04-x86_64.tar.gz",- sha256: "cc6d07cc50d30c9118ed9f0a55671cd79279353659b25e7ef3ffcf05b367b3a0",+ archive: "tinyflows-module-0.8.23-ubuntu-22.04-x86_64.tar.gz",+ sha256: "d53a8f278e738e3beba2282462c55af4640ea9e2d101e5bb3143e654d6915189",},PlatformAsset {host_key: "ubuntu-22.04-arm64",- archive: "tinyflows-module-0.8.22-ubuntu-22.04-arm64.tar.gz",- sha256: "7fa2dbc61f7d9332dc72e283805263f4b3579695c6c6669c8ab5fdbe6cdc2f10",+ archive: "tinyflows-module-0.8.23-ubuntu-22.04-arm64.tar.gz",+ sha256: "b9dfbb484a7a9beab55227e82d12855842cb65d82f5c0372bc7dd0ac971aab22",},PlatformAsset {host_key: "windows-2025-x86_64",- archive: "tinyflows-module-0.8.22-windows-2025-x86_64.zip",- sha256: "33117f79ae5ed20dd0aab8d34dd6d511606609ef57d66e2f908301f7a585c634",+ archive: "tinyflows-module-0.8.23-windows-2025-x86_64.zip",+ sha256: "114f5da7b480afba89bf21478e5e196a6490b3869dc253b51e99fcf76d0b1978",},PlatformAsset {host_key: "windows-2022-x86_64",- archive: "tinyflows-module-0.8.22-windows-2022-x86_64.zip",- sha256: "c7b40743a7173b0bf01b697d5dcbb02145a4202c4d334ed8558f04051312592d",+ archive: "tinyflows-module-0.8.23-windows-2022-x86_64.zip",+ sha256: "21d90646ce5b7abaa3c1cba1c19d0cc8784753a7d07c302a377d07fcd8c31a97",},PlatformAsset {host_key: "windows-11-arm64",- archive: "tinyflows-module-0.8.22-windows-11-arm64.zip",- sha256: "53fff97e890d7fd7f80d2f3dd8f60a9d12db38b28df593a7ec9007df5b25a742",+ archive: "tinyflows-module-0.8.23-windows-11-arm64.zip",+ sha256: "73f0aa5f15a8ee876e744027ac9f0c68d41e243872d15c4735ab6bbf54e7d51d",},],load: LoadPolicy::Lazy,diff --git a/crates/openhuman-core/src/modules/registry_contract_tests.rs b/crates/openhuman-core/src/modules/registry_contract_tests.rsindex 676043859d..45b50be814 100644--- a/crates/openhuman-core/src/modules/registry_contract_tests.rs+++ b/crates/openhuman-core/src/modules/registry_contract_tests.rs@@ -178,16 +178,16 @@ fn the_flows_record_serves_the_schedule_object() {assert_eq!(component_for("tinyflows"), Some("tinyflows"));}-/// The pins are the published v0.8.22 `checksum.toml` (the first release with+/// The pins are the published v0.8.23 `checksum.toml` (the first release with/// schedule contract v3).#[test]fn the_flows_record_pins_every_host_of_one_release() {let record = find("tinyflows").unwrap();- assert_eq!(record.version, "0.8.22");+ assert_eq!(record.version, "0.8.23");assert_eq!(record.assets.len(), 11);for asset in record.assets {assert!(- asset.archive.starts_with("tinyflows-module-0.8.22-"),+ asset.archive.starts_with("tinyflows-module-0.8.23-"),"{}",asset.archive);diff --git a/vendor/tinyflows b/vendor/tinyflowsindex f1a1fb2621..a63b2f5f53 160000--- a/vendor/tinyflows+++ b/vendor/tinyflows@@ -1 +1 @@-Subproject commit f1a1fb262183923b80451928ebc447500ed93efe+Subproject commit a63b2f5f532640d158652cfb76205be0f580b009