Skip to content

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

fix(web_chat): handle missing egress surface gracefully

Steven Enamakela4c5d5a60a84
diff --git a/crates/openhuman-core/src/web_chat/egress_surface.rs b/crates/openhuman-core/src/web_chat/egress_surface.rs
index 6afcee5119..b0e497a3cd 100644
--- a/crates/openhuman-core/src/web_chat/egress_surface.rs
+++ b/crates/openhuman-core/src/web_chat/egress_surface.rs
@@ -45,7 +45,7 @@ pub fn register_egress_surface_subscriber() {
/// that carry chat routing — background/CLI/cron egress has no chat client to
/// fan out to and is dropped here (still observable on the domain bus for
/// non-chat consumers such as an audit log).
-struct EgressSurfaceSubscriber;
+pub(crate) struct EgressSurfaceSubscriber;
#[async_trait]
impl EventHandler<DomainEvent> for EgressSurfaceSubscriber {