The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): remove unused attachment component
Steven Enamakeld836336b7d66
diff --git a/app/src/components/assistant-ui/attachment.tsx b/app/src/components/assistant-ui/attachment.tsxindex 4261e271c0..d9b807bb9a 100644--- a/app/src/components/assistant-ui/attachment.tsx+++ b/app/src/components/assistant-ui/attachment.tsx@@ -82,6 +82,7 @@ const AttachmentPreview: FC<AttachmentPreviewProps> = ({ src }) => {};const AttachmentPreviewDialog: FC<PropsWithChildren> = ({ children }) => {+ const { t } = useT();const src = useAttachmentSrc();if (!src) return children;@@ -94,7 +95,9 @@ const AttachmentPreviewDialog: FC<PropsWithChildren> = ({ children }) => {render={isValidElement(children) ? children : <button type="button" />}/><DialogContent className="aui-attachment-preview-dialog-content [&>button]:bg-foreground/60 [&>button]:hover:bg-foreground/80 [&_svg]:text-background p-2 sm:max-w-3xl [&>button]:rounded-full [&>button]:p-1 [&>button]:opacity-100 [&>button]:ring-0!">- <DialogTitle className="aui-sr-only sr-only">Image Attachment Preview</DialogTitle>+ <DialogTitle className="aui-sr-only sr-only">+ {t('attachment.imagePreviewTitle', 'Image Attachment Preview')}+ </DialogTitle><div className="aui-attachment-preview bg-background relative mx-auto flex max-h-[80dvh] w-full items-center justify-center overflow-hidden rounded-sm"><AttachmentPreview src={src} /></div>diff --git a/scripts/i18n-react-audit.ts b/scripts/i18n-react-audit.tsindex 19baff5a0d..5ee3870bc4 100644--- a/scripts/i18n-react-audit.ts+++ b/scripts/i18n-react-audit.ts@@ -25,6 +25,22 @@ const IGNORED_TEXT = new Set(['Discord','Telegram','iPhone',+ // McpServerForm.tsx placeholders — example server config values, not prose.+ 'github', // example MCP server name+ '-y @modelcontextprotocol/server-github', // example CLI args+ 'https://mcp.example.com/mcp', // example MCP server URL+ 'X-API-Key', // example HTTP header name+ // flows/canvas/nodeConfig/* placeholders — flow-engine expression/code/field-name+ // examples, not prose (the product's `=`-expression syntax, field names, or code).+ '=item.id', // flow-engine expression example+ '=item.needs_another_pass', // flow-engine expression example+ '=item.title', // flow-engine expression example+ '=item', // flow-engine expression example+ 'web_search', // native tool slug example+ 'https://api.example.com/v1/resource', // example HTTP URL+ 'status', // example field name+ 'type', // example field name+ 'return items;', // example code snippet]);const IGNORED_SHORT_TOKENS = new Set(['v',