Skip to content

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

refactor(events): drop Deserialize from event types

Steven Enamakel3477848bcb46
diff --git a/crates/openhuman-core/src/core/events.rs b/crates/openhuman-core/src/core/events.rs
index c38b5113f7..3768fbf1ad 100644
--- a/crates/openhuman-core/src/core/events.rs
+++ b/crates/openhuman-core/src/core/events.rs
@@ -24,7 +24,7 @@
/// Voice-domain events.
#[non_exhaustive]
-#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]
+#[derive(Clone, Debug, serde::Serialize)]
pub enum VoiceEvent {
/// A PTT session committed a transcript to a thread. Carries only
/// length/timing — never the raw text, per the PII-safe logging rule.
@@ -38,7 +38,7 @@ pub enum VoiceEvent {
}
/// A tool call made while answering a committed turn: name and id only.
-#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
+#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize)]
pub struct ConversationToolCall {
/// Tool name.
pub name: String,
@@ -49,7 +49,7 @@ pub struct ConversationToolCall {
/// Top-level domain event. Non-exhaustive so new variants can be added
/// without breaking existing match arms.
#[non_exhaustive]
-#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
+#[derive(Debug, Clone, serde::Serialize)]
pub enum DomainEvent {
// ── Agent ───────────────────────────────────────────────────────────
/// An agent turn has started processing.