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: enlarge command deck terminal cards
rubenluetke10-beep9cd8b985fc7e
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.deck.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.deck.test.tsxindex 8a219a9755..7547316705 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.deck.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.deck.test.tsx@@ -300,6 +300,34 @@ describe("unfolding a terminal", () => {});describe("the cards", () => {+ it("shows the real coding CLI on cards that otherwise only say T1", () => {+ const session = sessionWith(["T1", "T2"]);+ session.terminals[1] = {+ ...session.terminals[1],+ agent: "codex",+ display_name: "Codex",+ };+ renderGrid(session);+ toDeck();++ expect(screen.getByTestId("deck-card-agent-label-T1").textContent).toBe(+ "Claude Code",+ );+ expect(screen.getByTestId("deck-card-agent-label-T2").textContent).toBe(+ "Codex",+ );+ });++ it("gives the terminal cards about one third more room", () => {+ renderGrid();+ toDeck();++ expect(screen.getByTestId("deck-cards").className).toContain("max-w-6xl");+ expect(screen.getByTestId("deck-card-Mika").className).toContain(+ "min-h-[13rem]",+ );+ });+it("read their state off the pane, not out of the deck's head", async () => {vi.mocked(api.fetchTerminalActivity).mockResolvedValue({workspace_id: "ide_test",diff --git a/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsx b/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsxindex 26727dbbe9..a9095ffa50 100644--- a/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsx@@ -88,7 +88,7 @@ export function AgentCard({data-state={state}data-expanded={expanded ? "yes" : "no"}className={cn(- "group relative flex min-w-0 flex-col gap-3 rounded-xl border bg-card/60 p-4",+ "group relative flex min-h-[13rem] min-w-0 flex-col gap-4 rounded-xl border bg-card/60 p-5","transition-colors",RING[state],held && "opacity-70",@@ -97,7 +97,7 @@ export function AgentCard({<div className="flex min-w-0 items-center gap-3"><spanclassName={cn(- "relative flex h-10 w-10 shrink-0 items-center justify-center rounded-full",+ "relative flex h-12 w-12 shrink-0 items-center justify-center rounded-full","border bg-background/60",RING[state],// The pulse is the ring's, not the mark's: a breathing logo reads@@ -107,7 +107,7 @@ export function AgentCard({>{/* Plain, not boxed: the ring around it is already the frame, and atile inside a ring is two borders for one thing. */}- <AgentMark agent={agent} label={agentLabel} variant="plain" size="sm" />+ <AgentMark agent={agent} label={agentLabel} variant="plain" size="md" />{reporting && (<spandata-testid={`deck-card-dot-${name}`}@@ -117,7 +117,23 @@ export function AgentCard({)}</span><span className="flex min-w-0 flex-col">- <span className="truncate text-sm font-medium text-foreground">{name}</span>+ {/* The pane call-sign is useful, but it must never hide which coding+ CLI is actually running here. Keeping both in the heading makes+ a Claude Code pane stay recognisable as Claude Code even when+ its default call-sign is only T1. */}+ <span className="flex min-w-0 items-baseline gap-1.5 text-foreground">+ <span className="truncate text-base font-semibold">{name}</span>+ <span aria-hidden className="shrink-0 text-muted-foreground/60">+ ·+ </span>+ <span+ data-testid={`deck-card-agent-label-${name}`}+ className="truncate text-sm font-medium text-muted-foreground"+ title={agentLabel}+ >+ {agentLabel}+ </span>+ </span><span className="flex items-center gap-1.5 text-xs text-muted-foreground">{state === "working" && (<Loader2 className="h-3 w-3 shrink-0 animate-spin motion-reduce:animate-none" />@@ -138,7 +154,7 @@ export function AgentCard({*/}<pdata-testid={`deck-card-task-${name}`}- className="line-clamp-2 min-h-[2.5rem] text-xs leading-relaxed text-muted-foreground"+ className="line-clamp-3 min-h-[3.75rem] text-sm leading-relaxed text-muted-foreground">{task}</p>diff --git a/jarvis/ui/web/frontend/src/components/agentic/deck/DeckStage.tsx b/jarvis/ui/web/frontend/src/components/agentic/deck/DeckStage.tsxindex 7a0f97218e..92be13418c 100644--- a/jarvis/ui/web/frontend/src/components/agentic/deck/DeckStage.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/deck/DeckStage.tsx@@ -149,7 +149,7 @@ export function DeckStage({) : (<divdata-testid="deck-cards"- className="grid w-full max-w-4xl grid-cols-1 gap-3 pb-4 sm:grid-cols-2 lg:grid-cols-3"+ className="grid w-full max-w-6xl grid-cols-1 gap-4 pb-4 sm:grid-cols-2 lg:grid-cols-3">{agents.map((entry) => (<AgentCard