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.

feat(deck): the mascot carries the centre, the orb PNG is gone

Harald109d34b531a1
diff --git a/jarvis/ui/web/frontend/public/deck-orb.png b/jarvis/ui/web/frontend/public/deck-orb.png
deleted file mode 100644
index 2cd8b54b8c..0000000000
Binary files a/jarvis/ui/web/frontend/public/deck-orb.png and /dev/null differ
diff --git a/jarvis/ui/web/frontend/public/hero-orb.png b/jarvis/ui/web/frontend/public/hero-orb.png
deleted file mode 100644
index d818ed943f..0000000000
Binary files a/jarvis/ui/web/frontend/public/hero-orb.png and /dev/null differ
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.test.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.test.tsx
index 9647311c56..def4b06aca 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.test.tsx
@@ -1,7 +1,8 @@
import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";
import { afterEach, describe, expect, test, vi } from "vitest";
-// framer-motion's motion.img is a plain <img> for these assertions.
+// framer-motion is real here; only the reduced-motion hook is pinned, so the
+// voice loops do not run during the assertions.
vi.mock("framer-motion", async () => {
const actual = await vi.importActual<typeof import("framer-motion")>("framer-motion");
return {
@@ -13,15 +14,16 @@ vi.mock("framer-motion", async () => {
import { DeckOrb } from "@/components/deck/DeckOrb";
import { useEventStore } from "@/store/events";
import { clearVoiceInputLevel, setVoiceInputLevel } from "@/lib/voiceInputLevel";
+import type { ThinkingStep } from "@/lib/thinkingSteps";
/**
* The orb is the click-shaped wake word (maintainer, 2026-08-18): pressing
* the orb in the centre does what saying the phrase does. Display-only
- * callers get no button at all. The orb is the product's own artwork — the
- * sphere cut out of `hero-orb.png` — and nothing else in its core: the mascot
- * that rode there for a day made two ghosts on one stage next to the live
- * wallpaper mascot (maintainer, 2026-08-19). It carries the live voice state
- * so it can breathe with it.
+ * callers get no button at all. The centre is the MASCOT — vectors, no
+ * bitmap: the `/deck-orb.png` render that used to sit there was a picture of
+ * a light whose baked-in white halo read as a grey box on the dark deck, and
+ * the maintainer had asked repeatedly for it to go (2026-08-20). It carries
+ * the live voice state so it can breathe with it.
*/
describe("DeckOrb", () => {
afterEach(() => cleanup());
@@ -32,19 +34,32 @@ describe("DeckOrb", () => {
expect(screen.getByTestId("jarvis-orb")).toBeTruthy();
});
- test("is alive at rest: turning scales, a satellite on the bezel, the idle ping", () => {
+ test("the reticle is instruments only — no scenery left to turn", () => {
const { container, rerender } = render(<DeckOrb steps={[]} busy={false} />);
- expect(container.querySelector(".deck-orb-orbit-a")).toBeTruthy();
- expect(container.querySelector(".deck-orb-orbit-b")).toBeTruthy();
- expect(screen.getByTestId("deck-orb-satellite")).toBeTruthy();
- expect(screen.getByTestId("deck-orb-ping")).toBeTruthy();
- // The satellite steps aside for the busy sweep — one signal on the bezel.
- rerender(<DeckOrb steps={[]} busy />);
+ // Gone with the PNG: dial ticks, corner brackets, the two orbits, the
+ // satellite, the idle ping. Instruments that measure nothing are a stage
+ // set, and the living thing in the middle carries the life instead.
+ expect(container.querySelector(".deck-orb-orbit-a")).toBeNull();
+ expect(container.querySelector(".deck-orb-orbit-b")).toBeNull();
+ expect(container.querySelector(".deck-orb-rings")).toBeNull();
expect(screen.queryByTestId("deck-orb-satellite")).toBeNull();
- // The meter, the corona and the ripple host are there, at rest at zero.
+ expect(screen.queryByTestId("deck-orb-ping")).toBeNull();
+ // The 72 dial ticks and the compass crosshairs were the only <line>s here.
+ expect(container.querySelectorAll("line")).toHaveLength(0);
+ // What stays is what reads a real value: the meter, the ripple host — at
+ // rest at zero — and one arc per running step.
expect(screen.getByTestId("deck-orb-vu")).toBeTruthy();
expect(screen.getByTestId("deck-orb-ripples").childElementCount).toBe(0);
expect(screen.getByTestId("deck-orb").style.getPropertyValue("--orb-level")).toBe("0");
+ const step: ThinkingStep = {
+ id: "a",
+ kind: "tool",
+ labelKey: "thinking.tool",
+ status: "active",
+ startedTs: 0,
+ };
+ rerender(<DeckOrb steps={[step]} busy />);
+ expect(container.querySelectorAll("path").length).toBeGreaterThan(0);
});
test("moves with the voice: the real microphone level while listening, one variable for all", async () => {
@@ -64,15 +79,14 @@ describe("DeckOrb", () => {
}
});
- test("the centre is the Jarvis orb artwork, and nothing rides in its core", () => {
+ test("the centre is the mascot itself, drawn as vectors — no bitmap left", () => {
render(<DeckOrb steps={[]} busy={false} />);
const orb = screen.getByTestId("jarvis-orb");
expect(orb.getAttribute("data-voice")).toBe("idle");
- const images = orb.querySelectorAll("img");
- expect(images).toHaveLength(1);
- expect(images[0].getAttribute("src")).toBe("/deck-orb.png");
- // Artwork, not content: nothing here is read out.
- expect(images[0].getAttribute("alt")).toBe("");
+ // The PNG is gone from the tree, so it cannot come back in through here.
+ expect(orb.querySelectorAll("img")).toHaveLength(0);
+ expect(orb.querySelector(".gigi-root")).toBeTruthy();
+ expect(orb.querySelector("svg")).toBeTruthy();
});
test("a press on the orb fires the handler and carries its label", () => {
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
index 746a8362b6..f565b15be1 100644
--- a/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/DeckOrb.tsx
@@ -8,30 +8,27 @@ import { driveTarget, isOnset, orbDriveFor, smoothOrbLevel } from "@/lib/orbLeve
import { cn } from "@/lib/utils";
/**
- * The centre of the deck: the Jarvis orb in a reticle — a dial ring, corner
- * brackets, one bright arc per running step, and four small readouts at the
- * compass points.
+ * The centre of the deck: the mascot in a reticle — one hairline bezel, one
+ * bright arc per running step, the voice meter, and four small readouts at
+ * the corners.
*
- * The orb is the product's own artwork (`JarvisOrb`: the sphere cut out of
- * `hero-orb.png`), moved a little by the real voice state, with a soft gold
- * glow carrying it past its own edge. The maintainer asked for the picture
- * itself in the middle (2026-08-18) after the procedural cloud with a dark
- * mascot on it read as a blob. A mascot later rode in the core for a day
- * and came back out (2026-08-19): two ghosts on one stage. The reticle is
- * the deck's addition, and every part of it carries information: the arcs
- * are parallel work made visible, the sweep turns only while something
- * runs, the readouts are live values the caller sources.
+ * The middle is Gigi itself (`JarvisOrb`), moved by the real voice state,
+ * with a soft gold glow throwing the dark silhouette forward. It was a PNG
+ * of a glowing sphere until 2026-08-20; the maintainer had asked repeatedly
+ * for that picture to go and for the mascot to carry the product, and the
+ * picture had earned it — its baked-in white halo read as a grey box on the
+ * dark deck, and this reticle sliced that box off at the ring.
*
- * And it is ALIVE at rest (maintainer, 2026-08-19: the still reticle looked
- * boring on both stages): the inner scale turns slowly one way, a sparse
- * orbit the other, a satellite rides the bezel, the glow breathes, and while
- * the assistant is idle a faint ping leaves the orb every few seconds — the
- * listening heartbeat. Calm, not busy: slow periods, low opacities, nothing
- * that competes with a real signal (the satellite steps aside for the busy
- * sweep). Each living part is its own small layer — a root `<svg>` or a div
- * with a CSS transform/opacity animation (index.css) — so the browser turns
- * it on the compositor and the main thread never hears of it; the halo
- * filter stays on the still reticle. Reduced motion stops all of it.
+ * The reticle is now INSTRUMENTS ONLY, and every part of it carries
+ * information: the arcs are parallel work made visible, the sweep turns only
+ * while something runs, the meter is the voice, the readouts are live values
+ * the caller sources. What went with the PNG was the scenery that measured
+ * nothing — 72 dial ticks, corner brackets, two counter-turning orbits, a
+ * satellite riding the bezel and an idle ping (maintainer, 2026-08-20:
+ * instruments that show nothing are a stage set). The deck does not need
+ * them to look alive: the living thing in the middle blinks, its pupils
+ * drift and it waves, so the instruments can hold still until they have
+ * something to say. Reduced motion stops what is left.
*
* And it MOVES WITH THE VOICE, all of it (maintainer, 2026-08-19: "when you
* speak the sun moved — that, on the next level; not just the core, all of
@@ -99,7 +96,11 @@ export function DeckOrb({
}, [busy, reduced]);
const R = size / 2;
- const orbSize = Math.round(size * 0.78);
+ // The sphere sat at 0.78 of the reticle and left a ring of nothing around
+ // it. Gigi carries a lot of air inside its own 256 viewBox — the figure is
+ // roughly two thirds of it — so at 0.78 it read as a small toy in a big
+ // dial. At 0.96 the figure fills the bezel the way the sphere used to.
+ const orbSize = Math.round(size * 0.96);
const point = (deg: number, r: number): [number, number] => {
const rad = ((deg - 90) * Math.PI) / 180;
return [R + r * Math.cos(rad), R + r * Math.sin(rad)];
@@ -120,7 +121,6 @@ export function DeckOrb({
const [sx, sy] = point(sweep, R * 0.94);
const [ex, ey] = point(sweep + 36, R * 0.94);
- const B = 16; // bracket arm
const haloId = useId();
// The level loop: one number for everything that moves with the voice,
@@ -171,47 +171,8 @@ export function DeckOrb({
<svg viewBox={`0 0 ${size} ${size}`} className="absolute inset-0 h-full w-full" aria-hidden>
<HudHaloDefs id={haloId} />
<g filter={`url(#${haloId})`}>
- {/* corner brackets — the reticle's bounds */}
- {[
- `M 0.5 ${B} V 0.5 H ${B}`,
- `M ${size - B} 0.5 H ${size - 0.5} V ${B}`,
- `M ${size - 0.5} ${size - B} V ${size - 0.5} H ${size - B}`,
- `M ${B} ${size - 0.5} H 0.5 V ${size - B}`,
- ].map((d) => (
- <path key={d} d={d} fill="none" stroke="hsl(var(--primary))" strokeWidth={1.25} opacity={0.8} />
- ))}
-
- {/* bezel — the hairline the ticks hang from */}
- <circle cx={R} cy={R} r={R * 0.94} fill="none" stroke="hsl(var(--primary))" strokeWidth={1} opacity={0.5} />
-
- {/* outer dial: 72 ticks, long every 15° */}
- {Array.from({ length: 72 }, (_, i) => {
- const deg = i * 5;
- const long = i % 3 === 0;
- const [ax, ay] = point(deg, R * 0.94);
- const [bx, by] = point(deg, R * (long ? 0.885 : 0.91));
- return (
- <line
- key={deg}
- x1={ax}
- y1={ay}
- x2={bx}
- y2={by}
- stroke="hsl(var(--primary))"
- strokeWidth={1}
- opacity={long ? 0.78 : 0.42}
- />
- );
- })}
- {/* crosshair ticks at the compass points, outside the dial */}
- {[0, 90, 180, 270].map((deg) => {
- const [ax, ay] = point(deg, R * 0.96);
- const [bx, by] = point(deg, R * 1.0);
- return <line key={deg} x1={ax} y1={ay} x2={bx} y2={by} stroke="hsl(var(--primary))" strokeWidth={1.5} opacity={0.9} />;
- })}
-
- {/* inner scale ring around the orb (the dashed scale inside it turns — see below) */}
- <circle cx={R} cy={R} r={R * 0.84} fill="none" stroke="hsl(var(--primary))" strokeWidth={1} opacity={0.5} />
+ {/* bezel — the one hairline the meter and the arcs are read against */}
+ <circle cx={R} cy={R} r={R * 0.94} fill="none" stroke="hsl(var(--primary))" strokeWidth={1} opacity={0.4} />
{arcs.map((a) => (
<path
@@ -237,39 +198,6 @@ export function DeckOrb({
</g>
</svg>
- {/* The living parts, each its own layer (CSS, index.css): the dashed
- inner scale turning one way, a sparse orbit the other, a satellite
- on the bezel while nothing runs, and the idle ping. The rings sit
- in one wrapper that swells and brightens with the level. */}
- <div className="deck-orb-rings pointer-events-none absolute inset-0" aria-hidden>
- <OrbitLayer size={size} r={R * 0.66} className="deck-orb-orbit-a" dash="2 6" opacity={0.55} />
- <OrbitLayer size={size} r={R * 0.76} className="deck-orb-orbit-b" dash="18 54" opacity={0.32} />
- {!busy && (
- <svg
- viewBox={`0 0 ${size} ${size}`}
- className="deck-orb-satellite pointer-events-none absolute inset-0 h-full w-full"
- data-testid="deck-orb-satellite"
- >
- <path
- d={`M ${point(-16, R * 0.94)[0]} ${point(-16, R * 0.94)[1]} A ${R * 0.94} ${R * 0.94} 0 0 1 ${R} ${R - R * 0.94}`}
- fill="none"
- stroke="hsl(var(--primary))"
- strokeWidth={1.5}
- opacity={0.45}
- />
- <circle cx={R} cy={R - R * 0.94} r={2.2} fill="hsl(var(--primary))" />
- </svg>
- )}
- </div>
- {voiceState === "idle" && (
- <div
- aria-hidden
- data-testid="deck-orb-ping"
- className="deck-orb-ping pointer-events-none absolute rounded-full"
- style={{ inset: size * 0.08 }}
- />
- )}
-
{/* The level arc on the bezel: grows from the top down both sides with
the voice — a meter, reading `--orb-level` (CSS). */}
<svg
@@ -350,10 +278,13 @@ export function DeckOrb({
* The orb — the part of the centre a press lands on.
*
* Back to front: a soft gold glow wider than the sphere (`.deck-orb-glow`,
- * keyed on the voice state), then the artwork itself (`JarvisOrb`).
+ * keyed on the voice state), then the mascot itself (`JarvisOrb`).
*/
function OrbFace({ voiceState, orbSize }: { voiceState: VoiceState; orbSize: number }) {
- const glow = Math.round(orbSize * 1.35);
+ // The light behind the figure, a little wider than it so the silhouette
+ // stands IN it rather than on it. It followed a smaller orb at 1.35; with
+ // the figure nearly filling the bezel that would spill across the cards.
+ const glow = Math.round(orbSize * 1.05);
return (
<>
<div
@@ -379,45 +310,6 @@ function spawnRipple(host: HTMLDivElement | null): void {
host.appendChild(el);
}
-/**
- * One turning ring of the reticle: a dashed circle in its own root `<svg>`,
- * so its CSS rotation is a compositor transform (a transform on a group
- * INSIDE an svg repaints the whole svg every frame).
- */
-function OrbitLayer({
- size,
- r,
- className,
- dash,
- opacity,
-}: {
- size: number;
- r: number;
- className: string;
- dash: string;
- opacity: number;
-}) {
- const c = size / 2;
- return (
- <svg
- viewBox={`0 0 ${size} ${size}`}
- className={cn("pointer-events-none absolute inset-0 h-full w-full", className)}
- aria-hidden
- >
- <circle
- cx={c}
- cy={c}
- r={r}
- fill="none"
- stroke="hsl(var(--primary))"
- strokeWidth={1}
- strokeDasharray={dash}
- opacity={opacity}
- />
- </svg>
- );
-}
-
function Readout({
text,
className,
diff --git a/jarvis/ui/web/frontend/src/components/deck/JarvisOrb.tsx b/jarvis/ui/web/frontend/src/components/deck/JarvisOrb.tsx
index c20d4a003f..5619f74c21 100644
--- a/jarvis/ui/web/frontend/src/components/deck/JarvisOrb.tsx
+++ b/jarvis/ui/web/frontend/src/components/deck/JarvisOrb.tsx
@@ -1,31 +1,36 @@
import { motion, useReducedMotion, type TargetAndTransition } from "framer-motion";
+import { MascotGigi } from "@/components/MascotGigi";
import type { VoiceState } from "@/store/events";
import { cn } from "@/lib/utils";
/**
- * The Jarvis orb — the product's own artwork, in the middle of the deck.
+ * The centre of the deck: the mascot itself.
*
- * `/deck-orb.png` is the sphere cut out of `hero-orb.png` (the marketing
- * render: dark glass, a golden plasma core, ring echoes and sparks) with the
- * black plate keyed to transparency and a radial mask on the rest, so it sits
- * on the wallpaper as a thing, not as a picture of a thing. The maintainer
- * asked for exactly this on 2026-08-18: the orb IS a PNG, so bring the PNG.
+ * It used to be `/deck-orb.png` — a sphere cut out of the marketing render.
+ * A picture of a light, not a light: its halo was baked in as milky white
+ * pixels, so on the dark deck it read as a grey box, and the reticle around
+ * it sliced that box off at the ring. The maintainer asked repeatedly for the
+ * PNG to go and for the mascot to carry the product instead (2026-08-20), so
+ * both PNGs are gone from the tree and the middle is Gigi, drawn as vectors:
+ * sharp at any size, no edge to cut, no bitmap to ship.
*
- * The core carries NO mascot. It did for a day (a silhouette on the gold,
- * 2026-08-18); with the live mascot on the wallpaper that made two ghosts on
- * one stage, and the maintainer took it out (2026-08-19): the orb is the orb.
+ * The staging is a dark figure standing in golden light. The glow behind it
+ * (`.deck-orb-glow`, DeckOrb.tsx) throws the silhouette forward; the corona's
+ * slow rays come up behind it in the voice. Gigi brings its own life — it
+ * blinks, the pupils drift, it waves now and then, and with `reactToVoice` it
+ * listens, thinks and speaks along. That is why the reticle around it no
+ * longer needs to dance: the living thing is alive, the instruments stay
+ * still until they have something to show.
*
- * Voice moves it, honestly and cheaply. At rest a slow breath (framer, a
- * gentle loop). While something is happening, the VOICE itself: the deck orb
- * (DeckOrb.tsx) computes one level — the real microphone while listening, a
+ * Voice moves the whole figure, honestly and cheaply. At rest a slow breath
+ * (framer, a gentle loop). While something is happening, the VOICE itself:
+ * the deck orb computes one level — the real microphone while listening, a
* speech-shaped envelope while the assistant speaks, a heartbeat while it
* thinks — and writes it to `--orb-level`; the reactor wrapper here scales
- * and brightens the sun with it, and the corona behind it — slow-turning
- * rays — comes up in the light of it (CSS, index.css). The framer loops for
- * those states are therefore tiny: the level is the motion. Nothing in the
- * picture turns — a rotating highlight on a glass sphere reads as a broken
- * image; the corona turns BEHIND it. Dimmed and drained on an error.
- * `prefers-reduced-motion` gets the still picture.
+ * and brightens Gigi with it, and the corona behind it comes up in that same
+ * light (CSS, index.css). The framer loops are therefore tiny: the level is
+ * the motion. Dimmed and drained on an error. `prefers-reduced-motion` gets
+ * the still figure.
*/
const MOTION: Record<VoiceState, { animate: TargetAndTransition; duration: number }> = {
idle: {
@@ -78,15 +83,12 @@ export function JarvisOrb({
className={cn("relative select-none", className)}
style={{ width: size, height: size }}
>
- {/* the corona: slow-turning rays behind the sun, lit by the level */}
+ {/* the corona: slow-turning rays behind the mascot, lit by the level */}
<div aria-hidden className="deck-orb-corona pointer-events-none absolute rounded-full" />
- {/* the reactor: the sun, sized and lit by the level */}
+ {/* the reactor: the figure, sized and lit by the level */}
<div className="deck-orb-reactor absolute inset-0">
- <motion.img
- src="/deck-orb.png"
- alt=""
- draggable={false}
- className="absolute inset-0 h-full w-full"
+ <motion.div
+ className="grid h-full w-full place-items-center"
animate={reduced ? undefined : spec.animate}
transition={
reduced
@@ -95,7 +97,9 @@ export function JarvisOrb({
? { duration: spec.duration, repeat: Infinity, ease: "easeInOut" }
: { duration: 0.4 }
}
- />
+ >
+ <MascotGigi size={size} reactToVoice enableComments={false} />
+ </motion.div>
</div>
</div>
);
diff --git a/jarvis/ui/web/frontend/src/components/deck/OrbCore.tsx b/jarvis/ui/web/frontend/src/components/deck/OrbCore.tsx
deleted file mode 100644
index d2883e124a..0000000000
--- a/jarvis/ui/web/frontend/src/components/deck/OrbCore.tsx
+++ /dev/null
@@ -1,102 +0,0 @@
-import { useId } from "react";
-import type { VoiceState } from "@/store/events";
-import { cn } from "@/lib/utils";
-
-/**
- * The mask inside the orb.
- *
- * The deck's centre used to be the whole mascot pasted onto a bright gold
- * ball — a sticker on a moon. Now the mask IS the orb's core: a round, dark
- * body sunk into the golden weather, with only the eyes and the mouth glowing
- * gold out of it (maintainer's pick, 2026-08-18: "only the eyes in the dark
- * core"). The silhouette is implied, never cut out, so nothing competes with
- * the big mask in the wallpaper.
- *
- * The face reacts to the real voice state through the `data-voice` attribute
- * — the CSS in index.css (`.deck-core*`) reuses the mascot's keyframes: it
- * blinks, the pupils drift, the eyes prick up while listening, the head cocks
- * while thinking, the mouth moves while speaking. Everything stops under
- * reduced motion.
- */
-export function OrbCore({
- size,
- voiceState,
- className,
-}: {
- size: number;
- voiceState: VoiceState;
- className?: string;
-}) {
- const uid = useId();
- const id = (name: string) => `${uid}${name}`;
- return (
- <svg
- viewBox="0 0 256 256"
- width={size}
- height={size}
- className={cn("deck-core", className)}
- data-testid="orb-core"
- data-voice={voiceState}
- aria-hidden
- >
- <defs>
- <radialGradient id={id("deckCoreBody")} cx="50%" cy="38%" r="62%">
- <stop offset="0%" stopColor="#2a1d0a" />
- <stop offset="55%" stopColor="#120c04" />
- <stop offset="100%" stopColor="#070502" />
- </radialGradient>
- <linearGradient id={id("deckCoreGold")} x1="0%" y1="0%" x2="0%" y2="100%">
- <stop offset="0%" stopColor="#fff1b8" />
- <stop offset="55%" stopColor="#e7c46e" />
- <stop offset="100%" stopColor="#d29318" />
- </linearGradient>
- <filter id={id("deckCoreGlow")} x="-60%" y="-60%" width="220%" height="220%">
- <feGaussianBlur stdDeviation="4" result="b" />
- <feMerge>
- <feMergeNode in="b" />
- <feMergeNode in="SourceGraphic" />
- </feMerge>
- </filter>
- <filter id={id("deckCoreSoft")} x="-80%" y="-80%" width="260%" height="260%">
- <feGaussianBlur stdDeviation="9" />
- </filter>
- </defs>
-
- {/* The body: a dark disc with a hairline of gold where it meets the aura. */}
- <circle cx={128} cy={128} r={124} fill={`url(#${id("deckCoreBody")})`} />
- <circle
- cx={128}
- cy={128}
- r={124}
- fill="none"
- stroke="#e7c46e"
- strokeWidth={1.5}
- opacity={0.38}
- />
-
- <g className="deck-core-face">
- {/* Eye glow — the light the eyes throw onto the body. */}
- <ellipse cx={84} cy={112} rx={26} ry={34} fill="#f8e297" opacity={0.3} filter={`url(#${id("deckCoreSoft")})`} />
- <ellipse cx={172} cy={112} rx={26} ry={34} fill="#f8e297" opacity={0.3} filter={`url(#${id("deckCoreSoft")})`} />
-
- {/* Eyes — they blink; pupils and sparkle live inside so they blink along. */}
- <g className="deck-core-eyes">
- <ellipse cx={84} cy={112} rx={17} ry={24} fill={`url(#${id("deckCoreGold")})`} filter={`url(#${id("deckCoreGlow")})`} />
- <ellipse cx={172} cy={112} rx={17} ry={24} fill={`url(#${id("deckCoreGold")})`} filter={`url(#${id("deckCoreGlow")})`} />
- <g className="deck-core-pupils">
- <ellipse cx={87} cy={117} rx={6.5} ry={10} fill="#070502" />
- <ellipse cx={175} cy={117} rx={6.5} ry={10} fill="#070502" />
- <circle cx={90} cy={104} r={3.2} fill="#ffffff" />
- <circle cx={178} cy={104} r={3.2} fill="#ffffff" />
- </g>
- </g>
-
- {/* Mouth — breathes at rest, moves while speaking. */}
- <g className="deck-core-mouth">
- <ellipse cx={128} cy={170} rx={12} ry={17} fill={`url(#${id("deckCoreGold")})`} filter={`url(#${id("deckCoreGlow")})`} />
- <ellipse cx={128} cy={170} rx={5} ry={8.5} fill="#070502" />
- </g>
- </g>
- </svg>
- );
-}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index c96611a683..aecb7af241 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -4365,7 +4365,7 @@
"running": "Läuft gerade",
"thinking_now": "Denkt gerade",
"thinking_starting": "Startet…",
- "idle_headline": "Sag „{0}“ – oder klick auf den Orb.",
+ "idle_headline": "Sag „{0}“ – oder klick aufs Maskottchen.",
"orb_call": "Losreden – so, als hättest du „{0}“ gesagt.",
"orb_hangup": "Gespräch beenden.",
"warming": "Startet gerade. Sprechen geht gleich.",
@@ -4506,7 +4506,7 @@
"boot_brain_off": "kein Brain eingerichtet – API-Keys öffnen",
"boot_wake_pending": "schärfe das Wake-Word",
"boot_wake_ok": "höre auf „{0}“",
- "boot_wake_off": "Wake-Word aus – der Orb oder der Hotkey startet ein Gespräch",
+ "boot_wake_off": "Wake-Word aus – das Maskottchen oder der Hotkey startet ein Gespräch",
"standby_since": "seit {0}",
"open_board": "Board öffnen"
},
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index 0a55e41c1c..776daa6909 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -4365,7 +4365,7 @@
"running": "Running now",
"thinking_now": "Thinking",
"thinking_starting": "Starting…",
- "idle_headline": "Say “{0}” — or click the orb.",
+ "idle_headline": "Say “{0}” — or click the mascot.",
"orb_call": "Start talking — the same as saying “{0}”.",
"orb_hangup": "End the conversation.",
"warming": "Starting up. Speaking works in a moment.",
@@ -4506,7 +4506,7 @@
"boot_brain_off": "no brain configured — open API keys",
"boot_wake_pending": "arming the wake word",
"boot_wake_ok": "listening for “{0}”",
- "boot_wake_off": "wake word off — the orb or the hotkey starts a talk",
+ "boot_wake_off": "wake word off — the mascot or the hotkey starts a talk",
"standby_since": "since {0}",
"open_board": "Open the board"
},
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index 0127d6ec15..cbe6388713 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -4365,7 +4365,7 @@
"running": "En marcha",
"thinking_now": "Pensando",
"thinking_starting": "Empezando…",
- "idle_headline": "Di «{0}» — o haz clic en el orbe.",
+ "idle_headline": "Di «{0}» — o haz clic en la mascota.",
"orb_call": "Empieza a hablar — igual que decir «{0}».",
"orb_hangup": "Terminar la conversación.",
"warming": "Arrancando. Hablar funcionará enseguida.",
@@ -4506,7 +4506,7 @@
"boot_brain_off": "sin cerebro configurado — abre las claves API",
"boot_wake_pending": "armando la palabra de activación",
"boot_wake_ok": "escuchando «{0}»",
- "boot_wake_off": "palabra de activación apagada — el orbe o el atajo inician la charla",
+ "boot_wake_off": "palabra de activación apagada — la mascota o el atajo inician la charla",
"standby_since": "desde {0}",
"open_board": "Abrir el tablero"
},
diff --git a/jarvis/ui/web/frontend/src/index.css b/jarvis/ui/web/frontend/src/index.css
index db114957a3..fc9d67a3ee 100644
--- a/jarvis/ui/web/frontend/src/index.css
+++ b/jarvis/ui/web/frontend/src/index.css
@@ -2083,69 +2083,6 @@
}
}
- /* ===========================================================
- Deck orb — the mask inside the orb.
- `.deck-core` is the dark core with the glowing eyes and mouth
- (components/deck/OrbCore.tsx); `.deck-orb-glow` is the soft gold
- halo behind the sphere. The face reuses the mascot's keyframes
- (auto-blink, pupil drift, mouth breathing, ear-prick, speak,
- thinking tilt) and reacts to the real voice state through
- `data-voice`. Reduced motion stops all of it.
- =========================================================== */
- .deck-core {
- display: block;
- overflow: visible;
- /* sunk into the aura: a soft shadow where the core meets the weather */
- filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.55));
- }
- .deck-core .deck-core-face {
- transform-box: fill-box;
- transform-origin: 50% 50%;
- }
- .deck-core .deck-core-eyes {
- transform-box: fill-box;
- transform-origin: 50% 50%;
- animation: gigi-auto-blink 7s ease-in-out infinite;
- }
- .deck-core .deck-core-pupils {
- transform-box: fill-box;
- transform-origin: 50% 50%;
- animation: gigi-pupil-drift 11s ease-in-out infinite;
- }
- .deck-core .deck-core-mouth {
- transform-box: fill-box;
- transform-origin: 50% 50%;
- animation: gigi-mouth-idle 5.8s ease-in-out infinite;
- }
- /* listening: the eyes prick up */
- .deck-core[data-voice="listening"] .deck-core-eyes {
- animation: gigi-ear-prick 1.2s ease-in-out infinite;
- }
- /* thinking: the head cocks and the eyes wander */
- .deck-core[data-voice="thinking"] .deck-core-face {
- animation: gigi-thinking-tilt 2.4s ease-in-out infinite;
- }
- .deck-core[data-voice="thinking"] .deck-core-pupils {
- animation: deck-core-scan 2.4s ease-in-out infinite;
- }
- @keyframes deck-core-scan {
- 0%,
- 100% {
- transform: translate(-6px, -2px);
- }
- 50% {
- transform: translate(6px, -2px);
- }
- }
- /* speaking: the mouth moves */
- .deck-core[data-voice="speaking"] .deck-core-mouth {
- animation: gigi-speak 0.35s ease-in-out infinite alternate;
- }
- /* error: the gold turns hot */
- .deck-core[data-voice="error"] {
- filter: drop-shadow(0 0 7px rgba(0, 0, 0, 0.55)) hue-rotate(-40deg) saturate(1.4);
- }
-
/* -----------------------------------------------------------
The orb moves with the voice (DeckOrb.tsx, JarvisOrb.tsx).
`--orb-level` is ONE number, 0..1, on the orb's root — the real
@@ -2197,12 +2134,6 @@
animation: deck-orb-turn 30s linear infinite;
will-change: transform, opacity;
}
- /* the rings swell and brighten a little with it */
- .deck-orb-rings {
- transform: scale(calc(1 + var(--orb-level, 0) * 0.035));
- opacity: calc(0.75 + var(--orb-level, 0) * 0.25);
- will-change: transform, opacity;
- }
/* the level arc on the bezel: two half-circles from the top, drawn as far
as the level goes; nothing at 0 */
.deck-orb-vu path {
@@ -2243,33 +2174,20 @@
}
/* -----------------------------------------------------------
- The reticle's living parts (DeckOrb.tsx). Each is a root
- <svg> or a div of its own, so these transforms and opacities
- are compositor work: the dashed inner scale turns one way,
- a sparse orbit the other, a satellite rides the bezel, and
- while the assistant is idle a faint ping leaves the orb every
- seven seconds. The standby's big ring turns its inner scale
- the same way (.deck-ring-orbit). Slow on purpose.
+ The standby's big ring turns its inner scale slowly
+ (DeckStandby.tsx). It is a root <svg> of its own, so the CSS
+ rotation is compositor work. The deck orb's reticle used to
+ have scenery of the same kind — two counter-turning orbits, a
+ satellite on the bezel, an idle ping — and lost it with the
+ orb PNG (2026-08-20): the mascot in the middle is the living
+ thing now, the instruments hold still until they measure
+ something.
----------------------------------------------------------- */
- .deck-orb-orbit-a,
- .deck-orb-orbit-b,
- .deck-orb-satellite,
.deck-ring-orbit {
transform-origin: 50% 50%;
will-change: transform;
/* the same readability halo the still reticle gets from its SVG filter */
filter: drop-shadow(0 0 1.2px hsl(var(--background) / 0.85));
- }
- .deck-orb-orbit-a {
- animation: deck-orb-turn 48s linear infinite;
- }
- .deck-orb-orbit-b {
- animation: deck-orb-turn 36s linear infinite reverse;
- }
- .deck-orb-satellite {
- animation: deck-orb-turn 18s linear infinite;
- }
- .deck-ring-orbit {
animation: deck-orb-turn 90s linear infinite reverse;
}
@keyframes deck-orb-turn {
@@ -2277,46 +2195,14 @@
transform: rotate(360deg);
}
}
- .deck-orb-ping {
- border: 1px solid hsl(var(--primary) / 0.9);
- box-shadow: 0 0 6px hsl(var(--primary) / 0.35);
- opacity: 0;
- transform: scale(0.88);
- will-change: transform, opacity;
- animation: deck-orb-ping 7s ease-out infinite;
- }
- @keyframes deck-orb-ping {
- 0% {
- opacity: 0;
- transform: scale(0.88);
- }
- 3% {
- opacity: 0.55;
- }
- 22% {
- opacity: 0;
- transform: scale(1.12);
- }
- 100% {
- opacity: 0;
- transform: scale(1.12);
- }
- }
@media (prefers-reduced-motion: reduce) {
- .deck-core,
- .deck-core *,
.deck-orb-glow,
- .deck-orb-orbit-a,
- .deck-orb-orbit-b,
- .deck-orb-satellite,
- .deck-orb-ping,
.deck-orb-corona,
.deck-orb-ripple,
.deck-ring-orbit {
animation: none !important;
}
- .deck-orb-ping,
.deck-orb-corona,
.deck-orb-ripple {
display: none;
diff --git a/jarvis/ui/web/frontend/src/lib/deckStage.test.ts b/jarvis/ui/web/frontend/src/lib/deckStage.test.ts
index c0fbc91ac4..94a960ac63 100644
--- a/jarvis/ui/web/frontend/src/lib/deckStage.test.ts
+++ b/jarvis/ui/web/frontend/src/lib/deckStage.test.ts
@@ -1,5 +1,5 @@
import { describe, expect, test } from "vitest";
-import { orbSizeFor, stageVignette } from "@/lib/deckStage";
+import { orbSizeFor, stageVignette, stageWashSize } from "@/lib/deckStage";
describe("orbSizeFor", () => {
test("is the maximum until the stage is measured", () => {
@@ -21,4 +21,18 @@ describe("stageVignette", () => {
expect(css).toContain("165px");
expect(css).toContain("315px");
});
+
+ test("is centred on its own element, not offset for a column", () => {
+ // It rode a wide, short column at "50% 46%" and got clipped top and
+ // bottom while still opaque — a bright slab in light mode.
+ expect(stageVignette(300)).toContain("circle at 50% 50%");
+ });
+
+ test("the element is wide enough for the circle to reach zero inside it", () => {
+ // Anything smaller and an edge cuts the wash — the defect this pair fixes.
+ for (const size of [200, 240, 300, 320]) {
+ const outer = Number(/ (\d+)px\)$/.exec(stageVignette(size))?.[1]);
+ expect(stageWashSize(size)).toBeGreaterThanOrEqual(outer * 2);
+ }
+ });
});
diff --git a/jarvis/ui/web/frontend/src/lib/deckStage.ts b/jarvis/ui/web/frontend/src/lib/deckStage.ts
index 701c25600e..8bdf83908f 100644
--- a/jarvis/ui/web/frontend/src/lib/deckStage.ts
+++ b/jarvis/ui/web/frontend/src/lib/deckStage.ts
@@ -21,13 +21,31 @@ export function orbSizeFor(width: number, height: number): number {
}
/**
- * The stage under the centre: the wallpaper darkens softly around the orb, in
- * the theme's own ground colour (so it is a light pool in light mode), and the
- * orb stands on a stage instead of sitting on whatever the wallpaper puts
- * there. Sized off the reticle so it reads the same at every stage size.
+ * How wide the wash under the centre has to be drawn: twice its own outer
+ * radius, so the circle reaches zero INSIDE its element.
+ *
+ * This is the whole point of the pair. The wash used to be a background on
+ * the stage column itself, which is far wider than it is tall — the circle
+ * ran off the top and bottom edges while still at a third of its opacity and
+ * was cut there, so the "soft pool" was a rectangle with two straight edges.
+ * On the dark deck that read as a slightly darker box; in light mode, where
+ * the ground colour is near-white over a dark wallpaper, it was a bright slab
+ * behind the mascot — the same defect the orb PNG had, from the other side.
+ * On its own square element nothing can clip it.
+ */
+export function stageWashSize(size: number): number {
+ return Math.round(size * 1.05) * 2;
+}
+
+/**
+ * The stage under the centre: the wallpaper darkens softly around the mascot,
+ * in the theme's own ground colour (so it is a light pool in light mode), and
+ * the mascot stands on a stage instead of on whatever the wallpaper puts
+ * there. Sized off the reticle so it reads the same at every stage size, and
+ * centred on its own element (see `stageWashSize`).
*/
export function stageVignette(size: number): string {
const inner = Math.round(size * 0.55);
const outer = Math.round(size * 1.05);
- return `radial-gradient(circle at 50% 46%, hsl(var(--background) / 0.9) 0px, hsl(var(--background) / 0.55) ${inner}px, hsl(var(--background) / 0) ${outer}px)`;
+ return `radial-gradient(circle at 50% 50%, hsl(var(--background) / 0.9) 0px, hsl(var(--background) / 0.55) ${inner}px, hsl(var(--background) / 0) ${outer}px)`;
}
diff --git a/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx b/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx
index 2f68af9547..ada83e3fd7 100644
--- a/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx
+++ b/jarvis/ui/web/frontend/src/views/MissionDeckView.tsx
@@ -28,7 +28,7 @@ import { useVoiceReadiness } from "@/hooks/useVoiceReadiness";
import { useWakeWord } from "@/hooks/useWakeWord";
import { useVoiceCall } from "@/components/agentic/useVoiceCall";
import { useElementSize } from "@/hooks/useElementSize";
-import { orbSizeFor, stageVignette } from "@/lib/deckStage";
+import { orbSizeFor, stageVignette, stageWashSize } from "@/lib/deckStage";
import { HANDOFF, autoLaunchAfterMs, resolvePhase } from "@/lib/deckStandby";
import { writeDeckMode } from "@/lib/deckMode";
import { cn } from "@/lib/utils";
@@ -460,11 +460,24 @@ function BoardCentre({
<div
ref={stageRef}
className="flex min-h-0 flex-1 flex-col items-center justify-center gap-2 px-2 text-center"
- style={{ backgroundImage: stageVignette(orbSize) }}
>
{/* The same layoutId as the standby's orb: when the board takes over,
the orb travels here instead of blinking — and lands with a ring. */}
- <div className="relative">
+ <div className="relative isolate">
+ {/* The wash that lifts the centre off the wallpaper. It rides on the
+ orb, on a square of its own, because it used to be a background
+ on the column above — where the column's straight top and bottom
+ cut the circle while it was still opaque (deckStage.ts). */}
+ <div
+ aria-hidden
+ data-testid="deck-stage-wash"
+ className="pointer-events-none absolute left-1/2 top-1/2 -z-10 -translate-x-1/2 -translate-y-1/2 rounded-full"
+ style={{
+ width: stageWashSize(orbSize),
+ height: stageWashSize(orbSize),
+ backgroundImage: stageVignette(orbSize),
+ }}
+ />
<motion.div layoutId="deck-orb" layoutDependency={orbSize} transition={ORB_TRAVEL}>
<DeckOrb
steps={steps}