Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(memory): add early alpha notice to memory page

Steven Enamakelf041af5c06b2
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index dec903114d..679ee61939 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -4959,6 +4959,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'تتضمن خطة Basic مساحة تخزين للذاكرة قدرها 1 غيغابايت وخطة Pro قدرها 20 غيغابايت. إنها أسرع وأذكى، ولا تُستخدم بياناتك أبدًا للتدريب.',
'memoryPage.announcement.dismiss': 'إغلاق',
+ 'memoryPage.alphaNotice':
+ 'ألفا مبكرة: لا تزال الذاكرة قيد الاختبار. قد يتصرف الاسترجاع والاستيراد والتخزين بشكل غير متوقع أو يتغير بين الإصدارات.',
'memoryPage.engine.cortex.description': 'محرك ذاكرة باسترجاع مرتّب وإجابات موثّقة.',
'memoryPage.engine.chip.label': 'طريقة ربط CortexDB',
'memoryPage.engine.chip.builtin': 'TinyHumans',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index c7251af6a3..46c6fff8b7 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -5051,6 +5051,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic-এ 1 GB এবং Pro-তে 20 GB মেমরি স্টোরেজ অন্তর্ভুক্ত। এটি দ্রুত ও আরও স্মার্ট, আর আপনার ডেটা কখনো প্রশিক্ষণে ব্যবহার হয় না।',
'memoryPage.announcement.dismiss': 'বন্ধ করুন',
+ 'memoryPage.alphaNotice':
+ 'প্রাথমিক আলফা: মেমরি এখনো পরীক্ষাধীন। রিকল, ইমপোর্ট ও স্টোরেজ অপ্রত্যাশিত আচরণ করতে পারে বা রিলিজের মধ্যে বদলাতে পারে।',
'memoryPage.engine.cortex.description':
'র‍্যাঙ্ক করা রিকল ও প্রমাণভিত্তিক উত্তরসহ মেমোরি ইঞ্জিন।',
'memoryPage.engine.chip.label': 'CortexDB কীভাবে সংযুক্ত করবেন',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index 6cac1c023e..f82334aaae 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -5192,6 +5192,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic enthält 1 GB Gedächtnisspeicher, Pro 20 GB. Es ist schneller und intelligenter, und deine Daten werden nie zum Training verwendet.',
'memoryPage.announcement.dismiss': 'Schließen',
+ 'memoryPage.alphaNotice':
+ 'Frühe Alpha: Das Gedächtnis wird noch getestet. Abruf, Importe und Speicher können sich unerwartet verhalten oder zwischen Versionen ändern.',
'memoryPage.engine.cortex.description':
'Gedächtnis-Engine mit gewichtetem Abruf und belegten Antworten.',
'memoryPage.engine.chip.label': 'So verbindest du CortexDB',
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index 2f80cfc224..8493ee8867 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -5329,6 +5329,8 @@ const en: TranslationMap = {
'memoryPage.announcement.rest':
"Basic includes 1 GB of memory storage and Pro includes 20 GB. It's faster and smarter, and your data is never used for training.",
'memoryPage.announcement.dismiss': 'Dismiss',
+ 'memoryPage.alphaNotice':
+ 'Early Alpha: Memory is still being tested. Recall, imports and storage may behave unexpectedly or change between releases.',
'memoryPage.engine.cortex.description': 'Memory engine with ranked recall and grounded answers.',
'memoryPage.engine.chip.label': 'How to connect CortexDB',
'memoryPage.engine.chip.builtin': 'TinyHumans',
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index 76e6ecfcba..ad97bbda07 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -5146,6 +5146,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic incluye 1 GB de almacenamiento de memoria y Pro incluye 20 GB. Es más rápida e inteligente, y tus datos nunca se usan para entrenar.',
'memoryPage.announcement.dismiss': 'Cerrar',
+ 'memoryPage.alphaNotice':
+ 'Alfa temprana: la memoria aún se está probando. La recuperación, las importaciones y el almacenamiento pueden comportarse de forma inesperada o cambiar entre versiones.',
'memoryPage.engine.cortex.description':
'Motor de memoria con recuperación ordenada y respuestas fundamentadas.',
'memoryPage.engine.chip.label': 'Cómo conectar CortexDB',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index 5744b63283..7899361e97 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -5166,6 +5166,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
"Basic inclut 1 Go de stockage de mémoire et Pro 20 Go. Elle est plus rapide et plus intelligente, et vos données ne servent jamais à l'entraînement.",
'memoryPage.announcement.dismiss': 'Fermer',
+ 'memoryPage.alphaNotice':
+ "Alpha précoce : la mémoire est encore en test. Le rappel, les imports et le stockage peuvent se comporter de manière inattendue ou changer d'une version à l'autre.",
'memoryPage.engine.cortex.description':
'Moteur de mémoire avec rappel classé et réponses sourcées.',
'memoryPage.engine.chip.label': 'Comment connecter CortexDB',
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index 80df8c713f..a275eb8cec 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -5051,6 +5051,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic में 1 GB और Pro में 20 GB मेमोरी स्टोरेज शामिल है। यह तेज़ और ज़्यादा स्मार्ट है, और आपका डेटा कभी ट्रेनिंग के लिए इस्तेमाल नहीं होता।',
'memoryPage.announcement.dismiss': 'बंद करें',
+ 'memoryPage.alphaNotice':
+ 'प्रारंभिक अल्फ़ा: मेमोरी का अभी परीक्षण हो रहा है। रिकॉल, इम्पोर्ट और स्टोरेज अप्रत्याशित रूप से व्यवहार कर सकते हैं या रिलीज़ के बीच बदल सकते हैं।',
'memoryPage.engine.cortex.description': 'रैंक की गई रिकॉल और प्रमाणित जवाबों वाला मेमोरी इंजन।',
'memoryPage.engine.chip.label': 'CortexDB कैसे कनेक्ट करें',
'memoryPage.engine.chip.builtin': 'TinyHumans',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index 5ae09928fb..fc50609a18 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -5091,6 +5091,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic mencakup 1 GB penyimpanan memori dan Pro mencakup 20 GB. Lebih cepat dan lebih cerdas, dan data Anda tidak pernah dipakai untuk pelatihan.',
'memoryPage.announcement.dismiss': 'Tutup',
+ 'memoryPage.alphaNotice':
+ 'Alfa awal: memori masih diuji. Pemanggilan, impor, dan penyimpanan dapat berperilaku tak terduga atau berubah antar rilis.',
'memoryPage.engine.cortex.description':
'Mesin memori dengan pemanggilan berperingkat dan jawaban berdasar.',
'memoryPage.engine.chip.label': 'Cara menghubungkan CortexDB',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index bf72610b98..06c216cfb6 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -5130,6 +5130,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic include 1 GB di spazio di memoria e Pro 20 GB. È più veloce e intelligente, e i tuoi dati non vengono mai usati per l’addestramento.',
'memoryPage.announcement.dismiss': 'Chiudi',
+ 'memoryPage.alphaNotice':
+ 'Alpha iniziale: la memoria è ancora in fase di test. Richiamo, importazioni e archiviazione potrebbero comportarsi in modo imprevisto o cambiare tra le versioni.',
'memoryPage.engine.cortex.description':
'Motore di memoria con richiamo ordinato e risposte fondate.',
'memoryPage.engine.chip.label': 'Come connettere CortexDB',
diff --git a/app/src/lib/i18n/ja.ts b/app/src/lib/i18n/ja.ts
index 0fa37d0716..2dcbe4cbdc 100644
--- a/app/src/lib/i18n/ja.ts
+++ b/app/src/lib/i18n/ja.ts
@@ -5366,6 +5366,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic は 1 GB、Pro は 20 GB のメモリストレージ付き。より速く賢く、データが学習に使われることはありません。',
'memoryPage.announcement.dismiss': '閉じる',
+ 'memoryPage.alphaNotice':
+ '早期アルファ版: メモリはテスト中です。想起、インポート、ストレージが予期せず動作したり、リリース間で変更されたりする場合があります。',
'memoryPage.engine.cortex.description':
'ランク付きの想起と根拠のある回答を備えたメモリエンジン。',
'memoryPage.engine.chip.label': 'CortexDB の接続方法',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index cabc8d2129..058e33dd91 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -5005,6 +5005,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic은 1GB, Pro는 20GB 메모리 저장 공간을 제공합니다. 더 빠르고 똑똑하며, 데이터는 절대 학습에 사용되지 않습니다.',
'memoryPage.announcement.dismiss': '닫기',
+ 'memoryPage.alphaNotice':
+ '초기 알파: 메모리는 아직 테스트 중입니다. 회상, 가져오기, 저장소가 예기치 않게 동작하거나 릴리스 간에 변경될 수 있습니다.',
'memoryPage.engine.cortex.description': '순위 기반 회상과 근거 있는 답변을 제공하는 메모리 엔진.',
'memoryPage.engine.chip.label': 'CortexDB 연결 방법',
'memoryPage.engine.chip.builtin': 'TinyHumans',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index 6977d2473b..1a6a4826c5 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -5118,6 +5118,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic obejmuje 1 GB miejsca na pamięć, a Pro 20 GB. Jest szybsza i mądrzejsza, a Twoje dane nigdy nie są używane do trenowania.',
'memoryPage.announcement.dismiss': 'Zamknij',
+ 'memoryPage.alphaNotice':
+ 'Wczesna alfa: pamięć jest nadal testowana. Przywoływanie, importy i przechowywanie mogą działać nieoczekiwanie lub zmieniać się między wersjami.',
'memoryPage.engine.cortex.description':
'Silnik pamięci z rankingiem wyników i ugruntowanymi odpowiedziami.',
'memoryPage.engine.chip.label': 'Jak połączyć CortexDB',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index b3f7547d58..64712e0819 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -5119,6 +5119,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'O Basic inclui 1 GB de armazenamento de memória e o Pro inclui 20 GB. É mais rápida e inteligente, e seus dados nunca são usados para treinamento.',
'memoryPage.announcement.dismiss': 'Dispensar',
+ 'memoryPage.alphaNotice':
+ 'Alfa inicial: a memória ainda está em testes. A recuperação, as importações e o armazenamento podem se comportar de forma inesperada ou mudar entre versões.',
'memoryPage.engine.cortex.description':
'Motor de memória com recuperação ordenada e respostas fundamentadas.',
'memoryPage.engine.chip.label': 'Como conectar o CortexDB',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 272ceeca33..c641c29e0e 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -5103,6 +5103,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic включает 1 ГБ хранилища памяти, а Pro 20 ГБ. Она быстрее и умнее, а ваши данные никогда не используются для обучения.',
'memoryPage.announcement.dismiss': 'Скрыть',
+ 'memoryPage.alphaNotice':
+ 'Ранняя альфа: память ещё тестируется. Извлечение, импорт и хранение могут работать неожиданно или меняться между версиями.',
'memoryPage.engine.cortex.description':
'Движок памяти с ранжированным поиском и обоснованными ответами.',
'memoryPage.engine.chip.label': 'Как подключить CortexDB',
diff --git a/app/src/lib/i18n/tr.ts b/app/src/lib/i18n/tr.ts
index 4fe10152f8..6b4adf24cf 100644
--- a/app/src/lib/i18n/tr.ts
+++ b/app/src/lib/i18n/tr.ts
@@ -4968,6 +4968,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic 1 GB, Pro ise 20 GB bellek depolama alanı içerir. Daha hızlı ve daha akıllıdır; verileriniz asla eğitim için kullanılmaz.',
'memoryPage.announcement.dismiss': 'Kapat',
+ 'memoryPage.alphaNotice':
+ 'Erken alfa: Bellek hâlâ test ediliyor. Hatırlama, içe aktarma ve depolama beklenmedik şekilde davranabilir veya sürümler arasında değişebilir.',
'memoryPage.engine.cortex.description':
'Sıralı geri çağırma ve kaynaklı yanıtlar sunan bellek motoru.',
'memoryPage.engine.chip.label': 'CortexDB nasıl bağlanır',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index 4f1ca47f1f..385a6b2cf6 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -4777,6 +4777,8 @@ const messages: TranslationMap = {
'memoryPage.announcement.rest':
'Basic 包含 1 GB 记忆存储空间,Pro 包含 20 GB。更快更智能,你的数据永远不会用于训练。',
'memoryPage.announcement.dismiss': '关闭',
+ 'memoryPage.alphaNotice':
+ '早期 Alpha:记忆仍在测试中。回忆、导入和存储可能出现意外行为,或在不同版本间发生变化。',
'memoryPage.engine.cortex.description': '具备排序召回与有据回答的记忆引擎。',
'memoryPage.engine.chip.label': '如何连接 CortexDB',
'memoryPage.engine.chip.builtin': 'TinyHumans',
diff --git a/app/src/pages/Memory.tsx b/app/src/pages/Memory.tsx
index 50219514c4..a96bcb1b80 100644
--- a/app/src/pages/Memory.tsx
+++ b/app/src/pages/Memory.tsx
@@ -205,6 +205,13 @@ export default function Memory() {
tabsAriaLabel={t('nav.brain')}
tabsTestIdPrefix="brain-tab">
<div className="w-full space-y-5">
+ <Alert
+ variant="warning"
+ density="compact"
+ role={undefined}
+ data-testid="memory-alpha-notice">
+ <AlertDescription>{t('memoryPage.alphaNotice')}</AlertDescription>
+ </Alert>
{loadError !== null && (
<Alert variant="warning" data-testid="memory-load-error">
<AlertDescription>
diff --git a/app/src/pages/__tests__/Memory.test.tsx b/app/src/pages/__tests__/Memory.test.tsx
index 94c60c824e..98f1398493 100644
--- a/app/src/pages/__tests__/Memory.test.tsx
+++ b/app/src/pages/__tests__/Memory.test.tsx
@@ -118,6 +118,23 @@ describe('Memory page', () => {
expect(screen.queryByTestId('stub-import')).not.toBeInTheDocument();
});
+ it.each(['engine', 'migration', 'ask', 'settings'])(
+ 'shows the alpha notice on the %s chip',
+ async chip => {
+ renderAt(`?tab=brain&brain=${chip}`);
+ expect(await screen.findByTestId('memory-alpha-notice')).toHaveTextContent(
+ 'Early Alpha: Memory is still being tested.'
+ );
+ }
+ );
+
+ it('shows the alpha notice while memory is off', async () => {
+ hoisted.engineGet.mockResolvedValue(OFF);
+ renderAt('?tab=brain&brain=ask');
+ expect(await screen.findByTestId('memory-off-state')).toBeInTheDocument();
+ expect(screen.getByTestId('memory-alpha-notice')).toBeInTheDocument();
+ });
+
it('keeps the import flow on the Migration chip only', async () => {
renderAt('?tab=brain&brain=migration');
expect(await screen.findByTestId('stub-import')).toHaveTextContent('TinyHumans');