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
fix(deck): the deck's signal colours read on paper too
Haralda2021a462731
diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsxindex a3b7b19b9f..3c9be59d89 100644--- a/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/DeckActivityCards.tsx@@ -31,7 +31,7 @@ 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-400";+ 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";return "bg-muted-foreground";}@@ -90,7 +90,7 @@ export function RunsCard({ className }: { className?: string }) {const OUTPUT_TONE: Record<string, string> = {running: "bg-primary animate-pulse",- success: "bg-emerald-400",+ success: "bg-emerald-600 dark:bg-emerald-400",error: "bg-destructive",cancelled: "bg-muted-foreground",unknown: "bg-muted-foreground",@@ -165,11 +165,13 @@ export function OutputsCard({ className }: { className?: string }) {*/type CrewState = "working" | "waiting" | "asking" | "starting" | "failed" | "exited" | "idle";+// Signal colours come in pairs — a dark tint on black, its deep twin on paper+// (CLOUD.md "Frontend theming").const CREW_TONE: Record<CrewState, string> = {working: "text-primary",- starting: "text-amber-400",- waiting: "text-sky-400",- asking: "text-amber-400",+ starting: "text-amber-700 dark:text-amber-400",+ waiting: "text-sky-700 dark:text-sky-400",+ asking: "text-amber-700 dark:text-amber-400",failed: "text-destructive",exited: "text-muted-foreground",idle: "text-muted-foreground",@@ -348,7 +350,7 @@ function CrewColumn({: r.state === "failed"? "bg-destructive": r.state === "waiting" || r.state === "asking"- ? "bg-sky-400"+ ? "bg-sky-600 dark:bg-sky-400": "bg-muted-foreground/50",)}aria-hidden@@ -389,7 +391,7 @@ function CrewColumn({// ----------------------------------------------------------------------const LINE_TONE: Record<string, string> = {- cmd: "text-emerald-400",+ cmd: "text-emerald-700 dark:text-emerald-400",cli: "text-primary",out: "text-foreground/90",err: "text-destructive",diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsxindex 2bcd898f95..4531158444 100644--- a/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/DeckLogCard.tsx@@ -26,18 +26,21 @@ import { useT } from "@/i18n";/** How many lines the terminal paints — the store keeps more, the eye needs fewer. */const SHOWN_LINES = 60;+// Every signal colour is a PAIR — a dark tint on black, its deep twin on paper+// (CLOUD.md "Frontend theming"): a 400-tint alone reads on the dark stage+// and disappears on the light one.const TAG_TONE: Record<JournalKind, string> = {boot: "text-muted-foreground",wake: "text-primary",- hear: "text-sky-400",+ hear: "text-sky-700 dark:text-sky-400",think: "text-primary",done: "text-primary",- tool: "text-emerald-400",- say: "text-amber-300",- worker: "text-emerald-400",- control: "text-violet-400",- look: "text-violet-400",- memory: "text-sky-400",+ tool: "text-emerald-700 dark:text-emerald-400",+ say: "text-amber-700 dark:text-amber-300",+ worker: "text-emerald-700 dark:text-emerald-400",+ control: "text-violet-700 dark:text-violet-400",+ look: "text-violet-700 dark:text-violet-400",+ memory: "text-sky-700 dark:text-sky-400",error: "text-destructive",note: "text-muted-foreground",};diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsxindex 9f95c6e04e..c66e734844 100644--- a/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/DeckSignalCards.tsx@@ -89,7 +89,16 @@ export function CaptureCard({ className }: { className?: string }) {className={className}bodyClassName="p-0">- <div className="relative h-full min-h-[5rem] overflow-hidden bg-black/20">+ {/* A picture gets a letterbox in the theme's own scrim (a screenshot on+ a dark plate reads as a screen); the ledger and the empty line sit+ on the wallpaper like every other readout — a plain dark slab under+ "no capture" was a hole in the light stage. */}+ <div+ className={cn(+ "relative h-full min-h-[5rem] overflow-hidden",+ showing && "bg-[rgb(var(--scrim-rgb)/0.2)]",+ )}+ >{showing && src ? (<><img@@ -234,7 +243,7 @@ export function ApiStatsCard({ className }: { className?: string }) {</ul>)}{usage.lastCacheHit && (- <span className="font-mono text-[9px] uppercase tracking-wider text-emerald-400">+ <span className="font-mono text-[9px] uppercase tracking-wider text-emerald-700 dark:text-emerald-400">{t("deck.api_cache_hit")}</span>)}diff --git a/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsx b/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsxindex cf9b9b8aad..360171217c 100644--- a/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsx+++ b/jarvis/ui/web/frontend/src/components/deck/DeckTurnCard.tsx@@ -147,7 +147,7 @@ export function TurnCard({ className }: { className?: string }) {.join(" · ")}</span>{turn.cacheHit && (- <span className="shrink-0 uppercase tracking-wider text-emerald-400">{t("deck.api_cache_hit")}</span>+ <span className="shrink-0 uppercase tracking-wider text-emerald-700 dark:text-emerald-400">{t("deck.api_cache_hit")}</span>)}</div></div>