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(agentic-ide): sharpen command deck terminal previews
rubenluetke10-beep41427a4308d7
diff --git a/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsx b/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsxindex 595e6272cc..c77b69a466 100644--- a/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/deck/AgentCard.tsx@@ -155,12 +155,12 @@ export function AgentCard({data-testid={`deck-card-terminal-${name}`}aria-label={`Live terminal output for ${name}`}className={cn(- "relative min-h-[9rem] flex-1 overflow-hidden rounded-xl border border-border/80",- "bg-background/95 shadow-inner backdrop-blur-sm",+ "relative min-h-[9rem] flex-1 overflow-hidden rounded-xl border border-white/25",+ "bg-zinc-950/90 shadow-inner backdrop-blur-sm",)}>{terminal.length > 0 ? (- <div className="h-full overflow-hidden p-3 font-mono text-xs leading-[1.55] text-foreground/90">+ <div className="h-full overflow-hidden p-3 font-mono text-xs leading-[1.55] text-zinc-100">{terminal.map((line, index) => (<divkey={`${index}-${line}`}@@ -172,7 +172,7 @@ export function AgentCard({))}</div>) : (- <div className="flex h-full min-h-[9rem] items-center justify-center px-3 text-center font-mono text-xs text-muted-foreground/70">+ <div className="flex h-full min-h-[9rem] items-center justify-center px-3 text-center font-mono text-xs text-zinc-400">Waiting for live terminal output...</div>)}diff --git a/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.test.ts b/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.test.tsindex 3c1da2e4cf..1e4108eda3 100644--- a/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.test.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.test.ts@@ -10,7 +10,7 @@ import {describe("terminal preview", () => {it("reads the live xterm screen rather than raw terminal output", () => {- const lines = ["old scrollback", "prompt", "", "tests passed", "", ""];+ const lines = ["old scrollback", " prompt", "", "tests passed", "", ""];const preview = readTerminalPreview({rows: 5,diff --git a/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.ts b/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.tsindex 584dead6a5..e2903e63a9 100644--- a/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/terminalPreview.ts@@ -112,7 +112,7 @@ function cleanPreviewRow(value: string): string {.replace(/\\[rn]/g, "").replace(/\\t/g, " ").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/g, "")- .trimEnd();+ .trim();}interface TerminalBufferLike {