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(rpc): add queued chat acknowledgement model
Steven Enamakel39f5ce3c4eff
diff --git a/crates/openhuman-core/src/threads/rpc_models.rs b/crates/openhuman-core/src/threads/rpc_models.rsindex 35fdfee916..3f05de8cde 100644--- a/crates/openhuman-core/src/threads/rpc_models.rs+++ b/crates/openhuman-core/src/threads/rpc_models.rs@@ -6,9 +6,24 @@//! messages, which are thread persistence (`threads::store`), not memory.use serde::{Deserialize, Serialize};+use schemars::JsonSchema;pub use crate::core::envelope::{ApiEnvelope, ApiError, ApiMeta, EmptyRequest, PaginationMeta};+/// Typed acknowledgement returned when a web chat message enters the run queue.+/// Attachment values are sanitized opaque references minted by the core.+#[derive(Debug, Clone, Serialize, JsonSchema)]+#[serde(rename_all = "snake_case")]+pub struct QueuedChatAck {+ pub queued: bool,+ pub queue_mode: String,+ pub client_id: String,+ pub thread_id: String,+ pub request_id: String,+ pub queue_depth: usize,+ pub queued_attachments: Vec<tinychannels_bus::ContentPart>,+}+/// Request to create a new conversation thread.#[derive(Debug, Clone, Serialize, Deserialize)]#[serde(deny_unknown_fields)]diff --git a/crates/openhuman-core/src/web_chat/types.rs b/crates/openhuman-core/src/web_chat/types.rsindex d3802af84c..d557bc7b18 100644--- a/crates/openhuman-core/src/web_chat/types.rs+++ b/crates/openhuman-core/src/web_chat/types.rs@@ -6,20 +6,6 @@ use serde::{Deserialize, Serialize};use crate::agent::OpenHumanSessionHost;-/// Typed acknowledgement emitted when a web chat message enters the run queue.-/// Attachment values are sanitized opaque references minted by the core.-#[derive(Debug, Clone, Serialize)]-#[serde(rename_all = "snake_case")]-pub(super) struct QueuedChatAck {- pub(super) queued: bool,- pub(super) queue_mode: String,- pub(super) client_id: String,- pub(super) thread_id: String,- pub(super) request_id: String,- pub(super) queue_depth: usize,- pub(super) queued_attachments: Vec<tinychannels_bus::ContentPart>,-}-/// All inputs that the cached `SessionEntry`'s `Agent` was built from,/// captured at build time. The cache-hit predicate is a single/// `entry.fingerprint == current_fingerprint` comparison — pulling the