Skip to content

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

refactor(core): adjust attachment constants visibility

Steven Enamakela8102898fc57
diff --git a/crates/openhuman-core/src/threads/attachments/staged/native.rs b/crates/openhuman-core/src/threads/attachments/staged/native.rs
index caf3a4ddce..5a095cfb05 100644
--- a/crates/openhuman-core/src/threads/attachments/staged/native.rs
+++ b/crates/openhuman-core/src/threads/attachments/staged/native.rs
@@ -7,8 +7,9 @@ pub(crate) struct ResolvedNativeAttachment {
pub(crate) bytes: Vec<u8>,
}
-pub(super) const STAGED_DOMAIN: &str = "threads::attachments";
-pub(super) const STAGED_COLLECTION: &str = crate::threads::store::STAGED_ATTACHMENTS;
+pub(in crate::threads::attachments) const STAGED_DOMAIN: &str = "threads::attachments";
+pub(in crate::threads::attachments) const STAGED_COLLECTION: &str =
+ crate::threads::store::STAGED_ATTACHMENTS;
pub(super) const STAGED_TTL_SECS: i64 = 7 * 24 * 60 * 60;
const NATIVE_STAGED_ACTIVE: u8 = 0;