Skip to content

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

feat(web_chat): add web chat operations module

Steven Enamakel0d4a10285334
diff --git a/crates/openhuman-core/src/web_chat/mod.rs b/crates/openhuman-core/src/web_chat/mod.rs
index dba4f957f0..dca219e6be 100644
--- a/crates/openhuman-core/src/web_chat/mod.rs
+++ b/crates/openhuman-core/src/web_chat/mod.rs
@@ -94,6 +94,8 @@ pub use schemas::{
#[allow(unused_imports)]
pub(crate) use ops::sentry_suppression_reason;
pub(crate) use ops::{event_session_id_for, key_for};
+#[cfg(test)]
+pub(crate) use ops::{key_in, unscope_in};
pub(crate) use progress_bridge::spawn_progress_bridge;
// Schema field helpers + session/error helpers re-exported for the `web_tests`
diff --git a/crates/openhuman-core/src/web_chat/ops.rs b/crates/openhuman-core/src/web_chat/ops.rs
index 572e6e48d9..9090afca2c 100644
--- a/crates/openhuman-core/src/web_chat/ops.rs
+++ b/crates/openhuman-core/src/web_chat/ops.rs
@@ -34,6 +34,8 @@ pub(crate) use state::in_flight;
pub use state::parallel_in_flight_entries_for_test;
#[cfg(test)]
pub(crate) use state::scoped_key;
+#[cfg(test)]
+pub(crate) use state::{key_in, unscope_in};
pub(super) use state::thread_sessions;
pub use state::{cancel_should_target, in_flight_entries_for_test, invalidate_thread_sessions};
pub(crate) use state::{event_session_id_for, key_for};