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
feat(settings): add live voice vendor card and memory provider logo
Steven Enamakel1c076ec7478c
diff --git a/app/src/components/memory/MemoryProviderLogo.tsx b/app/src/components/memory/MemoryProviderLogo.tsxnew file mode 100644index 0000000000..89687610dc--- /dev/null+++ b/app/src/components/memory/MemoryProviderLogo.tsx@@ -0,0 +1,61 @@+import { Monitor } from 'lucide-react';++import cortexdbLogo from '../../assets/provider-icons/cortexdb.png';+import tinyhumansLogo from '../../assets/provider-icons/tinyhumans.svg';+import { cn } from '../../lib/cn';++export type MemoryProviderOption = 'builtin' | 'apikey' | 'selfhost';++/** TinyHumans' mark, drawn as a CSS mask so it takes the surrounding text colour. */+const TinyHumansMark = ({ className }: { className?: string }) => (+ <span+ aria-hidden+ data-testid="memory-logo-tinyhumans"+ className={cn('inline-block bg-current', className)}+ style={{+ maskImage: `url(${tinyhumansLogo})`,+ WebkitMaskImage: `url(${tinyhumansLogo})`,+ maskSize: 'contain',+ WebkitMaskSize: 'contain',+ maskRepeat: 'no-repeat',+ WebkitMaskRepeat: 'no-repeat',+ maskPosition: 'center',+ WebkitMaskPosition: 'center',+ }}+ />+);++/**+ * The brand mark for a memory provider: TinyHumans for the hosted engine and+ * CortexDB's published logo (cortexdb.ai) for the other two, with a small+ * computer badge marking the self-hosted one.+ */+const MemoryProviderLogo = ({+ option,+ className,+}: {+ option: MemoryProviderOption;+ className?: string;+}) => {+ if (option === 'builtin') return <TinyHumansMark className={className} />;+ return (+ <span className="relative inline-flex">+ <img+ src={cortexdbLogo}+ alt=""+ aria-hidden+ data-testid="memory-logo-cortexdb"+ className={cn('object-contain', className)}+ />+ {option === 'selfhost' && (+ <span+ aria-hidden+ className="absolute -right-1.5 -bottom-1.5 flex h-4 w-4 items-center justify-center rounded-full bg-surface text-content ring-1 ring-line">+ <Monitor className="h-2.5 w-2.5" />+ </span>+ )}+ </span>+ );+};++export default MemoryProviderLogo;diff --git a/app/src/components/settings/panels/LiveVoiceVendorCard.tsx b/app/src/components/settings/panels/LiveVoiceVendorCard.tsxindex d50ce2822d..40e80ec8db 100644--- a/app/src/components/settings/panels/LiveVoiceVendorCard.tsx+++ b/app/src/components/settings/panels/LiveVoiceVendorCard.tsx@@ -8,7 +8,7 @@ import LiveVoiceVendorLogo from './LiveVoiceVendorLogo';import { type LiveVoiceVendor, vendorDescKey } from './liveVoiceVendors';/** The highlighted "Included with TinyHumans" tag on managed voice agents. */-export const IncludedTag = ({ className }: { className?: string }) => {+export const IncludedTag = ({ className, label }: { className?: string; label?: string }) => {const { t } = useT();return (<span@@ -17,7 +17,7 @@ export const IncludedTag = ({ className }: { className?: string }) => {className)}><Sparkles className="h-3 w-3" aria-hidden />- {t('connections.voiceAgents.includedTag')}+ {label ?? t('connections.voiceAgents.includedTag')}</span>);};