Skip to content

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

chore(web_chat): reorder re-exports for consistency

Steven Enamakel5a7a43364408
diff --git a/crates/openhuman-core/src/web_chat/mod.rs b/crates/openhuman-core/src/web_chat/mod.rs
index 0e59e09b90..30891f5f28 100644
--- a/crates/openhuman-core/src/web_chat/mod.rs
+++ b/crates/openhuman-core/src/web_chat/mod.rs
@@ -74,6 +74,7 @@ pub use event_bus::fresh_approval_surface_subscription;
// Public API — operations
#[cfg(test)]
pub use ops::drain_queued_turns_for_test;
+pub(crate) use ops::invalidate_thread_sessions_for_tenant;
#[cfg(any(test, debug_assertions))]
pub use ops::parallel_in_flight_entries_for_test;
#[cfg(test)]
@@ -84,7 +85,6 @@ pub use ops::{
in_flight_entries_for_test, invalidate_thread_sessions, run_system_turn_on_thread, start_chat,
StartChatError, SESSION_CHECKOUT_FAILURE, SYSTEM_CLIENT_ID,
};
-pub(crate) use ops::invalidate_thread_sessions_for_tenant;
pub use types::ChatRequestMetadata;
// Public API — schemas / controllers
diff --git a/crates/openhuman-core/src/web_chat/ops.rs b/crates/openhuman-core/src/web_chat/ops.rs
index 110ec2b9c7..ed5d19e301 100644
--- a/crates/openhuman-core/src/web_chat/ops.rs
+++ b/crates/openhuman-core/src/web_chat/ops.rs
@@ -30,6 +30,7 @@ pub use system_turn::{run_system_turn_on_thread, SESSION_CHECKOUT_FAILURE, SYSTE
pub use state::drain_queued_turns_for_test;
#[cfg(test)]
pub(crate) use state::in_flight;
+pub(crate) use state::invalidate_thread_sessions_for_tenant;
#[cfg(any(test, debug_assertions))]
pub use state::parallel_in_flight_entries_for_test;
#[cfg(test)]
@@ -38,7 +39,6 @@ pub(super) use state::thread_sessions;
#[cfg(test)]
pub(crate) use state::track_parallel_turn_for_test;
pub use state::{cancel_should_target, in_flight_entries_for_test, invalidate_thread_sessions};
-pub(crate) use state::invalidate_thread_sessions_for_tenant;
pub(crate) use state::{event_session_id_for, key_for};
#[cfg(test)]
pub(crate) use state::{key_in, unscope_in};