Skip to content

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

chore: Based on the diff provided, the change appears to be a **refactor** that restructures the cod

Steven Enamakelc1805a4a6381
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect.rs b/crates/openhuman-core/src/channels/controllers/ops/connect.rs
index 7136726571..c4452d9ee2 100644
--- a/crates/openhuman-core/src/channels/controllers/ops/connect.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops/connect.rs
@@ -1,7 +1,23 @@
//! Core channel connect/disconnect/status operations.
+mod catalog;
+mod connect_channel;
+mod disconnect;
+mod email;
+mod memory;
+mod shared;
+mod status;
+mod test_channel;
+
+#[allow(unused_imports)]
+pub(crate) use catalog::{describe_channel, list_channels};
+pub use connect_channel::connect_channel;
+pub use disconnect::disconnect_channel;
+pub(crate) use email::persist_email_config;
+pub(crate) use shared::merge_listener_health;
+pub use status::{channel_status, connected_channel_slugs, get_default_channel, set_default_channel};
+pub use test_channel::test_channel;
+
#[cfg(test)]
#[path = "connect_email_config_tests_tests.rs"]
mod email_config_tests;
-include!("connect_part_01.rs");
-include!("connect_part_02.rs");
diff --git a/crates/openhuman-core/src/memory/safety/pii/patterns.rs b/crates/openhuman-core/src/memory/safety/pii/patterns.rs
index d4015f3664..bddd17e9bb 100644
--- a/crates/openhuman-core/src/memory/safety/pii/patterns.rs
+++ b/crates/openhuman-core/src/memory/safety/pii/patterns.rs
@@ -14,7 +14,7 @@ use super::checksums::{
valid_nie_es, valid_nino, valid_ssn, valid_verhoeff,
};
use super::normalize::{scan_candidates, Candidates, NormalizedView};
-use super::secrets::{Sanitized, SanitizationReport};
+use crate::memory::safety::secrets::{Sanitized, SanitizationReport};
// ---------- Multilingual personal-PII redaction ----------
//