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(core): derive Deserialize for domain events
Steven Enamakel146fad22b3b6
diff --git a/crates/openhuman-core/src/core/events.rs b/crates/openhuman-core/src/core/events.rsindex 3768fbf1ad..c38b5113f7 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)]+#[derive(Clone, Debug, serde::Serialize, serde::Deserialize)]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)]+#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]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)]+#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]pub enum DomainEvent {// ── Agent ───────────────────────────────────────────────────────────/// An agent turn has started processing.diff --git a/crates/openhuman-core/src/security/encryption/core.rs b/crates/openhuman-core/src/security/encryption/core.rsindex 4c2312bb77..54c90fc601 100644--- a/crates/openhuman-core/src/security/encryption/core.rs+++ b/crates/openhuman-core/src/security/encryption/core.rs@@ -5,7 +5,6 @@ use aes_gcm::{};use argon2::{self, Algorithm, Argon2, Params, Version};use serde::{Deserialize, Serialize};-use std::path::PathBuf;/// Salt length for Argon2id key derivationconst SALT_LENGTH: usize = 16;