Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(agent-chat): ship the live core the timeline already imports

rubenluetke10-beepcdb0674f7697
diff --git a/jarvis/ui/web/frontend/src/components/LiveCore.tsx b/jarvis/ui/web/frontend/src/components/LiveCore.tsx
new file mode 100644
index 0000000000..e947202038
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/components/LiveCore.tsx
@@ -0,0 +1,27 @@
+import { cn } from "@/lib/utils";
+
+/**
+ * The mark that says work is happening right now: an accent core inside two
+ * rings that expand and fade away.
+ *
+ * It is the ONE live mark the product owns. The agent chat used to spin a
+ * borrowed CLI asterisk instead (maintainer, 2026-08-25: "dieses komische
+ * Denksymbol"), which read as a foreign glyph next to the home chat's core —
+ * two answers to the same question on two screens of the same app.
+ *
+ * Under reduced motion the rings stand still behind the core, which still
+ * reads as "in progress" beside the ticking clock (index.css).
+ */
+export function LiveCore({ className }: { className?: string }) {
+ return (
+ <span
+ className={cn("relative flex h-2.5 w-2.5 shrink-0", className)}
+ aria-hidden
+ data-testid="live-core"
+ >
+ <span className="thinking-ring absolute inline-flex h-full w-full rounded-full bg-primary/50" />
+ <span className="thinking-ring absolute inline-flex h-full w-full rounded-full bg-primary/50 [animation-delay:0.9s]" />
+ <span className="thinking-core relative inline-flex h-2.5 w-2.5 rounded-full bg-primary" />
+ </span>
+ );
+}
diff --git a/jarvis/ui/web/frontend/src/components/ThinkingTrace.tsx b/jarvis/ui/web/frontend/src/components/ThinkingTrace.tsx
index f9aec8b3b7..658a1e65b7 100644
--- a/jarvis/ui/web/frontend/src/components/ThinkingTrace.tsx
+++ b/jarvis/ui/web/frontend/src/components/ThinkingTrace.tsx
@@ -31,6 +31,7 @@ import type {
} from "@/lib/thinkingSteps";
import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
+import { LiveCore } from "@/components/LiveCore";
/** Rows visible in the live card — older ones collapse into a "+N" row. */
const VISIBLE_STEPS = 5;
@@ -165,17 +166,6 @@ function StepRail({
);
}
-/** Pulsing gold core in the card header — two expanding rings + glow dot. */
-function CoreOrb() {
- return (
- <span className="relative flex h-2.5 w-2.5 shrink-0" aria-hidden>
- <span className="thinking-ring absolute inline-flex h-full w-full rounded-full bg-primary/50" />
- <span className="thinking-ring absolute inline-flex h-full w-full rounded-full bg-primary/50 [animation-delay:0.9s]" />
- <span className="thinking-core relative inline-flex h-2.5 w-2.5 rounded-full bg-primary" />
- </span>
- );
-}
-
/** The live card rendered in the transcript while `chatThinking` is true. */
export function ThinkingTrace() {
const t = useT();
@@ -202,7 +192,7 @@ export function ThinkingTrace() {
/>
<div className="relative flex items-center gap-2">
- <CoreOrb />
+ <LiveCore />
<span className="font-mono text-[10px] uppercase tracking-[0.14em] text-primary">
{assistantName}
</span>
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index c02e80ca11..4b0b2a5310 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -1603,69 +1603,6 @@ label,
}
}
- /* ===========================================================
- Agent chat — the live "it is working" glyph.
- A slow-turning asterisk that breathes with the accent colour,
- the way the Claude CLI marks a running turn. Under reduced
- motion it stands still and simply stays accent-coloured, which
- still reads as "in progress" beside the ticking timer.
- =========================================================== */
- @keyframes agent-glyph-spin {
- 0% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
- @keyframes agent-glyph-breathe {
- 0%,
- 100% {
- opacity: 0.55;
- }
- 50% {
- opacity: 1;
- }
- }
- .agent-glyph {
- animation:
- agent-glyph-spin 3.6s linear infinite,
- agent-glyph-breathe 1.9s ease-in-out infinite;
- transform-origin: 50% 50%;
- }
- /* The row a running turn owns: a hairline rail that glows along the
- accent while it works, so the whole block reads as one live unit. */
- @keyframes agent-rail-travel {
- 0% {
- background-position: 50% 200%;
- }
- 100% {
- background-position: 50% -200%;
- }
- }
- .agent-rail-live {
- background: linear-gradient(
- 180deg,
- hsl(var(--border)) 0%,
- hsl(var(--border)) 30%,
- hsl(var(--primary)) 50%,
- hsl(var(--border)) 70%,
- hsl(var(--border)) 100%
- );
- background-size: 100% 200%;
- animation: agent-rail-travel 2.8s linear infinite;
- }
- @media (prefers-reduced-motion: reduce) {
- .agent-glyph {
- animation: none;
- opacity: 0.9;
- }
- .agent-rail-live {
- animation: none;
- background: hsl(var(--primary) / 0.5);
- }
- }
-
/* Soft float animation for the hero orb */
@keyframes jarvis-float {
0%,