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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
refactor(ui): finish the Ink & Paper pass across the remaining surfaces
rubenluetke10-beep917691b242cd
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsxindex 6b94e3db79..71256b2a59 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx@@ -2516,7 +2516,7 @@ export function AgenticGrid({*/chatStage? "hidden"- : "shadow-lg"+ : "": "hidden": maximized !== null && !isMaximized && "hidden",)}@@ -2611,7 +2611,7 @@ export function AgenticGrid({ZONE_BOX[arrange.hover.zone],)}/>- <span className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 whitespace-nowrap rounded-md bg-primary px-2 py-1 text-[11px] font-semibold text-primary-foreground shadow-lg">+ <span className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 whitespace-nowrap rounded-md bg-foreground/70 px-2 py-1 text-[11px] font-semibold text-primary-foreground">{t(`agentic_grid.arrange.${arrange.hover.zone}`).replace("{0}",term.name,@@ -2650,9 +2650,9 @@ export function AgenticGrid({><spanclassName={cn(- "absolute left-1/2 top-1/2 flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-lg border shadow-md transition-colors",+ "absolute left-1/2 top-1/2 flex h-8 w-8 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-lg border transition-colors",selectedTerminals.has(term.name)- ? "border-primary bg-primary text-primary-foreground"+ ? "border-primary bg-foreground/70 text-primary-foreground": "border-border bg-card/90 text-transparent",)}aria-hidden="true"@@ -2851,7 +2851,7 @@ export function AgenticGrid({<MoveHorizontalaria-hiddenclassName={cn(- "pointer-events-none absolute left-1/2 top-1/2 h-5 w-5 -translate-x-1/2 -translate-y-1/2 rounded-full border border-primary/35 bg-background/90 p-0.5 text-primary shadow-sm backdrop-blur transition-opacity",+ "pointer-events-none absolute left-1/2 top-1/2 h-5 w-5 -translate-x-1/2 -translate-y-1/2 rounded-full border border-primary/35 bg-background/90 p-0.5 text-primary backdrop-blur transition-opacity",explorerPane.isResizing? "opacity-100": "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100",@@ -2907,7 +2907,7 @@ export function AgenticGrid({{arrange.held !== null && arrange.point !== null && (<divdata-testid="agentic-arrange-ghost"- className="pointer-events-none fixed z-50 flex items-center gap-1.5 rounded-lg border border-primary/60 bg-card px-2.5 py-1.5 text-xs font-semibold shadow-xl"+ className="pointer-events-none fixed z-50 flex items-center gap-1.5 rounded-lg border border-primary/60 bg-card px-2.5 py-1.5 text-xs font-semibold"style={{ left: arrange.point.x + 14, top: arrange.point.y + 14 }}><GripVertical className="h-3.5 w-3.5 text-primary" />@@ -2971,7 +2971,7 @@ function ViewMenu({<div className="fixed inset-0 z-40" onMouseDown={() => setOpen(false)} /><divdata-testid="agentic-view-menu-panel"- className="absolute right-0 top-full z-50 mt-1 w-60 rounded-xl border border-border bg-card p-3 shadow-xl"+ className="absolute right-0 top-full z-50 mt-1 w-60 rounded-xl border border-border bg-card p-3"><div className="flex items-center justify-between gap-3"><span className="text-xs text-muted-foreground">@@ -3066,7 +3066,7 @@ function ToolbarOverflow({ children }: { children: React.ReactNode }) {className={cn("contents",open- ? "max-[900px]:absolute max-[900px]:right-0 max-[900px]:top-full max-[900px]:z-50 max-[900px]:mt-1 max-[900px]:flex max-[900px]:w-[min(22rem,calc(100vw-1rem))] max-[900px]:flex-wrap max-[900px]:items-center max-[900px]:justify-end max-[900px]:gap-1 max-[900px]:rounded-xl max-[900px]:border max-[900px]:border-border max-[900px]:bg-card max-[900px]:p-2 max-[900px]:shadow-xl"+ ? "max-[900px]:absolute max-[900px]:right-0 max-[900px]:top-full max-[900px]:z-50 max-[900px]:mt-1 max-[900px]:flex max-[900px]:w-[min(22rem,calc(100vw-1rem))] max-[900px]:flex-wrap max-[900px]:items-center max-[900px]:justify-end max-[900px]:gap-1 max-[900px]:rounded-xl max-[900px]:border max-[900px]:border-border max-[900px]:bg-card max-[900px]:p-2 max-[900px]:": "max-[900px]:hidden",)}>@@ -3197,7 +3197,7 @@ function ConfirmSelectionClose({<Dialog.Overlay className="fixed inset-0 z-50 bg-background/70 backdrop-blur-sm" /><Dialog.Contentdata-testid="confirm-close-selection"- className="fixed left-1/2 top-1/2 z-50 w-[min(26rem,calc(100vw-3rem))] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-card p-5 shadow-xl"+ className="fixed left-1/2 top-1/2 z-50 w-[min(26rem,calc(100vw-3rem))] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-card p-5"onEscapeKeyDown={(event) => {if (busy) event.preventDefault();}}@@ -3277,7 +3277,7 @@ function ConfirmWorkspaceClose({<Dialog.Overlay className="fixed inset-0 z-50 bg-background/70 backdrop-blur-sm" /><Dialog.Contentdata-testid="confirm-close-workspace"- className="fixed left-1/2 top-1/2 z-50 w-[min(24rem,calc(100vw-3rem))] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-card p-5 shadow-xl"+ className="fixed left-1/2 top-1/2 z-50 w-[min(24rem,calc(100vw-3rem))] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-border bg-card p-5"onEscapeKeyDown={(event) => {if (busy) event.preventDefault();}}@@ -3342,7 +3342,7 @@ function ConfirmClose({if (e.key === "Escape") onCancel();}}>- <div className="w-full max-w-sm rounded-xl border border-border bg-card p-5 shadow-xl">+ <div className="w-full max-w-sm rounded-xl border border-border bg-card p-5"><h3 className="font-display text-base font-semibold">Close {name}?</h3><p className="mt-2 text-sm text-muted-foreground">The coding agent running in this terminal is stopped and its session is gone. Anything itdiff --git a/jarvis/ui/web/frontend/src/components/agentic/VoiceBubble.tsx b/jarvis/ui/web/frontend/src/components/agentic/VoiceBubble.tsxindex 0d1569dd38..b8d332fc1d 100644--- a/jarvis/ui/web/frontend/src/components/agentic/VoiceBubble.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/VoiceBubble.tsx@@ -199,14 +199,14 @@ function format(text: string, ...values: Array<string | number>): string {*/const BUBBLE_BTN ="pointer-events-auto flex h-8 w-8 items-center justify-center rounded-full " +- "border border-border/50 bg-background/85 text-muted-foreground shadow-lg " ++ "border border-border/50 bg-background/85 text-muted-foreground " +"backdrop-blur transition-colors hover:bg-secondary hover:text-foreground " +"focus-visible:outline-none focus-visible:ring-2 " +"focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-40";/** The small floating surfaces (status, transcript, receipts) share this look. */const BUBBLE_SURFACE =- "pointer-events-auto border border-border/50 bg-background/85 shadow-lg backdrop-blur";+ "pointer-events-auto border border-border/50 bg-background/85 backdrop-blur";export function VoiceBubble({open,@@ -666,6 +666,9 @@ export function VoiceBubble({"hover:scale-[1.02] active:scale-[0.98] focus-visible:ring-2 focus-visible:ring-primary/50 motion-reduce:transform-none",// With no card behind it, the sphere needs its own separation from// whatever the pane below is drawing — a cast shadow, not a frame.+ // Exempt from the no-shadows pass: the Design.md's rule assumes a+ // hairline can do the job, and here a frame is exactly what this+ // element must not have."drop-shadow-[0_10px_28px_rgba(0,0,0,0.5)]",active? "[filter:saturate(1)_brightness(1)]"diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsxindex eed94eb260..b2d55c482c 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceFileViewer.tsx@@ -248,13 +248,13 @@ function ViewerContent({return <iframe title={name} src={fileUrl} className="h-full min-h-[28rem] w-full border-0 bg-white" />;}if (kind === "image") {- return <div className="flex min-h-full items-center justify-center p-6"><img src={fileUrl} alt={name} onError={onNativeError} className="max-h-full max-w-full object-contain shadow-2xl" /></div>;+ return <div className="flex min-h-full items-center justify-center p-6"><img src={fileUrl} alt={name} onError={onNativeError} className="max-h-full max-w-full object-contain" /></div>;}if (kind === "audio") {return <div className="flex min-h-full items-center justify-center p-8"><audio src={fileUrl} controls onError={onNativeError} className="w-full max-w-xl" /></div>;}if (kind === "video") {- return <div className="flex min-h-full items-center justify-center p-6"><video src={fileUrl} controls onError={onNativeError} className="max-h-full max-w-full bg-black shadow-2xl" /></div>;+ return <div className="flex min-h-full items-center justify-center p-6"><video src={fileUrl} controls onError={onNativeError} className="max-h-full max-w-full bg-black" /></div>;}if (kind === "html") {return <iframe title={name} src={fileUrl} sandbox="" className="h-full min-h-[28rem] w-full border-0 bg-white" />;diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsxindex a8fdafa1f3..fd5f0ac648 100644--- a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx@@ -42,8 +42,8 @@ import { useT } from "@/i18n";function outcomeTone(outcome: string): string {const o = outcome.toLowerCase();if (o.includes("error") || o.includes("fail")) return "bg-destructive";- if (o.includes("ok") || o.includes("success") || o.includes("done")) return "bg-emerald-600 dark:bg-emerald-400";- if (o.includes("running") || o.includes("open") || o.includes("live")) return "bg-primary animate-pulse";+ if (o.includes("ok") || o.includes("success") || o.includes("done")) return "bg-muted-foreground";+ if (o.includes("running") || o.includes("open") || o.includes("live")) return "bg-foreground/70 animate-pulse";return "bg-muted-foreground";}@@ -100,8 +100,8 @@ export function RunsCard({ className }: { className?: string }) {// ----------------------------------------------------------------------const OUTPUT_TONE: Record<string, string> = {- running: "bg-primary animate-pulse",- success: "bg-emerald-600 dark:bg-emerald-400",+ running: "bg-foreground/70 animate-pulse",+ success: "bg-muted-foreground",error: "bg-destructive",cancelled: "bg-muted-foreground",unknown: "bg-muted-foreground",@@ -359,7 +359,7 @@ function CrewColumn({className={cn("h-1.5 w-1.5 shrink-0",r.state === "working" || r.state === "starting"- ? "animate-pulse bg-primary shadow-[0_0_6px_1px_hsl(var(--primary)/0.6)]"+ ? "animate-pulse bg-foreground/70": r.state === "failed"? "bg-destructive": r.state === "waiting" || r.state === "asking"@@ -404,7 +404,7 @@ function CrewColumn({// ----------------------------------------------------------------------const LINE_TONE: Record<string, string> = {- cmd: "text-emerald-700 dark:text-emerald-400",+ cmd: "text-muted-foreground",cli: "text-primary",out: "text-foreground/90",err: "text-destructive",diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsxindex 360171217c..b9b6702ede 100644--- a/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsx@@ -92,7 +92,7 @@ export function TurnCard({ className }: { className?: string }) {className={cn("h-1 w-full",on- ? "bg-primary shadow-[0_0_6px_hsl(var(--primary)/0.7)]"+ ? "bg-foreground/70": passed? "bg-primary/40": "bg-border",@@ -147,7 +147,7 @@ export function TurnCard({ className }: { className?: string }) {.join(" · ")}</span>{turn.cacheHit && (- <span className="shrink-0 uppercase tracking-wider text-emerald-700 dark:text-emerald-400">{t("deck.api_cache_hit")}</span>+ <span className="shrink-0 uppercase tracking-wider text-muted-foreground">{t("deck.api_cache_hit")}</span>)}</div></div>diff --git a/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx b/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsxindex a9938a0bc6..ed83daa424 100644--- a/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/HudFrame.tsx@@ -194,8 +194,8 @@ export function HudLamp({"inline-block h-1.5 w-1.5 shrink-0",on? tone === "destructive"- ? "bg-destructive shadow-[0_0_6px_1px_hsl(var(--destructive)/0.6)]"- : "bg-primary shadow-[0_0_6px_1px_hsl(var(--primary)/0.6)]"+ ? "bg-destructive"+ : "bg-foreground/70": "bg-muted-foreground/40",className,)}diff --git a/jarvis/ui/web/frontend/src/components/home/AllChatsDialog.tsx b/jarvis/ui/web/frontend/src/components/home/AllChatsDialog.tsxindex 37d00a24c7..8d1b2162d4 100644--- a/jarvis/ui/web/frontend/src/components/home/AllChatsDialog.tsx+++ b/jarvis/ui/web/frontend/src/components/home/AllChatsDialog.tsx@@ -75,7 +75,7 @@ export function AllChatsDialog({className={cn("fixed left-1/2 top-1/2 z-[90] flex max-h-[min(84dvh,44rem)] w-[min(680px,calc(100vw-2rem))]","-translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-2xl border border-border",- "bg-card shadow-[0_28px_90px_-24px_rgba(0,0,0,0.6)] outline-none",+ "bg-card outline-none","data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 motion-reduce:animate-none",)}>@@ -235,7 +235,7 @@ function ArchiveRow({className={cn("flex w-full items-start gap-2.5 rounded-xl px-2.5 py-2 text-left transition-colors","focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",- active ? "bg-background/80 shadow-sm" : "hover:bg-background/50",+ active ? "bg-background/80" : "hover:bg-background/50",)}><Icondiff --git a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsxindex 21ac08f495..91f8eb860d 100644--- a/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx+++ b/jarvis/ui/web/frontend/src/components/layout/Sidebar.tsx@@ -75,9 +75,9 @@ const IDE_SECTIONS: readonly string[] = [const VOICE_STATE_STYLE: Record<string, { dot: string; pulse: boolean }> = {idle: { dot: "bg-muted-foreground/50", pulse: false },- listening: { dot: "bg-emerald-400", pulse: true },- thinking: { dot: "bg-primary", pulse: true },- speaking: { dot: "bg-primary", pulse: true },+ listening: { dot: "bg-muted-foreground", pulse: true },+ thinking: { dot: "bg-foreground/70", pulse: true },+ speaking: { dot: "bg-foreground/70", pulse: true },// The user muted or suspended the pipeline: neither working nor broken.paused: { dot: "bg-foreground", pulse: false },error: { dot: "bg-destructive", pulse: false },@@ -400,7 +400,7 @@ export function Sidebar({<spandata-testid="sidebar-instance-tag"title={t("sidebar.instance_dev_hint")}- className="absolute -bottom-1 -right-1 rounded-[3px] bg-primary px-[3px] py-px font-mono text-[7px] font-bold leading-none tracking-wider text-primary-foreground"+ className="absolute -bottom-1 -right-1 rounded-[3px] bg-foreground/70 px-[3px] py-px font-mono text-[7px] font-bold leading-none tracking-wider text-primary-foreground">{devTag}</span>@@ -433,7 +433,7 @@ export function Sidebar({<spandata-testid="sidebar-instance-tag"title={t("sidebar.instance_dev_hint")}- className="shrink-0 rounded-[4px] bg-primary px-1 py-px font-mono text-[9px] font-bold leading-none tracking-wider text-primary-foreground"+ className="shrink-0 rounded-[4px] bg-foreground/70 px-1 py-px font-mono text-[9px] font-bold leading-none tracking-wider text-primary-foreground">{devTag}</span>@@ -497,7 +497,7 @@ export function Sidebar({data-testid="sidebar-new-chat"className="mt-2 flex w-full items-center gap-2 rounded-lg border border-border bg-card px-2.5 py-1.5 text-xs font-medium text-foreground transition-colors hover:border-primary/40 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring">- <span className="flex h-4 w-4 items-center justify-center rounded bg-primary text-primary-foreground">+ <span className="flex h-4 w-4 items-center justify-center rounded bg-foreground/70 text-primary-foreground"><Plus aria-hidden className="h-3 w-3" /></span>{onVoiceSurface ? t("sidebar.new_voice_chat") : t("sidebar.new_chat")}@@ -654,7 +654,7 @@ export function Sidebar({: footerTooltip}>- <div className="h-2 w-2 shrink-0 rounded-full bg-primary shadow-[0_0_8px_rgb(var(--accent-rgb)/0.7)]" />+ <div className="h-2 w-2 shrink-0 rounded-full bg-foreground/70" />{!railed && (<div className="flex-1 min-w-0"><divdiff --git a/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx b/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsxindex 48022db638..edb5346e23 100644--- a/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx+++ b/jarvis/ui/web/frontend/src/components/marketplace/PublishStudio.tsx@@ -360,7 +360,7 @@ export function PublishStudio({onClick={onClose}className="absolute inset-0 cursor-default"/>- <div className="relative m-auto flex h-[min(92vh,56rem)] w-[min(96vw,72rem)] overflow-hidden rounded-2xl border border-border bg-popover text-popover-foreground shadow-2xl">+ <div className="relative m-auto flex h-[min(92vh,56rem)] w-[min(96vw,72rem)] overflow-hidden rounded-2xl border border-border bg-popover text-popover-foreground">{/* Rail */}<aside className="relative isolate hidden w-60 shrink-0 flex-col border-r border-border bg-secondary/30 p-5 md:flex"><div@@ -494,7 +494,7 @@ function Station({<liclassName={cn("flex items-center gap-3 rounded-lg px-2.5 py-2 text-sm transition-colors",- active ? "bg-background/70 text-foreground shadow-sm" : "text-muted-foreground",+ active ? "bg-background/70 text-foreground" : "text-muted-foreground",)}data-active={active ? "yes" : "no"}>@@ -502,7 +502,7 @@ function Station({className={cn("grid h-6 w-6 shrink-0 place-items-center rounded-full border text-[11px] font-bold",done- ? "border-primary bg-primary text-primary-foreground"+ ? "border-primary bg-foreground/70 text-primary-foreground": active? "border-primary text-primary": "border-border text-muted-foreground",@@ -606,7 +606,7 @@ function SourcePicker({aria-hiddenclassName="pointer-events-none absolute -z-10 -right-10 -top-10 h-40 w-40 rounded-full bg-primary/15 blur-3xl transition-transform duration-500 group-hover:scale-125"/>- <span className="grid h-11 w-11 place-items-center rounded-xl bg-primary text-primary-foreground shadow-lg">+ <span className="grid h-11 w-11 place-items-center rounded-xl bg-foreground/70 text-primary-foreground">{busy ? <Loader2 className="h-5 w-5 animate-spin" /> : <FolderUp className="h-5 w-5" />}</span><p className="mt-4 font-display text-base font-semibold tracking-tight text-foreground">@@ -1147,7 +1147,7 @@ function WallpaperLane({: "border-border bg-gradient-to-br from-primary/10 via-card to-card hover:border-primary/50",)}>- <span className="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-primary text-primary-foreground shadow-lg">+ <span className="grid h-11 w-11 shrink-0 place-items-center rounded-xl bg-foreground/70 text-primary-foreground">{add.isPending ? (<Loader2 className="h-5 w-5 animate-spin" />) : (@@ -1596,7 +1596,7 @@ function CardPreview({ draft, t }: { draft: Draft; t: Translate }) {<p className="mb-2 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground">{t("marketplace.studio_preview_label")}</p>- <div className="overflow-hidden rounded-2xl border border-border bg-card/70 shadow-sm">+ <div className="overflow-hidden rounded-2xl border border-border bg-card/70"><div className="flex items-center gap-3 px-3.5 py-3"><div className="grid h-10 w-10 shrink-0 place-items-center rounded-lg bg-gradient-to-br from-primary/70 to-primary/30 text-sm font-semibold text-primary-foreground">{draft.kind === "skill" ? <Sparkles className="h-4 w-4" /> : preview.initial}@@ -1796,7 +1796,7 @@ function PublishedCard({<p className="flex items-center gap-2 text-xs text-muted-foreground"><span className="relative flex h-2 w-2"><span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-primary/60" />- <span className="relative inline-flex h-2 w-2 rounded-full bg-primary" />+ <span className="relative inline-flex h-2 w-2 rounded-full bg-foreground/70" /></span>{t("marketplace.studio_done_watching")}</p>diff --git a/jarvis/ui/web/frontend/src/components/outputs/RenderedFence.tsx b/jarvis/ui/web/frontend/src/components/outputs/RenderedFence.tsxindex d065eca791..6b03a0987e 100644--- a/jarvis/ui/web/frontend/src/components/outputs/RenderedFence.tsx+++ b/jarvis/ui/web/frontend/src/components/outputs/RenderedFence.tsx@@ -173,7 +173,7 @@ export function RenderedFence({ language, code }: { language: FenceLanguage; codclassName={cn("rounded-sm px-2 py-0.5 text-[10px] font-medium transition-colors",mode === value- ? "bg-background text-foreground shadow-sm"+ ? "bg-background text-foreground": "text-muted-foreground hover:text-foreground",)}>@@ -203,7 +203,7 @@ export function RenderedFence({ language, code }: { language: FenceLanguage; codaria-label={copied ? t("docs_content.code_copied") : t("docs_content.copy_code")}>{copied ? (- <Check className="h-3 w-3 text-emerald-400" aria-hidden="true" />+ <Check className="h-3 w-3 text-muted-foreground" aria-hidden="true" />) : (<Copy className="h-3 w-3" aria-hidden="true" />)}diff --git a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsxindex 16fb55c07c..8aafda5976 100644--- a/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx+++ b/jarvis/ui/web/frontend/src/components/providers/ProviderTierSection.tsx@@ -310,7 +310,7 @@ export function EngineModeSwitch({<spandata-testid="voice-engine-selection-thumb"aria-hidden="true"- className="absolute inset-y-0.5 left-0.5 w-[calc(50%-0.125rem)] rounded-control bg-primary transition-transform duration-200 ease-out motion-reduce:transition-none"+ className="absolute inset-y-0.5 left-0.5 w-[calc(50%-0.125rem)] rounded-control bg-foreground/70 transition-transform duration-200 ease-out motion-reduce:transition-none"style={{ transform: `translateX(${selectedIndex * 100}%)` }}/>{segments.map((seg) => {@@ -352,7 +352,7 @@ export function EngineModeSwitch({aria-hidden="true"className={cn("h-1.5 w-1.5 rounded-full",- isSelected ? "bg-primary-foreground/80" : "bg-primary",+ isSelected ? "bg-primary-foreground/80" : "bg-foreground/70",)}/>)}@@ -412,12 +412,12 @@ export function LocalModeSwitch({aria-hidden="true"className={cn("relative inline-block h-[18px] w-[30px] shrink-0 rounded-full transition-colors",- enabled ? "bg-primary" : "bg-border group-hover:bg-muted-foreground/40",+ enabled ? "bg-foreground/70" : "bg-border group-hover:bg-muted-foreground/40",)}><spanclassName={cn(- "absolute left-0.5 top-0.5 h-3.5 w-3.5 rounded-full bg-background shadow-sm transition-transform motion-reduce:transition-none",+ "absolute left-0.5 top-0.5 h-3.5 w-3.5 rounded-full bg-background transition-transform motion-reduce:transition-none",enabled && "translate-x-3",)}/>@@ -589,16 +589,16 @@ export function VoiceEngineContext({className={cn("h-[7px] w-[7px] shrink-0 rounded-full",transitioning || connecting- ? "animate-pulse bg-amber-500 motion-reduce:animate-none"+ ? "animate-pulse bg-foreground motion-reduce:animate-none": runtimeMatchesSelection- ? "bg-emerald-500 shadow-[0_0_0_3px_rgb(16_185_129/0.18)]"- : "bg-amber-500",+ ? "bg-muted-foreground shadow-[0_0_0_3px_rgb(16_185_129/0.18)]"+ : "bg-foreground",)}/><spanclassName={cn("font-medium",- attention ? "text-amber-600 dark:text-amber-400" : "text-foreground",+ attention ? "text-foreground" : "text-foreground",)}>{runtimeText}@@ -634,7 +634,7 @@ export function VoiceEngineContext({</span><span className="hidden sm:inline">{t("apikeys_view.voice_engine_label")}</span></summary>- <div className="absolute right-0 top-full z-20 mt-2 w-80 rounded-surface border border-border bg-card p-3 text-xs leading-relaxed text-muted-foreground shadow-lg">+ <div className="absolute right-0 top-full z-20 mt-2 w-80 rounded-surface border border-border bg-card p-3 text-xs leading-relaxed text-muted-foreground"><p className="font-medium text-foreground">{t("apikeys_view.voice_engine_desc")}</p>@@ -649,7 +649,7 @@ export function VoiceEngineContext({{offerDetail && (<pdata-testid="voice-engine-transport-offer-detail"- className="pb-1 text-xs leading-snug text-amber-600 dark:text-amber-400"+ className="pb-1 text-xs leading-snug text-foreground"aria-live="polite">{offerDetail}@@ -659,7 +659,7 @@ export function VoiceEngineContext({{liveMode === "realtime" && lastStartError && (<pdata-testid="voice-engine-last-start-error"- className="pb-1 text-xs leading-snug text-amber-600 dark:text-amber-400"+ className="pb-1 text-xs leading-snug text-foreground"aria-live="polite">{t("voice_state.connect_failed")@@ -1280,7 +1280,7 @@ export function ProviderCard({}}><div- className="card-outline max-w-lg space-y-4 bg-background p-5 shadow-xl"+ className="card-outline max-w-lg space-y-4 bg-background p-5"onClick={(event) => event.stopPropagation()}><div className="text-sm font-semibold">{descriptor.label}</div>@@ -1351,7 +1351,7 @@ export function ProviderCard({cardError? "bg-destructive/[0.04] before:absolute before:inset-y-2 before:left-0 before:w-[3px] before:rounded-r before:bg-destructive": descriptor.active- ? "bg-primary/[0.035] before:absolute before:inset-y-2 before:left-0 before:w-[3px] before:rounded-r before:bg-primary"+ ? "bg-primary/[0.035] before:absolute before:inset-y-2 before:left-0 before:w-[3px] before:rounded-r before:bg-foreground/70": "",)}>@@ -1516,7 +1516,7 @@ export function ProviderCard({/>{!isBrainSwitchable && (- <p className="rounded-control border border-amber-500/25 bg-amber-500/10 px-3 py-2 text-xs leading-relaxed text-amber-700 dark:text-amber-400">+ <p className="rounded-control border border-foreground/25 bg-foreground/10 px-3 py-2 text-xs leading-relaxed text-foreground">{t("apikeys_view.agents_only_note").replace("{0}",agentBrand(assistantName),@@ -1623,12 +1623,12 @@ export function ProviderCard({// (integration is fine); red = couldn't reach / integration bug. A dot and a// word — the same vocabulary as the row's state, never a filled capsule.const TEST_STATUS_TONE: Record<ProviderTestStatus, { dot: string; text: string }> = {- ok: { dot: "bg-emerald-500", text: "text-emerald-600 dark:text-emerald-400" },+ ok: { dot: "bg-muted-foreground", text: "text-muted-foreground" },not_configured: { dot: "bg-muted-foreground/50", text: "text-muted-foreground" },- bad_key: { dot: "bg-amber-500", text: "text-amber-600 dark:text-amber-400" },- no_credits: { dot: "bg-amber-500", text: "text-amber-600 dark:text-amber-400" },- rate_limited: { dot: "bg-amber-500", text: "text-amber-600 dark:text-amber-400" },- model_unavailable: { dot: "bg-amber-500", text: "text-amber-600 dark:text-amber-400" },+ bad_key: { dot: "bg-foreground", text: "text-foreground" },+ no_credits: { dot: "bg-foreground", text: "text-foreground" },+ rate_limited: { dot: "bg-foreground", text: "text-foreground" },+ model_unavailable: { dot: "bg-foreground", text: "text-foreground" },unreachable: { dot: "bg-destructive", text: "text-destructive" },error: { dot: "bg-destructive", text: "text-destructive" },};@@ -1824,7 +1824,7 @@ export function ActiveControl({<spanaria-hidden="true"className={cn(- "h-[7px] w-[7px] rounded-full bg-primary",+ "h-[7px] w-[7px] rounded-full bg-foreground/70",activating && "animate-pulse motion-reduce:animate-none",)}/>@@ -2023,9 +2023,9 @@ function LocalRuntimePanel({<div className="space-y-2 border-t border-border/60 pt-3"><div className="flex items-start gap-2 text-xs">{status.ready ? (- <Check className="mt-0.5 h-3.5 w-3.5 shrink-0 text-emerald-500" />+ <Check className="mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" />) : (- <AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-500" />+ <AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground" />)}<span className="text-muted-foreground">{progress?.message ?? status.detail}@@ -2040,7 +2040,7 @@ function LocalRuntimePanel({className={cn("mt-0.5 h-3.5 w-3.5 shrink-0",accelerator.effective === "cpu" && accelerator.installable- ? "text-amber-500"+ ? "text-foreground": "text-muted-foreground",)}/>@@ -2480,9 +2480,9 @@ function ManagedServerPanel({<div className="space-y-2 border-t border-border/60 pt-3"><div className="flex items-start gap-2 text-xs">{status.ready ? (- <Check className="mt-0.5 h-3.5 w-3.5 shrink-0 text-emerald-500" />+ <Check className="mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" />) : (- <AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-500" />+ <AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground" />)}<span className="text-muted-foreground">{running ? (progress?.detail ?? status.sentence) : status.sentence}@@ -2500,15 +2500,15 @@ function ManagedServerPanel({className={cn("h-1.5 w-1.5 shrink-0 rounded-full",runtimeBadge.tone === "ok"- ? "bg-emerald-400"+ ? "bg-muted-foreground": runtimeBadge.tone === "warn"- ? "animate-pulse bg-amber-400 motion-reduce:animate-none"+ ? "animate-pulse bg-foreground motion-reduce:animate-none": "bg-muted-foreground/40",)}/><spanclassName={cn(- runtimeBadge.tone === "warn" ? "text-amber-400" : "text-muted-foreground",+ runtimeBadge.tone === "warn" ? "text-foreground" : "text-muted-foreground",)}>{t(runtimeBadge.key)}@@ -2738,8 +2738,8 @@ function ManagedServerPanel({className={cn("rounded-full border px-1.5 py-px text-xs",choice.selectable- ? "border-emerald-500/30 bg-emerald-500/10 text-emerald-500"- : "border-amber-500/30 bg-amber-500/10 text-amber-500",+ ? "border-muted-foreground/30 bg-muted-foreground/10 text-muted-foreground"+ : "border-foreground/30 bg-foreground/10 text-foreground",)}>{t(@@ -2812,7 +2812,7 @@ function ManagedServerPanel({<div className="space-y-1"><div className="h-1.5 w-full overflow-hidden rounded bg-muted"><div- className="h-full rounded bg-primary transition-all"+ className="h-full rounded bg-foreground/70 transition-all"style={{ width: `${Math.max(2, progress?.percent ?? 0)}%` }}/></div>@@ -2843,7 +2843,7 @@ function ManagedServerPanel({{!status.ready && !running && preflight && !preflight.ok && !preflight.brain_fixable && (<div className="space-y-2 text-xs">- <p className="text-amber-500">{preflight.blocker}</p>+ <p className="text-foreground">{preflight.blocker}</p><ul className="list-disc space-y-0.5 pl-4 text-muted-foreground">{preflight.actions.map((action) => (<li key={action}>{action}</li>@@ -2871,7 +2871,7 @@ function ManagedServerPanel({honestly BEFORE the click — Ollama plus the brain model areextra downloads the tier size above does not include. */}{!preflight.ok && preflight.brain_fixable && (- <p className="text-amber-500">+ <p className="text-foreground">{t("apikeys_view.managed_brain_setup_note")}</p>)}@@ -3017,7 +3017,7 @@ export function OllamaRuntimePanel({><spanaria-hidden="true"- className="mt-1 h-2 w-2 shrink-0 rounded-full bg-emerald-500"+ className="mt-1 h-2 w-2 shrink-0 rounded-full bg-muted-foreground"/><span className="text-muted-foreground">{status.detail ||@@ -3033,7 +3033,7 @@ export function OllamaRuntimePanel({data-testid="ollama-runtime-panel"><div className="flex items-start gap-2 text-xs">- <AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-500" />+ <AlertCircle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground" /><span className="text-muted-foreground">{installing ? (progress?.detail ?? status.detail) : status.detail}</span>@@ -3042,7 +3042,7 @@ export function OllamaRuntimePanel({{installing && (<div className="h-1.5 w-full overflow-hidden rounded bg-muted"><div- className="h-full rounded bg-primary transition-all"+ className="h-full rounded bg-foreground/70 transition-all"style={{ width: `${Math.max(2, progress?.percent ?? 0)}%` }}/></div>@@ -3226,7 +3226,7 @@ export function LibraryBrowser({{/* An unreachable catalog is a note, never a blocker — the fieldabove still downloads by exact name. */}{libraryError && (- <p className="text-xs text-amber-500">{libraryError}</p>+ <p className="text-xs text-foreground">{libraryError}</p>)}{results && results.length === 0 && !libraryError && (<p className="text-xs text-muted-foreground">@@ -3249,7 +3249,7 @@ export function LibraryBrowser({<p className="truncate text-xs font-medium">{model.name}{model.installed && (- <span className="ml-1.5 text-xs font-normal text-emerald-500">+ <span className="ml-1.5 text-xs font-normal text-muted-foreground">{t("apikeys_model_pull.installed")}</span>)}@@ -3297,7 +3297,7 @@ export function LibraryBrowser({</p>)}{tagsError && (- <p className="text-xs text-amber-500">{tagsError}</p>+ <p className="text-xs text-foreground">{tagsError}</p>)}{(tags[model.name] ?? []).map((tag) => (<div@@ -3321,7 +3321,7 @@ export function LibraryBrowser({</span></p>{tag.fit === "tight" && tag.fit_note && (- <p className="text-xs leading-snug text-amber-500">+ <p className="text-xs leading-snug text-foreground">{tag.fit_note}</p>)}@@ -3348,7 +3348,7 @@ export function LibraryBrowser({{installedActionLabel ?? t("apikeys_model_pull.installed")}</Button>) : tag.installed ? (- <span className="flex shrink-0 items-center gap-1 text-xs text-emerald-500">+ <span className="flex shrink-0 items-center gap-1 text-xs text-muted-foreground"><Check className="h-3 w-3" />{t("apikeys_model_pull.installed")}</span>@@ -3526,7 +3526,7 @@ export function LocalModelDownloadPanel({</div>{catalog && !catalog.server_reachable && (- <p className="text-xs text-amber-500">{catalog.message}</p>+ <p className="text-xs text-foreground">{catalog.message}</p>)}{groups.map((group) => (@@ -3573,7 +3573,7 @@ export function LocalModelDownloadPanel({<pclassName={cn("text-xs leading-snug",- row.fit === "tight" ? "text-amber-500" : "text-muted-foreground/80",+ row.fit === "tight" ? "text-foreground" : "text-muted-foreground/80",)}>{row.fit_note}@@ -3581,7 +3581,7 @@ export function LocalModelDownloadPanel({)}</div>{row.installed ? (- <span className="flex shrink-0 items-center gap-1 text-xs text-emerald-500">+ <span className="flex shrink-0 items-center gap-1 text-xs text-muted-foreground"><Check className="h-3.5 w-3.5" />{t("apikeys_model_pull.installed")}</span>@@ -3624,7 +3624,7 @@ export function LocalModelDownloadPanel({{running && (<div className="h-1 w-full overflow-hidden rounded bg-border"><div- className="h-full bg-primary transition-all"+ className="h-full bg-foreground/70 transition-all"style={{ width: `${percent}%` }}/></div>@@ -3697,12 +3697,13 @@ export function AuthWidget({{descriptor.supports_base_url && !descriptor.managed_server && (<BaseUrlField descriptor={descriptor} onChanged={onChanged} />)}- {/* The runtime itself comes before the model list: pull buttons are- dead while Ollama is absent or stopped, and this panel is the fix. */}+ {/* The card keeps only the runtime line (install / start / running):+ models, roles, the catalogue and Hugging Face live in the Local+ models section, reached through the Open button in the card header.+ LibraryBrowser and LocalModelDownloadPanel stay exported for it. */}{descriptor.supports_model_pull && (- <OllamaRuntimePanel providerId={descriptor.id} onChanged={onChanged} />+ <OllamaRuntimePanel providerId={descriptor.id} onChanged={onChanged} alwaysVisible />)}- <LocalModelDownloadPanel descriptor={descriptor} onChanged={onChanged} />{/* Ordered after the server URL on purpose: a download can only beoffered once the card points at the right server. */}{descriptor.auth_mode === "none" && (@@ -3913,9 +3914,9 @@ function CodexAuthWidget({<div className="space-y-3"><divdata-testid="codex-connected"- className="flex flex-wrap items-center gap-2 rounded-md border border-emerald-500/30 bg-emerald-500/[0.06] px-3 py-2 text-xs"+ className="flex flex-wrap items-center gap-2 rounded-md border border-muted-foreground/30 bg-muted-foreground/[0.06] px-3 py-2 text-xs">- <Check className="h-3.5 w-3.5 shrink-0 text-emerald-500" />+ <Check className="h-3.5 w-3.5 shrink-0 text-muted-foreground" /><span className="min-w-0 break-words text-foreground">{subscriptionOnly? t("apikeys_codex.connected_chatgpt")@@ -4108,9 +4109,9 @@ function AntigravityAuthWidget({<div className="space-y-3"><divdata-testid="antigravity-connected"- className="flex flex-wrap items-center gap-2 rounded-md border border-emerald-500/30 bg-emerald-500/[0.06] px-3 py-2 text-xs"+ className="flex flex-wrap items-center gap-2 rounded-md border border-muted-foreground/30 bg-muted-foreground/[0.06] px-3 py-2 text-xs">- <Check className="h-3.5 w-3.5 shrink-0 text-emerald-500" />+ <Check className="h-3.5 w-3.5 shrink-0 text-muted-foreground" /><span className="min-w-0 break-words text-foreground">{status.user_email? t("apikeys_antigravity.connected_as").replace("{0}", status.user_email)@@ -4193,7 +4194,7 @@ const STATE_CHIP_TONE = {wrap: "rounded-[4px] border border-primary/40 px-1.5 text-[10.5px] font-semibold uppercase tracking-[0.06em] text-primary",dot: null,},- ready: { wrap: "text-muted-foreground", dot: "bg-emerald-500" },+ ready: { wrap: "text-muted-foreground", dot: "bg-muted-foreground" },missing: { wrap: "text-destructive", dot: "bg-destructive" },neutral: { wrap: "text-muted-foreground", dot: "bg-muted-foreground/50" },} as const;@@ -4248,7 +4249,7 @@ export function Tag({"inline-flex shrink-0 items-center rounded-[4px] border px-1.5 text-[10.5px] font-semibold uppercase leading-[18px] tracking-[0.06em]",tone === "accent" && "border-primary/40 text-primary",tone === "neutral" && "border-border text-muted-foreground",- tone === "warn" && "border-amber-500/40 text-amber-600 dark:text-amber-400",+ tone === "warn" && "border-foreground/40 text-foreground",)}>{children}diff --git a/jarvis/ui/web/frontend/src/views/VisualizationView.tsx b/jarvis/ui/web/frontend/src/views/VisualizationView.tsxindex c6b7211850..0144b64951 100644--- a/jarvis/ui/web/frontend/src/views/VisualizationView.tsx+++ b/jarvis/ui/web/frontend/src/views/VisualizationView.tsx@@ -97,9 +97,9 @@ import {/** What a row's status dot means — the run vocabulary, one language. */const RUN_DOT: Record<OutputStatus, string> = {- success: "bg-emerald-400",+ success: "bg-muted-foreground",error: "bg-destructive",- running: "bg-primary animate-pulse",+ running: "bg-foreground/70 animate-pulse",cancelled: "bg-foreground",unknown: "bg-muted-foreground/50",};@@ -500,7 +500,7 @@ function RailFilterControl({className={cn("inline-flex flex-1 items-center justify-center gap-1 rounded px-1.5 py-1 text-[11px] font-medium transition-colors",filter === id- ? "bg-background text-foreground shadow-sm"+ ? "bg-background text-foreground": "text-muted-foreground hover:text-foreground",)}>@@ -837,7 +837,7 @@ function ArtifactToolbar({className={cn("inline-flex items-center gap-1.5 rounded px-2 py-1 text-[11px] font-medium transition-colors",mode === id- ? "bg-background text-foreground shadow-sm"+ ? "bg-background text-foreground": "text-muted-foreground hover:text-foreground",)}>diff --git a/jarvis/ui/web/frontend/src/views/automations/TemplateAddDialog.tsx b/jarvis/ui/web/frontend/src/views/automations/TemplateAddDialog.tsxindex 06e15bcf1b..e524283183 100644--- a/jarvis/ui/web/frontend/src/views/automations/TemplateAddDialog.tsx+++ b/jarvis/ui/web/frontend/src/views/automations/TemplateAddDialog.tsx@@ -7,6 +7,7 @@import { useMemo, useState } from "react";import { AlertTriangle, Loader2, X } from "lucide-react";import { Button } from "@/components/ui/button";+import { BrandedSelect } from "@/components/ui/select";import { fill, useT, useUiLanguage } from "@/i18n";import { cn } from "@/lib/utils";import { ApiError, useAddTemplate } from "@/hooks/useAutomations";@@ -88,7 +89,7 @@ export function TemplateAddDialog({ template, onClose, onAdded }: TemplateAddDia<divrole="dialog"aria-label={fill(t("automations_view.add_dialog_title"), { title: template.name })}- className="flex max-h-[90vh] w-full max-w-lg flex-col overflow-hidden rounded-2xl border border-border bg-card shadow-2xl"+ className="flex max-h-[90vh] w-full max-w-lg flex-col overflow-hidden rounded-2xl border border-border bg-card"onClick={(e) => e.stopPropagation()}><div className="flex items-center justify-between border-b border-border px-5 py-4">@@ -111,7 +112,7 @@ export function TemplateAddDialog({ template, onClose, onAdded }: TemplateAddDia<div className="min-h-0 flex-1 overflow-y-auto scrollbar-jarvis"><div className="space-y-4 px-5 py-4">{!template.ready && template.missing.length > 0 && (- <p className="flex items-start gap-1.5 rounded-lg border border-amber-500/40 px-3 py-2 text-[11px] leading-relaxed text-amber-700 dark:text-amber-300/90">+ <p className="flex items-start gap-1.5 rounded-lg border border-foreground/40 px-3 py-2 text-[11px] leading-relaxed text-foreground/90"><AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0" />{fill(t("automations_view.needs_warning"), { tools: humanizeMissing(template.missing) })}</p>@@ -170,18 +171,16 @@ export function TemplateAddDialog({ template, onClose, onAdded }: TemplateAddDia{kind !== "hourly" && (<div className="flex flex-wrap items-center gap-2">{kind === "weekly" && (- <select+ <BrandedSelectclassName={cn(inputCls, "w-auto")}- value={weekday}- onChange={(e) => setWeekday(Number(e.target.value))}- aria-label={t("automations_view.weekday_label")}- >- {weekdays.map((name, idx) => (- <option key={idx} value={idx}>- {name}- </option>- ))}- </select>+ value={String(weekday)}+ onValueChange={(value) => setWeekday(Number(value))}+ ariaLabel={t("automations_view.weekday_label")}+ options={weekdays.map((name, idx) => ({+ value: String(idx),+ label: name,+ }))}+ />)}<span className="text-xs text-muted-foreground">{t("tasks_view.create.at")}</span><inputdiff --git a/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx b/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsxindex 5c3c24e057..0ce84f6dba 100644--- a/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx+++ b/jarvis/ui/web/frontend/src/views/tasks/TaskCreateDialog.tsx@@ -91,7 +91,7 @@ function Segmented<T extends string>({"inline-flex items-center gap-1.5 rounded-md font-medium transition-colors",size === "sm" ? "px-2 py-1 text-[11px]" : "px-3 py-1.5 text-xs",active- ? "bg-primary/15 text-primary shadow-sm"+ ? "bg-primary/15 text-primary": "text-muted-foreground hover:text-foreground",)}>@@ -248,7 +248,7 @@ export function TaskCreateDialog({ onClose, initialDraft }: TaskCreateDialogProponClick={onClose}><div- className="flex max-h-[90vh] w-full max-w-2xl flex-col overflow-hidden rounded-2xl border border-border bg-card shadow-2xl"+ className="flex max-h-[90vh] w-full max-w-2xl flex-col overflow-hidden rounded-2xl border border-border bg-card"onClick={(e) => e.stopPropagation()}>{/* Header */}