Skip to content

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

feat(memory): expose core memory module APIs

Steven Enamakel1c86f709ea04
diff --git a/src/openhuman/memory/sources/mod.rs b/src/openhuman/memory/sources/mod.rs
index a3498c82c9..568132adf1 100644
--- a/src/openhuman/memory/sources/mod.rs
+++ b/src/openhuman/memory/sources/mod.rs
@@ -63,7 +63,7 @@
//! `Capability::Sources`: there is no `MemorySources` family in the contract,
//! so a listing member is an upstream ask, not a call site nobody routed.
-// XPROBE
+pub use tinymemory_core::sources::*;
pub mod rpc;
pub mod schemas;
diff --git a/src/openhuman/memory/sync/composio/mod.rs b/src/openhuman/memory/sync/composio/mod.rs
index 27eb226c8d..341b307d3c 100644
--- a/src/openhuman/memory/sync/composio/mod.rs
+++ b/src/openhuman/memory/sync/composio/mod.rs
@@ -89,7 +89,7 @@
//! indistinguishable from a user who has none, so a half-removed loop looks
//! like a working one until someone notices their mail stopped being indexed.
-// XPROBE
+pub use tinymemory_core::sync::composio::*;
pub mod providers;
diff --git a/src/openhuman/memory/sync/composio/providers/mod.rs b/src/openhuman/memory/sync/composio/providers/mod.rs
index b0447a51cb..5b6f8c3874 100644
--- a/src/openhuman/memory/sync/composio/providers/mod.rs
+++ b/src/openhuman/memory/sync/composio/providers/mod.rs
@@ -25,6 +25,6 @@
//! engine's `slack` from this glob; see that file before assuming either is
//! droppable.
-// XPROBE
+pub use tinymemory_core::sync::composio::providers::*;
pub mod slack;
diff --git a/src/openhuman/memory/sync/composio/providers/slack/mod.rs b/src/openhuman/memory/sync/composio/providers/slack/mod.rs
index 513e7eeb9b..0e2fc44ee1 100644
--- a/src/openhuman/memory/sync/composio/providers/slack/mod.rs
+++ b/src/openhuman/memory/sync/composio/providers/slack/mod.rs
@@ -18,7 +18,7 @@
//! `cargo test --lib` does not compile `tests/`, so that break would land in
//! CI rather than locally. Grep both trees before narrowing any shim here.
-// XPROBE
+pub use tinymemory_core::sync::composio::providers::slack::*;
pub mod rpc;
pub mod schemas;
diff --git a/src/openhuman/memory/tree/health/mod.rs b/src/openhuman/memory/tree/health/mod.rs
index c35e01363c..14105e26cf 100644
--- a/src/openhuman/memory/tree/health/mod.rs
+++ b/src/openhuman/memory/tree/health/mod.rs
@@ -62,6 +62,6 @@ pub use tinycortex::memory::health::{
// **not yet**: neither `ModuleMemoryProvider` nor `GuardedMaintenance` overrides
// it, so a call today falls through to the trait's default and answers
// `Unsupported` at run time. See `tree::tree::rpc::doctor_rpc`.
-// XPROBE
+pub use tinymemory_core::tree::health::*;
pub(crate) mod user_error;
diff --git a/src/openhuman/memory/tree/mod.rs b/src/openhuman/memory/tree/mod.rs
index 8364604f9e..fcf52208e8 100644
--- a/src/openhuman/memory/tree/mod.rs
+++ b/src/openhuman/memory/tree/mod.rs
@@ -57,7 +57,7 @@ pub use tinycortex::memory::tree::{
// is the summary-node vocabulary — not an embedder and not an entity extractor
// — so there is nothing on the contract to route these at. This shim goes when
// scoring and summarisation move behind the bus, not before.
-// XPROBE pub use tinymemory_core::tree::*;
+pub use tinymemory_core::tree::*;
pub mod health;
pub mod retrieval;
diff --git a/src/openhuman/memory/tree/retrieval/mod.rs b/src/openhuman/memory/tree/retrieval/mod.rs
index 8a255a1395..8debba8cb0 100644
--- a/src/openhuman/memory/tree/retrieval/mod.rs
+++ b/src/openhuman/memory/tree/retrieval/mod.rs
@@ -37,7 +37,7 @@
// `search::search_entities` — plus `{query_source, search_entities}` from the
// memory e2e suites. Every one names a shape the contract does not carry, so
// this is the same wire-change ask as the paragraph above, not a routing one.
-// XPROBE
+pub use tinymemory_core::tree::retrieval::*;
pub mod rpc;
pub mod schemas;
diff --git a/src/openhuman/memory/tree/tree/mod.rs b/src/openhuman/memory/tree/tree/mod.rs
index 7d6274f33e..93884a5fd7 100644
--- a/src/openhuman/memory/tree/tree/mod.rs
+++ b/src/openhuman/memory/tree/tree/mod.rs
@@ -20,6 +20,6 @@
// `set_summary_embedding`. `MemoryTree` on the contract is namespace-addressed
// (append / query_source / drill_down / seal / cascade / summary_forest /
// recent_leaves) and has no door onto a tree *object*, which is the ask.
-// XPROBE
+pub use tinymemory_core::tree::tree::*;
pub mod rpc;
diff --git a/src/openhuman/memory/tree/tree_runtime/mod.rs b/src/openhuman/memory/tree/tree_runtime/mod.rs
index 0ce75dd82c..9309126b7f 100644
--- a/src/openhuman/memory/tree/tree_runtime/mod.rs
+++ b/src/openhuman/memory/tree/tree_runtime/mod.rs
@@ -28,7 +28,7 @@
//! `memory::sync::sync_status::rpc` and `memory::tools::flavour` are blocked on
//! the same call.
-// XPROBE
+pub use tinymemory_core::tree::tree_runtime::*;
// The summary-tree node model is **contract** vocabulary, not engine
// vocabulary: it is defined in `tinymemory-bus` and the engine crate re-exports