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
chore: files changed crates/openhuman-core/src/web_chat/progress_bridge.rs,app/src/components/assist
Steven Enamakelccb7e6273f69
diff --git a/app/src/components/assistant-ui/elements/thinking-indicator.tsx b/app/src/components/assistant-ui/elements/thinking-indicator.tsxnew file mode 100644index 0000000000..e19224cb5b--- /dev/null+++ b/app/src/components/assistant-ui/elements/thinking-indicator.tsx@@ -0,0 +1,42 @@+'use client';++/**+ * Vendored from the assistant-ui `elements-thinking-indicator` registry item+ * (https://r.assistant-ui.com/styles/base-nova/elements-thinking-indicator.json).+ * Changes from upstream:+ * - `cn` import path (`@/components/assistant-ui/lib/utils`).+ */+import { cn } from '@/components/assistant-ui/lib/utils';+import type { ComponentProps } from 'react';++import { mono, ShimmerLabel } from './surfaces';++export function ThinkingIndicator({+ label,+ elapsed,+ className,+ ...props+}: Omit<ComponentProps<'div'>, 'children' | 'label' | 'elapsed'> & {+ label: string;+ elapsed?: string;+}) {+ return (+ <div+ data-slot="thinking-indicator"+ className={cn('text-foreground/55 flex items-center gap-2.5 text-sm', className)}+ {...props}>+ <span+ aria-hidden+ className="size-1.5 shrink-0 animate-pulse rounded-full bg-blue-500 motion-reduce:animate-none dark:bg-blue-400"+ />+ <ShimmerLabel+ key={label}+ className="fade-in slide-in-from-bottom-1 animate-in relative inline-block leading-none duration-300">+ {label}+ </ShimmerLabel>+ {elapsed !== undefined && (+ <span className={cn(mono, 'text-foreground/30 tabular-nums')}>{elapsed}</span>+ )}+ </div>+ );+}diff --git a/crates/openhuman-core/src/web_chat/progress_bridge.rs b/crates/openhuman-core/src/web_chat/progress_bridge.rsindex c0e05ad031..d7a99e30fc 100644--- a/crates/openhuman-core/src/web_chat/progress_bridge.rs+++ b/crates/openhuman-core/src/web_chat/progress_bridge.rs@@ -747,7 +747,7 @@ pub(crate) fn spawn_progress_bridge(// completion (`ToolCallStarted.arguments` is// always `Null` on this path). Omitted when the// harness ran with payload capture off.- args: arguments.filter(|v| !v.is_null()),+ args: cap_wire_args(arguments),success: Some(success),round: Some(iteration),tool_call_id: Some(call_id),@@ -1268,7 +1268,7 @@ pub(crate) fn spawn_progress_bridge(// bounded size for the wire (#4007); `output_chars` +// `elapsed_ms` still ride along in `subagent` below.output: Some(cap_wire_output(output)),- args: arguments.filter(|v| !v.is_null()),+ args: cap_wire_args(arguments),elapsed_ms: Some(elapsed_ms),structured,tool_display_label: display_label,