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(ui): restore memory off state component
Steven Enamakel192484a6f01c
diff --git a/app/src/components/memory/MemoryOffState.tsx b/app/src/components/memory/MemoryOffState.tsxnew file mode 100644index 0000000000..18f715c3f5--- /dev/null+++ b/app/src/components/memory/MemoryOffState.tsx@@ -0,0 +1,30 @@+/**+ * What every non-engine tab shows while memory is off (no usable engine):+ * why, and a way to the Engine chip to fix it.+ */+import { LuBrain } from 'react-icons/lu';++import EmptyStateCard from '../EmptyStateCard';+import { useT } from '../../lib/i18n/I18nContext';++interface MemoryOffStateProps {+ /** Engine-reported reason, when it gave one. */+ reason?: string | null;+ onOpenEngine: () => void;+}++export default function MemoryOffState({ reason, onOpenEngine }: MemoryOffStateProps) {+ const { t } = useT();+ return (+ <div data-testid="memory-off-state">+ <EmptyStateCard+ icon={<LuBrain className="h-6 w-6 text-primary-500" aria-hidden />}+ title={t('memoryPage.off.title')}+ description={reason || t('memoryPage.off.description')}+ actionLabel={t('memoryPage.off.action')}+ onAction={onOpenEngine}+ actionTestId="memory-off-open-engine"+ />+ </div>+ );+}diff --git a/vendor/tinymemory b/vendor/tinymemoryindex dd6317c6df..f77f4fa7d8 160000--- a/vendor/tinymemory+++ b/vendor/tinymemory@@ -1 +1 @@-Subproject commit dd6317c6df8a3de3938ef893b24e4daf7ef01427+Subproject commit f77f4fa7d8552088a90e7c2a15cc11b6b99b79f3