Skip to content

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

chore(i18n): standardize string quoting and update subproject

Steven Enamakelc0beb1ce77f9
diff --git a/app/src/components/memory/MemoryContextTab.test.tsx b/app/src/components/memory/MemoryContextTab.test.tsx
index f8c69410b1..02e50ce355 100644
--- a/app/src/components/memory/MemoryContextTab.test.tsx
+++ b/app/src/components/memory/MemoryContextTab.test.tsx
@@ -34,14 +34,16 @@ beforeEach(() => {
hoisted.get.mockReset().mockResolvedValue(CTX);
hoisted.refresh.mockReset();
hoisted.set.mockReset();
- hoisted.explore.mockReset().mockResolvedValue({
- facet: 'namespace',
- buckets: [{ value: 'root', count: 3 }],
- total: 3,
- missing: 0,
- more_buckets: 0,
- truncated: false,
- });
+ hoisted.explore
+ .mockReset()
+ .mockResolvedValue({
+ facet: 'namespace',
+ buckets: [{ value: 'root', count: 3 }],
+ total: 3,
+ missing: 0,
+ more_buckets: 0,
+ truncated: false,
+ });
});
describe('MemoryContextTab', () => {
@@ -112,9 +114,7 @@ describe('MemoryContextTab', () => {
truncated: false,
});
hoisted.get.mockImplementation(async (node: string) =>
- node === 'agent:researcher'
- ? { ...CTX, namespace: node, markdown: 'Prefers **arxiv**' }
- : CTX
+ node === 'agent:researcher' ? { ...CTX, namespace: node, markdown: 'Prefers **arxiv**' } : CTX
);
hoisted.refresh.mockImplementation(async (node: string) => ({
...CTX,
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index 24fc1216c8..7cacc95b34 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -4758,10 +4758,10 @@ const messages: TranslationMap = {
'memoryPage.header.context': 'الموجز الذي تبدأ به كل محادثة جديدة، مُعدّ من ذاكرتك.',
'memoryPage.loading': 'جارٍ تحميل الذاكرة…',
'memoryPage.loadMore': 'تحميل المزيد',
- 'memoryPage.explorer.facet.namespace': "عقدة الذاكرة",
- 'memoryPage.explorer.namespace.root': "مشتركة (الجذر)",
- 'memoryPage.context.node': "عقدة الذاكرة",
- 'memoryPage.context.nodeHint': "لكل وكيل ملخصه الخاص، المبني من ذاكرته الخاصة ومما يُشارَك معه.",
+ 'memoryPage.explorer.facet.namespace': 'عقدة الذاكرة',
+ 'memoryPage.explorer.namespace.root': 'مشتركة (الجذر)',
+ 'memoryPage.context.node': 'عقدة الذاكرة',
+ 'memoryPage.context.nodeHint': 'لكل وكيل ملخصه الخاص، المبني من ذاكرته الخاصة ومما يُشارَك معه.',
'memoryPage.backfill.title': 'المحادثات السابقة',
'memoryPage.backfill.description':
'لا تُحفظ المحادثات السابقة لتفعيل الحفظ التلقائي في الذاكرة حتى تزامنها.',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index e8c1f23153..40c12f502c 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -4851,10 +4851,11 @@ const messages: TranslationMap = {
'memoryPage.header.context': 'প্রতিটি নতুন চ্যাটের শুরুর সারসংক্ষেপ, যা আপনার মেমোরি থেকে তৈরি।',
'memoryPage.loading': 'মেমোরি লোড হচ্ছে…',
'memoryPage.loadMore': 'আরও লোড করুন',
- 'memoryPage.explorer.facet.namespace': "মেমোরি নোড",
- 'memoryPage.explorer.namespace.root': "শেয়ার করা (রুট)",
- 'memoryPage.context.node': "মেমোরি নোড",
- 'memoryPage.context.nodeHint': "প্রতিটি এজেন্টের নিজস্ব সারাংশ আছে, যা তার নিজের মেমোরি এবং তার সঙ্গে শেয়ার করা তথ্য থেকে তৈরি।",
+ 'memoryPage.explorer.facet.namespace': 'মেমোরি নোড',
+ 'memoryPage.explorer.namespace.root': 'শেয়ার করা (রুট)',
+ 'memoryPage.context.node': 'মেমোরি নোড',
+ 'memoryPage.context.nodeHint':
+ 'প্রতিটি এজেন্টের নিজস্ব সারাংশ আছে, যা তার নিজের মেমোরি এবং তার সঙ্গে শেয়ার করা তথ্য থেকে তৈরি।',
'memoryPage.backfill.title': 'আগের কথোপকথন',
'memoryPage.backfill.description':
'স্বয়ংক্রিয় সংরক্ষণ চালুর আগের চ্যাটগুলো সিঙ্ক না করা পর্যন্ত মেমোরিতে থাকে না।',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index d6025a5727..515824f587 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -4987,10 +4987,11 @@ const messages: TranslationMap = {
'Die Kurzfassung, mit der jeder neue Chat beginnt, erstellt aus deinem Gedächtnis.',
'memoryPage.loading': 'Gedächtnis wird geladen…',
'memoryPage.loadMore': 'Mehr laden',
- 'memoryPage.explorer.facet.namespace': "Gedächtnisknoten",
- 'memoryPage.explorer.namespace.root': "Geteilt (Wurzel)",
- 'memoryPage.context.node': "Gedächtnisknoten",
- 'memoryPage.context.nodeHint': "Jeder Agent hat eine eigene Zusammenfassung aus seinem eigenen Gedächtnis und dem, was mit ihm geteilt wird.",
+ 'memoryPage.explorer.facet.namespace': 'Gedächtnisknoten',
+ 'memoryPage.explorer.namespace.root': 'Geteilt (Wurzel)',
+ 'memoryPage.context.node': 'Gedächtnisknoten',
+ 'memoryPage.context.nodeHint':
+ 'Jeder Agent hat eine eigene Zusammenfassung aus seinem eigenen Gedächtnis und dem, was mit ihm geteilt wird.',
'memoryPage.backfill.title': 'Frühere Unterhaltungen',
'memoryPage.backfill.description':
'Chats von vor dem Einschalten der automatischen Speicherung sind erst im Gedächtnis, wenn Sie sie synchronisieren.',
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index ff94b3d607..029ab4bf20 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -5130,10 +5130,11 @@ const en: TranslationMap = {
'memoryPage.header.context': 'The brief every new chat starts with, compiled from your memory.',
'memoryPage.loading': 'Loading memory…',
'memoryPage.loadMore': 'Load more',
- 'memoryPage.explorer.facet.namespace': "Memory node",
- 'memoryPage.explorer.namespace.root': "Shared (root)",
- 'memoryPage.context.node': "Memory node",
- 'memoryPage.context.nodeHint': "Each agent has its own brief, built from its own memory and what is shared with it.",
+ 'memoryPage.explorer.facet.namespace': 'Memory node',
+ 'memoryPage.explorer.namespace.root': 'Shared (root)',
+ 'memoryPage.context.node': 'Memory node',
+ 'memoryPage.context.nodeHint':
+ 'Each agent has its own brief, built from its own memory and what is shared with it.',
'memoryPage.backfill.title': 'Past conversations',
'memoryPage.backfill.description':
'Chats from before automatic saving was turned on are not in memory until you sync them.',
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index fea11a4021..b2c38f2d73 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -4945,10 +4945,11 @@ const messages: TranslationMap = {
'El resumen con el que empieza cada chat nuevo, compilado a partir de tu memoria.',
'memoryPage.loading': 'Cargando memoria…',
'memoryPage.loadMore': 'Cargar más',
- 'memoryPage.explorer.facet.namespace': "Nodo de memoria",
- 'memoryPage.explorer.namespace.root': "Compartido (raíz)",
- 'memoryPage.context.node': "Nodo de memoria",
- 'memoryPage.context.nodeHint': "Cada agente tiene su propio resumen, creado a partir de su propia memoria y de lo que se comparte con él.",
+ 'memoryPage.explorer.facet.namespace': 'Nodo de memoria',
+ 'memoryPage.explorer.namespace.root': 'Compartido (raíz)',
+ 'memoryPage.context.node': 'Nodo de memoria',
+ 'memoryPage.context.nodeHint':
+ 'Cada agente tiene su propio resumen, creado a partir de su propia memoria y de lo que se comparte con él.',
'memoryPage.backfill.title': 'Conversaciones anteriores',
'memoryPage.backfill.description':
'Los chats de antes de activar el guardado automático no están en la memoria hasta que los sincronices.',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index cdf6ec36a6..dfaacf7441 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -4967,10 +4967,11 @@ const messages: TranslationMap = {
'Le résumé qui ouvre chaque nouvelle discussion, compilé à partir de votre mémoire.',
'memoryPage.loading': 'Chargement de la mémoire…',
'memoryPage.loadMore': 'Charger plus',
- 'memoryPage.explorer.facet.namespace': "Nœud de mémoire",
- 'memoryPage.explorer.namespace.root': "Partagé (racine)",
- 'memoryPage.context.node': "Nœud de mémoire",
- 'memoryPage.context.nodeHint': "Chaque agent a son propre résumé, construit à partir de sa propre mémoire et de ce qui est partagé avec lui.",
+ 'memoryPage.explorer.facet.namespace': 'Nœud de mémoire',
+ 'memoryPage.explorer.namespace.root': 'Partagé (racine)',
+ 'memoryPage.context.node': 'Nœud de mémoire',
+ 'memoryPage.context.nodeHint':
+ 'Chaque agent a son propre résumé, construit à partir de sa propre mémoire et de ce qui est partagé avec lui.',
'memoryPage.backfill.title': 'Conversations passées',
'memoryPage.backfill.description':
'Les discussions antérieures à l’activation de l’enregistrement automatique ne sont en mémoire qu’une fois synchronisées.',
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index 6d1be8f5b7..c345b47549 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -4852,10 +4852,11 @@ const messages: TranslationMap = {
'memoryPage.header.context': 'हर नई चैट की शुरुआत का सार, जो आपकी मेमोरी से तैयार किया जाता है।',
'memoryPage.loading': 'मेमोरी लोड हो रही है…',
'memoryPage.loadMore': 'और लोड करें',
- 'memoryPage.explorer.facet.namespace': "मेमोरी नोड",
- 'memoryPage.explorer.namespace.root': "साझा (रूट)",
- 'memoryPage.context.node': "मेमोरी नोड",
- 'memoryPage.context.nodeHint': "हर एजेंट का अपना सार होता है, जो उसकी अपनी मेमोरी और उसके साथ साझा की गई जानकारी से बनता है।",
+ 'memoryPage.explorer.facet.namespace': 'मेमोरी नोड',
+ 'memoryPage.explorer.namespace.root': 'साझा (रूट)',
+ 'memoryPage.context.node': 'मेमोरी नोड',
+ 'memoryPage.context.nodeHint':
+ 'हर एजेंट का अपना सार होता है, जो उसकी अपनी मेमोरी और उसके साथ साझा की गई जानकारी से बनता है।',
'memoryPage.backfill.title': 'पिछली बातचीत',
'memoryPage.backfill.description':
'स्वचालित सहेजना चालू होने से पहले की चैट तब तक मेमोरी में नहीं होतीं जब तक आप उन्हें सिंक न करें।',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index 37dc6b7593..a2179f5655 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -4892,10 +4892,11 @@ const messages: TranslationMap = {
'Ringkasan yang mengawali setiap obrolan baru, disusun dari memori Anda.',
'memoryPage.loading': 'Memuat memori…',
'memoryPage.loadMore': 'Muat lebih banyak',
- 'memoryPage.explorer.facet.namespace': "Simpul memori",
- 'memoryPage.explorer.namespace.root': "Bersama (akar)",
- 'memoryPage.context.node': "Simpul memori",
- 'memoryPage.context.nodeHint': "Setiap agen punya ringkasannya sendiri, dibuat dari memorinya sendiri dan apa yang dibagikan kepadanya.",
+ 'memoryPage.explorer.facet.namespace': 'Simpul memori',
+ 'memoryPage.explorer.namespace.root': 'Bersama (akar)',
+ 'memoryPage.context.node': 'Simpul memori',
+ 'memoryPage.context.nodeHint':
+ 'Setiap agen punya ringkasannya sendiri, dibuat dari memorinya sendiri dan apa yang dibagikan kepadanya.',
'memoryPage.backfill.title': 'Percakapan sebelumnya',
'memoryPage.backfill.description':
'Obrolan dari sebelum penyimpanan otomatis aktif belum ada di memori sampai Anda menyinkronkannya.',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index e7b3668489..d6246bbdf0 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -4931,10 +4931,11 @@ const messages: TranslationMap = {
'Il riepilogo con cui inizia ogni nuova chat, compilato dalla tua memoria.',
'memoryPage.loading': 'Caricamento della memoria…',
'memoryPage.loadMore': 'Carica altro',
- 'memoryPage.explorer.facet.namespace': "Nodo di memoria",
- 'memoryPage.explorer.namespace.root': "Condiviso (radice)",
- 'memoryPage.context.node': "Nodo di memoria",
- 'memoryPage.context.nodeHint': "Ogni agente ha il proprio riepilogo, costruito dalla propria memoria e da ciò che viene condiviso con lui.",
+ 'memoryPage.explorer.facet.namespace': 'Nodo di memoria',
+ 'memoryPage.explorer.namespace.root': 'Condiviso (radice)',
+ 'memoryPage.context.node': 'Nodo di memoria',
+ 'memoryPage.context.nodeHint':
+ 'Ogni agente ha il proprio riepilogo, costruito dalla propria memoria e da ciò che viene condiviso con lui.',
'memoryPage.backfill.title': 'Conversazioni passate',
'memoryPage.backfill.description':
'Le chat precedenti all’attivazione del salvataggio automatico non sono in memoria finché non le sincronizzi.',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index 0818eed305..8ea3e75509 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -4806,10 +4806,11 @@ const messages: TranslationMap = {
'메모리를 바탕으로 만들어져 모든 새 채팅의 시작에 쓰이는 요약입니다.',
'memoryPage.loading': '메모리 불러오는 중…',
'memoryPage.loadMore': '더 보기',
- 'memoryPage.explorer.facet.namespace': "메모리 노드",
- 'memoryPage.explorer.namespace.root': "공유(루트)",
- 'memoryPage.context.node': "메모리 노드",
- 'memoryPage.context.nodeHint': "에이전트마다 자기 메모리와 공유된 내용으로 만든 자체 요약이 있습니다.",
+ 'memoryPage.explorer.facet.namespace': '메모리 노드',
+ 'memoryPage.explorer.namespace.root': '공유(루트)',
+ 'memoryPage.context.node': '메모리 노드',
+ 'memoryPage.context.nodeHint':
+ '에이전트마다 자기 메모리와 공유된 내용으로 만든 자체 요약이 있습니다.',
'memoryPage.backfill.title': '이전 대화',
'memoryPage.backfill.description':
'자동 저장을 켜기 전의 채팅은 동기화하기 전까지 메모리에 없습니다.',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index 9daffebf70..ce294e0975 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -4919,10 +4919,11 @@ const messages: TranslationMap = {
'Podsumowanie, od którego zaczyna się każdy nowy czat, zebrane z Twojej pamięci.',
'memoryPage.loading': 'Wczytywanie pamięci…',
'memoryPage.loadMore': 'Wczytaj więcej',
- 'memoryPage.explorer.facet.namespace': "Węzeł pamięci",
- 'memoryPage.explorer.namespace.root': "Wspólny (korzeń)",
- 'memoryPage.context.node': "Węzeł pamięci",
- 'memoryPage.context.nodeHint': "Każdy agent ma własne podsumowanie, zbudowane z jego własnej pamięci i tego, co jest mu udostępnione.",
+ 'memoryPage.explorer.facet.namespace': 'Węzeł pamięci',
+ 'memoryPage.explorer.namespace.root': 'Wspólny (korzeń)',
+ 'memoryPage.context.node': 'Węzeł pamięci',
+ 'memoryPage.context.nodeHint':
+ 'Każdy agent ma własne podsumowanie, zbudowane z jego własnej pamięci i tego, co jest mu udostępnione.',
'memoryPage.backfill.title': 'Wcześniejsze rozmowy',
'memoryPage.backfill.description':
'Czaty sprzed włączenia automatycznego zapisu trafią do pamięci dopiero po synchronizacji.',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index bf1efb9bf5..3ddcdae0ce 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -4920,10 +4920,11 @@ const messages: TranslationMap = {
'O resumo com que cada novo chat começa, compilado a partir da sua memória.',
'memoryPage.loading': 'Carregando memória…',
'memoryPage.loadMore': 'Carregar mais',
- 'memoryPage.explorer.facet.namespace': "Nó de memória",
- 'memoryPage.explorer.namespace.root': "Compartilhado (raiz)",
- 'memoryPage.context.node': "Nó de memória",
- 'memoryPage.context.nodeHint': "Cada agente tem seu próprio resumo, criado a partir da própria memória e do que é compartilhado com ele.",
+ 'memoryPage.explorer.facet.namespace': 'Nó de memória',
+ 'memoryPage.explorer.namespace.root': 'Compartilhado (raiz)',
+ 'memoryPage.context.node': 'Nó de memória',
+ 'memoryPage.context.nodeHint':
+ 'Cada agente tem seu próprio resumo, criado a partir da própria memória e do que é compartilhado com ele.',
'memoryPage.backfill.title': 'Conversas anteriores',
'memoryPage.backfill.description':
'Conversas de antes de ativar o salvamento automático não estão na memória até você sincronizá-las.',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 5bfdf2679a..8efcf5513b 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -4902,10 +4902,11 @@ const messages: TranslationMap = {
'Сводка, с которой начинается каждый новый чат, собранная из вашей памяти.',
'memoryPage.loading': 'Загрузка памяти…',
'memoryPage.loadMore': 'Загрузить ещё',
- 'memoryPage.explorer.facet.namespace': "Узел памяти",
- 'memoryPage.explorer.namespace.root': "Общий (корень)",
- 'memoryPage.context.node': "Узел памяти",
- 'memoryPage.context.nodeHint': "У каждого агента своя сводка, собранная из его собственной памяти и того, что ему доступно из общей.",
+ 'memoryPage.explorer.facet.namespace': 'Узел памяти',
+ 'memoryPage.explorer.namespace.root': 'Общий (корень)',
+ 'memoryPage.context.node': 'Узел памяти',
+ 'memoryPage.context.nodeHint':
+ 'У каждого агента своя сводка, собранная из его собственной памяти и того, что ему доступно из общей.',
'memoryPage.backfill.title': 'Прошлые разговоры',
'memoryPage.backfill.description':
'Чаты, созданные до включения автосохранения, попадут в память только после синхронизации.',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index a4ea9212f8..142ac580da 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -4580,10 +4580,10 @@ const messages: TranslationMap = {
'memoryPage.header.context': '每个新聊天开始时使用的简报,由你的记忆汇总生成。',
'memoryPage.loading': '正在加载记忆…',
'memoryPage.loadMore': '加载更多',
- 'memoryPage.explorer.facet.namespace': "记忆节点",
- 'memoryPage.explorer.namespace.root': "共享(根)",
- 'memoryPage.context.node': "记忆节点",
- 'memoryPage.context.nodeHint': "每个智能体都有自己的简报,由它自己的记忆和与它共享的内容生成。",
+ 'memoryPage.explorer.facet.namespace': '记忆节点',
+ 'memoryPage.explorer.namespace.root': '共享(根)',
+ 'memoryPage.context.node': '记忆节点',
+ 'memoryPage.context.nodeHint': '每个智能体都有自己的简报,由它自己的记忆和与它共享的内容生成。',
'memoryPage.backfill.title': '过往会话',
'memoryPage.backfill.description': '在开启自动保存之前的聊天,需要同步后才会进入记忆。',
'memoryPage.backfill.pending': '还有 {threads} 个聊天({turns} 个轮次)未进入记忆。',
diff --git a/vendor/tinymemory b/vendor/tinymemory
index 843d403c0d..345b1183ea 160000
--- a/vendor/tinymemory
+++ b/vendor/tinymemory
@@ -1 +1 @@
-Subproject commit 843d403c0d9dd0f1c7da62f772f8550699f0e8d6
+Subproject commit 345b1183eaf9a71a2f70c7f04c9bb526733daa87