Skip to content

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

fix(events): remove unused import of EventHandler trait

Steven Enamakel65f7ea7ac093
diff --git a/crates/openhuman-core/src/core/events.rs b/crates/openhuman-core/src/core/events.rs
index 5958b17313..00c52f6411 100644
--- a/crates/openhuman-core/src/core/events.rs
+++ b/crates/openhuman-core/src/core/events.rs
@@ -795,6 +795,13 @@ pub enum DomainEvent {
/// Socket.IO client id (room) to surface the card to, when
/// known. `None` for non-chat callers.
client_id: Option<String>,
+ /// The tool call that produced this artifact, when known — lets the
+ /// UI attach the finished card to that exact timeline row.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ tool_call_id: Option<String>,
+ /// The turn/request id this artifact was produced under, when known.
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ request_id: Option<String>,
},
/// An artifact transitioned to [`ArtifactStatus::Failed`] — the
/// producer surfaced a reason and the UI should render a