The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(embed): expose SubagentProgressDetail in chat surface
Steven Enamakel99f0c0be72f7
diff --git a/crates/openhuman-embed/src/chat_surface.rs b/crates/openhuman-embed/src/chat_surface.rsindex e27dc744da..c19b1e76c7 100644--- a/crates/openhuman-embed/src/chat_surface.rs+++ b/crates/openhuman-embed/src/chat_surface.rs@@ -6,7 +6,8 @@//! then reads it with [`subscribe_web_channel_events`].pub use openhuman_core::web_chat::{- ScopedWebEvent, WebChannelEvent, WebEventContext, publish_web_channel_event,+ ScopedWebEvent, SubagentProgressDetail, WebChannelEvent, WebEventContext,+ publish_web_channel_event,register_approval_surface_subscriber, register_artifact_surface_subscriber,subscribe_web_channel_events,};diff --git a/crates/openhuman-tui/src/event_view.rs b/crates/openhuman-tui/src/event_view.rsindex 094b17d1e8..a0231f0e2d 100644--- a/crates/openhuman-tui/src/event_view.rs+++ b/crates/openhuman-tui/src/event_view.rs@@ -3,7 +3,7 @@//! The wire contract remains TinyChannels' tagged `WebChannelEvent`; this is a//! consumer projection rather than another wire DTO.-use openhuman_rpc::embed::chat_surface::WebChannelEvent;+use openhuman_rpc::embed::chat_surface::{SubagentProgressDetail, WebChannelEvent};use serde_json::Value;#[derive(Debug, Clone, Default)]@@ -51,7 +51,7 @@ impl WebEventView {..Self::default()};use WebChannelEvent as E;- let subagent_view = |detail| SubagentView {+ let subagent_view = |detail: &SubagentProgressDetail| SubagentView {task_id: Some(detail.task_id.clone()),display_name: detail.display_name.clone(),elapsed_ms: detail.elapsed_ms,@@ -275,6 +275,7 @@ impl WebEventView {view.tool_call_id.clone_from(tool_call_id);view.args.clone_from(args);}+ // Other owner variants carry no fields consumed by the terminal transcript._ => {}}view