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
refactor(sessions): consolidate session modules under new sessions namespace
Steven Enamakel393c7c6170a4
diff --git a/crates/openhuman-core/src/agent/mod.rs b/crates/openhuman-core/src/agent/mod.rsindex bfc91ca871..28b0ea2eda 100644--- a/crates/openhuman-core/src/agent/mod.rs+++ b/crates/openhuman-core/src/agent/mod.rs@@ -51,13 +51,10 @@ pub mod prompts;/// Host-owned payload carried through TinyAgents run queues.pub mod queued_turn;pub(crate) mod registration;-pub mod session_db;/// OpenHuman's composition and policy layer around the neutral TinyAgents/// session runtime. Generic history, transcript delta, prefix and tool/// snapshots are owned by `tinyagents-runtime`.pub mod session_host;-pub mod session_import;-pub mod session_store;pub mod stop_hooks;/// Product-specific adapters around `tinyagents_orchestration::subagent`./// Generic lifecycle ordering and task-key coalescing live in TinyAgents;diff --git a/crates/openhuman-core/src/lib.rs b/crates/openhuman-core/src/lib.rsindex 972dd444d3..e183b8c417 100644--- a/crates/openhuman-core/src/lib.rs+++ b/crates/openhuman-core/src/lib.rs@@ -83,6 +83,7 @@ pub mod sandbox;pub mod search;pub mod security;pub mod skills;+pub mod sessions;pub mod storage;#[cfg(feature = "e2e-test-support")]pub mod test_support;diff --git a/crates/openhuman-core/src/storage/import/mod.rs b/crates/openhuman-core/src/storage/import/mod.rsindex b4ec117a68..5078a66f92 100644--- a/crates/openhuman-core/src/storage/import/mod.rs+++ b/crates/openhuman-core/src/storage/import/mod.rs@@ -39,10 +39,16 @@//! tinyflows stores (cron jobs, the flow catalog and checkpoints) are copied//! with `tinyflows-import`; see [`tinyflows`].+pub mod live;pub mod sessions;mod snapshot;+mod schemas;pub mod tinyflows;+pub use schemas::{+ all_session_import_controller_schemas, all_session_import_registered_controllers,+};+use std::path::Path;use std::sync::Arc;diff --git a/crates/openhuman-core/src/storage/mod.rs b/crates/openhuman-core/src/storage/mod.rsindex 3d64e5112b..0e8d2d2148 100644--- a/crates/openhuman-core/src/storage/mod.rs+++ b/crates/openhuman-core/src/storage/mod.rs@@ -38,6 +38,7 @@ mod lease_local;pub mod local;pub mod rebind;pub mod secrets;+pub mod sessions;use std::future::Future;use std::sync::{Arc, LazyLock, Mutex, OnceLock, RwLock};