Skip to content

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

feat(agent): add display and structured fields to sub-agent progress

Steven Enamakel8d1fe3fdef16
diff --git a/crates/openhuman-core/src/agent/progress.rs b/crates/openhuman-core/src/agent/progress.rs
index c9ceb73e3e..c77c421dda 100644
--- a/crates/openhuman-core/src/agent/progress.rs
+++ b/crates/openhuman-core/src/agent/progress.rs
@@ -264,6 +264,14 @@ pub enum AgentProgress {
/// a failed sub-agent row carries the same "why + what to do next" copy
/// instead of discarding the already-computed classification (#4459).
failure: Option<crate::tools::status::ClassifiedFailure>,
+ /// Mirrors [`Self::ToolCallCompleted::display_label`], recomputed from
+ /// the child tool's own `Tool::display_label` using the real call
+ /// arguments.
+ display_label: Option<String>,
+ /// Mirrors [`Self::ToolCallCompleted::display_detail`].
+ display_detail: Option<String>,
+ /// Mirrors [`Self::ToolCallCompleted::structured`].
+ structured: Option<serde_json::Value>,
},
/// A chunk of a sub-agent's visible assistant text arrived from the