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): review every change a pane's agent made from its title bar
rubenluetke10-beep51c5c5df3ac0
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsxindex 2a9da983f1..c3e07943b4 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx@@ -58,6 +58,7 @@ import "@xterm/xterm/css/xterm.css";import {BookOpenText,Check,+ FileDiff,GripVertical,Loader2,Maximize2,@@ -157,6 +158,7 @@ import {import { PromptReceipt } from "./PromptReceipt";import { PromptHistoryButton } from "./PromptHistoryButton";import { PaneConversationDialog } from "./PaneConversationDialog";+import { PaneChangesDialog } from "./PaneChangesDialog";import { WorkspaceTerminalHeader } from "./WorkspaceTerminalHeader";import { usePaneContextMenu } from "./usePaneContextMenu";import { SessionGitHubBadge } from "./SessionGitHubBadge";@@ -545,6 +547,8 @@ interface AgenticTerminalProps {onFork?: () => void;/** Compact header only: the worktree branch this pane runs on, if any. */branch?: string;+ /** The pane's own git worktree folder, set only for a worktree fork. */+ folder?: string;/** Compact header only: the connected computer this pane runs on, if any. */computerName?: string;/** Compact header only: "Run on …" / "Bring back" menu entries. */@@ -690,6 +694,7 @@ export function AgenticTerminal({markFocus = true,onFork,branch,+ folder,computerName,placementItems,workspaceItems,@@ -876,6 +881,7 @@ export function AgenticTerminal({const [justDelivered, setJustDelivered] = useState(false);/** The pane's recorded conversation, opened from the header book button. */const [historyOpen, setHistoryOpen] = useState(false);+ const [changesOpen, setChangesOpen] = useState(false);// Latest callbacks/appearance without re-running the connect effect.const onStatusRef = useRef(onStatus);const onAttachErrorRef = useRef(onAttachError);@@ -2801,6 +2807,9 @@ export function AgenticTerminal({const chrome = PANE_CHROME[appearance];const minimal = headerMode === "minimal";const tile = PANE_TILE[appearance];+ // A pane whose agent runs on another computer changes files THERE, which+ // this machine's git cannot read — so only a local pane offers the review.+ const reviewChanges = workspaceId && !computerName ? () => setChangesOpen(true) : undefined;const headerProps = {githubStatusEnabled: active,contextMenuRequest: paneMenu.request,@@ -2826,6 +2835,7 @@ export function AgenticTerminal({onRename,onOpenConversation: () => setHistoryOpen(true),onOpenChat,+ onReviewChanges: reviewChanges,onRestart,onFork,branch,@@ -2941,6 +2951,7 @@ export function AgenticTerminal({splitDisabled={splitDisabled}onOpenConversation={() => setHistoryOpen(true)}onOpenChat={onOpenChat}+ onReviewChanges={reviewChanges}/>}{/*What went wrong, kept on screen for as long as it is true — and the one@@ -2955,6 +2966,19 @@ export function AgenticTerminal({light={appearance === "light"}onRestart={onRestart}/>+ {/* Outside the terminal region on purpose: that region claims every+ press in its capture phase to select the pane, and a click inside+ the review must stay a click inside the review. */}+ {workspaceId && (+ <PaneChangesDialog+ open={changesOpen}+ onOpenChange={setChangesOpen}+ workspaceId={workspaceId}+ pane={name}+ folder={folder}+ branch={branch}+ />+ )}{/*Keep the visual inset OUTSIDE xterm's measured host. FitAddon reads thehost's border-box but does not subtract padding on that host, so putting@@ -3121,6 +3145,7 @@ function PaneHeader({arranging = false,onOpenConversation,onOpenChat,+ onReviewChanges,}: {workspaceId?: string;githubStatusEnabled: boolean;@@ -3154,6 +3179,8 @@ function PaneHeader({onOpenConversation?: () => void;/** Puts this pane on the chat stage, read with the agent chat's timeline. */onOpenChat?: () => void;+ /** Opens the review of every uncommitted change this pane's agent made. */+ onReviewChanges?: () => void;}) {const t = useT();const light = appearance === "light";@@ -3677,6 +3704,15 @@ function PaneHeader({><BookOpenText className="h-3.5 w-3.5" aria-hidden="true" /></PaneAction>+ {onReviewChanges && (+ <PaneAction+ label={`Review changes by ${name}`}+ testId={`pane-review-changes-${name}`}+ onClick={onReviewChanges}+ >+ <FileDiff className="h-3.5 w-3.5" aria-hidden="true" />+ </PaneAction>+ )}<PaneActionlabel={maximized ? `Restore ${name}` : `Maximize ${name}`}testId={`pane-maximize-${name}`}diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsxnew file mode 100644index 0000000000..bc464f92ff--- /dev/null+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.test.tsx@@ -0,0 +1,139 @@+import { cleanup, fireEvent, render, screen, waitFor, within } from "@testing-library/react";+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";+import { PaneChangesDialog } from "./PaneChangesDialog";+import { changeTotals, filesWrittenBy } from "./paneChangesApi";+import { useCodeEditorStore } from "@/store/codeEditor";+import en from "@/i18n/locales/pane_review/en.json";+import de from "@/i18n/locales/pane_review/de.json";+import es from "@/i18n/locales/pane_review/es.json";++const author = (pane: string) => ({ pane, history_id: `h-${pane}`, agent: "claude", display_name: "Claude", last_edit_ms: 1 });++const CHANGES = {+ workspace_id: "w1",+ available: true,+ branch: "main",+ truncated: false,+ reason: "",+ files: [+ { path: "src/app.ts", status: "modified", added: 3, removed: 1, is_directory: false, authors: [author("T1")] },+ { path: "src/other.ts", status: "modified", added: 7, removed: 0, is_directory: false, authors: [author("T2")] },+ { path: "notes.md", status: "untracked", added: 2, removed: 0, is_directory: false, authors: [] },+ ],+};++function diffFor(path: string) {+ return {+ workspace_id: "w1",+ path,+ status: "modified",+ binary: false,+ added: 1,+ removed: 1,+ truncated: false,+ hunks: [{+ header: "@@ -1 +1 @@",+ lines: [+ { kind: "del", text: `old ${path}`, old_no: 1, new_no: null },+ { kind: "add", text: `new ${path}`, old_no: null, new_no: 1 },+ ],+ }],+ };+}++const urls: string[] = [];++beforeEach(() => {+ urls.length = 0;+ vi.stubGlobal("fetch", vi.fn(async (input: RequestInfo | URL) => {+ const url = String(input);+ urls.push(url);+ const path = new URL(url, "http://local").searchParams.get("path") ?? "";+ const body = url.includes("/diff") ? diffFor(path) : url.includes("/changes") ? CHANGES : {};+ return new Response(JSON.stringify(body), { status: 200, headers: { "Content-Type": "application/json" } });+ }));+ useCodeEditorStore.setState({ tabs: [], active: {}, files: {}, visible: false, reveal: null, closed: [] });+});++afterEach(() => {+ cleanup();+ vi.unstubAllGlobals();+});++const paths = () => screen.getAllByTestId("pane-changes-file").map((card) => card.dataset.path);++describe("paneChangesApi", () => {+ it("keeps only the files whose agent record names the pane", () => {+ expect(filesWrittenBy(CHANGES.files as never, "T1").map((file) => file.path)).toEqual(["src/app.ts"]);+ expect(filesWrittenBy(CHANGES.files as never, "T9")).toEqual([]);+ });++ it("adds up the line counts and skips unknown ones", () => {+ expect(changeTotals([...CHANGES.files, { path: "bin", status: "added", added: null, removed: null, is_directory: false }] as never))+ .toEqual({ added: 12, removed: 1 });+ });+});++describe("PaneChangesDialog", () => {+ it("lists only this pane's files and shows each one's diff", async () => {+ render(<PaneChangesDialog open onOpenChange={() => {}} workspaceId="w1" pane="T1" />);+ await screen.findAllByTestId("pane-changes-file");+ expect(paths()).toEqual(["src/app.ts"]);+ expect(await screen.findByText("new src/app.ts")).toBeTruthy();+ expect(screen.getByTestId("pane-changes-summary").textContent).toContain("1 file");+ expect(urls.some((url) => url.includes("/workspaces/w1/diff") && url.includes("src%2Fapp.ts"))).toBe(true);+ expect(urls.some((url) => url.includes("other.ts"))).toBe(false);+ });++ it("widens to the whole folder on request", async () => {+ render(<PaneChangesDialog open onOpenChange={() => {}} workspaceId="w1" pane="T1" />);+ await screen.findAllByTestId("pane-changes-file");+ fireEvent.click(screen.getByTestId("pane-changes-scope-folder"));+ await waitFor(() => expect(paths()).toEqual(["src/app.ts", "src/other.ts", "notes.md"]));+ });++ it("says so when the agent has nothing uncommitted", async () => {+ render(<PaneChangesDialog open onOpenChange={() => {}} workspaceId="w1" pane="T9" />);+ expect(await screen.findByTestId("pane-changes-empty")).toBeTruthy();+ });++ it("reads a worktree pane's own checkout through the folder routes", async () => {+ render(<PaneChangesDialog open onOpenChange={() => {}} workspaceId="w1" pane="T3" folder="/code/app-wt" branch="feat/x" />);+ await screen.findAllByTestId("pane-changes-file");+ // Every change in its own checkout is its own, record or not.+ expect(paths()).toEqual(["src/app.ts", "src/other.ts", "notes.md"]);+ expect(urls[0]).toContain("/api/agentic-ide/git/changes?folder=%2Fcode%2Fapp-wt");+ await waitFor(() => expect(urls.filter((url) => url.includes("/api/agentic-ide/git/diff?folder=")).length).toBe(3));+ expect(screen.queryByTestId("pane-changes-scope-folder")).toBeNull();+ expect(screen.queryByLabelText("Open in the editor")).toBeNull();+ });++ it("opens a file in the code editor and closes the review", async () => {+ const onOpenChange = vi.fn();+ render(<PaneChangesDialog open onOpenChange={onOpenChange} workspaceId="w1" pane="T1" />);+ const [card] = await screen.findAllByTestId("pane-changes-file");+ fireEvent.click(await within(card).findByLabelText("Open in the editor"));+ expect(onOpenChange).toHaveBeenCalledWith(false);+ expect(useCodeEditorStore.getState().tabs.map((tab) => tab.path)).toEqual(["src/app.ts"]);+ });++ it("folds a file's diff away", async () => {+ render(<PaneChangesDialog open onOpenChange={() => {}} workspaceId="w1" pane="T1" />);+ expect(await screen.findByText("new src/app.ts")).toBeTruthy();+ fireEvent.click(screen.getByLabelText("Collapse this file"));+ expect(screen.queryByText("new src/app.ts")).toBeNull();+ });+});++describe("pane review i18n parity", () => {+ const keys = (value: Record<string, unknown>, prefix = ""): string[] =>+ Object.entries(value).flatMap(([key, nested]) => nested && typeof nested === "object"+ ? keys(nested as Record<string, unknown>, `${prefix}${key}.`)+ : [`${prefix}${key}`]).sort();++ for (const [language, locale] of Object.entries({ de, es })) {+ it(`${language} has the same keys as en`, () => {+ expect(keys(locale)).toEqual(keys(en));+ });+ }+});diff --git a/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.tsx b/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.tsxnew file mode 100644index 0000000000..aa78198c33--- /dev/null+++ b/jarvis/ui/web/frontend/src/components/agentic/PaneChangesDialog.tsx@@ -0,0 +1,444 @@+/**+ * Review everything a pane's coding agent changed, in one place.+ *+ * Opened from the pane's title bar. Lists every uncommitted file the agent+ * wrote and shows each file's full diff against the last commit underneath,+ * one card per file, so a whole session's work reads top to bottom before it+ * is committed. The file list on the left jumps to a card.+ *+ * Which files are "the agent's" comes from ./paneChangesApi: a pane on its own+ * worktree owns everything uncommitted there; a pane in the shared folder owns+ * the files its agent's record names. A toggle widens the shared case to the+ * whole folder, because a file a shell command wrote is named by no record.+ */+import { useCallback, useEffect, useRef, useState } from "react";+import * as Dialog from "@radix-ui/react-dialog";+import { ChevronDown, FileDiff, GitBranch, Loader2, RefreshCw, SquareArrowOutUpRight, X } from "lucide-react";++import { fill, useLocaleChunk, useT } from "@/i18n";+import { cn } from "@/lib/utils";+import { useCodeEditorStore } from "@/store/codeEditor";+import { usePaneTitle } from "@/store/paneRecaps";+import {+ changeTotals,+ fetchPaneChanges,+ fetchPaneFileDiff,+ type ChangeScope,+ type PaneChanges,+ type PaneChangesTarget,+} from "./paneChangesApi";+import { DiffView } from "./sidePanel/explorer/DiffView";+import { FileTypeIcon } from "./sidePanel/explorer/FileTypeIcon";+import type { ChangeStatus, ChangedFile, FileDiff as FileDiffBody } from "./sidePanel/explorer/explorerApi";++/** How many diffs are read at once — enough to fill the screen fast, few enough to leave git alone. */+const DIFF_CONCURRENCY = 4;++const STATUS_TONE: Record<ChangeStatus, string> = {+ modified: "text-success",+ added: "text-success",+ untracked: "text-success",+ deleted: "text-destructive",+ conflicted: "text-warning",+};+const STATUS_LETTER: Record<ChangeStatus, string> = {+ modified: "M",+ added: "A",+ untracked: "U",+ deleted: "D",+ conflicted: "!",+};++type DiffState =+ | { kind: "loading" }+ | { kind: "ready"; diff: FileDiffBody }+ | { kind: "error"; message: string };++type ListState =+ | { kind: "loading" }+ | { kind: "ready"; changes: PaneChanges }+ | { kind: "error"; message: string };++const baseName = (path: string) => path.split("/").filter(Boolean).pop() ?? path;+const parentPath = (path: string) => path.split("/").slice(0, -1).join("/");++function Counts({ added, removed, className }: { added: number | null; removed: number | null; className?: string }) {+ if (added === null && removed === null) return null;+ return (+ <span className={cn("shrink-0 font-mono text-xs tabular-nums", className)}>+ <span className="text-success">+{added ?? 0}</span>{" "}+ <span className="text-destructive">−{removed ?? 0}</span>+ </span>+ );+}++export function PaneChangesDialog({+ open,+ onOpenChange,+ workspaceId,+ pane,+ folder,+ branch,+}: {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ workspaceId: string;+ /** The pane's call-sign. */+ pane: string;+ /** Set only for a pane on its own git worktree. */+ folder?: string;+ branch?: string;+}): JSX.Element {+ const t = useT();+ // Until the strings land, `t()` answers with keys; the dialog waits for them.+ const stringsReady = useLocaleChunk("pane_review");+ const title = usePaneTitle(workspaceId, pane) || pane;+ const openFile = useCodeEditorStore((state) => state.openFile);+ const [scope, setScope] = useState<ChangeScope>("pane");+ const [revision, setRevision] = useState(0);+ const [list, setList] = useState<ListState>({ kind: "loading" });+ const [diffs, setDiffs] = useState<Record<string, DiffState>>({});+ const [collapsed, setCollapsed] = useState<ReadonlySet<string>>(() => new Set());+ const cards = useRef(new Map<string, HTMLElement>());++ // Read the list, then every file's diff a few at a time. A newer read (a+ // scope switch, Refresh, closing the dialog) cancels the older one.+ useEffect(() => {+ if (!open) return;+ const target: PaneChangesTarget = { workspaceId, pane, folder };+ let cancelled = false;+ setList({ kind: "loading" });+ setDiffs({});+ void (async () => {+ let changes: PaneChanges;+ try {+ changes = await fetchPaneChanges(target, scope);+ } catch (error) {+ if (!cancelled) setList({ kind: "error", message: error instanceof Error ? error.message : String(error) });+ return;+ }+ if (cancelled) return;+ setList({ kind: "ready", changes });+ const queue = changes.files.filter((file) => !file.is_directory).map((file) => file.path);+ setDiffs(Object.fromEntries(queue.map((path) => [path, { kind: "loading" } as DiffState])));+ const worker = async () => {+ for (let path = queue.shift(); path !== undefined && !cancelled; path = queue.shift()) {+ let next: DiffState;+ try {+ next = { kind: "ready", diff: await fetchPaneFileDiff(target, path) };+ } catch (error) {+ next = { kind: "error", message: error instanceof Error ? error.message : String(error) };+ }+ const done = path;+ if (!cancelled) setDiffs((current) => ({ ...current, [done]: next }));+ }+ };+ await Promise.all(Array.from({ length: DIFF_CONCURRENCY }, worker));+ })();+ return () => {+ cancelled = true;+ };+ }, [open, workspaceId, pane, folder, scope, revision]);++ const toggle = useCallback((path: string) => {+ setCollapsed((current) => {+ const next = new Set(current);+ if (next.has(path)) next.delete(path);+ else next.add(path);+ return next;+ });+ }, []);++ const jumpTo = (path: string) => {+ setCollapsed((current) => {+ if (!current.has(path)) return current;+ const next = new Set(current);+ next.delete(path);+ return next;+ });+ cards.current.get(path)?.scrollIntoView({ block: "start", behavior: "smooth" });+ };++ const changes = list.kind === "ready" ? list.changes : null;+ const files = changes?.files ?? [];+ const totals = changeTotals(files);+ const fileCount = files.length === 1 ? t("pane_review.files_one") : fill(t("pane_review.files_other"), { count: files.length });+ // A worktree's files are relative to that worktree, not to the workspace the+ // editor opens files in, so only the shared folder offers "Open in editor".+ const canOpen = !folder;++ return (+ <Dialog.Root open={open} onOpenChange={onOpenChange}>+ <Dialog.Portal>+ <Dialog.Overlay onMouseDown={(event) => event.stopPropagation()} className="fixed inset-0 z-[80] bg-scrim/75 backdrop-blur-sm data-[state=open]:animate-in data-[state=open]:fade-in-0 motion-reduce:animate-none" />+ <Dialog.Content+ data-testid={`pane-changes-dialog-${pane}`}+ // React events bubble through the portal to the pane, whose own+ // mousedown makes it the prompt target; reading a diff is not that.+ onMouseDown={(event) => event.stopPropagation()}+ className={cn(+ "fixed left-1/2 top-1/2 z-[90] flex h-[min(88dvh,60rem)] w-[min(1200px,calc(100vw-2rem))]",+ "-translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-lg",+ "bg-popover shadow-float outline-none",+ "data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 motion-reduce:animate-none",+ )}+ >+ {!stringsReady ? (+ <div className="flex flex-1 items-center justify-center">+ <Dialog.Title className="sr-only">{pane}</Dialog.Title>+ <Dialog.Description className="sr-only">{pane}</Dialog.Description>+ <Loader2 className="h-4 w-4 animate-spin text-muted-foreground" aria-hidden="true" />+ </div>+ ) : (<>+ <header className="flex flex-wrap items-start justify-between gap-x-4 gap-y-2 border-b border-border px-5 py-4">+ <div className="min-w-0 flex-1">+ <div className="mb-1 flex items-center gap-2">+ <FileDiff className="h-4 w-4 shrink-0 text-primary" aria-hidden="true" />+ <Dialog.Title className="truncate font-display text-base font-semibold tracking-tight text-foreground">+ {fill(t("pane_review.title"), { name: title })}+ </Dialog.Title>+ </div>+ <Dialog.Description className="flex flex-wrap items-center gap-x-2 gap-y-1 text-xs leading-relaxed text-muted-foreground">+ {folder ? (+ <span className="inline-flex min-w-0 items-center gap-1">+ <GitBranch className="h-3 w-3 shrink-0" aria-hidden="true" />+ {fill(t("pane_review.description_worktree"), { branch: branch || changes?.branch || "" })}+ </span>+ ) : (+ <span>{t(scope === "pane" ? "pane_review.description_pane" : "pane_review.description_folder")}</span>+ )}+ {changes && files.length > 0 && (+ <span data-testid="pane-changes-summary" className="inline-flex items-center gap-2 text-foreground-secondary">+ <span aria-hidden="true">·</span>+ {fileCount}+ <Counts added={totals.added} removed={totals.removed} />+ </span>+ )}+ </Dialog.Description>+ </div>+ <div className="flex shrink-0 items-center gap-1.5">+ {!folder && (+ <div role="radiogroup" aria-label={t("pane_review.scope_label")} className="flex rounded-lg bg-muted p-0.5 text-xs">+ {(["pane", "folder"] as const).map((value) => (+ <button+ key={value}+ type="button"+ role="radio"+ aria-checked={scope === value}+ data-testid={`pane-changes-scope-${value}`}+ onClick={() => setScope(value)}+ className={cn(+ "rounded-md px-2.5 py-1 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",+ scope === value ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:text-foreground",+ )}+ >+ {value === "pane"+ ? t("pane_review.scope_pane")+ : changes+ ? fill(t("pane_review.scope_folder_count"), { count: changes.folderTotal })+ : t("pane_review.scope_folder")}+ </button>+ ))}+ </div>+ )}+ <button+ type="button"+ aria-label={t("pane_review.refresh")}+ title={t("pane_review.refresh")}+ data-testid="pane-changes-refresh"+ onClick={() => setRevision((value) => value + 1)}+ className="flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-muted hover:text-foreground active:translate-y-px"+ >+ <RefreshCw className="h-4 w-4" aria-hidden="true" />+ </button>+ <Dialog.Close asChild>+ <button+ type="button"+ aria-label={t("pane_review.close")}+ className="flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-muted hover:text-foreground active:translate-y-px"+ >+ <X className="h-4 w-4" aria-hidden="true" />+ </button>+ </Dialog.Close>+ </div>+ </header>++ {list.kind === "loading" ? (+ <div className="flex flex-1 items-center justify-center gap-2 text-sm text-muted-foreground">+ <Loader2 className="h-4 w-4 animate-spin" aria-hidden="true" />+ {t("pane_review.loading")}+ </div>+ ) : list.kind === "error" ? (+ <p role="alert" className="flex flex-1 items-center justify-center px-6 text-center text-sm text-destructive">+ {fill(t("pane_review.load_failed"), { error: list.message })}+ </p>+ ) : !list.changes.available ? (+ <p className="flex flex-1 items-center justify-center px-6 text-center text-sm text-muted-foreground">+ {fill(t("pane_review.unavailable"), { reason: list.changes.reason })}+ </p>+ ) : files.length === 0 ? (+ <div data-testid="pane-changes-empty" className="flex flex-1 flex-col items-center justify-center gap-1.5 px-6 text-center">+ <p className="text-sm text-foreground">+ {t(scope === "pane" || folder ? "pane_review.empty_pane" : "pane_review.empty_folder")}+ </p>+ <p className="max-w-md text-xs text-muted-foreground">+ {t(scope === "pane" && !folder ? "pane_review.empty_pane_hint" : "pane_review.empty_hint")}+ </p>+ </div>+ ) : (+ <div className="flex min-h-0 flex-1">+ <nav+ aria-label={t("pane_review.file_list")}+ className="hidden w-64 shrink-0 overflow-y-auto border-r border-border py-2 scrollbar-jarvis md:block"+ >+ <ul data-testid="pane-changes-list">+ {files.map((file) => (+ <li key={file.path}>+ <button+ type="button"+ onClick={() => jumpTo(file.path)}+ title={file.path}+ className="flex w-full items-center gap-2 px-3 py-1.5 text-left text-[13px] hover:bg-muted/60 focus-visible:bg-muted/60 focus-visible:outline-none"+ >+ <FileTypeIcon path={file.path} />+ <span className="flex min-w-0 flex-1 flex-col leading-tight">+ <span className={cn("truncate text-foreground", file.status === "deleted" && "line-through decoration-destructive/60")}>+ {baseName(file.path)}+ </span>+ {parentPath(file.path) && (+ <span className="truncate text-[11px] text-muted-foreground">{parentPath(file.path)}</span>+ )}+ </span>+ <span+ aria-label={t(`pane_review.status.${file.status}`)}+ className={cn("w-3 shrink-0 text-center font-mono text-[11px] font-semibold", STATUS_TONE[file.status])}+ >+ {STATUS_LETTER[file.status]}+ </span>+ </button>+ </li>+ ))}+ </ul>+ {changes?.truncated && (+ <p className="px-3 pt-2 text-[11px] text-muted-foreground">{t("pane_review.truncated_list")}</p>+ )}+ </nav>+ <div className="min-w-0 flex-1 space-y-3 overflow-y-auto p-4 scrollbar-jarvis" data-testid="pane-changes-diffs">+ {files.map((file) => (+ <FileCard+ key={file.path}+ file={file}+ diff={diffs[file.path]}+ collapsed={collapsed.has(file.path)}+ onToggle={() => toggle(file.path)}+ onOpen={canOpen && !file.is_directory && file.status !== "deleted"+ ? () => {+ onOpenChange(false);+ openFile(workspaceId, file.path, { mode: "diff", preview: false });+ }+ : undefined}+ cardRef={(node) => {+ if (node) cards.current.set(file.path, node);+ else cards.current.delete(file.path);+ }}+ />+ ))}+ </div>+ </div>+ )}+ </>)}+ </Dialog.Content>+ </Dialog.Portal>+ </Dialog.Root>+ );+}++function FileCard({+ file,+ diff,+ collapsed,+ onToggle,+ onOpen,+ cardRef,+}: {+ file: ChangedFile;+ diff: DiffState | undefined;+ collapsed: boolean;+ onToggle: () => void;+ onOpen?: () => void;+ cardRef: (node: HTMLElement | null) => void;+}) {+ const t = useT();+ const ready = diff?.kind === "ready" ? diff.diff : null;+ return (+ <section+ ref={cardRef}+ data-testid="pane-changes-file"+ data-path={file.path}+ className="scroll-mt-4 overflow-hidden rounded-lg border border-border bg-card"+ >+ <div className="flex items-center gap-2 border-b border-border bg-muted/40 px-2 py-1.5">+ <button+ type="button"+ aria-expanded={!collapsed}+ aria-label={t(collapsed ? "pane_review.expand" : "pane_review.collapse")}+ onClick={onToggle}+ className="flex h-6 w-6 shrink-0 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"+ >+ <ChevronDown className={cn("h-4 w-4 transition-transform", collapsed && "-rotate-90")} aria-hidden="true" />+ </button>+ <FileTypeIcon path={file.path} />+ <span className="flex min-w-0 flex-1 items-baseline gap-1.5 font-mono text-xs" title={file.path}>+ {parentPath(file.path) && (+ <span dir="rtl" className="min-w-0 shrink-[999] truncate text-left text-muted-foreground">+ <bdi dir="ltr">{parentPath(file.path)}/</bdi>+ </span>+ )}+ <span className={cn("min-w-0 shrink-0 truncate text-foreground", file.status === "deleted" && "line-through decoration-destructive/60")}>+ {baseName(file.path)}+ </span>+ </span>+ <span className={cn("shrink-0 text-[11px] font-medium", STATUS_TONE[file.status])}>+ {t(`pane_review.status.${file.status}`)}+ </span>+ <Counts added={ready ? ready.added : file.added} removed={ready ? ready.removed : file.removed} />+ {onOpen && (+ <button+ type="button"+ aria-label={t("pane_review.open_editor")}+ title={t("pane_review.open_editor")}+ onClick={onOpen}+ className="flex h-6 w-6 shrink-0 items-center justify-center rounded text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"+ >+ <SquareArrowOutUpRight className="h-3.5 w-3.5" aria-hidden="true" />+ </button>+ )}+ </div>+ {!collapsed && (+ file.is_directory ? (+ <p className="px-4 py-3 text-xs text-muted-foreground">{t("pane_review.directory")}</p>+ ) : !diff || diff.kind === "loading" ? (+ <p className="flex items-center gap-2 px-4 py-3 text-xs text-muted-foreground">+ <Loader2 className="h-3.5 w-3.5 animate-spin" aria-hidden="true" />+ {t("pane_review.loading_diff")}+ </p>+ ) : diff.kind === "error" ? (+ <p role="alert" className="px-4 py-3 text-xs text-destructive">{fill(t("pane_review.diff_failed"), { error: diff.message })}</p>+ ) : diff.diff.binary ? (+ <p className="px-4 py-3 text-xs text-muted-foreground">{t("pane_review.binary")}</p>+ ) : diff.diff.hunks.length === 0 ? (+ <p className="px-4 py-3 text-xs text-muted-foreground">{t("pane_review.no_lines")}</p>+ ) : (+ <>+ <div className="max-h-[70vh] overflow-auto scrollbar-jarvis">+ <DiffView hunks={diff.diff.hunks} />+ </div>+ {diff.diff.truncated && (+ <p className="border-t border-border px-4 py-2 text-xs text-muted-foreground">{t("pane_review.truncated_diff")}</p>+ )}+ </>+ )+ )}+ </section>+ );+}diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsxindex b2cc5addd7..f966c7368b 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalGrid.tsx@@ -507,7 +507,7 @@ export function WorkspaceTerminalGrid({ session, onChanged, onAdd, onClose, onSeonRename={(name) => rename(terminal, name)}restartToken={restarts[id] ?? 0} onRestart={() => setRestarts((current) => ({ ...current, [id]: (current[id] ?? 0) + 1 }))}onSplit={(direction) => onAdd(terminal.name, direction)}- branch={terminal.branch || undefined}+ branch={terminal.branch || undefined} folder={terminal.folder || undefined}computerName={computerName(terminal)} placementItems={placementItems(terminal)}workspaceItems={transferring || saving || disabled ? [] : movable.map((workspace) => ({ label: `Move to ${workspace.name}…`, run: () => askWhere(id, workspace) }))}diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsxindex 57c50b3348..22174c9167 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.test.tsx@@ -21,6 +21,19 @@ describe("compact workspace terminal header", () => {expect(fork).toHaveBeenCalledTimes(2);});+ it("offers the change review as a button and a menu entry, only when the pane can review", () => {+ const review = vi.fn();+ const { unmount } = render(<WorkspaceTerminalHeader {...BASE} onReviewChanges={review} />);+ fireEvent.click(screen.getByRole("button", { name: "Review changes by Dana" }));+ expect(review).toHaveBeenCalledTimes(1);+ fireEvent.click(screen.getByRole("button", { name: "More actions for Dana" }));+ fireEvent.click(screen.getByRole("menuitem", { name: "Review changes" }));+ expect(review).toHaveBeenCalledTimes(2);+ unmount();+ render(<WorkspaceTerminalHeader {...BASE} />);+ expect(screen.queryByRole("button", { name: "Review changes by Dana" })).toBeNull();+ });+it("uses the name and accurate status without a verbose toolbar", () => {render(<WorkspaceTerminalHeader {...BASE} onOpenConversation={() => {}} />);const header = screen.getByTestId("workspace-terminal-header-Dana");diff --git a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsxindex 741f0943fd..f3fea3b928 100644--- a/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/WorkspaceTerminalHeader.tsx@@ -1,6 +1,6 @@import { useEffect, useId, useLayoutEffect, useRef, useState, type ComponentType, type CSSProperties, type MouseEvent, type PointerEvent, type SVGProps } from "react";import { createPortal } from "react-dom";-import { Check, FolderInput, GitBranch, Maximize2, Minimize2, MoreHorizontal, Plus, Server, X } from "lucide-react";+import { Check, FileDiff, FolderInput, GitBranch, Maximize2, Minimize2, MoreHorizontal, Plus, Server, X } from "lucide-react";import { AgentMark } from "./AgentMark";import { BranchIcon } from "./branchIcon";import { SessionGitHubBadge } from "./SessionGitHubBadge";@@ -37,6 +37,8 @@ interface Props {onRename?: (name: string) => Promise<boolean>;onOpenConversation?: () => void;onOpenChat?: () => void;+ /** Opens the review of every uncommitted change this pane's agent made. */+ onReviewChanges?: () => void;onRestart?: () => void;/** Opens the fork dialog: a new agent continuing a copy of this pane's chat. */onFork?: () => void;@@ -75,7 +77,7 @@ export function WorkspaceTerminalHeader({contextMenuRequest, onSwapWithFocused, sendRightClicks = false, onToggleSendRightClicks,name, workspaceId, promptCount = 0, agent, agentLogoUrl, displayName, status, appearance, arranging = false,maximized = false, addDisabled = false, onArrangeStart, onActivate, onToggleMaximize,- onAdd, onClose, onRename, onOpenConversation, onOpenChat, onRestart, onFork, branch,+ onAdd, onClose, onRename, onOpenConversation, onOpenChat, onReviewChanges, onRestart, onFork, branch,computerName, placementItems, workspaceItems, variant = "bar", focused = false, githubStatusEnabled = true,}: Props) {const brand = PANE_BRAND[appearance];@@ -202,6 +204,7 @@ export function WorkspaceTerminalHeader({Icon: maximized ? Minimize2 : Maximize2, run: onToggleMaximize },onOpenConversation && { label: "Conversation history", run: onOpenConversation },onOpenChat && { label: "Open as chat", run: onOpenChat },+ onReviewChanges && { label: "Review changes", Icon: FileDiff, run: onReviewChanges },stopped && onRestart && { label: "Restart agent", run: onRestart },...(workspaceItems ?? []).map((item, index) => ({ ...item, Icon: FolderInput, separated: index === 0 })),...(placementItems ?? []).map((item, index) => ({ ...item, Icon: Server, separated: index === 0 })),@@ -274,6 +277,8 @@ export function WorkspaceTerminalHeader({<span id={dragHintId} className="sr-only">Drag to reorder, or focus this title and press Alt with an arrow key.</span><SessionGitHubBadge workspaceId={githubStatusEnabled ? workspaceId : undefined} name={name} appearance={appearance} /><div data-header-control="true" className="flex shrink-0 items-center gap-0.5">+ {onReviewChanges && <button type="button" data-testid={`pane-review-changes-${name}`} aria-label={`Review changes by ${name}`}+ title="Review changes" onClick={onReviewChanges} className={action}><FileDiff className="h-[15px] w-[15px]" /></button>}{moreButton}{maximizeButton}{onFork && <button type="button" data-testid={`pane-fork-${name}`} aria-label={`Fork ${name}`} title={`Fork ${name}`}diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.ts b/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.tsnew file mode 100644index 0000000000..25516a6010--- /dev/null+++ b/jarvis/ui/web/frontend/src/components/agentic/paneChangesApi.ts@@ -0,0 +1,126 @@+/**+ * What one pane's coding agent changed, for the pane's "Review changes" dialog.+ *+ * Two places a pane's work can live, and each has its own honest reading:+ *+ * - A pane on its own git worktree (a worktree fork) owns that checkout, so+ * every uncommitted change in it is this agent's. Read through the folder+ * routes (`/api/agentic-ide/git/changes` and `/diff`).+ * - A pane in the workspace's shared folder shares it with its neighbours.+ * The workspace's Changes reading already names, per file, which panes'+ * agents wrote it (read from each agent's own record), so this pane's+ * changes are the files that name it. The whole folder stays one toggle away+ * for a file a shell command wrote, which no agent record names.+ *+ * Only uncommitted work shows: once the agent commits, the change belongs to+ * a commit and the Git tab is where it is read.+ */+import {+ fetchFileDiff,+ fetchWorkspaceChanges,+ type ChangedFile,+ type FileDiff,+} from "./sidePanel/explorer/explorerApi";++/** Which files the dialog lists: this pane's own, or everything uncommitted in its folder. */+export type ChangeScope = "pane" | "folder";++export interface PaneChanges {+ available: boolean;+ /** Why `available` is false, in one plain sentence from the backend. */+ reason: string;+ branch: string;+ /** The files in the requested scope. */+ files: ChangedFile[];+ /** How many uncommitted files the folder has in all — the "whole folder" count. */+ folderTotal: number;+ /** True when the pane has a checkout of its own: every change there is its own. */+ ownCheckout: boolean;+ truncated: boolean;+}++/** Where a pane's work lives: its own worktree folder, else the workspace's shared one. */+export interface PaneChangesTarget {+ workspaceId: string;+ pane: string;+ /** Set only for a pane on its own git worktree. */+ folder?: string;+}++async function read<T>(url: string): Promise<T> {+ const res = await fetch(url);+ if (!res.ok) {+ let message = `Request failed (${res.status}).`;+ try {+ const body = (await res.json()) as { detail?: unknown };+ if (typeof body.detail === "string") message = body.detail;+ else if (body.detail && typeof body.detail === "object" && "message" in body.detail) {+ message = String((body.detail as { message: unknown }).message);+ }+ } catch {+ /* keep the status-code message */+ }+ throw new Error(message);+ }+ return (await res.json()) as T;+}++interface FolderChangesBody {+ available: boolean;+ branch: string;+ files: ChangedFile[];+ truncated: boolean;+ reason: string;+}++/** The files whose agent records name `pane` as a writer. Directories are kept only when named too. */+export function filesWrittenBy(files: readonly ChangedFile[], pane: string): ChangedFile[] {+ return files.filter((file) => (file.authors ?? []).some((author) => author.pane === pane));+}++/** Lines added and removed across `files`; a file whose counts are unknown adds nothing. */+export function changeTotals(files: readonly ChangedFile[]): { added: number; removed: number } {+ let added = 0;+ let removed = 0;+ for (const file of files) {+ added += file.added ?? 0;+ removed += file.removed ?? 0;+ }+ return { added, removed };+}++export async function fetchPaneChanges(target: PaneChangesTarget, scope: ChangeScope): Promise<PaneChanges> {+ if (target.folder) {+ const body = await read<FolderChangesBody>(+ `/api/agentic-ide/git/changes?${new URLSearchParams({ folder: target.folder }).toString()}`,+ );+ return {+ available: body.available,+ reason: body.reason,+ branch: body.branch,+ files: body.files,+ folderTotal: body.files.length,+ ownCheckout: true,+ truncated: body.truncated,+ };+ }+ const body = await fetchWorkspaceChanges(target.workspaceId);+ return {+ available: body.available,+ reason: body.reason,+ branch: body.branch,+ files: scope === "pane" ? filesWrittenBy(body.files, target.pane) : body.files,+ folderTotal: body.files.length,+ ownCheckout: false,+ truncated: body.truncated,+ };+}++export function fetchPaneFileDiff(target: PaneChangesTarget, path: string): Promise<FileDiff> {+ if (target.folder) {+ return read<FileDiff>(+ `/api/agentic-ide/git/diff?${new URLSearchParams({ folder: target.folder, path }).toString()}`,+ );+ }+ return fetchFileDiff(target.workspaceId, path);+}diff --git a/jarvis/ui/web/frontend/src/i18n/index.ts b/jarvis/ui/web/frontend/src/i18n/index.tsindex 4595936f56..fde66f789e 100644--- a/jarvis/ui/web/frontend/src/i18n/index.ts+++ b/jarvis/ui/web/frontend/src/i18n/index.ts@@ -105,7 +105,8 @@ export type LocaleChunk =| "computers"| "onboarding"| "appshot_editor"- | "providers";+ | "providers"+ | "pane_review";const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknown>>> = {marketplace: {@@ -146,6 +147,12 @@ const CHUNK_LOADERS: Record<LocaleChunk, Record<UiLanguage, () => Promise<unknowde: () => import("./locales/providers/de.json"),es: () => import("./locales/providers/es.json"),},+ // A pane's "Review changes" dialog: opened from its title bar, never on start.+ pane_review: {+ en: () => import("./locales/pane_review/en.json"),+ de: () => import("./locales/pane_review/de.json"),+ es: () => import("./locales/pane_review/es.json"),+ },};const EXTRA: Record<UiLanguage, Record<string, unknown>[]> = { en: [], de: [], es: [] };diff --git a/jarvis/ui/web/frontend/src/i18n/locales/pane_review/de.json b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/de.jsonnew file mode 100644index 0000000000..209a903d44--- /dev/null+++ b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/de.json@@ -0,0 +1,41 @@+{+ "pane_review": {+ "title": "Änderungen prüfen: {name}",+ "description_pane": "Jede Datei, die dieser Agent geändert und noch nicht committet hat, mit ihrem Unterschied zum letzten Commit.",+ "description_folder": "Jede noch nicht committete Datei in diesem Ordner, egal wer sie geändert hat.",+ "description_worktree": "Alles, was auf {branch} noch nicht committet ist, der eigenen Arbeitskopie dieses Agenten.",+ "files_one": "1 Datei",+ "files_other": "{count} Dateien",+ "scope_label": "Welche Änderungen angezeigt werden",+ "scope_pane": "Dieser Agent",+ "scope_folder": "Ganzer Ordner",+ "scope_folder_count": "Ganzer Ordner ({count})",+ "refresh": "Änderungen neu lesen",+ "close": "Schließen",+ "loading": "Änderungen werden gelesen …",+ "loading_diff": "Unterschied wird geladen …",+ "load_failed": "Die Änderungen konnten nicht gelesen werden: {error}",+ "diff_failed": "Dieser Unterschied konnte nicht gelesen werden: {error}",+ "unavailable": "Änderungen können hier nicht angezeigt werden: {reason}",+ "empty_pane": "Dieser Agent hat keine offenen Änderungen.",+ "empty_pane_hint": "Was er schon committet hat, steht im Git-Tab. Eine Datei, die ein Shell-Befehl geändert hat, steht unter „Ganzer Ordner“.",+ "empty_folder": "In diesem Ordner ist nichts unkommittet.",+ "empty_hint": "Was schon committet ist, steht im Git-Tab.",+ "file_list": "Geänderte Dateien",+ "truncated_list": "Nur die ersten 500 geänderten Dateien werden aufgelistet.",+ "truncated_diff": "Dieser Unterschied ist gekürzt. Öffne die Datei, um alles zu sehen.",+ "binary": "Binärdatei: Es gibt keine Zeilen zum Vergleichen.",+ "no_lines": "Keine Zeilenänderungen anzuzeigen.",+ "directory": "Ein neuer Ordner. Seine Dateien werden nicht einzeln aufgelistet.",+ "open_editor": "Im Editor öffnen",+ "collapse": "Diese Datei zuklappen",+ "expand": "Diese Datei aufklappen",+ "status": {+ "modified": "Geändert",+ "added": "Hinzugefügt",+ "untracked": "Neu",+ "deleted": "Gelöscht",+ "conflicted": "Konflikt"+ }+ }+}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/pane_review/en.json b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/en.jsonnew file mode 100644index 0000000000..79dd360655--- /dev/null+++ b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/en.json@@ -0,0 +1,41 @@+{+ "pane_review": {+ "title": "Review changes: {name}",+ "description_pane": "Every file this agent changed that is not committed yet, with its diff against the last commit.",+ "description_folder": "Every uncommitted file in this folder, whoever changed it.",+ "description_worktree": "Everything not committed yet on {branch}, this agent's own checkout.",+ "files_one": "1 file",+ "files_other": "{count} files",+ "scope_label": "Which changes to show",+ "scope_pane": "This agent",+ "scope_folder": "Whole folder",+ "scope_folder_count": "Whole folder ({count})",+ "refresh": "Read the changes again",+ "close": "Close",+ "loading": "Reading the changes…",+ "loading_diff": "Loading the diff…",+ "load_failed": "The changes could not be read: {error}",+ "diff_failed": "This diff could not be read: {error}",+ "unavailable": "Changes cannot be shown here: {reason}",+ "empty_pane": "This agent has no uncommitted changes.",+ "empty_pane_hint": "Work it already committed is in the Git tab. A file changed by a shell command shows under Whole folder.",+ "empty_folder": "Nothing in this folder is uncommitted.",+ "empty_hint": "Work that was already committed is in the Git tab.",+ "file_list": "Changed files",+ "truncated_list": "Only the first 500 changed files are listed.",+ "truncated_diff": "This diff is cut short. Open the file to see all of it.",+ "binary": "Binary file: there are no lines to compare.",+ "no_lines": "No line changes to show.",+ "directory": "A new folder. Its files are not listed one by one.",+ "open_editor": "Open in the editor",+ "collapse": "Collapse this file",+ "expand": "Expand this file",+ "status": {+ "modified": "Modified",+ "added": "Added",+ "untracked": "New",+ "deleted": "Deleted",+ "conflicted": "Conflict"+ }+ }+}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/pane_review/es.json b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/es.jsonnew file mode 100644index 0000000000..d8002b6913--- /dev/null+++ b/jarvis/ui/web/frontend/src/i18n/locales/pane_review/es.json@@ -0,0 +1,41 @@+{+ "pane_review": {+ "title": "Revisar cambios: {name}",+ "description_pane": "Cada archivo que este agente cambió y que aún no tiene commit, con su diferencia respecto al último commit.",+ "description_folder": "Cada archivo sin commit de esta carpeta, sin importar quién lo cambió.",+ "description_worktree": "Todo lo que aún no tiene commit en {branch}, la copia de trabajo propia de este agente.",+ "files_one": "1 archivo",+ "files_other": "{count} archivos",+ "scope_label": "Qué cambios mostrar",+ "scope_pane": "Este agente",+ "scope_folder": "Carpeta entera",+ "scope_folder_count": "Carpeta entera ({count})",+ "refresh": "Volver a leer los cambios",+ "close": "Cerrar",+ "loading": "Leyendo los cambios…",+ "loading_diff": "Cargando la diferencia…",+ "load_failed": "No se pudieron leer los cambios: {error}",+ "diff_failed": "No se pudo leer esta diferencia: {error}",+ "unavailable": "Los cambios no se pueden mostrar aquí: {reason}",+ "empty_pane": "Este agente no tiene cambios sin commit.",+ "empty_pane_hint": "Lo que ya tiene commit está en la pestaña Git. Un archivo cambiado por un comando de shell aparece en «Carpeta entera».",+ "empty_folder": "No hay nada sin commit en esta carpeta.",+ "empty_hint": "Lo que ya tiene commit está en la pestaña Git.",+ "file_list": "Archivos cambiados",+ "truncated_list": "Solo se listan los primeros 500 archivos cambiados.",+ "truncated_diff": "Esta diferencia está recortada. Abre el archivo para verla entera.",+ "binary": "Archivo binario: no hay líneas que comparar.",+ "no_lines": "No hay cambios de líneas que mostrar.",+ "directory": "Una carpeta nueva. Sus archivos no se listan uno por uno.",+ "open_editor": "Abrir en el editor",+ "collapse": "Plegar este archivo",+ "expand": "Desplegar este archivo",+ "status": {+ "modified": "Modificado",+ "added": "Añadido",+ "untracked": "Nuevo",+ "deleted": "Eliminado",+ "conflicted": "Conflicto"+ }+ }+}