Skip to content

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

feat(modules): register event queue module in the module registry

Steven Enamakel7e3f72476e4b
diff --git a/crates/openhuman-core/src/modules/registry.rs b/crates/openhuman-core/src/modules/registry.rs
index 7648098eb2..02095126cd 100644
--- a/crates/openhuman-core/src/modules/registry.rs
+++ b/crates/openhuman-core/src/modules/registry.rs
@@ -40,6 +40,8 @@ mod contract_tests;
mod records_computer;
mod records_docs_wallet;
+#[cfg(feature = "inbound-queues")]
+mod records_eventqueues;
mod records_extra;
mod records_flows;
mod records_mcp_connectors;
@@ -51,6 +53,8 @@ mod records_voice;
use crate::modules::types::ModuleRecord;
use records_computer::TINYCOMPUTER;
+#[cfg(feature = "inbound-queues")]
+use records_eventqueues::TINYEVENTQUEUES;
#[cfg(feature = "documents")]
use records_docs_wallet::TINYDOCS;
#[cfg(feature = "web3")]
@@ -70,8 +74,8 @@ use records_search::TINYSEARCH;
use records_voice::TINYVOICE;
/// Every module this build can load. The records whose contract crate is an
-/// optional dependency (`documents`, `web3`, `voice`, `hosting`, `tinymemes`) exist only when
-/// that gate is on; a product-feature build carries all thirteen.
+/// optional dependency (`documents`, `web3`, `voice`, `hosting`, `tinymemes`, `inbound-queues`) exist
+/// only when that gate is on; a product-feature build carries all fourteen.
pub const ALL: &[ModuleRecord] = &[
TINYCOMPUTER,
TINYSEARCH,
@@ -92,6 +96,8 @@ pub const ALL: &[ModuleRecord] = &[
TINYHOSTS,
#[cfg(feature = "tinymemes")]
TINYMEMES,
+ #[cfg(feature = "inbound-queues")]
+ TINYEVENTQUEUES,
];
/// The record for `id`, if this build knows it.
@@ -131,6 +137,7 @@ pub const COMPONENT_OF: &[(&str, &str)] = &[
("tinyflows", "tinyflows"),
("tinyhosts", "hosting"),
("tinymemes", "memes"),
+ ("tinyeventqueues", "eventqueues"),
];
/// The `[components]` name that owns module `id`, if the table knows it.
diff --git a/crates/openhuman-core/src/modules/registry/records_eventqueues.rs b/crates/openhuman-core/src/modules/registry/records_eventqueues.rs
new file mode 100644
index 0000000000..fcf694f218
--- /dev/null
+++ b/crates/openhuman-core/src/modules/registry/records_eventqueues.rs
@@ -0,0 +1,81 @@
+//! Registry record for the `tinyeventqueues` module.
+
+use crate::modules::types::{LoadPolicy, ModuleRecord, PlatformAsset, SourceSpec};
+
+/// The `tinyeventqueues` module: durable inbound event queues. It persists,
+/// deduplicates, filters and paces inbound events (Composio triggers, agent
+/// webhooks) on the host's storage, loaded on first ingest, and calls the
+/// host back (`Deliver`, `ClassifySalience`) to run triage.
+pub(crate) const TINYEVENTQUEUES: ModuleRecord = ModuleRecord {
+ id: "tinyeventqueues",
+ description: "Durable inbound event queues: dedupe, filtering, pacing and retry before triage",
+ bus_name: tinyeventqueues_bus::INTERFACE,
+ object_path: tinyeventqueues_bus::OBJECT_PATH,
+ version: "0.1.1",
+ release_url: "https://github.com/tinyhumansai/tinyeventqueues/releases/tag/v0.1.1",
+ assets: &[
+ PlatformAsset {
+ host_key: "macos-15-arm64",
+ archive: "tinyeventqueues-0.1.1-macos-15-arm64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "macos-15-x86_64",
+ archive: "tinyeventqueues-0.1.1-macos-15-x86_64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "macos-26-arm64",
+ archive: "tinyeventqueues-0.1.1-macos-26-arm64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "macos-26-x86_64",
+ archive: "tinyeventqueues-0.1.1-macos-26-x86_64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "ubuntu-22.04-arm64",
+ archive: "tinyeventqueues-0.1.1-ubuntu-22.04-arm64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "ubuntu-22.04-x86_64",
+ archive: "tinyeventqueues-0.1.1-ubuntu-22.04-x86_64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "ubuntu-24.04-arm64",
+ archive: "tinyeventqueues-0.1.1-ubuntu-24.04-arm64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "ubuntu-24.04-x86_64",
+ archive: "tinyeventqueues-0.1.1-ubuntu-24.04-x86_64.tar.gz",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "windows-11-arm64",
+ archive: "tinyeventqueues-0.1.1-windows-11-arm64.zip",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "windows-2022-x86_64",
+ archive: "tinyeventqueues-0.1.1-windows-2022-x86_64.zip",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ PlatformAsset {
+ host_key: "windows-2025-x86_64",
+ archive: "tinyeventqueues-0.1.1-windows-2025-x86_64.zip",
+ sha256: "0000000000000000000000000000000000000000000000000000000000000000",
+ },
+ ],
+ load: LoadPolicy::Lazy,
+ source: SourceSpec {
+ submodule: "tinyeventqueues",
+ manifest: "crates/tinyeventqueues/Cargo.toml",
+ package: "tinyeventqueues",
+ lib_name: "tinyeventqueues",
+ features: &[],
+ },
+};