Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/openhuman/agent/tools/remember_preference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@ mod tests {

// The read-back goes through the engine handle directly, so its entries
// carry the engine's category type rather than the contract's.
use tinymemory_core::MemoryCategory as EngineMemoryCategory;
// The contract's type, not the engine's: `tinymemory-core` re-exports
// `tinymemory_api::traits::MemoryCategory` (#18 §A1). Named at its source
// so this test does not hold the engine crate in the build (#5560).
use tinymemory_api::types::MemoryCategory as EngineMemoryCategory;

fn test_security() -> Arc<SecurityPolicy> {
Arc::new(SecurityPolicy::default())
Expand Down
391 changes: 236 additions & 155 deletions src/openhuman/memory/direct_engine_refs_tests.rs

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion src/openhuman/memory/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,13 @@ pub use tinymemory_core::ingestion::{
IngestionState, IngestionStatusSnapshot, MemoryIngestionConfig, MemoryIngestionRequest,
MemoryIngestionResult, DEFAULT_MEMORY_EXTRACTION_MODEL,
};
pub use tinymemory_core::rpc_models::*;
// The host's own JSON-RPC request/response shapes. They lived in
// `tinymemory_core::rpc_models` and were re-exported here by a glob; nothing
// in `tinymemory` ever named one, so the engine crate was carrying this host's
// RPC surface (#5560). Same glob, same paths, same wire bytes — the definitions
// are simply ours now. See `rpc_models`'s module docs.
pub mod rpc_models;
pub use rpc_models::*;
pub use tinymemory_core::traits::{
Memory, MemoryCategory, MemoryEntry, MemoryTaint, NamespaceSummary, RecallOpts,
};
Expand Down
Loading
Loading