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
chore: files changed app/src/components/memory/MemoryAskTab.test.tsx,app/src/components/memory/Memor
Steven Enamakel31ce9dfe9afd
diff --git a/app/src/components/memory/MemoryAskTab.test.tsx b/app/src/components/memory/MemoryAskTab.test.tsxindex 98e49a15ae..ae637c38c8 100644--- a/app/src/components/memory/MemoryAskTab.test.tsx+++ b/app/src/components/memory/MemoryAskTab.test.tsx@@ -28,13 +28,15 @@ beforeEach(() => {hoisted.agents.mockReset().mockResolvedValue({ root: 'user:me', agents: [{ agent_id: 'researcher', turns: 12 }] });- hoisted.policy.mockReset().mockResolvedValue({- log_conversations: true,- recall: { enabled: true, budget_tokens: 1500 },- root: 'user:me',- agent_id: 'main',- host_bound: false,- });+ hoisted.policy+ .mockReset()+ .mockResolvedValue({+ log_conversations: true,+ recall: { enabled: true, budget_tokens: 1500 },+ root: 'user:me',+ agent_id: 'main',+ host_bound: false,+ });});const PACK = {diff --git a/app/src/components/memory/MemoryAskTab.tsx b/app/src/components/memory/MemoryAskTab.tsxindex 653591be86..51f0fc5397 100644--- a/app/src/components/memory/MemoryAskTab.tsx+++ b/app/src/components/memory/MemoryAskTab.tsx@@ -123,107 +123,107 @@ export default function MemoryAskTab({ fetchModes }: MemoryAskTabProps) {<MemoryPackPreview />) : (<>- <Card padded divided={false}>- <form className="flex flex-col gap-3" onSubmit={e => void submit(e)}>- <Label htmlFor="memory-ask-question" className="text-xs text-content-secondary">- {raw ? t('memoryPage.ask.queryLabel') : t('memoryPage.ask.questionLabel')}- </Label>- <TextArea- id="memory-ask-question"- data-testid="memory-ask-input"- rows={3}- value={question}- placeholder={t('memoryPage.ask.placeholder')}- onChange={e => setQuestion(e.target.value)}- onKeyDown={e => {- if (e.key === 'Enter' && (e.metaKey || e.ctrlKey)) void submit();- }}- />- <div className="flex flex-wrap items-center justify-between gap-3">- <div className="flex flex-wrap items-center gap-3">- {raw && fetchModes.length > 0 && (- <NativeSelect- aria-label={t('memoryPage.ask.modeLabel')}- data-testid="memory-ask-mode"- value={mode}- onChange={e => setMode(e.target.value as FetchMode)}>- {fetchModes.map(m => (- <option key={m} value={m}>- {modeLabel(m)}- </option>- ))}- </NativeSelect>- )}- </div>- <Button- type="submit"- variant="primary"- size="sm"- data-testid="memory-ask-submit"- disabled={busy || question.trim().length === 0}>- {raw ? t('memoryPage.ask.search') : t('memoryPage.ask.ask')}- </Button>- </div>- </form>- </Card>+ <Card padded divided={false}>+ <form className="flex flex-col gap-3" onSubmit={e => void submit(e)}>+ <Label htmlFor="memory-ask-question" className="text-xs text-content-secondary">+ {raw ? t('memoryPage.ask.queryLabel') : t('memoryPage.ask.questionLabel')}+ </Label>+ <TextArea+ id="memory-ask-question"+ data-testid="memory-ask-input"+ rows={3}+ value={question}+ placeholder={t('memoryPage.ask.placeholder')}+ onChange={e => setQuestion(e.target.value)}+ onKeyDown={e => {+ if (e.key === 'Enter' && (e.metaKey || e.ctrlKey)) void submit();+ }}+ />+ <div className="flex flex-wrap items-center justify-between gap-3">+ <div className="flex flex-wrap items-center gap-3">+ {raw && fetchModes.length > 0 && (+ <NativeSelect+ aria-label={t('memoryPage.ask.modeLabel')}+ data-testid="memory-ask-mode"+ value={mode}+ onChange={e => setMode(e.target.value as FetchMode)}>+ {fetchModes.map(m => (+ <option key={m} value={m}>+ {modeLabel(m)}+ </option>+ ))}+ </NativeSelect>+ )}+ </div>+ <Button+ type="submit"+ variant="primary"+ size="sm"+ data-testid="memory-ask-submit"+ disabled={busy || question.trim().length === 0}>+ {raw ? t('memoryPage.ask.search') : t('memoryPage.ask.ask')}+ </Button>+ </div>+ </form>+ </Card>- {error !== null && (- <Alert variant="destructive" data-testid="memory-ask-error">- <AlertDescription>{error}</AlertDescription>- </Alert>- )}+ {error !== null && (+ <Alert variant="destructive" data-testid="memory-ask-error">+ <AlertDescription>{error}</AlertDescription>+ </Alert>+ )}- {busy && <CenteredLoadingState label={t('memoryPage.ask.thinking')} />}+ {busy && <CenteredLoadingState label={t('memoryPage.ask.thinking')} />}- {!busy && !raw && answer && (- <Card title={t('memoryPage.ask.answerTitle')} data-testid="memory-ask-answer">- <div className="px-4 py-3">- <BubbleMarkdown content={answer.answer || t('memoryPage.ask.noAnswer')} />- </div>- {answer.citations.length > 0 && (- <div>- <h4 className="px-4 pt-3 text-[10px] font-semibold uppercase tracking-wide text-content-faint">- {t('memoryPage.ask.citations')}- </h4>- <ul className="divide-y divide-line-subtle" data-testid="memory-ask-citations">- {answer.citations.map(c => (- <MemoryHitRow- key={c.id}- id={c.id}- kind={c.kind}- text={c.snippet}- meta={c.meta}- score={c.score}- data-testid={`memory-citation-${c.id}`}- />- ))}- </ul>- </div>+ {!busy && !raw && answer && (+ <Card title={t('memoryPage.ask.answerTitle')} data-testid="memory-ask-answer">+ <div className="px-4 py-3">+ <BubbleMarkdown content={answer.answer || t('memoryPage.ask.noAnswer')} />+ </div>+ {answer.citations.length > 0 && (+ <div>+ <h4 className="px-4 pt-3 text-[10px] font-semibold uppercase tracking-wide text-content-faint">+ {t('memoryPage.ask.citations')}+ </h4>+ <ul className="divide-y divide-line-subtle" data-testid="memory-ask-citations">+ {answer.citations.map(c => (+ <MemoryHitRow+ key={c.id}+ id={c.id}+ kind={c.kind}+ text={c.snippet}+ meta={c.meta}+ score={c.score}+ data-testid={`memory-citation-${c.id}`}+ />+ ))}+ </ul>+ </div>+ )}+ </Card>)}- </Card>- )}- {!busy && raw && hits && (- <Card title={t('memoryPage.ask.rawTitle')} data-testid="memory-ask-hits">- {hits.length === 0 ? (- <p className="px-4 py-3 text-sm text-content-muted">{t('memoryPage.ask.noHits')}</p>- ) : (- <ul className="divide-y divide-line-subtle">- {hits.map(h => (- <MemoryHitRow- key={h.id}- id={h.id}- kind={h.kind}- text={h.text}- meta={h.meta}- score={h.score}- showScore- />- ))}- </ul>+ {!busy && raw && hits && (+ <Card title={t('memoryPage.ask.rawTitle')} data-testid="memory-ask-hits">+ {hits.length === 0 ? (+ <p className="px-4 py-3 text-sm text-content-muted">{t('memoryPage.ask.noHits')}</p>+ ) : (+ <ul className="divide-y divide-line-subtle">+ {hits.map(h => (+ <MemoryHitRow+ key={h.id}+ id={h.id}+ kind={h.kind}+ text={h.text}+ meta={h.meta}+ score={h.score}+ showScore+ />+ ))}+ </ul>+ )}+ </Card>)}- </Card>- )}</>)}</div>diff --git a/app/src/components/memory/MemoryBackgroundTab.tsx b/app/src/components/memory/MemoryBackgroundTab.tsxindex 1fc6a1a9f5..9d2a50c2b3 100644--- a/app/src/components/memory/MemoryBackgroundTab.tsx+++ b/app/src/components/memory/MemoryBackgroundTab.tsx@@ -154,7 +154,9 @@ export default function MemoryBackgroundTab() {</p><p className="text-xs text-content-muted"><span className="font-mono">{job.root}</span>- {queued ? ` · ${fill(t('memoryPage.background.queued'), { when: queued })}` : ''}+ {queued+ ? ` · ${fill(t('memoryPage.background.queued'), { when: queued })}`+ : ''}{job.attempts > 0? ` · ${fill(t('memoryPage.background.attempts'), { count: job.attempts })}`: ''}@@ -216,9 +218,7 @@ export default function MemoryBackgroundTab() {: ''}{` · ${fill(t('memoryPage.background.stored'), { count: entry.stored ?? 0 })}`}</p>- {entry.reason && (- <p className="text-xs text-content-muted">{entry.reason}</p>- )}+ {entry.reason && <p className="text-xs text-content-muted">{entry.reason}</p>}</div></li>);diff --git a/app/src/components/memory/MemoryConversationsTab.tsx b/app/src/components/memory/MemoryConversationsTab.tsxindex e80a32f8ca..57f21fe997 100644--- a/app/src/components/memory/MemoryConversationsTab.tsx+++ b/app/src/components/memory/MemoryConversationsTab.tsx@@ -24,8 +24,8 @@ import {import { Alert, AlertDescription, Button, Card, Switch } from '../ui';import { CenteredLoadingState } from '../ui/LoadingState';import MemoryConversationsBackfill from './MemoryConversationsBackfill';-import MemoryHitRow from './MemoryHitRow';import { fill } from './memoryFormat';+import MemoryHitRow from './MemoryHitRow';const log = debug('openhuman:memory:conversations');diff --git a/app/src/components/memory/MemoryPackPreview.tsx b/app/src/components/memory/MemoryPackPreview.tsxindex f0668a445f..c59d73e534 100644--- a/app/src/components/memory/MemoryPackPreview.tsx+++ b/app/src/components/memory/MemoryPackPreview.tsx@@ -98,7 +98,9 @@ export default function MemoryPackPreview() {placeholder={t('memoryPage.pack.queryPlaceholder')}onChange={e => setQuery(e.target.value)}/>- <p className="text-[11px] leading-4 text-content-muted">{t('memoryPage.pack.queryHelp')}</p>+ <p className="text-[11px] leading-4 text-content-muted">+ {t('memoryPage.pack.queryHelp')}+ </p><div className="flex flex-wrap items-center justify-between gap-3"><NativeSelectaria-label={t('memoryPage.pack.agentLabel')}@@ -150,10 +152,7 @@ export default function MemoryPackPreview() {variant={budget !== null && pack.tokens > budget ? 'warning' : 'neutral'}data-testid="memory-pack-tokens">{budget !== null- ? fill(t('memoryPage.pack.tokensOfBudget'), {- tokens: pack.tokens,- budget,- })+ ? fill(t('memoryPage.pack.tokensOfBudget'), { tokens: pack.tokens, budget }): fill(t('memoryPage.pack.tokens'), { tokens: pack.tokens })}</Badge>}diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.tsindex ea2feda977..3a1c314f89 100644--- a/app/src/lib/i18n/ar.ts+++ b/app/src/lib/i18n/ar.ts@@ -4916,14 +4916,16 @@ const messages: TranslationMap = {'memoryPage.tabs.background': 'الخلفية','memoryPage.tabs.settings': 'الإعدادات','memoryPage.header.brain': 'مستندات يشاركها كل وكيل، مصنّفة بحسب مصدرها.',- 'memoryPage.header.background': 'عمليات بناء المعتقدات واستيراد المستندات التي تنفّذها الذاكرة في الخلفية.',+ 'memoryPage.header.background':+ 'عمليات بناء المعتقدات واستيراد المستندات التي تنفّذها الذاكرة في الخلفية.','memoryPage.header.settings': 'ما تضيفه الذاكرة إلى كل دور، وبأي قدر.','memoryPage.ask.viewLabel': 'وضع السؤال','memoryPage.ask.viewAnswer': 'الإجابة','memoryPage.ask.viewPack': 'معاينة الحزمة','memoryPage.pack.queryLabel': 'الرسالة (اختياري)','memoryPage.pack.queryPlaceholder': 'على ماذا نعمل اليوم؟',- 'memoryPage.pack.queryHelp': 'مع الرسالة، تعرف الذاكرة التي سيحصل عليها الرد عليها. اتركها فارغة لترى ما تبدأ به المحادثة الجديدة.',+ 'memoryPage.pack.queryHelp':+ 'مع الرسالة، تعرف الذاكرة التي سيحصل عليها الرد عليها. اتركها فارغة لترى ما تبدأ به المحادثة الجديدة.','memoryPage.pack.agentLabel': 'الوكيل','memoryPage.pack.agentDefault': 'الوكيل الحالي','memoryPage.pack.preview': 'معاينة',@@ -4939,10 +4941,12 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'تم تخطيه','memoryPage.learnings.builtBelief': 'المعتقد المبني','memoryPage.conversations.logTitle': 'سجل المحادثات',- 'memoryPage.conversations.logDescription': 'يُحفظ كل دور من كل محادثة في الذاكرة فور حدوثه، ليتمكن الوكلاء من تذكّره لاحقًا.',+ 'memoryPage.conversations.logDescription':+ 'يُحفظ كل دور من كل محادثة في الذاكرة فور حدوثه، ليتمكن الوكلاء من تذكّره لاحقًا.','memoryPage.conversations.logTurns': 'سجّل كل دور','memoryPage.conversations.agentsTitle': 'الوكلاء',- 'memoryPage.conversations.agentsDescription': 'وكلاء لديهم محادثات محفوظة. افتح أحدهم لترى ما خزّنه.',+ 'memoryPage.conversations.agentsDescription':+ 'وكلاء لديهم محادثات محفوظة. افتح أحدهم لترى ما خزّنه.','memoryPage.conversations.agentsEmpty': 'لا توجد محادثات محفوظة بعد.','memoryPage.conversations.itemsEmpty': 'لا توجد محادثات مخزّنة لهذا الوكيل بعد.','memoryPage.brain.sourcesTitle': 'الدماغ',@@ -4982,7 +4986,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'هذا المستند موجود في الدماغ بالفعل.','memoryPage.brain.syncedTitle': 'المصادر المتزامنة','memoryPage.background.pendingTitle': 'في انتظار التشغيل',- 'memoryPage.background.pendingDescription': 'تشغّل الذاكرة هذه المهام تلقائيًا. شغّلها الآن لتتجاوز الانتظار.',+ 'memoryPage.background.pendingDescription':+ 'تشغّل الذاكرة هذه المهام تلقائيًا. شغّلها الآن لتتجاوز الانتظار.','memoryPage.background.pendingEmpty': 'لا شيء في الانتظار.','memoryPage.background.refresh': 'تحديث','memoryPage.background.runAll': 'شغّل الكل الآن',@@ -5002,7 +5007,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'تم تخطيه','memoryPage.background.outcome.failed': 'فشل','memoryPage.settings.recallTitle': 'الذاكرة في كل دور',- 'memoryPage.settings.recallDescription': 'قبل كل رد، تضيف الذاكرة ما تعرفه ويكون ذا صلة. تحدد هذه الحدود المقدار.',+ 'memoryPage.settings.recallDescription':+ 'قبل كل رد، تضيف الذاكرة ما تعرفه ويكون ذا صلة. تحدد هذه الحدود المقدار.','memoryPage.settings.recallEnabled': 'أضف الذاكرة إلى كل دور','memoryPage.settings.budget': 'حد الحجم','memoryPage.settings.budgetHelp': 'أقصى ما يُضاف من الذاكرة إلى دور واحد.',@@ -5013,16 +5019,20 @@ const messages: TranslationMap = {'memoryPage.settings.teamLimit': 'ذاكرة الفريق','memoryPage.settings.limitHelp': 'أقصى عدد من العناصر من هذا النوع في كل دور. القيمة 0 تستبعدها.','memoryPage.settings.buildBeliefsEvery': 'ابنِ المعتقدات كل',- 'memoryPage.settings.buildBeliefsHelp': 'استخلص المعتقدات من المعلومات المكتسبة بعد هذا العدد من الأدوار. القيمة 0 توقف ذلك.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'استخلص المعتقدات من المعلومات المكتسبة بعد هذا العدد من الأدوار. القيمة 0 توقف ذلك.','memoryPage.settings.turns': 'دور','memoryPage.settings.preTurnTimeout': 'انتظار الذاكرة',- 'memoryPage.settings.preTurnTimeoutHelp': 'المدة التي ينتظر فيها الرد الذاكرة قبل أن يمضي من دونها.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'المدة التي ينتظر فيها الرد الذاكرة قبل أن يمضي من دونها.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'أين تُحفظ الذاكرة',- 'memoryPage.settings.identityDescription': 'الجذر الذي يشاركه كل وكيل، والوكيل الذي يعمل التطبيق بصفته.',+ 'memoryPage.settings.identityDescription':+ 'الجذر الذي يشاركه كل وكيل، والوكيل الذي يعمل التطبيق بصفته.','memoryPage.settings.root': 'الجذر','memoryPage.settings.agentId': 'الوكيل',- 'memoryPage.settings.hostBound': 'التطبيق المستضيف لـ OpenHuman هو من يحدد هذه القيم، لذا لا يمكن تغييرها هنا.',+ 'memoryPage.settings.hostBound':+ 'التطبيق المستضيف لـ OpenHuman هو من يحدد هذه القيم، لذا لا يمكن تغييرها هنا.','memoryPage.import.title': 'تم العثور على ذاكرة سابقة','memoryPage.import.counts':'يوجد على هذا الجهاز {documents} مستندات و{conversations} محادثات و{learnings} معلومات مكتسبة من الذاكرة السابقة.',diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.tsindex 0789cb0100..2e8f494f6d 100644--- a/app/src/lib/i18n/bn.ts+++ b/app/src/lib/i18n/bn.ts@@ -5012,14 +5012,16 @@ const messages: TranslationMap = {'memoryPage.tabs.background': 'ব্যাকগ্রাউন্ড','memoryPage.tabs.settings': 'সেটিংস','memoryPage.header.brain': 'প্রতিটি এজেন্টের শেয়ার করা ডকুমেন্ট, উৎস অনুযায়ী সাজানো।',- 'memoryPage.header.background': 'মেমোরি ব্যাকগ্রাউন্ডে যেসব বিশ্বাস তৈরি ও ডকুমেন্ট ইম্পোর্ট চালায়।',+ 'memoryPage.header.background':+ 'মেমোরি ব্যাকগ্রাউন্ডে যেসব বিশ্বাস তৈরি ও ডকুমেন্ট ইম্পোর্ট চালায়।','memoryPage.header.settings': 'মেমোরি প্রতিটি পালায় কী যোগ করে, এবং কতটা।','memoryPage.ask.viewLabel': 'প্রশ্নের মোড','memoryPage.ask.viewAnswer': 'উত্তর','memoryPage.ask.viewPack': 'প্যাকের প্রিভিউ','memoryPage.pack.queryLabel': 'বার্তা (ঐচ্ছিক)','memoryPage.pack.queryPlaceholder': 'আজ আমরা কী নিয়ে কাজ করব?',- 'memoryPage.pack.queryHelp': 'বার্তাসহ দেখুন তার উত্তর কোন মেমোরি পাবে। ফাঁকা রাখলে দেখবেন নতুন চ্যাট কী নিয়ে শুরু হয়।',+ 'memoryPage.pack.queryHelp':+ 'বার্তাসহ দেখুন তার উত্তর কোন মেমোরি পাবে। ফাঁকা রাখলে দেখবেন নতুন চ্যাট কী নিয়ে শুরু হয়।','memoryPage.pack.agentLabel': 'এজেন্ট','memoryPage.pack.agentDefault': 'বর্তমান এজেন্ট','memoryPage.pack.preview': 'প্রিভিউ',@@ -5035,21 +5037,25 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'বাদ দেওয়া হয়েছে','memoryPage.learnings.builtBelief': 'তৈরি বিশ্বাস','memoryPage.conversations.logTitle': 'কথোপকথনের লগ',- 'memoryPage.conversations.logDescription': 'প্রতিটি চ্যাটের প্রতিটি পালা ঘটার সঙ্গে সঙ্গে মেমোরিতে সংরক্ষিত হয়, যাতে এজেন্টরা পরে মনে করতে পারে।',+ 'memoryPage.conversations.logDescription':+ 'প্রতিটি চ্যাটের প্রতিটি পালা ঘটার সঙ্গে সঙ্গে মেমোরিতে সংরক্ষিত হয়, যাতে এজেন্টরা পরে মনে করতে পারে।','memoryPage.conversations.logTurns': 'প্রতিটি পালা লগ করুন','memoryPage.conversations.agentsTitle': 'এজেন্ট',- 'memoryPage.conversations.agentsDescription': 'যেসব এজেন্টের কথোপকথন সংরক্ষিত আছে। একটি খুলে দেখুন সে কী সংরক্ষণ করেছে।',+ 'memoryPage.conversations.agentsDescription':+ 'যেসব এজেন্টের কথোপকথন সংরক্ষিত আছে। একটি খুলে দেখুন সে কী সংরক্ষণ করেছে।','memoryPage.conversations.agentsEmpty': 'এখনও কোনো কথোপকথন সংরক্ষিত হয়নি।','memoryPage.conversations.itemsEmpty': 'এই এজেন্টের কোনো কথোপকথন এখনও সংরক্ষিত হয়নি।','memoryPage.brain.sourcesTitle': 'ব্রেন','memoryPage.brain.sourcesDescription': 'শেয়ার করা ব্রেনের ডকুমেন্ট, উৎস অনুযায়ী দলবদ্ধ।','memoryPage.brain.addDocument': 'ডকুমেন্ট যোগ করুন',- 'memoryPage.brain.empty': 'ব্রেন খালি। একটি ডকুমেন্ট যোগ করুন, অথবা নিচ থেকে কোনো উৎস সিঙ্ক করুন।',+ 'memoryPage.brain.empty':+ 'ব্রেন খালি। একটি ডকুমেন্ট যোগ করুন, অথবা নিচ থেকে কোনো উৎস সিঙ্ক করুন।','memoryPage.brain.documents': '{count}টি ডকুমেন্ট','memoryPage.brain.unfiled': '{count}টি ডকুমেন্টের কোনো উৎসের ধরন নেই।','memoryPage.brain.forgetSource': 'উৎস ভুলে যান','memoryPage.brain.forgetTitle': 'এই উৎস ভুলে যাবেন?',- 'memoryPage.brain.forgetBody': '{source}-এর সব ডকুমেন্ট ব্রেন থেকে সরিয়ে ফেলা হবে। এটি পূর্বাবস্থায় ফেরানো যাবে না।',+ 'memoryPage.brain.forgetBody':+ '{source}-এর সব ডকুমেন্ট ব্রেন থেকে সরিয়ে ফেলা হবে। এটি পূর্বাবস্থায় ফেরানো যাবে না।','memoryPage.brain.forgotten': '{source}-এর {count}টি ডকুমেন্ট ভুলে যাওয়া হয়েছে।','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5078,7 +5084,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'সেই ডকুমেন্ট আগে থেকেই ব্রেনে আছে।','memoryPage.brain.syncedTitle': 'সিঙ্ক করা উৎস','memoryPage.background.pendingTitle': 'চলার অপেক্ষায়',- 'memoryPage.background.pendingDescription': 'মেমোরি এই কাজগুলো নিজে থেকেই চালায়। অপেক্ষা এড়াতে এখনই চালান।',+ 'memoryPage.background.pendingDescription':+ 'মেমোরি এই কাজগুলো নিজে থেকেই চালায়। অপেক্ষা এড়াতে এখনই চালান।','memoryPage.background.pendingEmpty': 'কিছুই অপেক্ষায় নেই।','memoryPage.background.refresh': 'রিফ্রেশ','memoryPage.background.runAll': 'সব এখনই চালান',@@ -5098,7 +5105,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'বাদ দেওয়া হয়েছে','memoryPage.background.outcome.failed': 'ব্যর্থ','memoryPage.settings.recallTitle': 'প্রতিটি পালায় মেমোরি',- 'memoryPage.settings.recallDescription': 'প্রতিটি উত্তরের আগে মেমোরি তার জানা প্রাসঙ্গিক বিষয় যোগ করে। এই সীমাগুলো ঠিক করে কতটা।',+ 'memoryPage.settings.recallDescription':+ 'প্রতিটি উত্তরের আগে মেমোরি তার জানা প্রাসঙ্গিক বিষয় যোগ করে। এই সীমাগুলো ঠিক করে কতটা।','memoryPage.settings.recallEnabled': 'প্রতিটি পালায় মেমোরি যোগ করুন','memoryPage.settings.budget': 'আকারের সীমা','memoryPage.settings.budgetHelp': 'এক পালায় যোগ হওয়া সর্বোচ্চ মেমোরি।',@@ -5109,16 +5117,20 @@ const messages: TranslationMap = {'memoryPage.settings.teamLimit': 'টিমের মেমোরি','memoryPage.settings.limitHelp': 'প্রতি পালায় এই ধরনের সর্বোচ্চ আইটেম। ০ হলে এগুলো বাদ যায়।','memoryPage.settings.buildBeliefsEvery': 'বিশ্বাস তৈরি করুন প্রতি',- 'memoryPage.settings.buildBeliefsHelp': 'এতগুলো পালার পর শেখা বিষয় থেকে বিশ্বাস তৈরি করুন। ০ হলে এটি বন্ধ থাকে।',+ 'memoryPage.settings.buildBeliefsHelp':+ 'এতগুলো পালার পর শেখা বিষয় থেকে বিশ্বাস তৈরি করুন। ০ হলে এটি বন্ধ থাকে।','memoryPage.settings.turns': 'পালা','memoryPage.settings.preTurnTimeout': 'মেমোরির জন্য অপেক্ষা',- 'memoryPage.settings.preTurnTimeoutHelp': 'মেমোরি ছাড়াই এগিয়ে যাওয়ার আগে একটি উত্তর মেমোরির জন্য কতক্ষণ অপেক্ষা করে।',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'মেমোরি ছাড়াই এগিয়ে যাওয়ার আগে একটি উত্তর মেমোরির জন্য কতক্ষণ অপেক্ষা করে।','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'মেমোরি কোথায় সংরক্ষিত হয়',- 'memoryPage.settings.identityDescription': 'প্রতিটি এজেন্টের শেয়ার করা রুট এবং যে এজেন্ট হিসেবে এই অ্যাপ চলে।',+ 'memoryPage.settings.identityDescription':+ 'প্রতিটি এজেন্টের শেয়ার করা রুট এবং যে এজেন্ট হিসেবে এই অ্যাপ চলে।','memoryPage.settings.root': 'রুট','memoryPage.settings.agentId': 'এজেন্ট',- 'memoryPage.settings.hostBound': 'OpenHuman হোস্ট করা অ্যাপ এগুলো ঠিক করে, তাই এখানে বদলানো যায় না।',+ 'memoryPage.settings.hostBound':+ 'OpenHuman হোস্ট করা অ্যাপ এগুলো ঠিক করে, তাই এখানে বদলানো যায় না।','memoryPage.import.title': 'আগের মেমোরি পাওয়া গেছে','memoryPage.import.counts':'আগের মেমোরির {documents}টি ডকুমেন্ট, {conversations}টি কথোপকথন ও {learnings}টি শেখা বিষয় এই ডিভাইসে আছে।',diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.tsindex 1c9cea6d5e..2949e7eb73 100644--- a/app/src/lib/i18n/de.ts+++ b/app/src/lib/i18n/de.ts@@ -5151,14 +5151,16 @@ const messages: TranslationMap = {'memoryPage.tabs.background': 'Hintergrund','memoryPage.tabs.settings': 'Einstellungen','memoryPage.header.brain': 'Dokumente, die alle Agenten teilen, abgelegt nach ihrer Herkunft.',- 'memoryPage.header.background': 'Überzeugungen aufbauen und Dokumente importieren: Aufgaben, die der Speicher im Hintergrund erledigt.',+ 'memoryPage.header.background':+ 'Überzeugungen aufbauen und Dokumente importieren: Aufgaben, die der Speicher im Hintergrund erledigt.','memoryPage.header.settings': 'Was der Speicher jeder Runde hinzufügt und wie viel davon.','memoryPage.ask.viewLabel': 'Fragemodus','memoryPage.ask.viewAnswer': 'Antwort','memoryPage.ask.viewPack': 'Paketvorschau','memoryPage.pack.queryLabel': 'Nachricht (optional)','memoryPage.pack.queryPlaceholder': 'Woran sollen wir heute arbeiten?',- 'memoryPage.pack.queryHelp': 'Mit einer Nachricht siehst du den Speicher, den eine Antwort darauf erhielte. Leer lassen, um zu sehen, womit ein neuer Chat startet.',+ 'memoryPage.pack.queryHelp':+ 'Mit einer Nachricht siehst du den Speicher, den eine Antwort darauf erhielte. Leer lassen, um zu sehen, womit ein neuer Chat startet.','memoryPage.pack.agentLabel': 'Agent','memoryPage.pack.agentDefault': 'Aktueller Agent','memoryPage.pack.preview': 'Vorschau',@@ -5174,21 +5176,27 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Übersprungen','memoryPage.learnings.builtBelief': 'Aufgebaute Überzeugung','memoryPage.conversations.logTitle': 'Gesprächsprotokoll',- 'memoryPage.conversations.logDescription': 'Jede Runde jedes Chats wird sofort im Speicher gesichert, damit Agenten sich später daran erinnern können.',+ 'memoryPage.conversations.logDescription':+ 'Jede Runde jedes Chats wird sofort im Speicher gesichert, damit Agenten sich später daran erinnern können.','memoryPage.conversations.logTurns': 'Jede Runde protokollieren','memoryPage.conversations.agentsTitle': 'Agenten',- 'memoryPage.conversations.agentsDescription': 'Agenten mit gespeicherten Gesprächen. Öffne einen, um zu sehen, was er gespeichert hat.',+ 'memoryPage.conversations.agentsDescription':+ 'Agenten mit gespeicherten Gesprächen. Öffne einen, um zu sehen, was er gespeichert hat.','memoryPage.conversations.agentsEmpty': 'Noch keine Gespräche gespeichert.',- 'memoryPage.conversations.itemsEmpty': 'Für diesen Agenten sind noch keine Gespräche gespeichert.',+ 'memoryPage.conversations.itemsEmpty':+ 'Für diesen Agenten sind noch keine Gespräche gespeichert.','memoryPage.brain.sourcesTitle': 'Gehirn',- 'memoryPage.brain.sourcesDescription': 'Dokumente im gemeinsamen Gehirn, gruppiert nach Herkunft.',+ 'memoryPage.brain.sourcesDescription':+ 'Dokumente im gemeinsamen Gehirn, gruppiert nach Herkunft.','memoryPage.brain.addDocument': 'Dokument hinzufügen',- 'memoryPage.brain.empty': 'Das Gehirn ist leer. Füge ein Dokument hinzu oder synchronisiere unten eine Quelle.',+ 'memoryPage.brain.empty':+ 'Das Gehirn ist leer. Füge ein Dokument hinzu oder synchronisiere unten eine Quelle.','memoryPage.brain.documents': '{count} Dokumente','memoryPage.brain.unfiled': '{count} Dokumente haben keinen Quellentyp.','memoryPage.brain.forgetSource': 'Quelle vergessen','memoryPage.brain.forgetTitle': 'Diese Quelle vergessen?',- 'memoryPage.brain.forgetBody': 'Alle {source}-Dokumente werden aus dem Gehirn entfernt. Das lässt sich nicht rückgängig machen.',+ 'memoryPage.brain.forgetBody':+ 'Alle {source}-Dokumente werden aus dem Gehirn entfernt. Das lässt sich nicht rückgängig machen.','memoryPage.brain.forgotten': '{count} {source}-Dokumente vergessen.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5217,7 +5225,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Dieses Dokument ist bereits im Gehirn.','memoryPage.brain.syncedTitle': 'Synchronisierte Quellen','memoryPage.background.pendingTitle': 'Wartet auf Ausführung',- 'memoryPage.background.pendingDescription': 'Der Speicher führt diese Aufgaben selbstständig aus. Führe sie jetzt aus, um nicht zu warten.',+ 'memoryPage.background.pendingDescription':+ 'Der Speicher führt diese Aufgaben selbstständig aus. Führe sie jetzt aus, um nicht zu warten.','memoryPage.background.pendingEmpty': 'Nichts wartet.','memoryPage.background.refresh': 'Aktualisieren','memoryPage.background.runAll': 'Alle jetzt ausführen',@@ -5237,7 +5246,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Übersprungen','memoryPage.background.outcome.failed': 'Fehlgeschlagen','memoryPage.settings.recallTitle': 'Speicher in jeder Runde',- 'memoryPage.settings.recallDescription': 'Vor jeder Antwort ergänzt der Speicher, was er Passendes weiß. Diese Grenzen legen fest, wie viel.',+ 'memoryPage.settings.recallDescription':+ 'Vor jeder Antwort ergänzt der Speicher, was er Passendes weiß. Diese Grenzen legen fest, wie viel.','memoryPage.settings.recallEnabled': 'Speicher jeder Runde hinzufügen','memoryPage.settings.budget': 'Größenlimit','memoryPage.settings.budgetHelp': 'Die maximale Speichermenge pro Runde.',@@ -5246,18 +5256,23 @@ const messages: TranslationMap = {'memoryPage.settings.brainLimit': 'Gehirn-Dokumente','memoryPage.settings.historyLimit': 'Frühere Gespräche','memoryPage.settings.teamLimit': 'Team-Speicher',- 'memoryPage.settings.limitHelp': 'Die maximale Anzahl Einträge dieser Art pro Runde. Bei 0 entfallen sie.',+ 'memoryPage.settings.limitHelp':+ 'Die maximale Anzahl Einträge dieser Art pro Runde. Bei 0 entfallen sie.','memoryPage.settings.buildBeliefsEvery': 'Überzeugungen aufbauen alle',- 'memoryPage.settings.buildBeliefsHelp': 'Erkenntnisse nach dieser Anzahl Runden zu Überzeugungen verdichten. Bei 0 ist es aus.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Erkenntnisse nach dieser Anzahl Runden zu Überzeugungen verdichten. Bei 0 ist es aus.','memoryPage.settings.turns': 'Runden','memoryPage.settings.preTurnTimeout': 'Auf Speicher warten',- 'memoryPage.settings.preTurnTimeoutHelp': 'Wie lange eine Antwort auf den Speicher wartet, bevor sie ohne ihn fortfährt.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Wie lange eine Antwort auf den Speicher wartet, bevor sie ohne ihn fortfährt.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Wo der Speicher abgelegt wird',- 'memoryPage.settings.identityDescription': 'Die Wurzel, die alle Agenten teilen, und der Agent, als der diese App läuft.',+ 'memoryPage.settings.identityDescription':+ 'Die Wurzel, die alle Agenten teilen, und der Agent, als der diese App läuft.','memoryPage.settings.root': 'Wurzel','memoryPage.settings.agentId': 'Agent',- 'memoryPage.settings.hostBound': 'Die App, die OpenHuman hostet, legt diese Werte fest. Sie lassen sich hier nicht ändern.',+ 'memoryPage.settings.hostBound':+ 'Die App, die OpenHuman hostet, legt diese Werte fest. Sie lassen sich hier nicht ändern.','memoryPage.import.title': 'Früheres Gedächtnis gefunden','memoryPage.import.counts':'{documents} Dokumente, {conversations} Unterhaltungen und {learnings} Erkenntnisse aus dem früheren Gedächtnis befinden sich auf diesem Gerät.',diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.tsindex ded37841d7..d349643a07 100644--- a/app/src/lib/i18n/en.ts+++ b/app/src/lib/i18n/en.ts@@ -5289,14 +5289,16 @@ const en: TranslationMap = {'memoryPage.tabs.background': 'Background','memoryPage.tabs.settings': 'Settings','memoryPage.header.brain': 'Documents every agent shares, filed by where they came from.',- 'memoryPage.header.background': 'Belief builds and document imports memory runs in the background.',+ 'memoryPage.header.background':+ 'Belief builds and document imports memory runs in the background.','memoryPage.header.settings': 'What memory adds to every turn, and how much of it.','memoryPage.ask.viewLabel': 'Ask mode','memoryPage.ask.viewAnswer': 'Answer','memoryPage.ask.viewPack': 'Pack preview','memoryPage.pack.queryLabel': 'Message (optional)','memoryPage.pack.queryPlaceholder': 'What should we work on today?',- 'memoryPage.pack.queryHelp': 'With a message, see the memory a reply to it would get. Leave it empty to see what a new chat starts with.',+ 'memoryPage.pack.queryHelp':+ 'With a message, see the memory a reply to it would get. Leave it empty to see what a new chat starts with.','memoryPage.pack.agentLabel': 'Agent','memoryPage.pack.agentDefault': 'Current agent','memoryPage.pack.preview': 'Preview',@@ -5312,21 +5314,25 @@ const en: TranslationMap = {'memoryPage.pack.skipped': 'Skipped','memoryPage.learnings.builtBelief': 'Built belief','memoryPage.conversations.logTitle': 'Conversation log',- 'memoryPage.conversations.logDescription': 'Every turn of every chat is saved to memory as it happens, so agents can recall it later.',+ 'memoryPage.conversations.logDescription':+ 'Every turn of every chat is saved to memory as it happens, so agents can recall it later.','memoryPage.conversations.logTurns': 'Log every turn','memoryPage.conversations.agentsTitle': 'Agents',- 'memoryPage.conversations.agentsDescription': 'Agents with saved conversations. Open one to see what it stored.',+ 'memoryPage.conversations.agentsDescription':+ 'Agents with saved conversations. Open one to see what it stored.','memoryPage.conversations.agentsEmpty': 'No conversations saved yet.','memoryPage.conversations.itemsEmpty': 'No conversations stored for this agent yet.','memoryPage.brain.sourcesTitle': 'Brain',- 'memoryPage.brain.sourcesDescription': 'Documents in the shared brain, grouped by where they came from.',+ 'memoryPage.brain.sourcesDescription':+ 'Documents in the shared brain, grouped by where they came from.','memoryPage.brain.addDocument': 'Add document','memoryPage.brain.empty': 'The brain is empty. Add a document, or sync a source below.','memoryPage.brain.documents': '{count} documents','memoryPage.brain.unfiled': '{count} documents have no source type.','memoryPage.brain.forgetSource': 'Forget source','memoryPage.brain.forgetTitle': 'Forget this source?',- 'memoryPage.brain.forgetBody': 'Every {source} document will be removed from the brain. This cannot be undone.',+ 'memoryPage.brain.forgetBody':+ 'Every {source} document will be removed from the brain. This cannot be undone.','memoryPage.brain.forgotten': 'Forgot {count} {source} documents.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5355,7 +5361,8 @@ const en: TranslationMap = {'memoryPage.brain.ingestReplayed': 'That document is already in the brain.','memoryPage.brain.syncedTitle': 'Synced sources','memoryPage.background.pendingTitle': 'Waiting to run',- 'memoryPage.background.pendingDescription': 'Memory runs these jobs on its own. Run them now to skip the wait.',+ 'memoryPage.background.pendingDescription':+ 'Memory runs these jobs on its own. Run them now to skip the wait.','memoryPage.background.pendingEmpty': 'Nothing is waiting.','memoryPage.background.refresh': 'Refresh','memoryPage.background.runAll': 'Run all now',@@ -5375,7 +5382,8 @@ const en: TranslationMap = {'memoryPage.background.outcome.skipped': 'Skipped','memoryPage.background.outcome.failed': 'Failed','memoryPage.settings.recallTitle': 'Memory in every turn',- 'memoryPage.settings.recallDescription': 'Before each reply, memory adds what it knows that is relevant. These limits decide how much.',+ 'memoryPage.settings.recallDescription':+ 'Before each reply, memory adds what it knows that is relevant. These limits decide how much.','memoryPage.settings.recallEnabled': 'Add memory to every turn','memoryPage.settings.budget': 'Size limit','memoryPage.settings.budgetHelp': 'The most memory added to one turn.',@@ -5386,16 +5394,20 @@ const en: TranslationMap = {'memoryPage.settings.teamLimit': 'Team memory','memoryPage.settings.limitHelp': 'The most items of this kind per turn. 0 leaves them out.','memoryPage.settings.buildBeliefsEvery': 'Build beliefs every',- 'memoryPage.settings.buildBeliefsHelp': 'Distil learnings into beliefs after this many turns. 0 turns it off.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Distil learnings into beliefs after this many turns. 0 turns it off.','memoryPage.settings.turns': 'turns','memoryPage.settings.preTurnTimeout': 'Wait for memory',- 'memoryPage.settings.preTurnTimeoutHelp': 'How long a reply waits for memory before going ahead without it.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'How long a reply waits for memory before going ahead without it.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Where memory is filed',- 'memoryPage.settings.identityDescription': 'The root every agent shares and the agent this app runs as.',+ 'memoryPage.settings.identityDescription':+ 'The root every agent shares and the agent this app runs as.','memoryPage.settings.root': 'Root','memoryPage.settings.agentId': 'Agent',- 'memoryPage.settings.hostBound': 'The app hosting OpenHuman sets these, so they cannot be changed here.',+ 'memoryPage.settings.hostBound':+ 'The app hosting OpenHuman sets these, so they cannot be changed here.','memoryPage.import.title': 'Previous memory found','memoryPage.import.counts':'{documents} documents, {conversations} conversations and {learnings} learnings from the earlier memory are on this device.',diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.tsindex 803cec3c74..5f426c5aba 100644--- a/app/src/lib/i18n/es.ts+++ b/app/src/lib/i18n/es.ts@@ -5104,15 +5104,18 @@ const messages: TranslationMap = {'memoryPage.tabs.brain': 'Cerebro','memoryPage.tabs.background': 'Segundo plano','memoryPage.tabs.settings': 'Ajustes',- 'memoryPage.header.brain': 'Documentos que comparten todos los agentes, archivados según su procedencia.',- 'memoryPage.header.background': 'Construcciones de creencias e importaciones de documentos que la memoria ejecuta en segundo plano.',+ 'memoryPage.header.brain':+ 'Documentos que comparten todos los agentes, archivados según su procedencia.',+ 'memoryPage.header.background':+ 'Construcciones de creencias e importaciones de documentos que la memoria ejecuta en segundo plano.','memoryPage.header.settings': 'Lo que la memoria añade a cada turno y en qué cantidad.','memoryPage.ask.viewLabel': 'Modo consulta','memoryPage.ask.viewAnswer': 'Respuesta','memoryPage.ask.viewPack': 'Vista previa del paquete','memoryPage.pack.queryLabel': 'Mensaje (opcional)','memoryPage.pack.queryPlaceholder': '¿En qué trabajamos hoy?',- 'memoryPage.pack.queryHelp': 'Con un mensaje, verás la memoria que recibiría una respuesta. Déjalo vacío para ver con qué empieza un chat nuevo.',+ 'memoryPage.pack.queryHelp':+ 'Con un mensaje, verás la memoria que recibiría una respuesta. Déjalo vacío para ver con qué empieza un chat nuevo.','memoryPage.pack.agentLabel': 'Agente','memoryPage.pack.agentDefault': 'Agente actual','memoryPage.pack.preview': 'Vista previa',@@ -5128,21 +5131,26 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Omitidos','memoryPage.learnings.builtBelief': 'Creencia construida','memoryPage.conversations.logTitle': 'Registro de conversaciones',- 'memoryPage.conversations.logDescription': 'Cada turno de cada chat se guarda en la memoria al instante, para que los agentes puedan recordarlo después.',+ 'memoryPage.conversations.logDescription':+ 'Cada turno de cada chat se guarda en la memoria al instante, para que los agentes puedan recordarlo después.','memoryPage.conversations.logTurns': 'Registrar cada turno','memoryPage.conversations.agentsTitle': 'Agentes',- 'memoryPage.conversations.agentsDescription': 'Agentes con conversaciones guardadas. Abre uno para ver lo que almacenó.',+ 'memoryPage.conversations.agentsDescription':+ 'Agentes con conversaciones guardadas. Abre uno para ver lo que almacenó.','memoryPage.conversations.agentsEmpty': 'Aún no hay conversaciones guardadas.','memoryPage.conversations.itemsEmpty': 'Aún no hay conversaciones almacenadas para este agente.','memoryPage.brain.sourcesTitle': 'Cerebro',- 'memoryPage.brain.sourcesDescription': 'Documentos del cerebro compartido, agrupados según su procedencia.',+ 'memoryPage.brain.sourcesDescription':+ 'Documentos del cerebro compartido, agrupados según su procedencia.','memoryPage.brain.addDocument': 'Añadir documento',- 'memoryPage.brain.empty': 'El cerebro está vacío. Añade un documento o sincroniza una fuente más abajo.',+ 'memoryPage.brain.empty':+ 'El cerebro está vacío. Añade un documento o sincroniza una fuente más abajo.','memoryPage.brain.documents': '{count} documentos','memoryPage.brain.unfiled': '{count} documentos no tienen tipo de fuente.','memoryPage.brain.forgetSource': 'Olvidar fuente','memoryPage.brain.forgetTitle': '¿Olvidar esta fuente?',- 'memoryPage.brain.forgetBody': 'Todos los documentos de {source} se eliminarán del cerebro. Esta acción no se puede deshacer.',+ 'memoryPage.brain.forgetBody':+ 'Todos los documentos de {source} se eliminarán del cerebro. Esta acción no se puede deshacer.','memoryPage.brain.forgotten': 'Se olvidaron {count} documentos de {source}.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5171,7 +5179,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Ese documento ya está en el cerebro.','memoryPage.brain.syncedTitle': 'Fuentes sincronizadas','memoryPage.background.pendingTitle': 'Pendientes de ejecución',- 'memoryPage.background.pendingDescription': 'La memoria ejecuta estas tareas por sí sola. Ejecútalas ahora para no esperar.',+ 'memoryPage.background.pendingDescription':+ 'La memoria ejecuta estas tareas por sí sola. Ejecútalas ahora para no esperar.','memoryPage.background.pendingEmpty': 'No hay nada pendiente.','memoryPage.background.refresh': 'Actualizar','memoryPage.background.runAll': 'Ejecutar todo ahora',@@ -5191,7 +5200,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Omitido','memoryPage.background.outcome.failed': 'Fallido','memoryPage.settings.recallTitle': 'Memoria en cada turno',- 'memoryPage.settings.recallDescription': 'Antes de cada respuesta, la memoria añade lo relevante que sabe. Estos límites deciden la cantidad.',+ 'memoryPage.settings.recallDescription':+ 'Antes de cada respuesta, la memoria añade lo relevante que sabe. Estos límites deciden la cantidad.','memoryPage.settings.recallEnabled': 'Añadir memoria a cada turno','memoryPage.settings.budget': 'Límite de tamaño','memoryPage.settings.budgetHelp': 'La mayor cantidad de memoria añadida a un turno.',@@ -5200,18 +5210,23 @@ const messages: TranslationMap = {'memoryPage.settings.brainLimit': 'Documentos del cerebro','memoryPage.settings.historyLimit': 'Conversaciones pasadas','memoryPage.settings.teamLimit': 'Memoria del equipo',- 'memoryPage.settings.limitHelp': 'El máximo de elementos de este tipo por turno. Con 0 se excluyen.',+ 'memoryPage.settings.limitHelp':+ 'El máximo de elementos de este tipo por turno. Con 0 se excluyen.','memoryPage.settings.buildBeliefsEvery': 'Construir creencias cada',- 'memoryPage.settings.buildBeliefsHelp': 'Condensar aprendizajes en creencias tras esta cantidad de turnos. Con 0 se desactiva.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Condensar aprendizajes en creencias tras esta cantidad de turnos. Con 0 se desactiva.','memoryPage.settings.turns': 'turnos','memoryPage.settings.preTurnTimeout': 'Espera por la memoria',- 'memoryPage.settings.preTurnTimeoutHelp': 'Cuánto espera una respuesta a la memoria antes de continuar sin ella.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Cuánto espera una respuesta a la memoria antes de continuar sin ella.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Dónde se archiva la memoria',- 'memoryPage.settings.identityDescription': 'La raíz que comparten todos los agentes y el agente bajo el que se ejecuta esta app.',+ 'memoryPage.settings.identityDescription':+ 'La raíz que comparten todos los agentes y el agente bajo el que se ejecuta esta app.','memoryPage.settings.root': 'Raíz','memoryPage.settings.agentId': 'Agente',- 'memoryPage.settings.hostBound': 'La app que aloja OpenHuman define estos valores, así que no se pueden cambiar aquí.',+ 'memoryPage.settings.hostBound':+ 'La app que aloja OpenHuman define estos valores, así que no se pueden cambiar aquí.','memoryPage.import.title': 'Se encontró una memoria anterior','memoryPage.import.counts':'{documents} documentos, {conversations} conversaciones y {learnings} aprendizajes de la memoria anterior están en este dispositivo.',diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex bb89154450..ef29af3097 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -5130,15 +5130,18 @@ const messages: TranslationMap = {'memoryPage.tabs.brain': 'Cerveau','memoryPage.tabs.background': 'Arrière-plan','memoryPage.tabs.settings': 'Réglages',- 'memoryPage.header.brain': 'Documents partagés par tous les agents, classés selon leur provenance.',- 'memoryPage.header.background': 'Constructions de croyances et imports de documents que la mémoire exécute en arrière-plan.',+ 'memoryPage.header.brain':+ 'Documents partagés par tous les agents, classés selon leur provenance.',+ 'memoryPage.header.background':+ 'Constructions de croyances et imports de documents que la mémoire exécute en arrière-plan.','memoryPage.header.settings': 'Ce que la mémoire ajoute à chaque tour, et en quelle quantité.','memoryPage.ask.viewLabel': 'Mode question','memoryPage.ask.viewAnswer': 'Réponse','memoryPage.ask.viewPack': 'Aperçu du pack','memoryPage.pack.queryLabel': 'Message (facultatif)',- 'memoryPage.pack.queryPlaceholder': 'Sur quoi travaillons-nous aujourd\'hui ?',- 'memoryPage.pack.queryHelp': 'Avec un message, vois la mémoire que recevrait une réponse. Laisse vide pour voir ce qu\'un nouveau chat reçoit au départ.',+ 'memoryPage.pack.queryPlaceholder': "Sur quoi travaillons-nous aujourd'hui ?",+ 'memoryPage.pack.queryHelp':+ "Avec un message, vois la mémoire que recevrait une réponse. Laisse vide pour voir ce qu'un nouveau chat reçoit au départ.",'memoryPage.pack.agentLabel': 'Agent','memoryPage.pack.agentDefault': 'Agent actuel','memoryPage.pack.preview': 'Aperçu',@@ -5148,27 +5151,33 @@ const messages: TranslationMap = {'memoryPage.pack.scope': 'Agent {agent} · racine {root} · moteur {engine}','memoryPage.pack.tokens': '{tokens} jetons','memoryPage.pack.tokensOfBudget': '{tokens} sur {budget} jetons',- 'memoryPage.pack.empty': 'Aucun élément de la mémoire n\'a été retenu dans ce pack.',+ 'memoryPage.pack.empty': "Aucun élément de la mémoire n'a été retenu dans ce pack.",'memoryPage.pack.sections': 'Sections','memoryPage.pack.hits': '{count} résultats','memoryPage.pack.skipped': 'Ignorés','memoryPage.learnings.builtBelief': 'Croyance construite','memoryPage.conversations.logTitle': 'Journal des conversations',- 'memoryPage.conversations.logDescription': 'Chaque tour de chaque chat est enregistré dans la mémoire au fil de l\'eau, pour que les agents puissent s\'en souvenir plus tard.',+ 'memoryPage.conversations.logDescription':+ "Chaque tour de chaque chat est enregistré dans la mémoire au fil de l'eau, pour que les agents puissent s'en souvenir plus tard.",'memoryPage.conversations.logTurns': 'Journaliser chaque tour','memoryPage.conversations.agentsTitle': 'Agents',- 'memoryPage.conversations.agentsDescription': 'Agents ayant des conversations enregistrées. Ouvre-en un pour voir ce qu\'il a conservé.',- 'memoryPage.conversations.agentsEmpty': 'Aucune conversation enregistrée pour l\'instant.',- 'memoryPage.conversations.itemsEmpty': 'Aucune conversation conservée pour cet agent pour l\'instant.',+ 'memoryPage.conversations.agentsDescription':+ "Agents ayant des conversations enregistrées. Ouvre-en un pour voir ce qu'il a conservé.",+ 'memoryPage.conversations.agentsEmpty': "Aucune conversation enregistrée pour l'instant.",+ 'memoryPage.conversations.itemsEmpty':+ "Aucune conversation conservée pour cet agent pour l'instant.",'memoryPage.brain.sourcesTitle': 'Cerveau',- 'memoryPage.brain.sourcesDescription': 'Documents du cerveau partagé, regroupés selon leur provenance.',+ 'memoryPage.brain.sourcesDescription':+ 'Documents du cerveau partagé, regroupés selon leur provenance.','memoryPage.brain.addDocument': 'Ajouter un document',- 'memoryPage.brain.empty': 'Le cerveau est vide. Ajoute un document, ou synchronise une source ci-dessous.',+ 'memoryPage.brain.empty':+ 'Le cerveau est vide. Ajoute un document, ou synchronise une source ci-dessous.','memoryPage.brain.documents': 'Documents : {count}',- 'memoryPage.brain.unfiled': '{count} documents n\'ont pas de type de source.',+ 'memoryPage.brain.unfiled': "{count} documents n'ont pas de type de source.",'memoryPage.brain.forgetSource': 'Oublier la source','memoryPage.brain.forgetTitle': 'Oublier cette source ?',- 'memoryPage.brain.forgetBody': 'Tous les documents {source} seront retirés du cerveau. Cette action est irréversible.',+ 'memoryPage.brain.forgetBody':+ 'Tous les documents {source} seront retirés du cerveau. Cette action est irréversible.','memoryPage.brain.forgotten': '{count} documents {source} oubliés.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5196,16 +5205,17 @@ const messages: TranslationMap = {'memoryPage.brain.ingestDone': 'Ajouté au cerveau sous {source}.','memoryPage.brain.ingestReplayed': 'Ce document est déjà dans le cerveau.','memoryPage.brain.syncedTitle': 'Sources synchronisées',- 'memoryPage.background.pendingTitle': 'En attente d\'exécution',- 'memoryPage.background.pendingDescription': 'La mémoire exécute ces tâches seule. Lance-les maintenant pour éviter l\'attente.',- 'memoryPage.background.pendingEmpty': 'Rien n\'est en attente.',+ 'memoryPage.background.pendingTitle': "En attente d'exécution",+ 'memoryPage.background.pendingDescription':+ "La mémoire exécute ces tâches seule. Lance-les maintenant pour éviter l'attente.",+ 'memoryPage.background.pendingEmpty': "Rien n'est en attente.",'memoryPage.background.refresh': 'Actualiser','memoryPage.background.runAll': 'Tout lancer maintenant','memoryPage.background.run': 'Lancer maintenant','memoryPage.background.queued': 'En file {when}','memoryPage.background.attempts': '{count} tentatives','memoryPage.background.historyTitle': 'Exécutions récentes',- 'memoryPage.background.historyEmpty': 'Aucune tâche exécutée pour l\'instant.',+ 'memoryPage.background.historyEmpty': "Aucune tâche exécutée pour l'instant.",'memoryPage.background.built': '{count} croyances construites','memoryPage.background.stored': '{count} enregistrés','memoryPage.background.ran': '{count} tâches exécutées.',@@ -5217,7 +5227,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Ignoré','memoryPage.background.outcome.failed': 'Échec','memoryPage.settings.recallTitle': 'Mémoire à chaque tour',- 'memoryPage.settings.recallDescription': 'Avant chaque réponse, la mémoire ajoute ce qu\'elle sait de pertinent. Ces limites fixent la quantité.',+ 'memoryPage.settings.recallDescription':+ "Avant chaque réponse, la mémoire ajoute ce qu'elle sait de pertinent. Ces limites fixent la quantité.",'memoryPage.settings.recallEnabled': 'Ajouter la mémoire à chaque tour','memoryPage.settings.budget': 'Limite de taille','memoryPage.settings.budgetHelp': 'Quantité maximale de mémoire ajoutée à un tour.',@@ -5225,19 +5236,23 @@ const messages: TranslationMap = {'memoryPage.settings.learningsLimit': 'Apprentissages','memoryPage.settings.brainLimit': 'Documents du cerveau','memoryPage.settings.historyLimit': 'Conversations passées',- 'memoryPage.settings.teamLimit': 'Mémoire d\'équipe',- 'memoryPage.settings.limitHelp': 'Nombre maximal d\'éléments de ce type par tour. 0 les exclut.',+ 'memoryPage.settings.teamLimit': "Mémoire d'équipe",+ 'memoryPage.settings.limitHelp': "Nombre maximal d'éléments de ce type par tour. 0 les exclut.",'memoryPage.settings.buildBeliefsEvery': 'Construire les croyances tous les',- 'memoryPage.settings.buildBeliefsHelp': 'Condenser les apprentissages en croyances après ce nombre de tours. 0 désactive la fonction.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Condenser les apprentissages en croyances après ce nombre de tours. 0 désactive la fonction.','memoryPage.settings.turns': 'tours','memoryPage.settings.preTurnTimeout': 'Attente de la mémoire',- 'memoryPage.settings.preTurnTimeoutHelp': 'Durée pendant laquelle une réponse attend la mémoire avant de continuer sans elle.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Durée pendant laquelle une réponse attend la mémoire avant de continuer sans elle.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Où la mémoire est classée',- 'memoryPage.settings.identityDescription': 'La racine que tous les agents partagent et l\'agent sous lequel cette app s\'exécute.',+ 'memoryPage.settings.identityDescription':+ "La racine que tous les agents partagent et l'agent sous lequel cette app s'exécute.",'memoryPage.settings.root': 'Racine','memoryPage.settings.agentId': 'Agent',- 'memoryPage.settings.hostBound': 'L\'app qui héberge OpenHuman définit ces valeurs, elles ne peuvent donc pas être modifiées ici.',+ 'memoryPage.settings.hostBound':+ "L'app qui héberge OpenHuman définit ces valeurs, elles ne peuvent donc pas être modifiées ici.",'memoryPage.import.title': 'Ancienne mémoire détectée','memoryPage.import.counts':"{documents} documents, {conversations} conversations et {learnings} acquis de l'ancienne mémoire se trouvent sur cet appareil.",diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.tsindex 1d142a2601..9634dd1e42 100644--- a/app/src/lib/i18n/hi.ts+++ b/app/src/lib/i18n/hi.ts@@ -5011,15 +5011,18 @@ const messages: TranslationMap = {'memoryPage.tabs.brain': 'ब्रेन','memoryPage.tabs.background': 'बैकग्राउंड','memoryPage.tabs.settings': 'सेटिंग',- 'memoryPage.header.brain': 'वे दस्तावेज़ जो हर एजेंट साझा करता है, उनके स्रोत के अनुसार सहेजे गए।',- 'memoryPage.header.background': 'बैकग्राउंड में मेमोरी जो बिलीफ़ बनाती और दस्तावेज़ इम्पोर्ट करती है।',+ 'memoryPage.header.brain':+ 'वे दस्तावेज़ जो हर एजेंट साझा करता है, उनके स्रोत के अनुसार सहेजे गए।',+ 'memoryPage.header.background':+ 'बैकग्राउंड में मेमोरी जो बिलीफ़ बनाती और दस्तावेज़ इम्पोर्ट करती है।','memoryPage.header.settings': 'मेमोरी हर बारी में क्या जोड़ती है, और कितना।','memoryPage.ask.viewLabel': 'पूछने का मोड','memoryPage.ask.viewAnswer': 'जवाब','memoryPage.ask.viewPack': 'पैक का पूर्वावलोकन','memoryPage.pack.queryLabel': 'संदेश (वैकल्पिक)','memoryPage.pack.queryPlaceholder': 'आज हम किस पर काम करें?',- 'memoryPage.pack.queryHelp': 'संदेश के साथ देखें कि उसके जवाब को कौन सी मेमोरी मिलेगी। खाली छोड़ें तो दिखेगा कि नई चैट किससे शुरू होती है।',+ 'memoryPage.pack.queryHelp':+ 'संदेश के साथ देखें कि उसके जवाब को कौन सी मेमोरी मिलेगी। खाली छोड़ें तो दिखेगा कि नई चैट किससे शुरू होती है।','memoryPage.pack.agentLabel': 'एजेंट','memoryPage.pack.agentDefault': 'मौजूदा एजेंट','memoryPage.pack.preview': 'पूर्वावलोकन',@@ -5035,10 +5038,12 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'छोड़ा गया','memoryPage.learnings.builtBelief': 'बनाया गया बिलीफ़','memoryPage.conversations.logTitle': 'बातचीत का लॉग',- 'memoryPage.conversations.logDescription': 'हर चैट की हर बारी होते ही मेमोरी में सहेज ली जाती है, ताकि एजेंट उसे बाद में याद कर सकें।',+ 'memoryPage.conversations.logDescription':+ 'हर चैट की हर बारी होते ही मेमोरी में सहेज ली जाती है, ताकि एजेंट उसे बाद में याद कर सकें।','memoryPage.conversations.logTurns': 'हर बारी लॉग करें','memoryPage.conversations.agentsTitle': 'एजेंट',- 'memoryPage.conversations.agentsDescription': 'जिन एजेंटों की बातचीत सहेजी गई है। किसी को खोलकर देखें कि उसने क्या सहेजा।',+ 'memoryPage.conversations.agentsDescription':+ 'जिन एजेंटों की बातचीत सहेजी गई है। किसी को खोलकर देखें कि उसने क्या सहेजा।','memoryPage.conversations.agentsEmpty': 'अभी तक कोई बातचीत सहेजी नहीं गई।','memoryPage.conversations.itemsEmpty': 'इस एजेंट की कोई बातचीत अभी तक सहेजी नहीं गई।','memoryPage.brain.sourcesTitle': 'ब्रेन',@@ -5049,7 +5054,8 @@ const messages: TranslationMap = {'memoryPage.brain.unfiled': '{count} दस्तावेज़ों का कोई स्रोत प्रकार नहीं है।','memoryPage.brain.forgetSource': 'स्रोत भुलाएँ','memoryPage.brain.forgetTitle': 'यह स्रोत भुला दें?',- 'memoryPage.brain.forgetBody': '{source} के सभी दस्तावेज़ ब्रेन से हटा दिए जाएँगे। इसे पूर्ववत नहीं किया जा सकता।',+ 'memoryPage.brain.forgetBody':+ '{source} के सभी दस्तावेज़ ब्रेन से हटा दिए जाएँगे। इसे पूर्ववत नहीं किया जा सकता।','memoryPage.brain.forgotten': '{source} के {count} दस्तावेज़ भुला दिए गए।','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5078,7 +5084,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'वह दस्तावेज़ पहले से ब्रेन में है।','memoryPage.brain.syncedTitle': 'सिंक किए गए स्रोत','memoryPage.background.pendingTitle': 'चलने की प्रतीक्षा में',- 'memoryPage.background.pendingDescription': 'मेमोरी ये जॉब अपने आप चलाती है। इंतज़ार छोड़ने के लिए इन्हें अभी चलाएँ।',+ 'memoryPage.background.pendingDescription':+ 'मेमोरी ये जॉब अपने आप चलाती है। इंतज़ार छोड़ने के लिए इन्हें अभी चलाएँ।','memoryPage.background.pendingEmpty': 'कुछ भी प्रतीक्षा में नहीं है।','memoryPage.background.refresh': 'रिफ़्रेश करें','memoryPage.background.runAll': 'सब अभी चलाएँ',@@ -5098,7 +5105,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'छोड़ा गया','memoryPage.background.outcome.failed': 'विफल','memoryPage.settings.recallTitle': 'हर बारी में मेमोरी',- 'memoryPage.settings.recallDescription': 'हर जवाब से पहले मेमोरी वह जोड़ती है जो उसे पता है और प्रासंगिक है। ये सीमाएँ तय करती हैं कि कितना।',+ 'memoryPage.settings.recallDescription':+ 'हर जवाब से पहले मेमोरी वह जोड़ती है जो उसे पता है और प्रासंगिक है। ये सीमाएँ तय करती हैं कि कितना।','memoryPage.settings.recallEnabled': 'हर बारी में मेमोरी जोड़ें','memoryPage.settings.budget': 'आकार सीमा','memoryPage.settings.budgetHelp': 'एक बारी में जोड़ी जाने वाली अधिकतम मेमोरी।',@@ -5107,18 +5115,23 @@ const messages: TranslationMap = {'memoryPage.settings.brainLimit': 'ब्रेन के दस्तावेज़','memoryPage.settings.historyLimit': 'पिछली बातचीत','memoryPage.settings.teamLimit': 'टीम की मेमोरी',- 'memoryPage.settings.limitHelp': 'हर बारी में इस प्रकार की अधिकतम चीज़ें। 0 होने पर इन्हें शामिल नहीं किया जाता।',+ 'memoryPage.settings.limitHelp':+ 'हर बारी में इस प्रकार की अधिकतम चीज़ें। 0 होने पर इन्हें शामिल नहीं किया जाता।','memoryPage.settings.buildBeliefsEvery': 'बिलीफ़ बनाएँ हर',- 'memoryPage.settings.buildBeliefsHelp': 'इतनी बारियों के बाद सीखी बातों से बिलीफ़ तैयार करें। 0 होने पर यह बंद रहता है।',+ 'memoryPage.settings.buildBeliefsHelp':+ 'इतनी बारियों के बाद सीखी बातों से बिलीफ़ तैयार करें। 0 होने पर यह बंद रहता है।','memoryPage.settings.turns': 'बारी','memoryPage.settings.preTurnTimeout': 'मेमोरी का इंतज़ार',- 'memoryPage.settings.preTurnTimeoutHelp': 'जवाब मेमोरी के बिना आगे बढ़ने से पहले उसका कितना इंतज़ार करता है।',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'जवाब मेमोरी के बिना आगे बढ़ने से पहले उसका कितना इंतज़ार करता है।','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'मेमोरी कहाँ सहेजी जाती है',- 'memoryPage.settings.identityDescription': 'वह रूट जो हर एजेंट साझा करता है और वह एजेंट जिसके रूप में यह ऐप चलता है।',+ 'memoryPage.settings.identityDescription':+ 'वह रूट जो हर एजेंट साझा करता है और वह एजेंट जिसके रूप में यह ऐप चलता है।','memoryPage.settings.root': 'रूट','memoryPage.settings.agentId': 'एजेंट',- 'memoryPage.settings.hostBound': 'OpenHuman को होस्ट करने वाला ऐप इन्हें तय करता है, इसलिए इन्हें यहाँ बदला नहीं जा सकता।',+ 'memoryPage.settings.hostBound':+ 'OpenHuman को होस्ट करने वाला ऐप इन्हें तय करता है, इसलिए इन्हें यहाँ बदला नहीं जा सकता।','memoryPage.import.title': 'पिछली मेमोरी मिली','memoryPage.import.counts':'पिछली मेमोरी के {documents} दस्तावेज़, {conversations} बातचीत और {learnings} सीखी बातें इस डिवाइस पर हैं।',diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.tsindex 005996baaf..ad736b7ed9 100644--- a/app/src/lib/i18n/id.ts+++ b/app/src/lib/i18n/id.ts@@ -5052,14 +5052,17 @@ const messages: TranslationMap = {'memoryPage.tabs.background': 'Latar belakang','memoryPage.tabs.settings': 'Pengaturan','memoryPage.header.brain': 'Dokumen yang dibagikan semua agen, diarsipkan menurut asalnya.',- 'memoryPage.header.background': 'Pembuatan keyakinan dan impor dokumen yang dijalankan memori di latar belakang.',- 'memoryPage.header.settings': 'Apa yang ditambahkan memori pada setiap giliran, dan seberapa banyak.',+ 'memoryPage.header.background':+ 'Pembuatan keyakinan dan impor dokumen yang dijalankan memori di latar belakang.',+ 'memoryPage.header.settings':+ 'Apa yang ditambahkan memori pada setiap giliran, dan seberapa banyak.','memoryPage.ask.viewLabel': 'Mode tanya','memoryPage.ask.viewAnswer': 'Jawaban','memoryPage.ask.viewPack': 'Pratinjau paket','memoryPage.pack.queryLabel': 'Pesan (opsional)','memoryPage.pack.queryPlaceholder': 'Apa yang akan kita kerjakan hari ini?',- 'memoryPage.pack.queryHelp': 'Dengan pesan, lihat memori yang akan diterima balasan untuknya. Biarkan kosong untuk melihat bekal awal obrolan baru.',+ 'memoryPage.pack.queryHelp':+ 'Dengan pesan, lihat memori yang akan diterima balasan untuknya. Biarkan kosong untuk melihat bekal awal obrolan baru.','memoryPage.pack.agentLabel': 'Agen','memoryPage.pack.agentDefault': 'Agen saat ini','memoryPage.pack.preview': 'Pratinjau',@@ -5075,21 +5078,25 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Dilewati','memoryPage.learnings.builtBelief': 'Keyakinan yang dibuat','memoryPage.conversations.logTitle': 'Log percakapan',- 'memoryPage.conversations.logDescription': 'Setiap giliran dari setiap obrolan disimpan ke memori saat terjadi, sehingga agen dapat mengingatnya nanti.',+ 'memoryPage.conversations.logDescription':+ 'Setiap giliran dari setiap obrolan disimpan ke memori saat terjadi, sehingga agen dapat mengingatnya nanti.','memoryPage.conversations.logTurns': 'Catat setiap giliran','memoryPage.conversations.agentsTitle': 'Agen',- 'memoryPage.conversations.agentsDescription': 'Agen yang memiliki percakapan tersimpan. Buka satu untuk melihat yang disimpannya.',+ 'memoryPage.conversations.agentsDescription':+ 'Agen yang memiliki percakapan tersimpan. Buka satu untuk melihat yang disimpannya.','memoryPage.conversations.agentsEmpty': 'Belum ada percakapan yang disimpan.','memoryPage.conversations.itemsEmpty': 'Belum ada percakapan tersimpan untuk agen ini.','memoryPage.brain.sourcesTitle': 'Otak','memoryPage.brain.sourcesDescription': 'Dokumen di otak bersama, dikelompokkan menurut asalnya.','memoryPage.brain.addDocument': 'Tambah dokumen',- 'memoryPage.brain.empty': 'Otak masih kosong. Tambahkan dokumen, atau sinkronkan sumber di bawah.',+ 'memoryPage.brain.empty':+ 'Otak masih kosong. Tambahkan dokumen, atau sinkronkan sumber di bawah.','memoryPage.brain.documents': '{count} dokumen','memoryPage.brain.unfiled': '{count} dokumen tidak punya jenis sumber.','memoryPage.brain.forgetSource': 'Lupakan sumber','memoryPage.brain.forgetTitle': 'Lupakan sumber ini?',- 'memoryPage.brain.forgetBody': 'Semua dokumen {source} akan dihapus dari otak. Tindakan ini tidak dapat dibatalkan.',+ 'memoryPage.brain.forgetBody':+ 'Semua dokumen {source} akan dihapus dari otak. Tindakan ini tidak dapat dibatalkan.','memoryPage.brain.forgotten': '{count} dokumen {source} dilupakan.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5118,7 +5125,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Dokumen itu sudah ada di otak.','memoryPage.brain.syncedTitle': 'Sumber tersinkron','memoryPage.background.pendingTitle': 'Menunggu dijalankan',- 'memoryPage.background.pendingDescription': 'Memori menjalankan tugas ini sendiri. Jalankan sekarang agar tidak perlu menunggu.',+ 'memoryPage.background.pendingDescription':+ 'Memori menjalankan tugas ini sendiri. Jalankan sekarang agar tidak perlu menunggu.','memoryPage.background.pendingEmpty': 'Tidak ada yang menunggu.','memoryPage.background.refresh': 'Segarkan','memoryPage.background.runAll': 'Jalankan semua sekarang',@@ -5138,7 +5146,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Dilewati','memoryPage.background.outcome.failed': 'Gagal','memoryPage.settings.recallTitle': 'Memori di setiap giliran',- 'memoryPage.settings.recallDescription': 'Sebelum setiap balasan, memori menambahkan hal relevan yang diketahuinya. Batas ini menentukan jumlahnya.',+ 'memoryPage.settings.recallDescription':+ 'Sebelum setiap balasan, memori menambahkan hal relevan yang diketahuinya. Batas ini menentukan jumlahnya.','memoryPage.settings.recallEnabled': 'Tambahkan memori ke setiap giliran','memoryPage.settings.budget': 'Batas ukuran','memoryPage.settings.budgetHelp': 'Memori terbanyak yang ditambahkan pada satu giliran.',@@ -5147,18 +5156,23 @@ const messages: TranslationMap = {'memoryPage.settings.brainLimit': 'Dokumen otak','memoryPage.settings.historyLimit': 'Percakapan sebelumnya','memoryPage.settings.teamLimit': 'Memori tim',- 'memoryPage.settings.limitHelp': 'Jumlah item maksimum jenis ini per giliran. 0 berarti dikecualikan.',+ 'memoryPage.settings.limitHelp':+ 'Jumlah item maksimum jenis ini per giliran. 0 berarti dikecualikan.','memoryPage.settings.buildBeliefsEvery': 'Buat keyakinan setiap',- 'memoryPage.settings.buildBeliefsHelp': 'Menyaring pembelajaran menjadi keyakinan setelah sekian giliran. 0 untuk mematikan.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Menyaring pembelajaran menjadi keyakinan setelah sekian giliran. 0 untuk mematikan.','memoryPage.settings.turns': 'giliran','memoryPage.settings.preTurnTimeout': 'Menunggu memori',- 'memoryPage.settings.preTurnTimeoutHelp': 'Berapa lama balasan menunggu memori sebelum lanjut tanpanya.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Berapa lama balasan menunggu memori sebelum lanjut tanpanya.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Tempat memori diarsipkan',- 'memoryPage.settings.identityDescription': 'Akar yang dibagikan semua agen dan agen yang menjalankan aplikasi ini.',+ 'memoryPage.settings.identityDescription':+ 'Akar yang dibagikan semua agen dan agen yang menjalankan aplikasi ini.','memoryPage.settings.root': 'Akar','memoryPage.settings.agentId': 'Agen',- 'memoryPage.settings.hostBound': 'Aplikasi yang menghosting OpenHuman menetapkan nilai ini, sehingga tidak dapat diubah di sini.',+ 'memoryPage.settings.hostBound':+ 'Aplikasi yang menghosting OpenHuman menetapkan nilai ini, sehingga tidak dapat diubah di sini.','memoryPage.import.title': 'Memori sebelumnya ditemukan','memoryPage.import.counts':'{documents} dokumen, {conversations} percakapan, dan {learnings} pembelajaran dari memori sebelumnya ada di perangkat ini.',diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.tsindex d545bcec19..67f7673a83 100644--- a/app/src/lib/i18n/it.ts+++ b/app/src/lib/i18n/it.ts@@ -5090,14 +5090,16 @@ const messages: TranslationMap = {'memoryPage.tabs.background': 'Sfondo','memoryPage.tabs.settings': 'Impostazioni','memoryPage.header.brain': 'Documenti condivisi da tutti gli agenti, archiviati per provenienza.',- 'memoryPage.header.background': 'Costruzioni di convinzioni e importazioni di documenti che la memoria esegue in background.',+ 'memoryPage.header.background':+ 'Costruzioni di convinzioni e importazioni di documenti che la memoria esegue in background.','memoryPage.header.settings': 'Cosa aggiunge la memoria a ogni turno e in quale quantità.','memoryPage.ask.viewLabel': 'Modalità domanda','memoryPage.ask.viewAnswer': 'Risposta','memoryPage.ask.viewPack': 'Anteprima del pacchetto','memoryPage.pack.queryLabel': 'Messaggio (facoltativo)','memoryPage.pack.queryPlaceholder': 'Su cosa lavoriamo oggi?',- 'memoryPage.pack.queryHelp': 'Con un messaggio vedi la memoria che riceverebbe una risposta. Lascia vuoto per vedere da cosa parte una nuova chat.',+ 'memoryPage.pack.queryHelp':+ 'Con un messaggio vedi la memoria che riceverebbe una risposta. Lascia vuoto per vedere da cosa parte una nuova chat.','memoryPage.pack.agentLabel': 'Agente','memoryPage.pack.agentDefault': 'Agente corrente','memoryPage.pack.preview': 'Anteprima',@@ -5113,21 +5115,27 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Saltati','memoryPage.learnings.builtBelief': 'Convinzione costruita','memoryPage.conversations.logTitle': 'Registro delle conversazioni',- 'memoryPage.conversations.logDescription': 'Ogni turno di ogni chat viene salvato nella memoria man mano, così gli agenti possono ricordarlo in seguito.',+ 'memoryPage.conversations.logDescription':+ 'Ogni turno di ogni chat viene salvato nella memoria man mano, così gli agenti possono ricordarlo in seguito.','memoryPage.conversations.logTurns': 'Registra ogni turno','memoryPage.conversations.agentsTitle': 'Agenti',- 'memoryPage.conversations.agentsDescription': 'Agenti con conversazioni salvate. Aprine uno per vedere cosa ha archiviato.',+ 'memoryPage.conversations.agentsDescription':+ 'Agenti con conversazioni salvate. Aprine uno per vedere cosa ha archiviato.','memoryPage.conversations.agentsEmpty': 'Nessuna conversazione salvata finora.',- 'memoryPage.conversations.itemsEmpty': 'Nessuna conversazione archiviata per questo agente finora.',+ 'memoryPage.conversations.itemsEmpty':+ 'Nessuna conversazione archiviata per questo agente finora.','memoryPage.brain.sourcesTitle': 'Cervello',- 'memoryPage.brain.sourcesDescription': 'Documenti nel cervello condiviso, raggruppati per provenienza.',+ 'memoryPage.brain.sourcesDescription':+ 'Documenti nel cervello condiviso, raggruppati per provenienza.','memoryPage.brain.addDocument': 'Aggiungi documento',- 'memoryPage.brain.empty': 'Il cervello è vuoto. Aggiungi un documento o sincronizza una origine qui sotto.',+ 'memoryPage.brain.empty':+ 'Il cervello è vuoto. Aggiungi un documento o sincronizza una origine qui sotto.','memoryPage.brain.documents': '{count} documenti','memoryPage.brain.unfiled': '{count} documenti non hanno un tipo di origine.','memoryPage.brain.forgetSource': 'Dimentica origine','memoryPage.brain.forgetTitle': 'Dimenticare questa origine?',- 'memoryPage.brain.forgetBody': 'Tutti i documenti {source} verranno rimossi dal cervello. L\'operazione non si può annullare.',+ 'memoryPage.brain.forgetBody':+ "Tutti i documenti {source} verranno rimossi dal cervello. L'operazione non si può annullare.",'memoryPage.brain.forgotten': 'Dimenticati {count} documenti {source}.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5156,7 +5164,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Questo documento è già nel cervello.','memoryPage.brain.syncedTitle': 'Origini sincronizzate','memoryPage.background.pendingTitle': 'In attesa di esecuzione',- 'memoryPage.background.pendingDescription': 'La memoria esegue questi lavori da sola. Eseguili ora per evitare l\'attesa.',+ 'memoryPage.background.pendingDescription':+ "La memoria esegue questi lavori da sola. Eseguili ora per evitare l'attesa.",'memoryPage.background.pendingEmpty': 'Nulla in attesa.','memoryPage.background.refresh': 'Aggiorna','memoryPage.background.runAll': 'Esegui tutto ora',@@ -5176,7 +5185,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Saltato','memoryPage.background.outcome.failed': 'Non riuscito','memoryPage.settings.recallTitle': 'Memoria in ogni turno',- 'memoryPage.settings.recallDescription': 'Prima di ogni risposta, la memoria aggiunge ciò che sa di rilevante. Questi limiti stabiliscono la quantità.',+ 'memoryPage.settings.recallDescription':+ 'Prima di ogni risposta, la memoria aggiunge ciò che sa di rilevante. Questi limiti stabiliscono la quantità.','memoryPage.settings.recallEnabled': 'Aggiungi la memoria a ogni turno','memoryPage.settings.budget': 'Limite di dimensione','memoryPage.settings.budgetHelp': 'La quantità massima di memoria aggiunta a un turno.',@@ -5185,18 +5195,23 @@ const messages: TranslationMap = {'memoryPage.settings.brainLimit': 'Documenti del cervello','memoryPage.settings.historyLimit': 'Conversazioni passate','memoryPage.settings.teamLimit': 'Memoria del team',- 'memoryPage.settings.limitHelp': 'Il massimo di elementi di questo tipo per turno. Con 0 vengono esclusi.',+ 'memoryPage.settings.limitHelp':+ 'Il massimo di elementi di questo tipo per turno. Con 0 vengono esclusi.','memoryPage.settings.buildBeliefsEvery': 'Costruisci convinzioni ogni',- 'memoryPage.settings.buildBeliefsHelp': 'Condensa gli apprendimenti in convinzioni dopo questo numero di turni. Con 0 si disattiva.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Condensa gli apprendimenti in convinzioni dopo questo numero di turni. Con 0 si disattiva.','memoryPage.settings.turns': 'turni','memoryPage.settings.preTurnTimeout': 'Attesa della memoria',- 'memoryPage.settings.preTurnTimeoutHelp': 'Quanto attende una risposta la memoria prima di procedere senza.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Quanto attende una risposta la memoria prima di procedere senza.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Dove viene archiviata la memoria',- 'memoryPage.settings.identityDescription': 'La radice condivisa da tutti gli agenti e l\'agente con cui gira questa app.',+ 'memoryPage.settings.identityDescription':+ "La radice condivisa da tutti gli agenti e l'agente con cui gira questa app.",'memoryPage.settings.root': 'Radice','memoryPage.settings.agentId': 'Agente',- 'memoryPage.settings.hostBound': 'L\'app che ospita OpenHuman imposta questi valori, quindi non si possono modificare qui.',+ 'memoryPage.settings.hostBound':+ "L'app che ospita OpenHuman imposta questi valori, quindi non si possono modificare qui.",'memoryPage.import.title': 'Memoria precedente trovata','memoryPage.import.counts':'{documents} documenti, {conversations} conversazioni e {learnings} apprendimenti della memoria precedente si trovano su questo dispositivo.',diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.tsindex 4c55a97a6d..57503e4740 100644--- a/app/src/lib/i18n/ko.ts+++ b/app/src/lib/i18n/ko.ts@@ -4965,14 +4965,16 @@ const messages: TranslationMap = {'memoryPage.tabs.background': '백그라운드','memoryPage.tabs.settings': '설정','memoryPage.header.brain': '모든 에이전트가 공유하는 문서를 출처별로 정리했습니다.',- 'memoryPage.header.background': '메모리가 백그라운드에서 실행하는 신념 구축과 문서 가져오기입니다.',+ 'memoryPage.header.background':+ '메모리가 백그라운드에서 실행하는 신념 구축과 문서 가져오기입니다.','memoryPage.header.settings': '메모리가 매 대화 차례에 무엇을, 얼마나 추가할지 정합니다.','memoryPage.ask.viewLabel': '질문 모드','memoryPage.ask.viewAnswer': '답변','memoryPage.ask.viewPack': '팩 미리보기','memoryPage.pack.queryLabel': '메시지(선택)','memoryPage.pack.queryPlaceholder': '오늘은 무엇을 해볼까요?',- 'memoryPage.pack.queryHelp': '메시지를 입력하면 그 메시지에 대한 답장이 받을 메모리를 볼 수 있습니다. 비워 두면 새 채팅이 시작될 때 받는 메모리를 볼 수 있습니다.',+ 'memoryPage.pack.queryHelp':+ '메시지를 입력하면 그 메시지에 대한 답장이 받을 메모리를 볼 수 있습니다. 비워 두면 새 채팅이 시작될 때 받는 메모리를 볼 수 있습니다.','memoryPage.pack.agentLabel': '에이전트','memoryPage.pack.agentDefault': '현재 에이전트','memoryPage.pack.preview': '미리보기',@@ -4988,10 +4990,12 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': '건너뜀','memoryPage.learnings.builtBelief': '구축된 신념','memoryPage.conversations.logTitle': '대화 기록',- 'memoryPage.conversations.logDescription': '모든 채팅의 모든 대화 차례가 발생하는 즉시 메모리에 저장되어 에이전트가 나중에 떠올릴 수 있습니다.',+ 'memoryPage.conversations.logDescription':+ '모든 채팅의 모든 대화 차례가 발생하는 즉시 메모리에 저장되어 에이전트가 나중에 떠올릴 수 있습니다.','memoryPage.conversations.logTurns': '모든 대화 차례 기록','memoryPage.conversations.agentsTitle': '에이전트',- 'memoryPage.conversations.agentsDescription': '저장된 대화가 있는 에이전트입니다. 하나를 열어 저장된 내용을 확인하세요.',+ 'memoryPage.conversations.agentsDescription':+ '저장된 대화가 있는 에이전트입니다. 하나를 열어 저장된 내용을 확인하세요.','memoryPage.conversations.agentsEmpty': '아직 저장된 대화가 없습니다.','memoryPage.conversations.itemsEmpty': '이 에이전트에 저장된 대화가 아직 없습니다.','memoryPage.brain.sourcesTitle': '브레인',@@ -5002,7 +5006,8 @@ const messages: TranslationMap = {'memoryPage.brain.unfiled': '문서 {count}개에 출처 유형이 없습니다.','memoryPage.brain.forgetSource': '출처 잊기','memoryPage.brain.forgetTitle': '이 출처를 잊을까요?',- 'memoryPage.brain.forgetBody': '{source} 문서가 모두 브레인에서 삭제됩니다. 이 작업은 되돌릴 수 없습니다.',+ 'memoryPage.brain.forgetBody':+ '{source} 문서가 모두 브레인에서 삭제됩니다. 이 작업은 되돌릴 수 없습니다.','memoryPage.brain.forgotten': '{source} 문서 {count}개를 잊었습니다.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5031,7 +5036,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': '해당 문서는 이미 브레인에 있습니다.','memoryPage.brain.syncedTitle': '동기화된 출처','memoryPage.background.pendingTitle': '실행 대기 중',- 'memoryPage.background.pendingDescription': '메모리가 이 작업을 알아서 실행합니다. 지금 실행하면 기다리지 않아도 됩니다.',+ 'memoryPage.background.pendingDescription':+ '메모리가 이 작업을 알아서 실행합니다. 지금 실행하면 기다리지 않아도 됩니다.','memoryPage.background.pendingEmpty': '대기 중인 작업이 없습니다.','memoryPage.background.refresh': '새로고침','memoryPage.background.runAll': '모두 지금 실행',@@ -5051,7 +5057,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': '건너뜀','memoryPage.background.outcome.failed': '실패','memoryPage.settings.recallTitle': '매 대화 차례의 메모리',- 'memoryPage.settings.recallDescription': '답장하기 전에 메모리가 아는 내용 중 관련된 것을 추가합니다. 이 한도가 추가량을 정합니다.',+ 'memoryPage.settings.recallDescription':+ '답장하기 전에 메모리가 아는 내용 중 관련된 것을 추가합니다. 이 한도가 추가량을 정합니다.','memoryPage.settings.recallEnabled': '매 대화 차례에 메모리 추가','memoryPage.settings.budget': '크기 한도','memoryPage.settings.budgetHelp': '한 대화 차례에 추가되는 메모리의 최대량입니다.',@@ -5062,16 +5069,20 @@ const messages: TranslationMap = {'memoryPage.settings.teamLimit': '팀 메모리','memoryPage.settings.limitHelp': '대화 차례당 이 종류의 최대 항목 수입니다. 0이면 제외합니다.','memoryPage.settings.buildBeliefsEvery': '신념 구축 주기',- 'memoryPage.settings.buildBeliefsHelp': '이 횟수만큼 대화 차례가 지나면 학습 내용을 신념으로 정리합니다. 0이면 끕니다.',+ 'memoryPage.settings.buildBeliefsHelp':+ '이 횟수만큼 대화 차례가 지나면 학습 내용을 신념으로 정리합니다. 0이면 끕니다.','memoryPage.settings.turns': '대화 차례','memoryPage.settings.preTurnTimeout': '메모리 대기',- 'memoryPage.settings.preTurnTimeoutHelp': '답장이 메모리를 기다리는 시간입니다. 이 시간이 지나면 메모리 없이 진행합니다.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ '답장이 메모리를 기다리는 시간입니다. 이 시간이 지나면 메모리 없이 진행합니다.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': '메모리가 정리되는 위치',- 'memoryPage.settings.identityDescription': '모든 에이전트가 공유하는 루트와 이 앱이 실행되는 에이전트입니다.',+ 'memoryPage.settings.identityDescription':+ '모든 에이전트가 공유하는 루트와 이 앱이 실행되는 에이전트입니다.','memoryPage.settings.root': '루트','memoryPage.settings.agentId': '에이전트',- 'memoryPage.settings.hostBound': 'OpenHuman을 호스팅하는 앱이 이 값을 설정하므로 여기서 변경할 수 없습니다.',+ 'memoryPage.settings.hostBound':+ 'OpenHuman을 호스팅하는 앱이 이 값을 설정하므로 여기서 변경할 수 없습니다.','memoryPage.import.title': '이전 메모리를 찾았습니다','memoryPage.import.counts':'이전 메모리의 문서 {documents}개, 대화 {conversations}개, 학습 내용 {learnings}개가 이 기기에 있습니다.',diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex 80281f6588..755aed7004 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -5078,15 +5078,18 @@ const messages: TranslationMap = {'memoryPage.tabs.brain': 'Mózg','memoryPage.tabs.background': 'W tle','memoryPage.tabs.settings': 'Ustawienia',- 'memoryPage.header.brain': 'Dokumenty wspólne dla wszystkich agentów, uporządkowane według pochodzenia.',- 'memoryPage.header.background': 'Budowanie przekonań i import dokumentów, które pamięć wykonuje w tle.',+ 'memoryPage.header.brain':+ 'Dokumenty wspólne dla wszystkich agentów, uporządkowane według pochodzenia.',+ 'memoryPage.header.background':+ 'Budowanie przekonań i import dokumentów, które pamięć wykonuje w tle.','memoryPage.header.settings': 'Co pamięć dodaje do każdej tury i w jakiej ilości.','memoryPage.ask.viewLabel': 'Tryb pytania','memoryPage.ask.viewAnswer': 'Odpowiedź','memoryPage.ask.viewPack': 'Podgląd pakietu','memoryPage.pack.queryLabel': 'Wiadomość (opcjonalnie)','memoryPage.pack.queryPlaceholder': 'Nad czym dziś pracujemy?',- 'memoryPage.pack.queryHelp': 'Po wpisaniu wiadomości zobaczysz pamięć, jaką dostałaby odpowiedź na nią. Zostaw puste, aby zobaczyć, od czego zaczyna się nowy czat.',+ 'memoryPage.pack.queryHelp':+ 'Po wpisaniu wiadomości zobaczysz pamięć, jaką dostałaby odpowiedź na nią. Zostaw puste, aby zobaczyć, od czego zaczyna się nowy czat.','memoryPage.pack.agentLabel': 'Agent','memoryPage.pack.agentDefault': 'Bieżący agent','memoryPage.pack.preview': 'Podgląd',@@ -5102,21 +5105,25 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Pominięte','memoryPage.learnings.builtBelief': 'Zbudowane przekonanie','memoryPage.conversations.logTitle': 'Dziennik rozmów',- 'memoryPage.conversations.logDescription': 'Każda tura każdego czatu jest zapisywana w pamięci na bieżąco, więc agenci mogą ją później przywołać.',+ 'memoryPage.conversations.logDescription':+ 'Każda tura każdego czatu jest zapisywana w pamięci na bieżąco, więc agenci mogą ją później przywołać.','memoryPage.conversations.logTurns': 'Zapisuj każdą turę','memoryPage.conversations.agentsTitle': 'Agenci',- 'memoryPage.conversations.agentsDescription': 'Agenci z zapisanymi rozmowami. Otwórz jednego, aby zobaczyć, co zapisał.',+ 'memoryPage.conversations.agentsDescription':+ 'Agenci z zapisanymi rozmowami. Otwórz jednego, aby zobaczyć, co zapisał.','memoryPage.conversations.agentsEmpty': 'Nie zapisano jeszcze żadnych rozmów.','memoryPage.conversations.itemsEmpty': 'Brak zapisanych rozmów dla tego agenta.','memoryPage.brain.sourcesTitle': 'Mózg',- 'memoryPage.brain.sourcesDescription': 'Dokumenty we wspólnym mózgu, pogrupowane według pochodzenia.',+ 'memoryPage.brain.sourcesDescription':+ 'Dokumenty we wspólnym mózgu, pogrupowane według pochodzenia.','memoryPage.brain.addDocument': 'Dodaj dokument','memoryPage.brain.empty': 'Mózg jest pusty. Dodaj dokument lub zsynchronizuj źródło poniżej.','memoryPage.brain.documents': 'Dokumenty: {count}','memoryPage.brain.unfiled': 'Dokumenty bez typu źródła: {count}.','memoryPage.brain.forgetSource': 'Zapomnij źródło','memoryPage.brain.forgetTitle': 'Zapomnieć źródło?',- 'memoryPage.brain.forgetBody': 'Wszystkie dokumenty ze źródła {source} zostaną usunięte z mózgu. Nie można tego cofnąć.',+ 'memoryPage.brain.forgetBody':+ 'Wszystkie dokumenty ze źródła {source} zostaną usunięte z mózgu. Nie można tego cofnąć.','memoryPage.brain.forgotten': 'Zapomniano dokumenty ze źródła {source}: {count}.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5145,7 +5152,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Ten dokument jest już w mózgu.','memoryPage.brain.syncedTitle': 'Zsynchronizowane źródła','memoryPage.background.pendingTitle': 'Oczekuje na uruchomienie',- 'memoryPage.background.pendingDescription': 'Pamięć uruchamia te zadania samodzielnie. Uruchom je teraz, aby nie czekać.',+ 'memoryPage.background.pendingDescription':+ 'Pamięć uruchamia te zadania samodzielnie. Uruchom je teraz, aby nie czekać.','memoryPage.background.pendingEmpty': 'Nic nie oczekuje.','memoryPage.background.refresh': 'Odśwież','memoryPage.background.runAll': 'Uruchom wszystko teraz',@@ -5165,7 +5173,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Pominięte','memoryPage.background.outcome.failed': 'Niepowodzenie','memoryPage.settings.recallTitle': 'Pamięć w każdej turze',- 'memoryPage.settings.recallDescription': 'Przed każdą odpowiedzią pamięć dodaje odpowiednie informacje, które posiada. Te limity określają, ile ich będzie.',+ 'memoryPage.settings.recallDescription':+ 'Przed każdą odpowiedzią pamięć dodaje odpowiednie informacje, które posiada. Te limity określają, ile ich będzie.','memoryPage.settings.recallEnabled': 'Dodawaj pamięć do każdej tury','memoryPage.settings.budget': 'Limit rozmiaru','memoryPage.settings.budgetHelp': 'Maksymalna ilość pamięci dodawana w jednej turze.',@@ -5174,18 +5183,23 @@ const messages: TranslationMap = {'memoryPage.settings.brainLimit': 'Dokumenty z mózgu','memoryPage.settings.historyLimit': 'Wcześniejsze rozmowy','memoryPage.settings.teamLimit': 'Pamięć zespołu',- 'memoryPage.settings.limitHelp': 'Maksymalna liczba elementów tego rodzaju na turę. Wartość 0 pomija je.',+ 'memoryPage.settings.limitHelp':+ 'Maksymalna liczba elementów tego rodzaju na turę. Wartość 0 pomija je.','memoryPage.settings.buildBeliefsEvery': 'Buduj przekonania co',- 'memoryPage.settings.buildBeliefsHelp': 'Wnioski są przetwarzane na przekonania po tylu turach. Wartość 0 wyłącza funkcję.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Wnioski są przetwarzane na przekonania po tylu turach. Wartość 0 wyłącza funkcję.','memoryPage.settings.turns': 'tur','memoryPage.settings.preTurnTimeout': 'Oczekiwanie na pamięć',- 'memoryPage.settings.preTurnTimeoutHelp': 'Jak długo odpowiedź czeka na pamięć, zanim ruszy bez niej.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Jak długo odpowiedź czeka na pamięć, zanim ruszy bez niej.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Gdzie zapisywana jest pamięć',- 'memoryPage.settings.identityDescription': 'Korzeń wspólny dla wszystkich agentów oraz agent, jako którego działa ta aplikacja.',+ 'memoryPage.settings.identityDescription':+ 'Korzeń wspólny dla wszystkich agentów oraz agent, jako którego działa ta aplikacja.','memoryPage.settings.root': 'Korzeń','memoryPage.settings.agentId': 'Agent',- 'memoryPage.settings.hostBound': 'Aplikacja hostująca OpenHuman ustawia te wartości, więc nie można ich tu zmienić.',+ 'memoryPage.settings.hostBound':+ 'Aplikacja hostująca OpenHuman ustawia te wartości, więc nie można ich tu zmienić.','memoryPage.import.title': 'Znaleziono poprzednią pamięć','memoryPage.import.counts':'Na tym urządzeniu znajduje się z poprzedniej pamięci: dokumentów: {documents}, rozmów: {conversations}, wniosków: {learnings}.',diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.tsindex 6b08e82fd8..8946b81949 100644--- a/app/src/lib/i18n/pt.ts+++ b/app/src/lib/i18n/pt.ts@@ -5079,15 +5079,18 @@ const messages: TranslationMap = {'memoryPage.tabs.brain': 'Cérebro','memoryPage.tabs.background': 'Em segundo plano','memoryPage.tabs.settings': 'Configurações',- 'memoryPage.header.brain': 'Documentos que todos os agentes compartilham, organizados por origem.',- 'memoryPage.header.background': 'Criações de crenças e importações de documentos que a memória executa em segundo plano.',+ 'memoryPage.header.brain':+ 'Documentos que todos os agentes compartilham, organizados por origem.',+ 'memoryPage.header.background':+ 'Criações de crenças e importações de documentos que a memória executa em segundo plano.','memoryPage.header.settings': 'O que a memória acrescenta a cada turno e em que quantidade.','memoryPage.ask.viewLabel': 'Modo de pergunta','memoryPage.ask.viewAnswer': 'Resposta','memoryPage.ask.viewPack': 'Prévia do pacote','memoryPage.pack.queryLabel': 'Mensagem (opcional)','memoryPage.pack.queryPlaceholder': 'No que vamos trabalhar hoje?',- 'memoryPage.pack.queryHelp': 'Com uma mensagem, veja a memória que uma resposta a ela receberia. Deixe vazio para ver com que um novo chat começa.',+ 'memoryPage.pack.queryHelp':+ 'Com uma mensagem, veja a memória que uma resposta a ela receberia. Deixe vazio para ver com que um novo chat começa.','memoryPage.pack.agentLabel': 'Agente','memoryPage.pack.agentDefault': 'Agente atual','memoryPage.pack.preview': 'Prévia',@@ -5103,21 +5106,26 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Ignorados','memoryPage.learnings.builtBelief': 'Crença criada','memoryPage.conversations.logTitle': 'Registro de conversas',- 'memoryPage.conversations.logDescription': 'Cada turno de cada chat é salvo na memória conforme acontece, para que os agentes possam recordá-lo depois.',+ 'memoryPage.conversations.logDescription':+ 'Cada turno de cada chat é salvo na memória conforme acontece, para que os agentes possam recordá-lo depois.','memoryPage.conversations.logTurns': 'Registrar cada turno','memoryPage.conversations.agentsTitle': 'Agentes',- 'memoryPage.conversations.agentsDescription': 'Agentes com conversas salvas. Abra um para ver o que ele guardou.',+ 'memoryPage.conversations.agentsDescription':+ 'Agentes com conversas salvas. Abra um para ver o que ele guardou.','memoryPage.conversations.agentsEmpty': 'Nenhuma conversa salva ainda.','memoryPage.conversations.itemsEmpty': 'Nenhuma conversa guardada para este agente ainda.','memoryPage.brain.sourcesTitle': 'Cérebro',- 'memoryPage.brain.sourcesDescription': 'Documentos no cérebro compartilhado, agrupados por origem.',+ 'memoryPage.brain.sourcesDescription':+ 'Documentos no cérebro compartilhado, agrupados por origem.','memoryPage.brain.addDocument': 'Adicionar documento',- 'memoryPage.brain.empty': 'O cérebro está vazio. Adicione um documento ou sincronize uma fonte abaixo.',+ 'memoryPage.brain.empty':+ 'O cérebro está vazio. Adicione um documento ou sincronize uma fonte abaixo.','memoryPage.brain.documents': '{count} documentos','memoryPage.brain.unfiled': '{count} documentos não têm tipo de fonte.','memoryPage.brain.forgetSource': 'Esquecer fonte','memoryPage.brain.forgetTitle': 'Esquecer esta fonte?',- 'memoryPage.brain.forgetBody': 'Todos os documentos de {source} serão removidos do cérebro. Esta ação não pode ser desfeita.',+ 'memoryPage.brain.forgetBody':+ 'Todos os documentos de {source} serão removidos do cérebro. Esta ação não pode ser desfeita.','memoryPage.brain.forgotten': '{count} documentos de {source} esquecidos.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5146,7 +5154,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Este documento já está no cérebro.','memoryPage.brain.syncedTitle': 'Fontes sincronizadas','memoryPage.background.pendingTitle': 'Aguardando execução',- 'memoryPage.background.pendingDescription': 'A memória executa estas tarefas por conta própria. Execute-as agora para não esperar.',+ 'memoryPage.background.pendingDescription':+ 'A memória executa estas tarefas por conta própria. Execute-as agora para não esperar.','memoryPage.background.pendingEmpty': 'Nada aguardando.','memoryPage.background.refresh': 'Atualizar','memoryPage.background.runAll': 'Executar tudo agora',@@ -5166,7 +5175,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Ignorado','memoryPage.background.outcome.failed': 'Falhou','memoryPage.settings.recallTitle': 'Memória em cada turno',- 'memoryPage.settings.recallDescription': 'Antes de cada resposta, a memória acrescenta o que sabe de relevante. Estes limites definem a quantidade.',+ 'memoryPage.settings.recallDescription':+ 'Antes de cada resposta, a memória acrescenta o que sabe de relevante. Estes limites definem a quantidade.','memoryPage.settings.recallEnabled': 'Adicionar memória a cada turno','memoryPage.settings.budget': 'Limite de tamanho','memoryPage.settings.budgetHelp': 'A maior quantidade de memória acrescentada a um turno.',@@ -5177,16 +5187,20 @@ const messages: TranslationMap = {'memoryPage.settings.teamLimit': 'Memória da equipe','memoryPage.settings.limitHelp': 'O máximo de itens deste tipo por turno. 0 os deixa de fora.','memoryPage.settings.buildBeliefsEvery': 'Criar crenças a cada',- 'memoryPage.settings.buildBeliefsHelp': 'Destila aprendizados em crenças após esta quantidade de turnos. 0 desativa.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Destila aprendizados em crenças após esta quantidade de turnos. 0 desativa.','memoryPage.settings.turns': 'turnos','memoryPage.settings.preTurnTimeout': 'Espera pela memória',- 'memoryPage.settings.preTurnTimeoutHelp': 'Quanto tempo uma resposta aguarda a memória antes de seguir sem ela.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Quanto tempo uma resposta aguarda a memória antes de seguir sem ela.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Onde a memória é organizada',- 'memoryPage.settings.identityDescription': 'A raiz que todos os agentes compartilham e o agente com que este app funciona.',+ 'memoryPage.settings.identityDescription':+ 'A raiz que todos os agentes compartilham e o agente com que este app funciona.','memoryPage.settings.root': 'Raiz','memoryPage.settings.agentId': 'Agente',- 'memoryPage.settings.hostBound': 'O app que hospeda o OpenHuman define estes valores, então não podem ser alterados aqui.',+ 'memoryPage.settings.hostBound':+ 'O app que hospeda o OpenHuman define estes valores, então não podem ser alterados aqui.','memoryPage.import.title': 'Memória anterior encontrada','memoryPage.import.counts':'{documents} documentos, {conversations} conversas e {learnings} aprendizados da memória anterior estão neste dispositivo.',diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.tsindex e98b6ae456..011cf76b59 100644--- a/app/src/lib/i18n/ru.ts+++ b/app/src/lib/i18n/ru.ts@@ -5063,14 +5063,16 @@ const messages: TranslationMap = {'memoryPage.tabs.background': 'Фон','memoryPage.tabs.settings': 'Настройки','memoryPage.header.brain': 'Документы, общие для всех агентов, разложенные по источникам.',- 'memoryPage.header.background': 'Построение убеждений и импорт документов, которые память выполняет в фоне.',+ 'memoryPage.header.background':+ 'Построение убеждений и импорт документов, которые память выполняет в фоне.','memoryPage.header.settings': 'Что память добавляет в каждую реплику и в каком объёме.','memoryPage.ask.viewLabel': 'Режим вопроса','memoryPage.ask.viewAnswer': 'Ответ','memoryPage.ask.viewPack': 'Предпросмотр пакета','memoryPage.pack.queryLabel': 'Сообщение (необязательно)','memoryPage.pack.queryPlaceholder': 'Чем займёмся сегодня?',- 'memoryPage.pack.queryHelp': 'Если ввести сообщение, вы увидите память, которую получит ответ на него. Оставьте поле пустым, чтобы увидеть, с чем начинается новый чат.',+ 'memoryPage.pack.queryHelp':+ 'Если ввести сообщение, вы увидите память, которую получит ответ на него. Оставьте поле пустым, чтобы увидеть, с чем начинается новый чат.','memoryPage.pack.agentLabel': 'Агент','memoryPage.pack.agentDefault': 'Текущий агент','memoryPage.pack.preview': 'Предпросмотр',@@ -5086,10 +5088,12 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': 'Пропущено','memoryPage.learnings.builtBelief': 'Построенное убеждение','memoryPage.conversations.logTitle': 'Журнал разговоров',- 'memoryPage.conversations.logDescription': 'Каждая реплика каждого чата сохраняется в память по мере появления, чтобы агенты могли вспомнить её позже.',+ 'memoryPage.conversations.logDescription':+ 'Каждая реплика каждого чата сохраняется в память по мере появления, чтобы агенты могли вспомнить её позже.','memoryPage.conversations.logTurns': 'Записывать каждую реплику','memoryPage.conversations.agentsTitle': 'Агенты',- 'memoryPage.conversations.agentsDescription': 'Агенты с сохранёнными разговорами. Откройте одного, чтобы увидеть, что он сохранил.',+ 'memoryPage.conversations.agentsDescription':+ 'Агенты с сохранёнными разговорами. Откройте одного, чтобы увидеть, что он сохранил.','memoryPage.conversations.agentsEmpty': 'Сохранённых разговоров пока нет.','memoryPage.conversations.itemsEmpty': 'Для этого агента пока нет сохранённых разговоров.','memoryPage.brain.sourcesTitle': 'Мозг',@@ -5100,7 +5104,8 @@ const messages: TranslationMap = {'memoryPage.brain.unfiled': 'Документов без типа источника: {count}.','memoryPage.brain.forgetSource': 'Забыть источник','memoryPage.brain.forgetTitle': 'Забыть этот источник?',- 'memoryPage.brain.forgetBody': 'Все документы {source} будут удалены из мозга. Это действие нельзя отменить.',+ 'memoryPage.brain.forgetBody':+ 'Все документы {source} будут удалены из мозга. Это действие нельзя отменить.','memoryPage.brain.forgotten': 'Забыто документов {source}: {count}.','memoryPage.brain.source.pdf': 'PDF','memoryPage.brain.source.markdown': 'Markdown',@@ -5129,7 +5134,8 @@ const messages: TranslationMap = {'memoryPage.brain.ingestReplayed': 'Этот документ уже есть в мозге.','memoryPage.brain.syncedTitle': 'Синхронизированные источники','memoryPage.background.pendingTitle': 'Ожидают запуска',- 'memoryPage.background.pendingDescription': 'Память запускает эти задачи сама. Запустите их сейчас, чтобы не ждать.',+ 'memoryPage.background.pendingDescription':+ 'Память запускает эти задачи сама. Запустите их сейчас, чтобы не ждать.','memoryPage.background.pendingEmpty': 'Ничего не ожидает.','memoryPage.background.refresh': 'Обновить','memoryPage.background.runAll': 'Запустить все сейчас',@@ -5149,7 +5155,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': 'Пропущено','memoryPage.background.outcome.failed': 'Сбой','memoryPage.settings.recallTitle': 'Память в каждой реплике',- 'memoryPage.settings.recallDescription': 'Перед каждым ответом память добавляет то, что знает по теме. Эти ограничения определяют объём.',+ 'memoryPage.settings.recallDescription':+ 'Перед каждым ответом память добавляет то, что знает по теме. Эти ограничения определяют объём.','memoryPage.settings.recallEnabled': 'Добавлять память в каждую реплику','memoryPage.settings.budget': 'Ограничение размера','memoryPage.settings.budgetHelp': 'Максимальный объём памяти, добавляемый в одну реплику.',@@ -5160,16 +5167,20 @@ const messages: TranslationMap = {'memoryPage.settings.teamLimit': 'Память команды','memoryPage.settings.limitHelp': 'Максимум элементов этого вида на реплику. 0 исключает их.','memoryPage.settings.buildBeliefsEvery': 'Строить убеждения каждые',- 'memoryPage.settings.buildBeliefsHelp': 'Преобразовывать знания в убеждения после стольких реплик. 0 отключает.',+ 'memoryPage.settings.buildBeliefsHelp':+ 'Преобразовывать знания в убеждения после стольких реплик. 0 отключает.','memoryPage.settings.turns': 'реплик','memoryPage.settings.preTurnTimeout': 'Ожидание памяти',- 'memoryPage.settings.preTurnTimeoutHelp': 'Сколько ответ ждёт память, прежде чем продолжить без неё.',+ 'memoryPage.settings.preTurnTimeoutHelp':+ 'Сколько ответ ждёт память, прежде чем продолжить без неё.','memoryPage.settings.ms': 'ms','memoryPage.settings.identityTitle': 'Где хранится память',- 'memoryPage.settings.identityDescription': 'Корень, общий для всех агентов, и агент, от имени которого работает приложение.',+ 'memoryPage.settings.identityDescription':+ 'Корень, общий для всех агентов, и агент, от имени которого работает приложение.','memoryPage.settings.root': 'Корень','memoryPage.settings.agentId': 'Агент',- 'memoryPage.settings.hostBound': 'Эти значения задаёт приложение, в котором работает OpenHuman, поэтому здесь их изменить нельзя.',+ 'memoryPage.settings.hostBound':+ 'Эти значения задаёт приложение, в котором работает OpenHuman, поэтому здесь их изменить нельзя.','memoryPage.import.title': 'Найдена прежняя память','memoryPage.import.counts':'На этом устройстве находятся документов: {documents}, диалогов: {conversations}, знаний: {learnings} из прежней памяти.',diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.tsindex c5e2d1b372..5d7b03d8d5 100644--- a/app/src/lib/i18n/zh-CN.ts+++ b/app/src/lib/i18n/zh-CN.ts@@ -4743,7 +4743,8 @@ const messages: TranslationMap = {'memoryPage.ask.viewPack': '记忆包预览','memoryPage.pack.queryLabel': '消息(可选)','memoryPage.pack.queryPlaceholder': '今天我们做什么?',- 'memoryPage.pack.queryHelp': '输入消息后,可查看回复该消息时会获得的记忆。留空则查看新聊天开始时带有的记忆。',+ 'memoryPage.pack.queryHelp':+ '输入消息后,可查看回复该消息时会获得的记忆。留空则查看新聊天开始时带有的记忆。','memoryPage.pack.agentLabel': '智能体','memoryPage.pack.agentDefault': '当前智能体','memoryPage.pack.preview': '预览',@@ -4759,10 +4760,12 @@ const messages: TranslationMap = {'memoryPage.pack.skipped': '已跳过','memoryPage.learnings.builtBelief': '已构建的信念','memoryPage.conversations.logTitle': '对话日志',- 'memoryPage.conversations.logDescription': '每个聊天的每个轮次都会在发生时保存到记忆中,方便智能体日后回忆。',+ 'memoryPage.conversations.logDescription':+ '每个聊天的每个轮次都会在发生时保存到记忆中,方便智能体日后回忆。','memoryPage.conversations.logTurns': '记录每个轮次','memoryPage.conversations.agentsTitle': '智能体',- 'memoryPage.conversations.agentsDescription': '已保存对话的智能体。打开其中一个,查看它存储了什么。',+ 'memoryPage.conversations.agentsDescription':+ '已保存对话的智能体。打开其中一个,查看它存储了什么。','memoryPage.conversations.agentsEmpty': '尚未保存任何对话。','memoryPage.conversations.itemsEmpty': '尚未为此智能体存储任何对话。','memoryPage.brain.sourcesTitle': '大脑',@@ -4822,7 +4825,8 @@ const messages: TranslationMap = {'memoryPage.background.outcome.skipped': '已跳过','memoryPage.background.outcome.failed': '失败','memoryPage.settings.recallTitle': '每个轮次中的记忆',- 'memoryPage.settings.recallDescription': '每次回复前,记忆会加入它所知道的相关内容。这些限制决定加入多少。',+ 'memoryPage.settings.recallDescription':+ '每次回复前,记忆会加入它所知道的相关内容。这些限制决定加入多少。','memoryPage.settings.recallEnabled': '为每个轮次添加记忆','memoryPage.settings.budget': '大小限制','memoryPage.settings.budgetHelp': '单个轮次最多添加的记忆量。',diff --git a/app/test/playwright/specs/memory-v2.spec.ts b/app/test/playwright/specs/memory-v2.spec.tsindex ae5f5a2d7f..7cac9c8ed8 100644--- a/app/test/playwright/specs/memory-v2.spec.ts+++ b/app/test/playwright/specs/memory-v2.spec.ts@@ -206,7 +206,11 @@ async function installMemoryFake(page: Page, opts: FakeOptions): Promise<MemoryFcase 'memory_brain_search':return { hits: [] };case 'memory_brain_ingest':- return { id: `doc-${nextId++}`, source: (params.source as string) ?? 'markdown', replayed: false };+ return {+ id: `doc-${nextId++}`,+ source: (params.source as string) ?? 'markdown',+ replayed: false,+ };case 'memory_brain_forget': {const index = brain.findIndex(b => b.source === params.source);const forgotten = index >= 0 ? brain[index].documents : 0;@@ -216,15 +220,17 @@ async function installMemoryFake(page: Page, opts: FakeOptions): Promise<MemoryFcase 'memory_jobs_list':return { pending: [...pendingJobs], history: [...jobHistory] };case 'memory_jobs_run': {- const runs = pendingJobs.splice(0).map(job => ({- id: job.id,- job: job.job.job,- root: job.root,- ran_at: '2026-10-01T09:05:00Z',- outcome: 'done',- built: 2,- stored: 2,- }));+ const runs = pendingJobs+ .splice(0)+ .map(job => ({+ id: job.id,+ job: job.job.job,+ root: job.root,+ ran_at: '2026-10-01T09:05:00Z',+ outcome: 'done',+ built: 2,+ stored: 2,+ }));jobHistory.unshift(...runs);return { runs };}diff --git a/tests/memory_cortexdb_live.rs b/tests/memory_cortexdb_live.rsindex a74371040a..655a5e9162 100644--- a/tests/memory_cortexdb_live.rs+++ b/tests/memory_cortexdb_live.rs@@ -11,11 +11,12 @@//!//! - **learnings**: `memory_learn`, read back with its metadata;//! - **documents**: a folder source synced, its files listed and fetched;-//! - **conversations**: a web-chat turn, ingested after the turn commits;+//! - **conversations**: a web-chat turn, logged by the turn's pre- and+//! post-turn hooks;//! - **recall** over all three;//! - **explorer**: a source drilled down to its files and read whole by id;-//! - **context.md**: compiled from the engine, written to disk, and injected-//! into the first message of the next new thread.+//! - **the memory pack**: what memory holds, injected into the next turn's+//! inference request, and the belief build the run queues.use std::net::TcpListener;use std::path::{Path, PathBuf};@@ -93,8 +94,9 @@ endpoint = "{cortex_url}"[memory.conversations]enabled = true-batch_turns = 1-idle_secs = 30++[memory.recall]+build_delay_secs = 0"#);let _: openhuman_core::config::Config =@@ -503,35 +505,13 @@ async fn run(cortex_url: String, cortex_key: String) {conversation["meta"]["agent_id"].is_string(),"{conversation}");- // The engine write lands before the batch is recorded as stored, so- // the listing can briefly lead `recent`.- let deadline = Instant::now() + PATIENCE;- loop {- let recent = stack- .ok("openhuman.memory_conversations_get", json!({}))- .await;- if recent["recent"]+ let agents = stack.ok("openhuman.memory_agents_list", json!({})).await;+ assert!(+ agents["agents"].as_array()- .is_some_and(|r| r.iter().any(|c| c["thread_id"] == json!(thread_a)))- {- break;- }- let states: Vec<String> = find_files(stack.home.path(), "conversations_state.json")- .iter()- .map(|p| {- format!(- "{}: {}",- p.display(),- std::fs::read_to_string(p).unwrap_or_default()- )- })- .collect();- assert!(- Instant::now() < deadline,- "the thread never shows as recently stored: {recent}\nstate files: {states:#?}"- );- tokio::time::sleep(Duration::from_millis(500)).await;- }+ .is_some_and(|a| !a.is_empty()),+ "the answering agent is listed: {agents}"+ );// ---- recall over everything -----------------------------------------------let recalled = stack@@ -555,70 +535,21 @@ async fn run(cortex_url: String, cortex_key: String) {"recall cites what it used: {recalled}");- // ---- context.md: compiled by its cron job, persisted, injected ------------- // The core seeds `memory_context_refresh` as a system cron job at boot;- // run it the way the scheduler would and wait for the file it writes.- let jobs = stack.ok("openhuman.cron_list", json!({})).await;- let jobs = jobs- .get("jobs")- .and_then(Value::as_array)- .or_else(|| jobs.as_array())- .cloned()- .unwrap_or_default();- let job = jobs- .iter()- .find(|job| job["name"] == json!("memory_context_refresh"))- .unwrap_or_else(|| panic!("memory_context_refresh is seeded: {jobs:?}"));- assert!(- jobs.iter()- .any(|job| job["name"] == json!("memory_sources_sync")),- "memory_sources_sync is seeded: {jobs:?}"- );- stack- .ok("openhuman.cron_run", json!({ "job_id": job["id"] }))- .await;- let deadline = Instant::now() + PATIENCE;- let context = loop {- let context = stack.ok("openhuman.memory_context_get", json!({})).await;- if context["generated_at"].is_string() {- break context;- }- assert!(- Instant::now() < deadline,- "the cron job never compiled context.md: {context}\n--- core log tail ---\n{}",- stack.log_tail()- );- tokio::time::sleep(Duration::from_millis(500)).await;- };- let markdown = context["markdown"].as_str().unwrap_or_default().to_string();- assert!(- markdown.contains("The user prefers launch events in Lisbon."),- "context.md lists the learning:\n{markdown}"- );- assert!(- markdown.contains("engine: cortexdb"),- "frontmatter names the engine:\n{markdown}"- );- assert!(context["tokens"].as_u64().unwrap_or(0) > 0, "{context}");- let on_disk = find_file(stack.home.path(), "context.md").expect("context.md is written");- assert_eq!(- std::fs::read_to_string(&on_disk).expect("read context.md"),- markdown,- "the file on disk is what context_get serves"- );-- // The on-demand refresh compiles the same brief again.- let refreshed = stack- .ok("openhuman.memory_context_refresh", json!({}))+ // ---- the memory pack: previewed, then injected into the next turn ---------+ let preview = stack+ .ok(+ "openhuman.memory_pack_preview",+ json!({ "query": "Where do we hold launch events?" }),+ ).await;assert!(- refreshed["markdown"]+ preview["pack"]["markdown"].as_str()- .is_some_and(|m| m.contains("The user prefers launch events in Lisbon.")),- "{refreshed}"+ .is_some_and(|m| m.contains("launch events in Lisbon")),+ "the pack carries the learning: {preview}");- stack.chat(&thread_b, "What should I plan next?").await;+ stack.chat(&thread_b, "Where do we hold launch events?").await;let deadline = Instant::now() + PATIENCE;loop {let injected = stack.mock_bodies().await.into_iter().any(|(url, body)| {@@ -631,12 +562,21 @@ async fn run(cortex_url: String, cortex_key: String) {}assert!(Instant::now() < deadline,- "the new thread's first inference request never carried context.md\n--- core log tail ---\n{}",+ "the turn's inference request never carried the memory pack\n--- core log tail ---\n{}",stack.log_tail());tokio::time::sleep(Duration::from_millis(500)).await;}+ // ---- background: the queued belief builds run on demand -------------------+ let jobs = stack.ok("openhuman.memory_jobs_run", json!({})).await;+ assert!(+ jobs["runs"].as_array().is_some_and(|runs| runs+ .iter()+ .all(|run| run["outcome"] != json!("failed"))),+ "belief builds run on CortexDB: {jobs}"+ );+// ---- forget ----------------------------------------------------------------let forgotten = stack.ok("openhuman.memory_forget", json!({ "ids": [learning_id] }))@@ -651,10 +591,6 @@ async fn run(cortex_url: String, cortex_key: String) {.await;}-fn find_file(root: &Path, name: &str) -> Option<PathBuf> {- find_files(root, name).into_iter().next()-}-fn find_files(root: &Path, name: &str) -> Vec<PathBuf> {let mut found = Vec::new();for entry in std::fs::read_dir(root).into_iter().flatten().flatten() {