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
feat(agentic-ide): redesign resume manifest
Ruben Lütkee396bae36425
diff --git a/jarvis/ui/web/frontend/public/agent-logos/kimi.svg b/jarvis/ui/web/frontend/public/agent-logos/kimi.svgnew file mode 100644index 0000000000..fd5e4c5a3d--- /dev/null+++ b/jarvis/ui/web/frontend/public/agent-logos/kimi.svg@@ -0,0 +1,4 @@+<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path d="M21.7202 0.939941C22.9502 0.939941 23.9502 1.93994 23.9502 3.16994C23.9502 4.39994 22.9502 5.39994 21.7202 5.39994H19.7502C19.6002 5.39994 19.4902 5.27994 19.4902 5.13994V3.16994C19.4902 1.93994 20.4902 0.939941 21.7202 0.939941Z" fill="#1783FF"/>+ <path d="M9.39 13.9501L17.82 5.59012C17.98 5.43012 17.89 5.12012 17.68 5.12012H13.14C13.14 5.12012 13.04 5.14012 13 5.18012L3.92 14.1901C3.78 14.3301 3.57 14.2101 3.57 13.9801V5.39012C3.57 5.24012 3.47 5.12012 3.35 5.12012H0.219999C0.0999993 5.12012 0 5.24012 0 5.39012V23.9201C0 24.0701 0.0999993 24.1901 0.219999 24.1901H3.35C3.47 24.1901 3.57 24.0701 3.57 23.9201V20.1401C3.57 20.0601 3.6 19.9801 3.65 19.9301L6.47 17.1401C6.54 17.0701 6.63 17.0601 6.71 17.1101L14.24 22.6501C15.47 23.4801 16.85 23.9901 18.25 24.1401C18.37 24.1501 18.48 24.0301 18.48 23.8701V20.3101C18.48 20.1701 18.4 20.0601 18.29 20.0501C17.47 19.9201 16.66 19.6001 15.94 19.1101L9.42 14.3901C9.28 14.3001 9.27 14.0701 9.39 13.9501Z" fill="white"/>+</svg>diff --git a/jarvis/ui/web/frontend/public/agent-logos/opencode.svg b/jarvis/ui/web/frontend/public/agent-logos/opencode.svgnew file mode 100644index 0000000000..e4be0cdf52--- /dev/null+++ b/jarvis/ui/web/frontend/public/agent-logos/opencode.svg@@ -0,0 +1,18 @@+<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg">+ <g transform="translate(30 0)">+ <g clip-path="url(#opencode-clip)">+ <mask id="opencode-mask" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="240" height="300">+ <path d="M240 0H0V300H240V0Z" fill="white"/>+ </mask>+ <g mask="url(#opencode-mask)">+ <path d="M180 240H60V120H180V240Z" fill="#4B4646"/>+ <path d="M180 60H60V240H180V60ZM240 300H0V0H240V300Z" fill="#F1ECEC"/>+ </g>+ </g>+ </g>+ <defs>+ <clipPath id="opencode-clip">+ <rect width="240" height="300" fill="white"/>+ </clipPath>+ </defs>+</svg>diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsxnew file mode 100644index 0000000000..8a620e2f98--- /dev/null+++ b/jarvis/ui/web/frontend/src/components/agentic/AgentMark.tsx@@ -0,0 +1,80 @@+import { useState } from "react";+import { SquareTerminal } from "lucide-react";++import { cn } from "@/lib/utils";++const AGENT_LOGOS: Record<string, string> = {+ claude: "/provider-logos/claude.svg",+ codex: "/provider-logos/openai.svg",+ kimi: "/agent-logos/kimi.svg",+ opencode: "/agent-logos/opencode.svg",+};++const AGENT_MONOGRAMS: Record<string, string> = {+ glm: "GLM",+};++interface AgentMarkProps {+ agent: string;+ label: string;+ className?: string;+ size?: "sm" | "md" | "lg";+}++/**+ * A registry-safe visual identity for a terminal agent.+ *+ * Known products use local, offline brand assets. Unknown registry entries get+ * a neutral monogram, so adding another CLI never produces a broken image. The+ * plain terminal is a capability rather than a brand and therefore uses the+ * system-terminal glyph.+ */+export function AgentMark({+ agent,+ label,+ className,+ size = "md",+}: AgentMarkProps) {+ const [failed, setFailed] = useState(false);+ const logo = AGENT_LOGOS[agent];+ const monogram =+ AGENT_MONOGRAMS[agent] ?? (label.trim().slice(0, 2).toUpperCase() || "?");+ const sizeClass =+ size === "sm"+ ? "h-7 w-7 rounded-[5px]"+ : size === "lg"+ ? "h-11 w-11 rounded-control"+ : "h-9 w-9 rounded-control";++ return (+ <span+ data-testid={`agent-mark-${agent}`}+ aria-hidden="true"+ className={cn(+ "inline-flex shrink-0 items-center justify-center overflow-hidden border border-border/80 bg-background/80 text-[9px] font-bold tracking-tight text-muted-foreground",+ sizeClass,+ className,+ )}+ >+ {agent === "shell" ? (+ <SquareTerminal className={size === "sm" ? "h-3.5 w-3.5" : "h-4 w-4"} />+ ) : logo && !failed ? (+ <img+ src={logo}+ alt=""+ className={cn(+ "block object-contain",+ size === "sm"+ ? "h-3.5 w-3.5"+ : size === "lg"+ ? "h-6 w-6"+ : "h-5 w-5",+ )}+ onError={() => setFailed(true)}+ />+ ) : (+ <span className="font-mono">{monogram}</span>+ )}+ </span>+ );+}diff --git a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.test.tsxindex dab88fb3ac..c4aa86808e 100644--- a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.test.tsx@@ -1,7 +1,12 @@import { cleanup, fireEvent, render, screen } from "@testing-library/react";import { afterEach, describe, expect, it, vi } from "vitest";-import { ResumeCard, resumeSummary, savedAgo } from "./ResumeCard";+import {+ ResumeCard,+ resumeSummary,+ savedAgo,+ summarizeAgentFleet,+} from "./ResumeCard";import type {ResumeOffer,ResumeTerminalOffer,@@ -36,7 +41,10 @@ const WORKSPACE: ResumeWorkspaceOffer = {resumable_count: 1,saved_at: 1_753_473_600,in_last_session: true,- terminals: [pane("Alex"), pane("Blake", { resumable: false, prompts_sent: 0 })],+ terminals: [+ pane("Alex"),+ pane("Blake", { resumable: false, prompts_sent: 0 }),+ ],};const OFFER: ResumeOffer = {@@ -59,7 +67,12 @@ function button(testId: string): HTMLButtonElement {describe("ResumeCard", () => {it("names the workspace and its panes", () => {render(- <ResumeCard offer={OFFER} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={OFFER}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);expect(screen.getByText("project")).toBeTruthy();expect(screen.getByText("Alex")).toBeTruthy();@@ -82,7 +95,12 @@ describe("ResumeCard", () => {],};render(- <ResumeCard offer={two} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={two}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);expect(screen.getByTestId("resume-workspace-project")).toBeTruthy();expect(screen.getByTestId("resume-workspace-other")).toBeTruthy();@@ -93,13 +111,18 @@ describe("ResumeCard", () => {// until the agent is asked a follow-up question, so the difference has to be// visible while the choice is still being made.render(- <ResumeCard offer={OFFER} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={OFFER}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);expect(screen.getByTestId("resume-pane-blake").textContent).toMatch(- /starts fresh/i,+ /fresh/i,);expect(screen.getByTestId("resume-pane-alex").textContent).not.toMatch(- /starts fresh/i,+ /fresh/i,);});@@ -114,15 +137,20 @@ describe("ResumeCard", () => {],};render(- <ResumeCard offer={offer} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={offer}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);expect(screen.getByTestId("resume-pane-blake").textContent).toMatch(- /not installed here/i,+ /unavailable/i,);});- it("summarises the call-signs once there are too many to read", () => {- // A hundred chips is wallpaper, not information.+ it("keeps a large fleet compact and expands every terminal on demand", () => {+ // A hundred full tiles is wallpaper until someone explicitly asks for it.const many = Array.from({ length: 30 }, (_, i) => pane(`T${i}`));const offer: ResumeOffer = {...OFFER,@@ -130,11 +158,70 @@ describe("ResumeCard", () => {workspaces: [{ ...WORKSPACE, terminals: many, resumable_count: 30 }],};render(- <ResumeCard offer={offer} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={offer}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);expect(screen.getByTestId("resume-pane-t0")).toBeTruthy();expect(screen.queryByTestId("resume-pane-t29")).toBeNull();- expect(screen.getByTestId("resume-more-project").textContent).toMatch(/\+22 more/);+ const toggle = screen.getByTestId("resume-more-project");+ expect(toggle.textContent).toMatch(/show all 30 terminals \(\+18\)/i);+ fireEvent.click(toggle);+ expect(screen.getByTestId("resume-pane-t29")).toBeTruthy();+ expect(toggle.textContent).toMatch(/show fewer terminals/i);+ fireEvent.click(toggle);+ expect(screen.queryByTestId("resume-pane-t29")).toBeNull();+ });++ it("uses the real local logo for each known terminal agent", () => {+ const offer: ResumeOffer = {+ ...OFFER,+ workspaces: [+ {+ ...WORKSPACE,+ terminals: [+ pane("Claude"),+ pane("Codex", { agent: "codex", display_name: "Codex" }),+ ],+ },+ ],+ };+ render(+ <ResumeCard+ offer={offer}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,+ );+ const codexMark = screen.getAllByTestId("agent-mark-codex")[0];+ expect(codexMark.querySelector("img")?.getAttribute("src")).toBe(+ "/provider-logos/openai.svg",+ );+ const claudeMark = screen.getAllByTestId("agent-mark-claude")[0];+ expect(claudeMark.querySelector("img")?.getAttribute("src")).toBe(+ "/provider-logos/claude.svg",+ );+ });++ it("shows prompt history count and original grid position on each tile", () => {+ render(+ <ResumeCard+ offer={OFFER}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,+ );+ expect(screen.getByTestId("resume-pane-alex").textContent).toMatch(+ /1 prompt/i,+ );+ expect(screen.getByTestId("resume-pane-alex").textContent).toMatch(+ /C1 · R1/,+ );});it("resumes and dismisses through its two buttons", () => {@@ -172,7 +259,12 @@ describe("ResumeCard", () => {],};render(- <ResumeCard offer={offer} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={offer}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);// The good one is still resumable, so the button stays usable.expect(button("resume-all").disabled).toBe(false);@@ -186,7 +278,12 @@ describe("ResumeCard", () => {workspaces: [{ ...WORKSPACE, folder_exists: false, available: false }],};render(- <ResumeCard offer={gone} busy={false} onResume={vi.fn()} onDismiss={vi.fn()} />,+ <ResumeCard+ offer={gone}+ busy={false}+ onResume={vi.fn()}+ onDismiss={vi.fn()}+ />,);expect(button("resume-all").disabled).toBe(true);// ...but "start fresh" still works, or the card could never be cleared away.@@ -194,7 +291,9 @@ describe("ResumeCard", () => {});it("locks both buttons while a resume is in flight", () => {- render(<ResumeCard offer={OFFER} busy onResume={vi.fn()} onDismiss={vi.fn()} />);+ render(+ <ResumeCard offer={OFFER} busy onResume={vi.fn()} onDismiss={vi.fn()} />,+ );expect(button("resume-all").disabled).toBe(true);expect(button("resume-dismiss").disabled).toBe(true);});@@ -202,9 +301,9 @@ describe("ResumeCard", () => {describe("resumeSummary", () => {it("distinguishes all, some and none", () => {- expect(- resumeSummary({ ...OFFER, resumable_count: 2 }),- ).toMatch(/each continuing/i);+ expect(resumeSummary({ ...OFFER, resumable_count: 2 })).toMatch(+ /each continuing/i,+ );expect(resumeSummary(OFFER)).toMatch(/1 continue/i);expect(resumeSummary({ ...OFFER, resumable_count: 0 })).toMatch(/none of their conversations/i,@@ -212,9 +311,9 @@ describe("resumeSummary", () => {});it("counts folders as well as terminals", () => {- expect(resumeSummary({ ...OFFER, workspace_count: 3, terminal_count: 9 })).toMatch(- /3 folders, 9 terminals/,- );+ expect(+ resumeSummary({ ...OFFER, workspace_count: 3, terminal_count: 9 }),+ ).toMatch(/3 folders, 9 terminals/);});it("leads with the reason nothing can be reopened", () => {@@ -233,6 +332,66 @@ describe("resumeSummary", () => {}),).toMatch(/not installed/i);});++ it("does not count an unavailable terminal as starting fresh", () => {+ const offer: ResumeOffer = {+ ...OFFER,+ terminal_count: 3,+ workspaces: [+ {+ ...WORKSPACE,+ terminals: [+ pane("One"),+ pane("Two", { resumable: false }),+ pane("Three", { available: false, resumable: false }),+ ],+ },+ ],+ };+ expect(resumeSummary(offer)).toMatch(+ /1 continue their conversation, 1 start fresh\. 1 cannot reopen/i,+ );+ });+});++describe("summarizeAgentFleet", () => {+ it("groups agents and preserves recovery and prompt facts", () => {+ const fleet = summarizeAgentFleet([+ {+ ...WORKSPACE,+ terminals: [+ pane("One", { prompts_sent: 3 }),+ pane("Two", { resumable: false, prompts_sent: 2 }),+ pane("Three", {+ agent: "codex",+ display_name: "Codex",+ available: false,+ prompts_sent: 4,+ }),+ ],+ },+ ]);+ expect(fleet).toEqual([+ {+ agent: "claude",+ displayName: "Claude Code",+ total: 2,+ resumable: 1,+ fresh: 1,+ unavailable: 0,+ prompts: 5,+ },+ {+ agent: "codex",+ displayName: "Codex",+ total: 1,+ resumable: 0,+ fresh: 0,+ unavailable: 1,+ prompts: 4,+ },+ ]);+ });});describe("savedAgo", () => {diff --git a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsxindex 0330688de9..8bb021d765 100644--- a/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/ResumeCard.tsx@@ -1,13 +1,33 @@/**- * The offer to continue the last Agentic IDE session.+ * The restore manifest shown before the Agentic IDE reopens a saved working set.*- * This is deliberately a flat section, not a card containing workspace cards- * containing terminal chips. Folder rows and terminal rows are separated by- * rules, so the hierarchy comes from alignment and type rather than outlines.+ * This is intentionally closer to a flight manifest than a generic card: one+ * asymmetric decision header, one strip of real recovery facts, then dense+ * workspace and agent detail. A large fleet stays readable because terminals+ * collapse into a short preview and expand inside a bounded scroll region.*/+import { useState } from "react";+import {+ AlertTriangle,+ ChevronDown,+ ChevronUp,+ Clock3,+ FolderOpen,+ LayoutGrid,+ MessageSquare,+ RotateCcw,+ Trash2,+} from "lucide-react";++import { useT } from "@/i18n";+import type {+ ResumeOffer,+ ResumeTerminalOffer,+ ResumeWorkspaceOffer,+} from "@/lib/agenticIdeApi";import { cn } from "@/lib/utils";+import { AgentMark } from "./AgentMark";import { Button, SectionLabel } from "./controls";-import type { ResumeOffer, ResumeWorkspaceOffer } from "@/lib/agenticIdeApi";interface ResumeCardProps {offer: ResumeOffer;@@ -16,122 +36,557 @@ interface ResumeCardProps {onDismiss: () => void;}-/** Call-signs printed in full before the rest becomes "+N more". */-const NAMES_SHOWN = 8;+type Translator = (key: string) => string;++/** Full terminal tiles shown before the rest moves behind "show all". */+const TERMINALS_SHOWN = 12;++function fill(+ template: string,+ values: Record<string, string | number>,+): string {+ return Object.entries(values).reduce(+ (text, [key, value]) => text.replaceAll(`{${key}}`, String(value)),+ template,+ );+}/** Coarse relative time: enough to identify the session, never false precision. */-export function savedAgo(seconds: number, now: number = Date.now()): string {+export function savedAgo(+ seconds: number,+ now: number = Date.now(),+ t?: Translator,+): string {if (!Number.isFinite(seconds) || seconds <= 0) return "";- const minutes = Math.floor((now - seconds * 1000) / 60_000);- if (minutes < 1) return "just now";- if (minutes < 60) return `${minutes} minute${minutes === 1 ? "" : "s"} ago`;+ const minutes = Math.max(0, Math.floor((now - seconds * 1000) / 60_000));+ if (minutes < 1)+ return t ? t("workspace_launcher.resume.just_now") : "just now";+ if (minutes < 60) {+ return t+ ? fill(t("workspace_launcher.resume.minutes_ago"), { count: minutes })+ : `${minutes} minute${minutes === 1 ? "" : "s"} ago`;+ }const hours = Math.floor(minutes / 60);- if (hours < 24) return `${hours} hour${hours === 1 ? "" : "s"} ago`;+ if (hours < 24) {+ return t+ ? fill(t("workspace_launcher.resume.hours_ago"), { count: hours })+ : `${hours} hour${hours === 1 ? "" : "s"} ago`;+ }const days = Math.floor(hours / 24);- return `${days} day${days === 1 ? "" : "s"} ago`;+ return t+ ? fill(t("workspace_launcher.resume.days_ago"), { count: days })+ : `${days} day${days === 1 ? "" : "s"} ago`;}-/** One line of plain language for what the button will actually do. */-export function resumeSummary(offer: ResumeOffer): string {- const spaces = offer.workspace_count;- const panes = offer.terminal_count;- const where = spaces === 1 ? "1 folder" : `${spaces} folders`;- const what = `${panes} terminal${panes === 1 ? "" : "s"}`;+function countLabel(+ count: number,+ singular: string,+ plural: string,+ t?: Translator,+): string {+ if (!t) return `${count} ${count === 1 ? singular : plural}`;+ return fill(+ t(`workspace_launcher.resume.${count === 1 ? singular : plural}`),+ { count },+ );+}++/** One honest line for what the restore action will actually recover. */+export function resumeSummary(offer: ResumeOffer, t?: Translator): string {+ const folders = countLabel(offer.workspace_count, "folder", "folders", t);+ const terminals = countLabel(+ offer.terminal_count,+ "terminal",+ "terminals",+ t,+ );if (!offer.available) {const anyFolder = offer.workspaces.some((workspace) => workspace.folder_exists,);- return anyFolder- ? "None of these terminals can run here — their coding CLIs are not installed."- : "Those folders are no longer on this machine.";+ return t+ ? t(+ anyFolder+ ? "workspace_launcher.resume.summary_unavailable_clis"+ : "workspace_launcher.resume.summary_unavailable_folders",+ )+ : anyFolder+ ? "None of these terminals can run here — their coding CLIs are not installed."+ : "Those folders are no longer on this machine.";}const kept = offer.resumable_count;+ const incomingPanes = offer.workspaces+ .filter((workspace) => workspace.in_last_session !== false)+ .flatMap((workspace) => workspace.terminals);+ const unavailable = incomingPanes.filter((pane) => !pane.available).length;+ const fresh = incomingPanes.length+ ? incomingPanes.filter((pane) => pane.available && !pane.resumable).length+ : Math.max(0, offer.terminal_count - kept);+ const unavailableSuffix = unavailable+ ? t+ ? ` ${fill(t("workspace_launcher.resume.summary_unavailable_suffix"), {+ count: unavailable,+ })}`+ : ` ${unavailable} cannot reopen on this machine.`+ : "";if (kept === 0) {- return `${where}, ${what} — names and places come back; none of their conversations could be kept.`;+ const summary = t+ ? fill(t("workspace_launcher.resume.summary_none"), {+ folders,+ terminals,+ })+ : `${folders}, ${terminals} — names and places come back; none of their conversations could be kept.`;+ return `${summary}${unavailableSuffix}`;+ }+ if (kept === offer.terminal_count && unavailable === 0) {+ return t+ ? fill(t("workspace_launcher.resume.summary_all"), { folders, terminals })+ : `${folders}, ${terminals}, each continuing the conversation it was having.`;}- if (kept === panes) {- return `${where}, ${what}, each continuing the conversation it was having.`;+ const summary = t+ ? fill(t("workspace_launcher.resume.summary_some"), {+ folders,+ terminals,+ resumable: kept,+ fresh,+ })+ : `${folders}, ${terminals} — ${kept} continue their conversation, ${fresh} start fresh.`;+ return `${summary}${unavailableSuffix}`;+}++export interface AgentFleetItem {+ agent: string;+ displayName: string;+ total: number;+ resumable: number;+ fresh: number;+ unavailable: number;+ prompts: number;+}++/** Aggregate a registry-driven terminal list without hardcoding provider names. */+export function summarizeAgentFleet(+ workspaces: ResumeWorkspaceOffer[],+): AgentFleetItem[] {+ const fleet = new Map<string, AgentFleetItem>();+ for (const workspace of workspaces) {+ for (const pane of workspace.terminals) {+ const current = fleet.get(pane.agent) ?? {+ agent: pane.agent,+ displayName: pane.display_name || pane.agent,+ total: 0,+ resumable: 0,+ fresh: 0,+ unavailable: 0,+ prompts: 0,+ };+ current.total += 1;+ current.prompts += pane.prompts_sent;+ if (!pane.available) current.unavailable += 1;+ else if (pane.resumable) current.resumable += 1;+ else current.fresh += 1;+ fleet.set(pane.agent, current);+ }}- return `${where}, ${what} — ${kept} continue their conversation, the rest start fresh.`;+ return [...fleet.values()].sort(+ (left, right) =>+ right.total - left.total ||+ left.displayName.localeCompare(right.displayName),+ );+}++function paneState(pane: ResumeTerminalOffer, t: Translator): string {+ if (!pane.available) return t("workspace_launcher.resume.not_installed");+ return pane.resumable+ ? t("workspace_launcher.resume.continues")+ : t("workspace_launcher.resume.starts_fresh");+}++function PromptCount({ count, t }: { count: number; t: Translator }) {+ return (+ <span>+ {fill(+ t(+ count === 1+ ? "workspace_launcher.resume.prompt_one"+ : "workspace_launcher.resume.prompt_many",+ ),+ { count },+ )}+ </span>+ );+}++function TerminalTile({+ pane,+ t,+}: {+ pane: ResumeTerminalOffer;+ t: Translator;+}) {+ const status = paneState(pane, t);+ const position = fill(t("workspace_launcher.resume.position"), {+ column: pane.column + 1,+ row: pane.slot + 1,+ });+ const description = fill(+ t("workspace_launcher.resume.terminal_description"),+ {+ name: pane.name,+ agent: pane.display_name,+ status,+ prompts: pane.prompts_sent,+ position,+ },+ );++ return (+ <li+ data-testid={`resume-pane-${pane.key}`}+ aria-label={description}+ title={description}+ className={cn(+ "group relative grid min-w-0 grid-cols-[auto_minmax(0,1fr)] gap-2.5 border border-border/60 bg-background/35 p-2.5 transition-colors hover:border-border hover:bg-background/70",+ pane.resumable && pane.available && "border-primary/25",+ !pane.available && "border-amber-400/25",+ )}+ >+ <span+ className={cn(+ "absolute inset-y-0 left-0 w-0.5",+ !pane.available+ ? "bg-amber-300/70"+ : pane.resumable+ ? "bg-primary/80"+ : "bg-muted-foreground/35",+ )}+ />+ <AgentMark agent={pane.agent} label={pane.display_name} size="sm" />+ <div className="min-w-0">+ <div className="flex min-w-0 items-center justify-between gap-2">+ <span className="truncate font-mono text-[11px] font-semibold text-foreground">+ {pane.name}+ </span>+ <span+ className={cn(+ "shrink-0 text-[9px] font-medium uppercase tracking-[0.12em]",+ !pane.available+ ? "text-amber-200"+ : pane.resumable+ ? "text-primary/85"+ : "text-muted-foreground",+ )}+ >+ {status}+ </span>+ </div>+ <p className="mt-0.5 truncate text-[10px] text-muted-foreground">+ {pane.display_name}+ </p>+ <div className="mt-1.5 flex items-center justify-between gap-2 font-mono text-[9px] text-muted-foreground/75">+ <PromptCount count={pane.prompts_sent} t={t} />+ <span>{position}</span>+ </div>+ </div>+ </li>+ );}-function WorkspaceRow({ space }: { space: ResumeWorkspaceOffer }) {- const shown = space.terminals.slice(0, NAMES_SHOWN);- const hidden = space.terminals.length - shown.length;- const fresh = space.terminals.length - space.resumable_count;- const when = savedAgo(space.saved_at ?? 0);+function WorkspaceRow({+ space,+ t,+}: {+ space: ResumeWorkspaceOffer;+ t: Translator;+}) {+ const [expanded, setExpanded] = useState(false);+ const visible = expanded+ ? space.terminals+ : space.terminals.slice(0, TERMINALS_SHOWN);+ const hidden = Math.max(0, space.terminals.length - TERMINALS_SHOWN);+ const fresh = space.terminals.filter(+ (pane) => pane.available && !pane.resumable,+ ).length;+ const unavailable = space.terminals.filter((pane) => !pane.available).length;+ const fleet = summarizeAgentFleet([space]);+ const when = savedAgo(space.saved_at ?? 0, Date.now(), t);+ const total = Math.max(1, space.terminals.length);return (<lidata-testid={`resume-workspace-${space.folder_name}`}className={cn(- "grid gap-x-7 gap-y-3 border-t border-border/60 py-4 lg:grid-cols-[minmax(0,1fr)_auto]",- !space.available && "text-amber-200",+ "border-t border-border/70 py-5",space.in_last_session === false && "opacity-70",)}>- <div className="min-w-0">- <h4 className="truncate text-sm font-semibold text-foreground">- {space.name || space.folder_name}- </h4>- <code className="mt-0.5 block truncate font-mono text-[10px] text-muted-foreground">- {space.folder}- </code>- {!space.folder_exists && (- <p className="mt-2 text-xs leading-relaxed text-amber-200">- This folder was moved or deleted, so it cannot come back.- </p>- )}+ <div className="grid gap-4 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-start">+ <div className="flex min-w-0 items-start gap-3">+ <span className="mt-0.5 inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-control border border-border bg-background/60 text-muted-foreground">+ <FolderOpen className="h-4 w-4" />+ </span>+ <div className="min-w-0">+ <div className="flex flex-wrap items-baseline gap-x-3 gap-y-1">+ <h4 className="truncate text-sm font-semibold text-foreground">+ {space.name || space.folder_name}+ </h4>+ {when && (+ <span className="inline-flex items-center gap-1 text-[10px] text-muted-foreground">+ <Clock3 className="h-3 w-3" />+ {when}+ </span>+ )}+ </div>+ <code className="mt-1 block truncate font-mono text-[10px] text-muted-foreground">+ {space.folder}+ </code>+ <div className="mt-2 flex flex-wrap gap-1.5">+ {fleet.map((item) => (+ <span+ key={item.agent}+ className="inline-flex items-center gap-1.5 border border-border/60 bg-background/45 px-2 py-1 text-[10px] text-muted-foreground"+ >+ <AgentMark+ agent={item.agent}+ label={item.displayName}+ size="sm"+ className="h-5 w-5 border-0 bg-transparent"+ />+ <span>{item.displayName}</span>+ <strong className="font-mono font-semibold text-foreground">+ {item.total}+ </strong>+ </span>+ ))}+ </div>+ {!space.folder_exists && (+ <p className="mt-2 flex items-center gap-1.5 text-xs leading-relaxed text-amber-200">+ <AlertTriangle className="h-3.5 w-3.5 shrink-0" />+ {t("workspace_launcher.resume.folder_missing")}+ </p>+ )}+ </div>+ </div>++ <div className="min-w-[220px] lg:text-right">+ <div className="flex flex-wrap items-baseline gap-x-3 gap-y-1 text-[10px] text-muted-foreground lg:justify-end">+ <strong className="font-mono text-xs font-semibold tabular-nums text-foreground">+ {fill(t("workspace_launcher.resume.terminal_count"), {+ count: space.terminals.length,+ })}+ </strong>+ {space.resumable_count > 0 && (+ <span>+ {fill(t("workspace_launcher.resume.continuing_count"), {+ count: space.resumable_count,+ })}+ </span>+ )}+ {fresh > 0 && (+ <span>+ {fill(t("workspace_launcher.resume.fresh_count"), {+ count: fresh,+ })}+ </span>+ )}+ {unavailable > 0 && (+ <span className="text-amber-200">+ {fill(t("workspace_launcher.resume.unavailable_count"), {+ count: unavailable,+ })}+ </span>+ )}+ </div>+ <div+ className="mt-2 flex h-1.5 overflow-hidden bg-muted/70"+ aria-label={fill(t("workspace_launcher.resume.recovery_bar"), {+ continuing: space.resumable_count,+ fresh,+ unavailable,+ })}+ >+ <span+ className="bg-primary/80"+ style={{ width: `${(space.resumable_count / total) * 100}%` }}+ />+ <span+ className="bg-muted-foreground/35"+ style={{ width: `${(fresh / total) * 100}%` }}+ />+ <span+ className="bg-amber-300/70"+ style={{ width: `${(unavailable / total) * 100}%` }}+ />+ </div>+ </div></div>- <div className="flex flex-wrap items-baseline gap-x-3 text-[11px] text-muted-foreground lg:justify-end">- <span className="font-mono tabular-nums text-foreground">- {space.terminals.length.toString().padStart(2, "0")} terminal- {space.terminals.length === 1 ? "" : "s"}- </span>- {space.resumable_count > 0 && (- <span>{space.resumable_count} continuing</span>+ <ul+ className={cn(+ "scrollbar-jarvis mt-4 grid gap-2 sm:grid-cols-2 xl:grid-cols-3",+ expanded && "max-h-80 overflow-y-auto pr-1",)}- {fresh > 0 && <span>{fresh} starting fresh</span>}- {when && <span>{when}</span>}- </div>+ >+ {visible.map((pane) => (+ <TerminalTile key={pane.key} pane={pane} t={t} />+ ))}+ </ul>++ {hidden > 0 && (+ <button+ type="button"+ data-testid={`resume-more-${space.folder_name}`}+ onClick={() => setExpanded((open) => !open)}+ className="mt-3 inline-flex min-h-8 items-center gap-1.5 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60"+ aria-expanded={expanded}+ >+ {expanded ? (+ <ChevronUp className="h-3.5 w-3.5" />+ ) : (+ <ChevronDown className="h-3.5 w-3.5" />+ )}+ {expanded+ ? t("workspace_launcher.resume.show_less")+ : fill(t("workspace_launcher.resume.show_all"), {+ count: space.terminals.length,+ hidden,+ })}+ </button>+ )}+ </li>+ );+}++function FleetManifest({+ fleet,+ t,+}: {+ fleet: AgentFleetItem[];+ t: Translator;+}) {+ return (+ <aside className="border-t border-border/70 pt-5 xl:border-l xl:border-t-0 xl:pl-5 xl:pt-0">+ <SectionLabel>{t("workspace_launcher.resume.agent_fleet")}</SectionLabel>+ <p className="mt-2 text-xs leading-relaxed text-muted-foreground">+ {t("workspace_launcher.resume.agent_fleet_hint")}+ </p>+ <ul className="mt-4 divide-y divide-border/60 border-y border-border/60">+ {fleet.map((item) => {+ const total = Math.max(1, item.total);+ return (+ <li key={item.agent} className="py-3">+ <div className="flex items-center gap-2.5">+ <AgentMark agent={item.agent} label={item.displayName} />+ <div className="min-w-0 flex-1">+ <div className="flex items-baseline justify-between gap-2">+ <span className="truncate text-xs font-semibold text-foreground">+ {item.displayName}+ </span>+ <span className="font-mono text-sm font-semibold tabular-nums text-foreground">+ {item.total}+ </span>+ </div>+ <p className="mt-0.5 text-[10px] text-muted-foreground">+ {fill(t("workspace_launcher.resume.fleet_detail"), {+ continuing: item.resumable,+ fresh: item.fresh,+ prompts: item.prompts,+ })}+ {item.unavailable > 0 && (+ <span className="text-amber-200">+ {` · ${fill(+ t("workspace_launcher.resume.fleet_unavailable"),+ { count: item.unavailable },+ )}`}+ </span>+ )}+ </p>+ </div>+ </div>+ <div className="mt-2 flex h-1 overflow-hidden bg-muted/70">+ <span+ className="bg-primary/80"+ style={{ width: `${(item.resumable / total) * 100}%` }}+ />+ <span+ className="bg-muted-foreground/35"+ style={{ width: `${(item.fresh / total) * 100}%` }}+ />+ <span+ className="bg-amber-300/70"+ style={{ width: `${(item.unavailable / total) * 100}%` }}+ />+ </div>+ </li>+ );+ })}+ </ul>++ <SectionLabel className="mt-6">+ {t("workspace_launcher.resume.restore_plan")}+ </SectionLabel>+ <ul className="mt-3 space-y-3 text-xs text-muted-foreground">+ <li className="flex gap-2.5">+ <LayoutGrid className="mt-0.5 h-3.5 w-3.5 shrink-0 text-primary/80" />+ <span>{t("workspace_launcher.resume.layout_fact")}</span>+ </li>+ <li className="flex gap-2.5">+ <MessageSquare className="mt-0.5 h-3.5 w-3.5 shrink-0 text-primary/80" />+ <span>{t("workspace_launcher.resume.conversation_fact")}</span>+ </li>+ <li className="flex gap-2.5">+ <AlertTriangle className="mt-0.5 h-3.5 w-3.5 shrink-0 text-amber-200" />+ <span>{t("workspace_launcher.resume.availability_fact")}</span>+ </li>+ </ul>+ </aside>+ );+}- <ul className="lg:col-span-2 grid gap-x-6 gap-y-1 sm:grid-cols-2 xl:grid-cols-3">- {shown.map((pane) => (+function EarlierWorkspaces({+ spaces,+ t,+}: {+ spaces: ResumeWorkspaceOffer[];+ t: Translator;+}) {+ if (spaces.length === 0) return null;+ return (+ <details+ className="border-t border-border/70 py-4"+ data-testid="resume-earlier"+ >+ <summary className="cursor-pointer text-xs font-medium text-muted-foreground hover:text-foreground">+ {fill(t("workspace_launcher.resume.earlier_title"), {+ count: spaces.length,+ })}+ </summary>+ <p className="mt-2 text-xs leading-relaxed text-muted-foreground">+ {t("workspace_launcher.resume.earlier_hint")}+ </p>+ <ul className="mt-3 divide-y divide-border/50 border-y border-border/50">+ {spaces.map((space, index) => (<li- key={pane.key}- data-testid={`resume-pane-${pane.key}`}- className="grid grid-cols-[minmax(0,1fr)_auto] items-baseline gap-3 border-t border-border/40 py-2 text-xs"+ key={space.session_id || `${space.folder}#${index}`}+ className="grid gap-2 py-3 sm:grid-cols-[minmax(0,1fr)_auto] sm:items-center">- <span className="truncate font-mono text-foreground">- {pane.name}- </span>- <span- className={cn(- "text-[10px]",- pane.available && pane.resumable- ? "text-primary/80"- : "text-amber-200",- )}- >- {!pane.available- ? "not installed here"- : pane.resumable- ? "continues"- : "starts fresh"}+ <div className="min-w-0">+ <strong className="block truncate text-xs font-semibold text-foreground">+ {space.name || space.folder_name}+ </strong>+ <code className="mt-0.5 block truncate font-mono text-[9px] text-muted-foreground">+ {space.folder}+ </code>+ </div>+ <span className="font-mono text-[10px] text-muted-foreground">+ {fill(t("workspace_launcher.resume.terminal_count"), {+ count: space.terminals.length,+ })}</span></li>))}- {hidden > 0 && (- <li- data-testid={`resume-more-${space.folder_name}`}- className="border-t border-border/40 py-2 font-mono text-[10px] text-muted-foreground"- >- +{hidden} more- </li>- )}</ul>- </li>+ </details>);}@@ -141,87 +596,199 @@ export function ResumeCard({onResume,onDismiss,}: ResumeCardProps) {- const when = savedAgo(offer.saved_at);+ const t = useT();+ const when = savedAgo(offer.saved_at, Date.now(), t);const coming = offer.workspaces.filter((workspace) => workspace.in_last_session !== false,);const earlier = offer.workspaces.filter((workspace) => workspace.in_last_session === false,);+ const fleet = summarizeAgentFleet(coming);+ const fresh = coming.reduce(+ (count, workspace) =>+ count ++ workspace.terminals.filter((pane) => pane.available && !pane.resumable)+ .length,+ 0,+ );+ const unavailable = coming.reduce(+ (count, workspace) =>+ count + workspace.terminals.filter((pane) => !pane.available).length,+ 0,+ );+ const restorableWorkspaces = coming.filter(+ (workspace) => workspace.available,+ ).length;return (<sectiondata-testid="resume-card"aria-labelledby="resume-card-title"- className="border-y border-primary/25 bg-primary/[0.025] px-4 py-5 sm:px-5"+ className="overflow-hidden border-y border-primary/30 bg-primary/[0.025] px-4 py-5 sm:px-5">- <div className="grid items-start gap-5 lg:grid-cols-[minmax(0,1fr)_auto]">+ <div className="grid gap-6 lg:grid-cols-[minmax(0,1fr)_280px] lg:items-stretch"><div className="min-w-0">- <SectionLabel className="text-primary/80">- Previous session- </SectionLabel>+ <div className="flex flex-wrap items-center gap-x-3 gap-y-1">+ <SectionLabel className="text-primary/85">+ {t("workspace_launcher.resume.eyebrow")}+ </SectionLabel>+ {when && (+ <span className="inline-flex items-center gap-1 font-mono text-[9px] uppercase tracking-[0.12em] text-muted-foreground">+ <Clock3 className="h-3 w-3" />+ {fill(t("workspace_launcher.resume.last_saved"), {+ time: when,+ })}+ </span>+ )}+ </div><h3id="resume-card-title"- className="mt-2 text-lg font-semibold tracking-tight text-foreground"+ className="mt-2 max-w-2xl text-[clamp(1.25rem,2.2vw,2rem)] font-semibold tracking-[-0.035em] text-foreground">- Continue where you left off+ {t("workspace_launcher.resume.title")}</h3>- <p className="mt-1 max-w-3xl text-sm leading-relaxed text-muted-foreground">- {resumeSummary(offer)}- {when && <span> Last open {when}.</span>}+ <p className="mt-2 max-w-3xl text-sm leading-relaxed text-muted-foreground">+ {resumeSummary(offer, t)}</p>+ <div className="mt-4 flex flex-wrap items-center gap-x-4 gap-y-2 text-[10px] text-muted-foreground">+ <span className="inline-flex items-center gap-1.5">+ <span className="h-1.5 w-1.5 bg-primary" />+ {t("workspace_launcher.resume.legend_continues")}+ </span>+ <span className="inline-flex items-center gap-1.5">+ <span className="h-1.5 w-1.5 bg-muted-foreground/50" />+ {t("workspace_launcher.resume.legend_fresh")}+ </span>+ <span className="inline-flex items-center gap-1.5">+ <span className="h-1.5 w-1.5 bg-amber-300/80" />+ {t("workspace_launcher.resume.legend_unavailable")}+ </span>+ </div></div>- <div className="flex flex-wrap items-center gap-2 lg:justify-end">- <Button- variant="subtle"- data-testid="resume-dismiss"- disabled={busy}- onClick={onDismiss}- title="Forget these workspaces and configure a new one"- >- Start fresh- </Button>- <Button- variant="primary"- data-testid="resume-all"- disabled={busy || !offer.available}- onClick={onResume}- className="px-4"- >- {busy ? "Resuming…" : "Resume all sessions"}- </Button>+ <div className="flex flex-col justify-between border-t border-border/70 pt-5 lg:border-l lg:border-t-0 lg:pl-6 lg:pt-0">+ <div className="flex items-end gap-3">+ <span className="font-mono text-5xl font-semibold leading-none tracking-[-0.08em] text-foreground">+ {offer.terminal_count}+ </span>+ <span className="max-w-28 pb-1 text-[10px] uppercase leading-snug tracking-[0.14em] text-muted-foreground">+ {t("workspace_launcher.resume.saved_terminal_fleet")}+ </span>+ </div>+ <div className="mt-5 grid gap-2">+ <Button+ variant="primary"+ data-testid="resume-all"+ disabled={busy || !offer.available}+ onClick={onResume}+ className="h-10 w-full justify-between px-4"+ >+ <span>+ {busy+ ? t("workspace_launcher.resume.resuming")+ : fill(+ t(+ restorableWorkspaces === 1+ ? "workspace_launcher.resume.restore_one"+ : "workspace_launcher.resume.restore_many",+ ),+ { count: restorableWorkspaces },+ )}+ </span>+ <RotateCcw className={cn("h-4 w-4", busy && "animate-spin")} />+ </Button>+ <Button+ variant="subtle"+ data-testid="resume-dismiss"+ disabled={busy}+ onClick={onDismiss}+ title={t("workspace_launcher.resume.discard_title")}+ className="h-9 w-full justify-between px-4"+ >+ <span>{t("workspace_launcher.resume.start_fresh")}</span>+ <Trash2 className="h-3.5 w-3.5" />+ </Button>+ </div></div></div>- <ul className="mt-4 border-b border-border/60">- {coming.map((space, index) => (- <WorkspaceRow- key={space.session_id || `${space.folder}#${index}`}- space={space}- />+ <dl className="mt-6 grid grid-cols-2 border-y border-border/70 sm:grid-cols-4 sm:divide-x sm:divide-border/70">+ {[+ [+ offer.workspace_count,+ t("workspace_launcher.resume.metric_workspaces"),+ ],+ [+ offer.terminal_count,+ t("workspace_launcher.resume.metric_terminals"),+ ],+ [+ offer.resumable_count,+ t("workspace_launcher.resume.metric_continuing"),+ ],+ [fresh, t("workspace_launcher.resume.metric_fresh")],+ ].map(([value, label], index) => (+ <div+ key={String(label)}+ className={cn(+ "py-3 sm:px-4",+ index % 2 === 1 && "pl-4 sm:pl-4",+ index >= 2 && "border-t border-border/70 sm:border-t-0",+ index === 0 && "sm:pl-0",+ )}+ >+ <dd className="font-mono text-lg font-semibold tabular-nums text-foreground">+ {value}+ </dd>+ <dt className="mt-0.5 text-[9px] uppercase tracking-[0.14em] text-muted-foreground">+ {label}+ </dt>+ </div>))}- </ul>+ </dl>- {earlier.length > 0 && (- <details className="mt-4" data-testid="resume-earlier">- <summary className="cursor-pointer text-xs font-medium text-muted-foreground hover:text-foreground">- Also remembered from earlier sessions ({earlier.length})- </summary>- <p className="mt-2 text-xs leading-relaxed text-muted-foreground">- Resuming does not reopen these. Open one from the folder picker when- you want it back.- </p>- <ul className="mt-2 border-b border-border/60">- {earlier.map((space, index) => (+ {unavailable > 0 && (+ <p className="mt-3 flex items-center gap-2 border-l-2 border-amber-300/70 bg-amber-300/[0.04] px-3 py-2 text-xs text-amber-100">+ <AlertTriangle className="h-3.5 w-3.5 shrink-0" />+ {fill(t("workspace_launcher.resume.unavailable_warning"), {+ count: unavailable,+ })}+ </p>+ )}++ <div className="mt-6 grid gap-6 xl:grid-cols-[minmax(0,1fr)_270px]">+ <div className="min-w-0">+ <div className="flex items-end justify-between gap-3">+ <div>+ <SectionLabel>+ {t("workspace_launcher.resume.workspace_manifest")}+ </SectionLabel>+ <p className="mt-1 text-xs text-muted-foreground">+ {t("workspace_launcher.resume.workspace_manifest_hint")}+ </p>+ </div>+ <span className="hidden font-mono text-[9px] uppercase tracking-[0.14em] text-muted-foreground sm:block">+ {fill(t("workspace_launcher.resume.available_workspaces"), {+ available: restorableWorkspaces,+ total: coming.length,+ })}+ </span>+ </div>+ <ul className="mt-3 border-b border-border/70">+ {coming.map((space, index) => (<WorkspaceRowkey={space.session_id || `${space.folder}#${index}`}space={space}+ t={t}/>))}</ul>- </details>- )}+ <EarlierWorkspaces spaces={earlier} t={t} />+ </div>++ <FleetManifest fleet={fleet} t={t} />+ </div></section>);}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.jsonindex 03b522d1fc..cddc480bb3 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json@@ -3498,6 +3498,67 @@"paste_failed": "Hier kann nicht eingefügt werden."},"workspace_launcher": {+ "resume": {+ "eyebrow": "Vorheriger Arbeitsstand",+ "title": "Den Arbeitsraum wiederherstellen, nicht nur die Fenster",+ "last_saved": "Gespeichert {time}",+ "saved_terminal_fleet": "Terminals im gespeicherten Arbeitsstand",+ "just_now": "gerade eben",+ "minutes_ago": "vor {count} Min.",+ "hours_ago": "vor {count} Std.",+ "days_ago": "vor {count} T.",+ "folder": "{count} Ordner",+ "folders": "{count} Ordner",+ "terminal": "{count} Terminal",+ "terminals": "{count} Terminals",+ "summary_unavailable_clis": "Die Ordner sind vorhanden, aber keine ihrer Coding-CLIs kann auf diesem Gerät ausgeführt werden.",+ "summary_unavailable_folders": "Die gespeicherten Ordner befinden sich nicht mehr auf diesem Gerät.",+ "summary_none": "{folders}, {terminals} — Anordnung und Namen kehren zurück; alle verfügbaren Unterhaltungen starten neu.",+ "summary_all": "{folders}, {terminals} — jede Unterhaltung wird an ihrer letzten Stelle fortgesetzt.",+ "summary_some": "{folders}, {terminals} — {resumable} Unterhaltungen werden fortgesetzt; {fresh} starten neu.",+ "summary_unavailable_suffix": "{count} können auf diesem Gerät nicht geöffnet werden.",+ "legend_continues": "Unterhaltung wird fortgesetzt",+ "legend_fresh": "öffnet mit neuem Kontext",+ "legend_unavailable": "kann hier nicht geöffnet werden",+ "resuming": "Wird wiederhergestellt…",+ "restore_one": "1 Arbeitsbereich wiederherstellen",+ "restore_many": "{count} Arbeitsbereiche wiederherstellen",+ "start_fresh": "Verwerfen und neu beginnen",+ "discard_title": "Diesen Wiederherstellungspunkt vergessen und einen neuen Arbeitsbereich konfigurieren",+ "metric_workspaces": "Arbeitsbereiche",+ "metric_terminals": "Terminals",+ "metric_continuing": "Unterhaltungen erhalten",+ "metric_fresh": "starten neu",+ "unavailable_warning": "{count} Terminal(s) können erst wieder geöffnet werden, wenn ihre Coding-CLI erneut installiert ist.",+ "workspace_manifest": "Arbeitsbereichsübersicht",+ "workspace_manifest_hint": "Jedes Terminal kehrt an seine gespeicherte Position zurück.",+ "available_workspaces": "{available} von {total} verfügbar",+ "folder_missing": "Dieser Ordner wurde verschoben oder gelöscht und kann nicht zurückkehren.",+ "terminal_count": "{count} Terminals",+ "continuing_count": "{count} fortgesetzt",+ "fresh_count": "{count} neu",+ "unavailable_count": "{count} nicht verfügbar",+ "recovery_bar": "{continuing} fortgesetzt, {fresh} neu, {unavailable} nicht verfügbar",+ "continues": "weiter",+ "starts_fresh": "neu",+ "not_installed": "nicht verfügbar",+ "prompt_one": "{count} Prompt",+ "prompt_many": "{count} Prompts",+ "position": "Sp. {column} · Z. {row}",+ "terminal_description": "{name}, {agent}, {status}, {prompts} Prompts, {position}",+ "show_all": "Alle {count} Terminals anzeigen (+{hidden})",+ "show_less": "Weniger Terminals anzeigen",+ "agent_fleet": "Agentenverteilung",+ "agent_fleet_hint": "Die genaue CLI-Zusammenstellung dieses Arbeitsstands.",+ "fleet_detail": "{continuing} weiter · {fresh} neu · {prompts} Prompts",+ "fleet_unavailable": "{count} nicht verfügbar",+ "restore_plan": "Was zurückkehrt",+ "layout_fact": "Reihenfolge, Terminalnamen und Rasterpositionen werden wiederhergestellt.",+ "conversation_fact": "Nur als „weiter“ markierte Terminals behalten ihre CLI-Unterhaltung.",+ "availability_fact": "Fehlende Ordner oder CLIs werden übersprungen und gemeldet, statt die gesamte Wiederherstellung abzubrechen.",+ "earlier_title": "Aus früheren Sitzungen gemerkt ({count})",+ "earlier_hint": "Diese Einträge bleiben im Ordnerverlauf, werden bei dieser Wiederherstellung aber nicht geöffnet."+ },"agents": {"step_title": "Coding-Agents auswählen","step_hint": "Verteile alle Terminal-Plätze auf einmal, statt jedes Terminal einzeln zu bearbeiten.",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.jsonindex 5c3e139f8c..227f153de1 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json@@ -3499,6 +3499,67 @@"paste_failed": "Cannot paste here."},"workspace_launcher": {+ "resume": {+ "eyebrow": "Previous working set",+ "title": "Restore the room, not just the windows",+ "last_saved": "Saved {time}",+ "saved_terminal_fleet": "terminals in the saved fleet",+ "just_now": "just now",+ "minutes_ago": "{count} min ago",+ "hours_ago": "{count} hr ago",+ "days_ago": "{count} d ago",+ "folder": "{count} folder",+ "folders": "{count} folders",+ "terminal": "{count} terminal",+ "terminals": "{count} terminals",+ "summary_unavailable_clis": "The folders are here, but none of their coding CLIs can run on this machine.",+ "summary_unavailable_folders": "The saved folders are no longer on this machine.",+ "summary_none": "{folders}, {terminals} — layout and names return; every available conversation starts fresh.",+ "summary_all": "{folders}, {terminals} — every conversation continues where it stopped.",+ "summary_some": "{folders}, {terminals} — {resumable} conversations continue; {fresh} start fresh.",+ "summary_unavailable_suffix": "{count} cannot reopen on this machine.",+ "legend_continues": "conversation continues",+ "legend_fresh": "opens with fresh context",+ "legend_unavailable": "cannot reopen here",+ "resuming": "Restoring…",+ "restore_one": "Restore 1 workspace",+ "restore_many": "Restore {count} workspaces",+ "start_fresh": "Discard and start fresh",+ "discard_title": "Forget this restore point and configure a new workspace",+ "metric_workspaces": "workspaces",+ "metric_terminals": "terminals",+ "metric_continuing": "conversations kept",+ "metric_fresh": "starting fresh",+ "unavailable_warning": "{count} terminal(s) cannot reopen until their coding CLI is installed again.",+ "workspace_manifest": "Workspace manifest",+ "workspace_manifest_hint": "Every pane returns to its recorded position.",+ "available_workspaces": "{available} of {total} available",+ "folder_missing": "This folder was moved or deleted, so it cannot come back.",+ "terminal_count": "{count} terminals",+ "continuing_count": "{count} continuing",+ "fresh_count": "{count} fresh",+ "unavailable_count": "{count} unavailable",+ "recovery_bar": "{continuing} continuing, {fresh} fresh, {unavailable} unavailable",+ "continues": "continues",+ "starts_fresh": "fresh",+ "not_installed": "unavailable",+ "prompt_one": "{count} prompt",+ "prompt_many": "{count} prompts",+ "position": "C{column} · R{row}",+ "terminal_description": "{name}, {agent}, {status}, {prompts} prompts, {position}",+ "show_all": "Show all {count} terminals (+{hidden})",+ "show_less": "Show fewer terminals",+ "agent_fleet": "Agent fleet",+ "agent_fleet_hint": "The exact CLI mix recorded in this working set.",+ "fleet_detail": "{continuing} continue · {fresh} fresh · {prompts} prompts",+ "fleet_unavailable": "{count} unavailable",+ "restore_plan": "What comes back",+ "layout_fact": "Workspace order, pane names, and grid positions are restored.",+ "conversation_fact": "Only panes marked “continues” retain their CLI conversation.",+ "availability_fact": "Missing folders or CLIs are skipped and reported instead of failing the whole restore.",+ "earlier_title": "Remembered from earlier sessions ({count})",+ "earlier_hint": "These are kept in the folder history but are not reopened by this restore."+ },"agents": {"step_title": "Choose the coding agents","step_hint": "Distribute all terminal slots at once instead of editing every pane.",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.jsonindex 42064102c9..95834a4983 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json@@ -3498,6 +3498,67 @@"paste_failed": "Aquí no se puede pegar."},"workspace_launcher": {+ "resume": {+ "eyebrow": "Espacio de trabajo anterior",+ "title": "Recupera el espacio de trabajo, no solo las ventanas",+ "last_saved": "Guardado {time}",+ "saved_terminal_fleet": "terminales en el espacio guardado",+ "just_now": "ahora mismo",+ "minutes_ago": "hace {count} min",+ "hours_ago": "hace {count} h",+ "days_ago": "hace {count} d",+ "folder": "{count} carpeta",+ "folders": "{count} carpetas",+ "terminal": "{count} terminal",+ "terminals": "{count} terminales",+ "summary_unavailable_clis": "Las carpetas siguen aquí, pero ninguna de sus CLI de programación puede ejecutarse en este equipo.",+ "summary_unavailable_folders": "Las carpetas guardadas ya no están en este equipo.",+ "summary_none": "{folders}, {terminals} — vuelven la distribución y los nombres; todas las conversaciones disponibles empiezan de cero.",+ "summary_all": "{folders}, {terminals} — todas las conversaciones continúan donde se detuvieron.",+ "summary_some": "{folders}, {terminals} — continúan {resumable} conversaciones; {fresh} empiezan de cero.",+ "summary_unavailable_suffix": "{count} no pueden reabrirse en este equipo.",+ "legend_continues": "la conversación continúa",+ "legend_fresh": "se abre con contexto nuevo",+ "legend_unavailable": "no puede reabrirse aquí",+ "resuming": "Restaurando…",+ "restore_one": "Restaurar 1 espacio",+ "restore_many": "Restaurar {count} espacios",+ "start_fresh": "Descartar y empezar de cero",+ "discard_title": "Olvidar este punto de restauración y configurar un espacio nuevo",+ "metric_workspaces": "espacios",+ "metric_terminals": "terminales",+ "metric_continuing": "conversaciones conservadas",+ "metric_fresh": "empiezan de cero",+ "unavailable_warning": "{count} terminal(es) no pueden reabrirse hasta que se reinstale su CLI de programación.",+ "workspace_manifest": "Manifiesto del espacio",+ "workspace_manifest_hint": "Cada terminal vuelve a su posición registrada.",+ "available_workspaces": "{available} de {total} disponibles",+ "folder_missing": "Esta carpeta se movió o eliminó y no puede recuperarse.",+ "terminal_count": "{count} terminales",+ "continuing_count": "{count} continúan",+ "fresh_count": "{count} nuevas",+ "unavailable_count": "{count} no disponibles",+ "recovery_bar": "{continuing} continúan, {fresh} nuevas, {unavailable} no disponibles",+ "continues": "continúa",+ "starts_fresh": "nuevo",+ "not_installed": "no disponible",+ "prompt_one": "{count} instrucción",+ "prompt_many": "{count} instrucciones",+ "position": "C{column} · F{row}",+ "terminal_description": "{name}, {agent}, {status}, {prompts} instrucciones, {position}",+ "show_all": "Mostrar los {count} terminales (+{hidden})",+ "show_less": "Mostrar menos terminales",+ "agent_fleet": "Flota de agentes",+ "agent_fleet_hint": "La combinación exacta de CLI guardada en este espacio.",+ "fleet_detail": "{continuing} continúan · {fresh} nuevas · {prompts} instrucciones",+ "fleet_unavailable": "{count} no disponibles",+ "restore_plan": "Qué se recupera",+ "layout_fact": "Se restauran el orden, los nombres y las posiciones de la cuadrícula.",+ "conversation_fact": "Solo los terminales marcados como «continúa» conservan su conversación de CLI.",+ "availability_fact": "Las carpetas o CLI ausentes se omiten y se notifican sin cancelar toda la restauración.",+ "earlier_title": "Recordados de sesiones anteriores ({count})",+ "earlier_hint": "Se conservan en el historial de carpetas, pero esta restauración no los vuelve a abrir."+ },"agents": {"step_title": "Elige los agentes de programación","step_hint": "Distribuye todas las terminales de una vez en lugar de editar cada una por separado.",