Skip to content

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

feat(i18n): add boot check failure messages to all locales

Steven Enamakel5ce408dac32b
diff --git a/app/src/components/BootCheckGate/BootCheckGate.tsx b/app/src/components/BootCheckGate/BootCheckGate.tsx
index 076740658b..6ba5874898 100644
--- a/app/src/components/BootCheckGate/BootCheckGate.tsx
+++ b/app/src/components/BootCheckGate/BootCheckGate.tsx
@@ -108,6 +108,7 @@ type TestStatus =
| { kind: 'idle' }
| { kind: 'testing' }
| { kind: 'ok' }
+ | { kind: 'socketDisabled' }
| { kind: 'auth' }
| { kind: 'unreachable'; reason: string };
@@ -200,7 +201,7 @@ function ModePicker({ onConfirm }: PickerProps) {
} catch {
// Non-JSON body is unusual but doesn't disprove reachability.
}
- const realtime = await probeCoreRealtime(validated.url);
+ const realtime = await probeCoreRealtime(validated.url, { signal: AbortSignal.timeout(10_000) });
if (realtime === 'disabled') {
log('[boot-check] picker — RPC ok but realtime (Socket.IO) is disabled on the core');
setTestStatus({ kind: 'socketDisabled' });
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index afd959467a..d9b293d6fd 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -1666,6 +1666,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'متصل. أنت جاهز للانطلاق.',
'bootCheck.authFailed': 'الرمز لم ينجح. تحقق منه وحاول مرة أخرى.',
'bootCheck.unreachablePrefix': 'تعذّر الوصول إليه:',
+ 'bootCheck.socketDisabled': 'تم الاتصال، لكن الوقت الفعلي معطّل في هذا النواة. بدأ تشغيلها بالخيار --jsonrpc-only؛ أعد تشغيلها بدونه لتعمل المحادثة والتحديثات الفورية.',
'bootCheck.checkingCore': 'جارٍ تشغيل OpenHuman…',
'bootCheck.cannotReach': 'تعذّر الوصول إليه',
'bootCheck.cannotReachDesc': 'تعذّر الاتصال. هل تريد المحاولة في مكان آخر؟',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index a7ff6cb6f8..6faced2e99 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -1697,6 +1697,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'সংযুক্ত। সব ঠিকঠাক।',
'bootCheck.authFailed': 'টোকেনটি কাজ করেনি। আবার পরীক্ষা করুন।',
'bootCheck.unreachablePrefix': 'পৌঁছানো যায়নি:',
+ 'bootCheck.socketDisabled': 'সংযুক্ত হয়েছে, কিন্তু এই কোরে রিয়েলটাইম বন্ধ আছে। এটি --jsonrpc-only দিয়ে চালু হয়েছে; চ্যাট ও লাইভ আপডেট কাজ করাতে ওই ফ্ল্যাগ ছাড়া আবার চালু করুন।',
'bootCheck.checkingCore': 'OpenHuman চালু হচ্ছে…',
'bootCheck.cannotReach': 'পৌঁছানো যাচ্ছে না',
'bootCheck.cannotReachDesc': 'আমরা সংযোগ করতে পারিনি। অন্য কোথাও চেষ্টা করতে চান?',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index 88959da098..e169831778 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -1752,6 +1752,7 @@ const messages: TranslationMap = {
'bootCheck.authFailed':
'Dieser Token hat nicht funktioniert. Prüfe ihn noch einmal und versuche es erneut.',
'bootCheck.unreachablePrefix': 'Konnte es nicht erreichen:',
+ 'bootCheck.socketDisabled': 'Verbunden, aber Echtzeit ist auf diesem Core deaktiviert. Er wurde mit --jsonrpc-only gestartet; starte ihn ohne dieses Flag neu, damit Chat und Live-Updates funktionieren.',
'bootCheck.checkingCore': 'OpenHuman wird gestartet…',
'bootCheck.cannotReach': 'Keine Verbindung möglich',
'bootCheck.cannotReachDesc':
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index c7f6b55d4d..1c2fb8ec9c 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -1956,6 +1956,7 @@ const en: TranslationMap = {
'bootCheck.connectedOk': "Connected. You're good to go.",
'bootCheck.authFailed': "That token didn't work. Double-check it and try again.",
'bootCheck.unreachablePrefix': "Couldn't reach it:",
+ 'bootCheck.socketDisabled': 'Connected, but realtime is off on this core. It was started with --jsonrpc-only; restart it without that flag so chat and live updates work.',
'bootCheck.checkingCore': 'Starting OpenHuman…',
'bootCheck.cannotReach': "Can't reach it",
'bootCheck.cannotReachDesc': "We couldn't connect. Want to try somewhere else?",
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index 1e21a7c84e..7905e933b4 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -1735,6 +1735,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Conectado. Todo listo.',
'bootCheck.authFailed': 'Ese token no funcionó. Verifícalo e inténtalo de nuevo.',
'bootCheck.unreachablePrefix': 'No se pudo alcanzar:',
+ 'bootCheck.socketDisabled': 'Conectado, pero el tiempo real está desactivado en este núcleo. Se inició con --jsonrpc-only; reinícialo sin ese indicador para que funcionen el chat y las actualizaciones en vivo.',
'bootCheck.checkingCore': 'Iniciando OpenHuman…',
'bootCheck.cannotReach': 'No se puede conectar',
'bootCheck.cannotReachDesc': 'No pudimos conectarnos. ¿Quieres probar en otro lugar?',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index 8812297865..2bfd484454 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -1745,6 +1745,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Connecté. Tu es prêt.',
'bootCheck.authFailed': "Ce token n'a pas fonctionné. Vérifie-le et réessaie.",
'bootCheck.unreachablePrefix': "Impossible de l'atteindre :",
+ 'bootCheck.socketDisabled': 'Connecté, mais le temps réel est désactivé sur ce cœur. Il a été lancé avec --jsonrpc-only ; relance-le sans cette option pour que le chat et les mises à jour en direct fonctionnent.',
'bootCheck.checkingCore': "Démarrage d'OpenHuman…",
'bootCheck.cannotReach': 'Connexion impossible',
'bootCheck.cannotReachDesc': "Nous n'avons pas pu nous connecter. Voulez-vous essayer ailleurs ?",
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index ebdb35845a..55fc0a02f8 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -1700,6 +1700,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'कनेक्ट हो गया। आप तैयार हैं।',
'bootCheck.authFailed': 'वह टोकन काम नहीं किया। दोबारा चेक करके कोशिश करें।',
'bootCheck.unreachablePrefix': 'नहीं पहुँच पाए:',
+ 'bootCheck.socketDisabled': 'कनेक्ट हो गया, लेकिन इस कोर पर रीयलटाइम बंद है। इसे --jsonrpc-only के साथ शुरू किया गया था; चैट और लाइव अपडेट के लिए इसे इस फ़्लैग के बिना दोबारा शुरू करें।',
'bootCheck.checkingCore': 'OpenHuman शुरू हो रहा है…',
'bootCheck.cannotReach': 'पहुँच नहीं पा रहे',
'bootCheck.cannotReachDesc': 'हम कनेक्ट नहीं कर सके। क्या कहीं और कोशिश करना चाहेंगे?',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index b7e8bc3128..1855b79af6 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -1713,6 +1713,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Terhubung. Anda siap melanjutkan.',
'bootCheck.authFailed': 'Token tersebut tidak berfungsi. Periksa kembali dan coba lagi.',
'bootCheck.unreachablePrefix': 'Tidak dapat mencapainya:',
+ 'bootCheck.socketDisabled': 'Terhubung, tetapi realtime nonaktif pada core ini. Core dijalankan dengan --jsonrpc-only; jalankan ulang tanpa flag itu agar chat dan pembaruan langsung berfungsi.',
'bootCheck.checkingCore': 'Memulai OpenHuman…',
'bootCheck.cannotReach': 'Tidak dapat terhubung',
'bootCheck.cannotReachDesc': 'Kami tidak dapat terhubung. Ingin mencoba di tempat lain?',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index ba6fbcf7c9..aaaadec45b 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -1733,6 +1733,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Connesso. Tutto a posto.',
'bootCheck.authFailed': 'Token non valido. Controllalo e riprova.',
'bootCheck.unreachablePrefix': 'Impossibile raggiungerlo:',
+ 'bootCheck.socketDisabled': 'Connesso, ma il tempo reale è disattivato su questo core. È stato avviato con --jsonrpc-only; riavvialo senza quel flag perché chat e aggiornamenti in tempo reale funzionino.',
'bootCheck.checkingCore': 'Avvio di OpenHuman…',
'bootCheck.cannotReach': 'Impossibile raggiungerlo',
'bootCheck.cannotReachDesc': 'Non siamo riusciti a connetterci. Vuoi provare altrove?',
diff --git a/app/src/lib/i18n/ja.ts b/app/src/lib/i18n/ja.ts
index 5d6a60e3bf..344e0a1f0b 100644
--- a/app/src/lib/i18n/ja.ts
+++ b/app/src/lib/i18n/ja.ts
@@ -1948,6 +1948,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': '接続しました。準備完了です。',
'bootCheck.authFailed': 'トークンが認証されませんでした。確認してから、もう一度お試しください。',
'bootCheck.unreachablePrefix': '接続できませんでした:',
+ 'bootCheck.socketDisabled': '接続できましたが、このコアではリアルタイム機能がオフです。--jsonrpc-only で起動されています。チャットとライブ更新を使うには、このフラグなしで再起動してください。',
'bootCheck.checkingCore': 'ランタイムを起動しています…',
'bootCheck.cannotReach': 'ランタイムに接続できません',
'bootCheck.cannotReachDesc': 'ランタイムに接続できませんでした。別のランタイムを試しますか?',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index 2dd85833f5..944150f503 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -1686,6 +1686,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': '연결되었습니다. 사용할 준비가 되었습니다.',
'bootCheck.authFailed': '해당 토큰이 작동하지 않았습니다. 다시 확인하고 시도하세요.',
'bootCheck.unreachablePrefix': '연결할 수 없습니다:',
+ 'bootCheck.socketDisabled': '연결되었지만 이 코어에서는 실시간 기능이 꺼져 있습니다. --jsonrpc-only로 시작되었습니다. 채팅과 실시간 업데이트를 쓰려면 이 플래그 없이 다시 시작하세요.',
'bootCheck.checkingCore': 'OpenHuman을 시작하는 중…',
'bootCheck.cannotReach': '연결할 수 없습니다',
'bootCheck.cannotReachDesc': '연결하지 못했습니다. 다른 곳에서 시도해 볼까요?',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index 24f98ebbdc..b2585c78d8 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -1719,6 +1719,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Połączono. Możesz działać.',
'bootCheck.authFailed': 'Ten token nie zadziałał. Sprawdź go i spróbuj ponownie.',
'bootCheck.unreachablePrefix': 'Nie udało się połączyć:',
+ 'bootCheck.socketDisabled': 'Połączono, ale czas rzeczywisty jest wyłączony w tym rdzeniu. Uruchomiono go z --jsonrpc-only; uruchom go ponownie bez tej flagi, aby czat i aktualizacje na żywo działały.',
'bootCheck.checkingCore': 'Uruchamianie OpenHuman…',
'bootCheck.cannotReach': 'Nie można się połączyć',
'bootCheck.cannotReachDesc': 'Nie udało się połączyć. Chcesz spróbować gdzie indziej?',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index d1e6f2451a..431aed9788 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -1731,6 +1731,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Conectado. Tudo pronto.',
'bootCheck.authFailed': 'Esse token não funcionou. Verifique-o e tente novamente.',
'bootCheck.unreachablePrefix': 'Não foi possível alcançar:',
+ 'bootCheck.socketDisabled': 'Conectado, mas o tempo real está desativado neste núcleo. Ele foi iniciado com --jsonrpc-only; reinicie-o sem essa opção para o chat e as atualizações ao vivo funcionarem.',
'bootCheck.checkingCore': 'Iniciando o OpenHuman…',
'bootCheck.cannotReach': 'Não foi possível conectar',
'bootCheck.cannotReachDesc': 'Não conseguimos nos conectar. Quer tentar em outro lugar?',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 010c928393..346522820e 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -1714,6 +1714,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Подключено. Всё готово.',
'bootCheck.authFailed': 'Токен не подошёл. Проверь его и попробуй снова.',
'bootCheck.unreachablePrefix': 'Не удалось достучаться:',
+ 'bootCheck.socketDisabled': 'Подключено, но реальное время на этом ядре отключено. Оно запущено с --jsonrpc-only; перезапусти его без этого флага, чтобы работали чат и живые обновления.',
'bootCheck.checkingCore': 'Запускаем OpenHuman…',
'bootCheck.cannotReach': 'Не удаётся подключиться',
'bootCheck.cannotReachDesc': 'Нам не удалось подключиться. Попробовать другой вариант?',
diff --git a/app/src/lib/i18n/tr.ts b/app/src/lib/i18n/tr.ts
index e7754b7b5c..ccfcaa5581 100644
--- a/app/src/lib/i18n/tr.ts
+++ b/app/src/lib/i18n/tr.ts
@@ -1761,6 +1761,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': 'Bağlandı. Her şey hazır.',
'bootCheck.authFailed': 'Bu token çalışmadı. Kontrol edip yeniden deneyin.',
'bootCheck.unreachablePrefix': 'Ulaşılamadı:',
+ 'bootCheck.socketDisabled': 'Bağlandı, ancak bu çekirdekte gerçek zamanlı özellik kapalı. --jsonrpc-only ile başlatılmış; sohbet ve canlı güncellemelerin çalışması için bu bayrak olmadan yeniden başlat.',
'bootCheck.checkingCore': 'OpenHuman başlatılıyor…',
'bootCheck.cannotReach': 'Ulaşılamıyor',
'bootCheck.cannotReachDesc': 'Bağlantı kurulamadı. Başka bir yerde denemek ister misiniz?',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index 94c99ca531..97b896da27 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -1581,6 +1581,7 @@ const messages: TranslationMap = {
'bootCheck.connectedOk': '已连接 ✓',
'bootCheck.authFailed': '认证失败:请检查令牌(收到 401/403)。',
'bootCheck.unreachablePrefix': '无法连接:',
+ 'bootCheck.socketDisabled': '已连接,但此核心已关闭实时功能。它是用 --jsonrpc-only 启动的;请去掉该参数重新启动,聊天和实时更新才能使用。',
'bootCheck.checkingCore': '正在启动 OpenHuman…',
'bootCheck.cannotReach': '无法连接',
'bootCheck.cannotReachDesc': '我们无法连接。要换个地方试试吗?',