Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(chat): show composer attachments as plain thumbnails
rubenluetke10-beep5ee5758662ac
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsxindex 8679a3b73f..2d04331c7c 100644--- a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx+++ b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx@@ -668,6 +668,10 @@ export function AgentComposer({ autoFocus = false }: { autoFocus?: boolean }) {analyzing={files.analyzing}onRemove={files.remove}previews={files.previews}+ // The picture alone, as in the thread composer: a card with the file+ // name and a "not described" receipt crowded a strip whose only job+ // is to show what goes in with the message (maintainer, 2026-10-06).+ look="thumbnail"/><ComposerTypeaheadanchorRef={cardRef}diff --git a/jarvis/ui/web/frontend/src/components/agentchat/chatAttachments.test.tsx b/jarvis/ui/web/frontend/src/components/agentchat/chatAttachments.test.tsxindex bfb67eec04..cf0f5db3bd 100644--- a/jarvis/ui/web/frontend/src/components/agentchat/chatAttachments.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentchat/chatAttachments.test.tsx@@ -131,7 +131,7 @@ describe("chat composer attachments", () => {vi.restoreAllMocks();});- it("takes a pasted image and shows what was read from it", async () => {+ it("takes a pasted image and shows it without a read receipt", async () => {composer();const box = screen.getByTestId("composer-chip-field");const png = new File([new Uint8Array([1, 2, 3])], "image.png", { type: "image/png" });@@ -141,9 +141,9 @@ describe("chat composer attachments", () => {});await waitFor(() => expect(screen.getByTestId("chat-attachment-shot.png")).toBeDefined());- // The chip says the model could SEE it — that is the outcome a person has- // to be able to read before pressing Send.- expect(screen.getByTestId("chat-attachment-shot.png").textContent).toContain("described");+ // The strip shows the file alone, as the thread composer does; the+ // described / not described receipt is gone.+ expect(screen.getByTestId("chat-attachment-shot.png").textContent).not.toContain("described");const [url, init] = fetchMock.mock.calls.find(([u]) =>String(u).includes("/attachments"),