Skip to content

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

fix(provider): make ModuleMemoryProvider fields pub(super)

Steven Enamakel6e4a3088458a
diff --git a/crates/openhuman-core/src/modules/memory/provider.rs b/crates/openhuman-core/src/modules/memory/provider.rs
index ceb8b12c67..fea7de4de5 100644
--- a/crates/openhuman-core/src/modules/memory/provider.rs
+++ b/crates/openhuman-core/src/modules/memory/provider.rs
@@ -207,15 +207,15 @@ pub async fn install_host_callbacks(config: Arc<Config>) -> Result<(), String> {
/// A memory driver served by the loaded `tinymemory` module.
pub struct ModuleMemoryProvider {
/// The id reported by [`MemoryProvider::driver_id`].
- driver_id: String,
+ pub(super) driver_id: String,
/// The config to load against, when the caller had one to give.
///
/// `None` is the binding-site case: `build` has no `Config`, so the provider
/// falls back to the policy published at boot. Tests pass one explicitly.
- config: Option<Arc<Config>>,
+ pub(super) config: Option<Arc<Config>>,
/// Set once the module has answered `Capabilities`, so the cross-check runs
/// once rather than per call.
- verified: std::sync::OnceLock<()>,
+ pub(super) verified: std::sync::OnceLock<()>,
/// Memory subtree this driver is bound to, when it is not the shared one.
///
/// `None` means `<workspace>/memory` — the root object the module serves