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(chat): add parentCallId to subagent activity and expose guardrail utilities
Steven Enamakel373126d155d1
diff --git a/app/src/store/chatRuntimeSlice.ts b/app/src/store/chatRuntimeSlice.tsindex ac1d3d4832..1e43c054e0 100644--- a/app/src/store/chatRuntimeSlice.ts+++ b/app/src/store/chatRuntimeSlice.ts@@ -1576,6 +1576,8 @@ const chatRuntimeSlice = createSlice({dedicatedThread?: boolean;/** `<request_id>:<seq>` of the emitting event; see {@link SubagentActivity.spawnEventId}. */spawnEventId?: string;+ /** `SubagentProgressDetail.parent_call_id`; see {@link SubagentActivity.parentCallId}. */+ parentCallId?: string;}>) => {const {@@ -1589,6 +1591,7 @@ const chatRuntimeSlice = createSlice({mode,dedicatedThread,spawnEventId,+ parentCallId,} = action.payload;const entries = (state.toolTimelineByThread[threadId] ??= []);// Idempotent: a socket redelivery must not append a second row with thediff --git a/crates/openhuman-core/src/web_chat/ops.rs b/crates/openhuman-core/src/web_chat/ops.rsindex 08aeb01a3b..0da1dc8984 100644--- a/crates/openhuman-core/src/web_chat/ops.rs+++ b/crates/openhuman-core/src/web_chat/ops.rs@@ -23,7 +23,9 @@ pub use channel_ops::{channel_web_queue_remove, channel_web_queue_status,};-pub use start_chat::{start_chat, StartChatError};+pub use start_chat::{+ is_guardrail_error_message, start_chat, StartChatError, GUARDRAIL_ERROR_PREFIX,+};pub use system_turn::{run_system_turn_on_thread, SESSION_CHECKOUT_FAILURE, SYSTEM_CLIENT_ID};#[cfg(test)]