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(memory): describe Built-in CortexDB as the TinyHumans Memory API
M3gA-Mindecd139c58e2f
diff --git a/app/src/components/memory/MemoryEngineTab.test.tsx b/app/src/components/memory/MemoryEngineTab.test.tsxindex b49b2619db..3cc0628bf3 100644--- a/app/src/components/memory/MemoryEngineTab.test.tsx+++ b/app/src/components/memory/MemoryEngineTab.test.tsx@@ -144,9 +144,35 @@ describe('MemoryEngineTab', () => {it('shows Off on the configured Built-in engine while signed out', () => {hoisted.signedIn = false;- renderTab({ ...OFF, engine: 'tinyhumans', reason: 'sign in to use TinyHumans memory' });+ renderTab({+ ...OFF,+ engine: 'tinyhumans',+ endpoint: 'https://api.tinyhumans.ai',+ reason: 'sign in to use TinyHumans memory',+ });expect(screen.getByTestId('memory-engine-builtin-active')).toHaveTextContent('Off');expect(screen.getByTestId('memory-engine-builtin-use')).toBeDisabled();+ expect(screen.getByTestId('memory-engine-builtin-sign-in')).toBeInTheDocument();+ expect(screen.getByTestId('memory-engine-builtin-endpoint')).toHaveTextContent(+ 'https://api.tinyhumans.ai'+ );+ });++ it('shows the backend origin the core reports, read-only', () => {+ renderTab({ ...BUILTIN_ON, endpoint: 'https://staging-api.example.test' });+ const endpoint = screen.getByTestId('memory-engine-builtin-endpoint');+ expect(endpoint).toHaveTextContent('https://staging-api.example.test');+ expect(endpoint.tagName).not.toBe('INPUT');+ expect(+ screen.getByText(/Facts and beliefs drawn from them fill in over the following minutes/)+ ).toBeInTheDocument();+ });++ it('shows no Built-in origin while another option is configured', () => {+ renderTab(CLOUD_ON);+ open('builtin');+ expect(screen.getByTestId('memory-engine-builtin-use')).toBeInTheDocument();+ expect(screen.queryByTestId('memory-engine-builtin-endpoint')).not.toBeInTheDocument();});it('shows a failed switch inside the item and stays open', async () => {diff --git a/app/src/components/memory/MemoryEngineTab.tsx b/app/src/components/memory/MemoryEngineTab.tsxindex be45941edb..c578b89782 100644--- a/app/src/components/memory/MemoryEngineTab.tsx+++ b/app/src/components/memory/MemoryEngineTab.tsx@@ -2,9 +2,10 @@* Memory → Engine: memory runs on CortexDB, reached one of three ways, shown as* a single-open accordion (#7025):*- * - Built-in: the `tinyhumans` engine, CortexDB behind the TinyHumans backend,- * authenticated by sign-in. Signed out (or on a local session), it says so- * and cannot be selected.+ * - Built-in: the `tinyhumans` engine, the TinyHumans backend's `/memory/*`+ * API (CortexDB hosted per account), authenticated by sign-in. The backend+ * origin it uses is shown read-only from `memory_engine_get`. Signed out (or+ * on a local session), it says so and cannot be selected.* - Your API key: the `cortexdb` engine on CortexDB's managed API. The endpoint* is fixed; only the key is entered.* - Self-host: the `cortexdb` engine on a server on this computer. The core only@@ -294,6 +295,19 @@ export default function MemoryEngineTab({ state, onStateChange, embedded }: Memo)}<AccordionContent className="space-y-3"><p>{t('memoryPage.engine.builtin.description')}</p>+ <p className="text-xs text-content-muted">+ {t('memoryPage.engine.builtin.enrichmentNote')}+ </p>+ {/* The backend origin the core resolved, read-only: never a+ hard-coded URL, and only known while Built-in is configured. */}+ {active === 'builtin' && state.endpoint && (+ <p className="text-xs text-content-muted">+ {t('memoryPage.engine.endpoint')}:{' '}+ <span className="font-mono" data-testid="memory-engine-builtin-endpoint">+ {state.endpoint}+ </span>+ </p>+ )}{builtinBlocked && (<pclassName="text-xs text-content-muted"diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.tsindex 19ad1ea93a..b7e37f4f15 100644--- a/app/src/lib/i18n/ar.ts+++ b/app/src/lib/i18n/ar.ts@@ -4885,7 +4885,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'مضمّن في حساب TinyHumans الخاص بك','memoryPage.engine.builtin.signInRequired': 'سجّل الدخول للاستخدام','memoryPage.engine.builtin.description':- 'CortexDB تستضيفه TinyHumans لك. لا شيء لإعداده: يستخدم تسجيل دخولك.',+ 'CortexDB تستضيفه TinyHumans ومضمّن في حسابك. سجّل الدخول لاستخدامه؛ لا شيء لإعداده.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'تُحفظ الذكريات الجديدة فورًا. وتكتمل الحقائق والمعتقدات المستخلصة منها خلال الدقائق التالية.','memoryPage.engine.builtin.signInHint':'سجّل الدخول إلى حساب TinyHumans لاستخدام CortexDB المدمج.','memoryPage.engine.apiKeyOption.title': 'CortexDB بمفتاح API الخاص بك',diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.tsindex 9a5846fb44..a4b8baa676 100644--- a/app/src/lib/i18n/bn.ts+++ b/app/src/lib/i18n/bn.ts@@ -4978,7 +4978,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'আপনার TinyHumans অ্যাকাউন্টের সাথে অন্তর্ভুক্ত','memoryPage.engine.builtin.signInRequired': 'ব্যবহার করতে সাইন ইন করুন','memoryPage.engine.builtin.description':- 'TinyHumans আপনার জন্য হোস্ট করা CortexDB। কিছুই সেট আপ করতে হবে না: এটি আপনার সাইন-ইন ব্যবহার করে।',+ 'TinyHumans হোস্ট করা এবং আপনার অ্যাকাউন্টের সাথে অন্তর্ভুক্ত CortexDB। ব্যবহার করতে সাইন ইন করুন; কিছুই সেট আপ করতে হবে না।',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'নতুন স্মৃতি সঙ্গে সঙ্গে সংরক্ষিত হয়। সেগুলো থেকে পাওয়া তথ্য ও বিশ্বাস পরের কয়েক মিনিটে যুক্ত হয়।','memoryPage.engine.builtin.signInHint':'বিল্ট-ইন CortexDB ব্যবহার করতে আপনার TinyHumans অ্যাকাউন্টে সাইন ইন করুন।','memoryPage.engine.apiKeyOption.title': 'আপনার API কী দিয়ে CortexDB',diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.tsindex a478cc5052..bf5a1686cd 100644--- a/app/src/lib/i18n/de.ts+++ b/app/src/lib/i18n/de.ts@@ -5117,7 +5117,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'In deinem TinyHumans-Konto enthalten','memoryPage.engine.builtin.signInRequired': 'Zum Nutzen anmelden','memoryPage.engine.builtin.description':- 'CortexDB, für dich von TinyHumans gehostet. Es gibt nichts einzurichten: Es nutzt deine Anmeldung.',+ 'CortexDB, gehostet von TinyHumans und in deinem Konto enthalten. Melde dich an, um es zu nutzen; es gibt nichts einzurichten.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Neue Erinnerungen werden sofort gespeichert. Fakten und Überzeugungen daraus werden in den folgenden Minuten ergänzt.','memoryPage.engine.builtin.signInHint':'Melde dich bei deinem TinyHumans-Konto an, um das integrierte CortexDB zu nutzen.','memoryPage.engine.apiKeyOption.title': 'CortexDB mit deinem API-Schlüssel',diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.tsindex 2a0ba7eaf7..77460c607a 100644--- a/app/src/lib/i18n/en.ts+++ b/app/src/lib/i18n/en.ts@@ -5256,7 +5256,9 @@ const en: TranslationMap = {'memoryPage.engine.builtin.detail': 'Included with your TinyHumans account','memoryPage.engine.builtin.signInRequired': 'Sign in to use','memoryPage.engine.builtin.description':- 'CortexDB hosted for you by TinyHumans. There is nothing to set up: it uses your sign-in.',+ 'CortexDB hosted by TinyHumans and included with your account. Sign in to use it; there is nothing to set up.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'New memories are saved right away. Facts and beliefs drawn from them fill in over the following minutes.','memoryPage.engine.builtin.signInHint':'Sign in to your TinyHumans account to use built-in CortexDB.','memoryPage.engine.apiKeyOption.title': 'CortexDB with your API key',diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.tsindex 18d17c3738..4e716acbb8 100644--- a/app/src/lib/i18n/es.ts+++ b/app/src/lib/i18n/es.ts@@ -5071,7 +5071,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'Incluido con tu cuenta de TinyHumans','memoryPage.engine.builtin.signInRequired': 'Inicia sesión para usarlo','memoryPage.engine.builtin.description':- 'CortexDB alojado para ti por TinyHumans. No hay nada que configurar: usa tu inicio de sesión.',+ 'CortexDB alojado por TinyHumans e incluido con tu cuenta. Inicia sesión para usarlo; no hay nada que configurar.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Los nuevos recuerdos se guardan al instante. Los hechos y creencias que se extraen de ellos se completan en los minutos siguientes.','memoryPage.engine.builtin.signInHint':'Inicia sesión en tu cuenta de TinyHumans para usar CortexDB integrado.','memoryPage.engine.apiKeyOption.title': 'CortexDB con tu clave de API',diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex 2a2ee28007..99ec78097b 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -5095,7 +5095,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'Inclus avec votre compte TinyHumans','memoryPage.engine.builtin.signInRequired': "Connectez-vous pour l'utiliser",'memoryPage.engine.builtin.description':- 'CortexDB hébergé pour vous par TinyHumans. Rien à configurer : il utilise votre connexion.',+ "CortexDB hébergé par TinyHumans et inclus avec votre compte. Connectez-vous pour l'utiliser ; rien à configurer.",+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Les nouveaux souvenirs sont enregistrés immédiatement. Les faits et croyances qui en sont tirés se complètent dans les minutes qui suivent.','memoryPage.engine.builtin.signInHint':'Connectez-vous à votre compte TinyHumans pour utiliser CortexDB intégré.','memoryPage.engine.apiKeyOption.title': 'CortexDB avec votre clé API',diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.tsindex e13ea5ae87..39c213f8f5 100644--- a/app/src/lib/i18n/hi.ts+++ b/app/src/lib/i18n/hi.ts@@ -4977,7 +4977,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'आपके TinyHumans खाते में शामिल','memoryPage.engine.builtin.signInRequired': 'इस्तेमाल के लिए साइन इन करें','memoryPage.engine.builtin.description':- 'TinyHumans द्वारा आपके लिए होस्ट किया गया CortexDB। कुछ भी सेट अप नहीं करना है: यह आपके साइन-इन का उपयोग करता है।',+ 'TinyHumans द्वारा होस्ट किया गया और आपके खाते में शामिल CortexDB। इस्तेमाल के लिए साइन इन करें; कुछ भी सेट अप नहीं करना है।',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'नई यादें तुरंत सहेजी जाती हैं। उनसे निकाले गए तथ्य और धारणाएं अगले कुछ मिनटों में जुड़ती हैं।','memoryPage.engine.builtin.signInHint':'बिल्ट-इन CortexDB इस्तेमाल करने के लिए अपने TinyHumans खाते में साइन इन करें।','memoryPage.engine.apiKeyOption.title': 'आपकी API कुंजी के साथ CortexDB',diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.tsindex 4a1dcdb6c9..916545c47e 100644--- a/app/src/lib/i18n/id.ts+++ b/app/src/lib/i18n/id.ts@@ -5018,7 +5018,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'Termasuk dalam akun TinyHumans Anda','memoryPage.engine.builtin.signInRequired': 'Masuk untuk memakai','memoryPage.engine.builtin.description':- 'CortexDB yang di-host untuk Anda oleh TinyHumans. Tidak ada yang perlu disiapkan: memakai login Anda.',+ 'CortexDB yang di-host oleh TinyHumans dan sudah termasuk dalam akun Anda. Masuk untuk memakainya; tidak ada yang perlu disiapkan.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Memori baru langsung disimpan. Fakta dan keyakinan yang diambil darinya terisi dalam beberapa menit berikutnya.','memoryPage.engine.builtin.signInHint':'Masuk ke akun TinyHumans Anda untuk memakai CortexDB bawaan.','memoryPage.engine.apiKeyOption.title': 'CortexDB dengan kunci API Anda',diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.tsindex e8d6a010ec..cbd86b6235 100644--- a/app/src/lib/i18n/it.ts+++ b/app/src/lib/i18n/it.ts@@ -5056,7 +5056,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'Incluso nel tuo account TinyHumans','memoryPage.engine.builtin.signInRequired': 'Accedi per usarlo','memoryPage.engine.builtin.description':- "CortexDB ospitato per te da TinyHumans. Non c'è nulla da configurare: usa il tuo accesso.",+ "CortexDB ospitato da TinyHumans e incluso nel tuo account. Accedi per usarlo; non c'è nulla da configurare.",+ 'memoryPage.engine.builtin.enrichmentNote':+ 'I nuovi ricordi vengono salvati subito. I fatti e le convinzioni ricavati da essi si completano nei minuti successivi.','memoryPage.engine.builtin.signInHint':'Accedi al tuo account TinyHumans per usare CortexDB integrato.','memoryPage.engine.apiKeyOption.title': 'CortexDB con la tua chiave API',diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.tsindex f052d64b36..a64d24cfe3 100644--- a/app/src/lib/i18n/ko.ts+++ b/app/src/lib/i18n/ko.ts@@ -4932,7 +4932,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'TinyHumans 계정에 포함','memoryPage.engine.builtin.signInRequired': '로그인 후 사용','memoryPage.engine.builtin.description':- 'TinyHumans가 호스팅하는 CortexDB입니다. 설정할 것이 없으며 로그인 정보를 사용합니다.',+ 'TinyHumans가 호스팅하며 계정에 포함된 CortexDB입니다. 로그인하면 사용할 수 있으며 설정할 것이 없습니다.',+ 'memoryPage.engine.builtin.enrichmentNote':+ '새 기억은 바로 저장됩니다. 여기서 도출된 사실과 신념은 이후 몇 분에 걸쳐 채워집니다.','memoryPage.engine.builtin.signInHint':'내장 CortexDB를 사용하려면 TinyHumans 계정에 로그인하세요.','memoryPage.engine.apiKeyOption.title': 'API 키로 CortexDB 사용',diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex 0c30cf27ee..ce73a43a7a 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -5045,7 +5045,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'W ramach konta TinyHumans','memoryPage.engine.builtin.signInRequired': 'Zaloguj się, aby używać','memoryPage.engine.builtin.description':- 'CortexDB hostowane dla Ciebie przez TinyHumans. Nie trzeba nic konfigurować: korzysta z Twojego logowania.',+ 'CortexDB hostowane przez TinyHumans i zawarte w Twoim koncie. Zaloguj się, aby z niego korzystać; nie trzeba nic konfigurować.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Nowe wspomnienia są zapisywane od razu. Fakty i przekonania z nich wyciągnięte uzupełniają się w ciągu kolejnych minut.','memoryPage.engine.builtin.signInHint':'Zaloguj się na konto TinyHumans, aby używać wbudowanego CortexDB.','memoryPage.engine.apiKeyOption.title': 'CortexDB z Twoim kluczem API',diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.tsindex 6393d995d4..b483c07932 100644--- a/app/src/lib/i18n/pt.ts+++ b/app/src/lib/i18n/pt.ts@@ -5046,7 +5046,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'Incluído na sua conta TinyHumans','memoryPage.engine.builtin.signInRequired': 'Entre para usar','memoryPage.engine.builtin.description':- 'CortexDB hospedado para você pela TinyHumans. Não há nada para configurar: ele usa o seu login.',+ 'CortexDB hospedado pela TinyHumans e incluído na sua conta. Entre para usar; não há nada para configurar.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Novas memórias são salvas na hora. Os fatos e crenças extraídos delas são preenchidos nos minutos seguintes.','memoryPage.engine.builtin.signInHint':'Entre na sua conta TinyHumans para usar o CortexDB integrado.','memoryPage.engine.apiKeyOption.title': 'CortexDB com sua chave de API',diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.tsindex f6237da1f1..c63a8e3d2c 100644--- a/app/src/lib/i18n/ru.ts+++ b/app/src/lib/i18n/ru.ts@@ -5028,7 +5028,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': 'Входит в ваш аккаунт TinyHumans','memoryPage.engine.builtin.signInRequired': 'Войдите, чтобы использовать','memoryPage.engine.builtin.description':- 'CortexDB, размещённая для вас TinyHumans. Ничего настраивать не нужно: используется ваш вход.',+ 'CortexDB, размещённая TinyHumans и входящая в ваш аккаунт. Войдите, чтобы пользоваться ею; настраивать ничего не нужно.',+ 'memoryPage.engine.builtin.enrichmentNote':+ 'Новые воспоминания сохраняются сразу. Факты и убеждения, извлечённые из них, появляются в течение следующих минут.','memoryPage.engine.builtin.signInHint':'Войдите в аккаунт TinyHumans, чтобы использовать встроенную CortexDB.','memoryPage.engine.apiKeyOption.title': 'CortexDB с вашим API-ключом',diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.tsindex c4a047c428..4eddd1af95 100644--- a/app/src/lib/i18n/zh-CN.ts+++ b/app/src/lib/i18n/zh-CN.ts@@ -4704,7 +4704,9 @@ const messages: TranslationMap = {'memoryPage.engine.builtin.detail': '包含在你的 TinyHumans 账户中','memoryPage.engine.builtin.signInRequired': '登录后使用','memoryPage.engine.builtin.description':- '由 TinyHumans 为你托管的 CortexDB。无需任何设置:使用你的登录信息。',+ '由 TinyHumans 托管、包含在你账户中的 CortexDB。登录即可使用,无需任何设置。',+ 'memoryPage.engine.builtin.enrichmentNote':+ '新的记忆会立即保存。从中提炼的事实和信念会在接下来的几分钟内补充完成。','memoryPage.engine.builtin.signInHint': '登录你的 TinyHumans 账户以使用内置 CortexDB。','memoryPage.engine.apiKeyOption.title': '使用你的 API 密钥连接 CortexDB','memoryPage.engine.apiKeyOption.description':