Skip to content

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

chore(core): reorder module declarations and expose agent_registry

Steven Enamakel776c80e90e21
diff --git a/crates/openhuman-core/src/agent_registry/mod.rs b/crates/openhuman-core/src/agent_registry/mod.rs
index 93ea2cb1f1..de59044e6a 100644
--- a/crates/openhuman-core/src/agent_registry/mod.rs
+++ b/crates/openhuman-core/src/agent_registry/mod.rs
@@ -6,9 +6,9 @@
//! execution harness and prompt/runtime implementation.
pub mod agents;
+mod defaults;
pub mod host_definition;
pub mod library;
-mod defaults;
mod ops;
mod rpc;
mod schemas;
diff --git a/crates/openhuman-core/src/lib.rs b/crates/openhuman-core/src/lib.rs
index 53de5e289f..4a5fd054b4 100644
--- a/crates/openhuman-core/src/lib.rs
+++ b/crates/openhuman-core/src/lib.rs
@@ -9,8 +9,7 @@
//! Business logic lives one directory per domain family under `src/`, listed
//! below in the order they are declared (module declarations are kept
//! alphabetical, with the `rpc` re-export sitting between `platform` and
-//! `runtime` — keep new modules sorted the same way): `agent`, `artifacts`,
-//! `api`,
+//! `runtime` — keep new modules sorted the same way): `agent`, `agent_registry`, `api`, `artifacts`,
//! `channels`, `config`, `core`, `cron`, `desktop`, `flows` (feature
//! `flows`), `hooks`, `hosting` (feature `hosting`),
//! `inference`, `integrations`,
@@ -54,6 +53,7 @@
#![allow(dead_code)]
pub mod agent;
+pub mod agent_registry;
pub mod artifacts;
pub mod backend;
pub mod channels;