A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.
Swift ai-agentsanthropicantigravityclaudeclaude-codecodexcursordynamic-islandgemini-cliiosiphonlinuxmacosmacos-appmenubar-appnotchopen-sourceswiftswiftuiwindows
WhatsApp in one click: Coucou installs GOWA, Mac 0.5.1
Claude0f2ff12b289a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b15e4316..d6f1b193 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,10 @@# Changelog+## 0.5.1 — October 18, 2026++- **WhatsApp in one click** *(macOS, GitHub build)* — no more GitHub, zip or Terminal: Settings → Integrations → WhatsApp → **Install WhatsApp**. Coucou downloads GOWA, the open-source gateway, for your Mac (about 15 MB, once), checks it against the SHA-256 GOWA publishes, starts it, and shows the QR code to scan. It starts and stops with Coucou, and **Update** fetches GOWA's latest version. Your own gateway (GOWA by hand, OpenWA, another address) moves under **Advanced**+- GOWA started by Coucou no longer fetches its own web dashboard from GitHub at each start (Coucou is the interface)+## 0.5.0 — October 18, 2026WhatsApp in the notch, Mochi who feels your Mac, a screen capture for Claude, and dictation that writes prompts or translates. All of it free and open source.diff --git a/NotchBuddy/Resources/Info.plist b/NotchBuddy/Resources/Info.plistindex be85ec20..b46f8630 100644--- a/NotchBuddy/Resources/Info.plist+++ b/NotchBuddy/Resources/Info.plist@@ -30,9 +30,9 @@<key>CFBundlePackageType</key><string>APPL</string><key>CFBundleShortVersionString</key>- <string>0.5.0</string>+ <string>0.5.1</string><key>CFBundleVersion</key>- <string>17</string>+ <string>18</string><key>LSUIElement</key><true/><key>NSAccessibilityUsageDescription</key>diff --git a/NotchBuddy/Resources/Localizable.xcstrings b/NotchBuddy/Resources/Localizable.xcstringsindex 3cdaa8f7..7fb593a5 100644--- a/NotchBuddy/Resources/Localizable.xcstrings+++ b/NotchBuddy/Resources/Localizable.xcstrings@@ -1,6 +1,981 @@{"sourceLanguage" : "en","strings" : {+ "whatsapp.advanced" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "متقدم: بوابتك الخاصة"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "অ্যাডভান্সড: নিজের গেটওয়ে"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Advanced: your own gateway"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Avanzado: tu propia pasarela"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Avancé : ta propre passerelle"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "एडवांस्ड: अपना गेटवे"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Lanjutan: gateway sendiri"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Avançado: seu próprio gateway"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Дополнительно: свой шлюз"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "高级:你自己的网关"+ }+ }+ }+ },+ "whatsapp.install" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "تثبيت واتساب"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "WhatsApp ইনস্টল করো"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Install WhatsApp"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Instalar WhatsApp"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installer WhatsApp"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "WhatsApp इंस्टॉल करें"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Pasang WhatsApp"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Instalar o WhatsApp"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Установить WhatsApp"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "安装 WhatsApp"+ }+ }+ }+ },+ "whatsapp.install.bad-checksum" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "التنزيل لا يطابق الملف الذي نشره GOWA: حُذف ولم يُثبَّت شيء."+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ডাউনলোড GOWA-র প্রকাশিত ফাইলের সঙ্গে মেলে না: মুছে ফেলা হয়েছে, কিছু ইনস্টল হয়নি।"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The download doesn't match the file GOWA published: it was deleted, nothing was installed."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "La descarga no coincide con el archivo publicado por GOWA: se eliminó y no se instaló nada."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Le téléchargement ne correspond pas au fichier publié par GOWA : il a été supprimé, rien n'a été installé."+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "डाउनलोड GOWA की फ़ाइल से मेल नहीं खाता: हटा दिया गया, कुछ इंस्टॉल नहीं हुआ।"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unduhan tidak cocok dengan file dari GOWA: sudah dihapus, tidak ada yang dipasang."+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "O download não corresponde ao arquivo publicado pelo GOWA: foi apagado, nada foi instalado."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Загрузка не совпадает с файлом, опубликованным GOWA: она удалена, ничего не установлено."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "下载内容与 GOWA 发布的文件不符:已删除,未安装任何内容。"+ }+ }+ }+ },+ "whatsapp.install.checking" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "البحث عن أحدث إصدار من GOWA…"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA-র সর্বশেষ সংস্করণ খোঁজা হচ্ছে…"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Looking for the latest GOWA…"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Buscando la última versión de GOWA…"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Recherche de la dernière version de GOWA…"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA का नया वर्शन ढूँढ रहा है…"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Mencari versi GOWA terbaru…"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Procurando a versão mais recente do GOWA…"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Поиск последней версии GOWA…"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在查找最新版 GOWA…"+ }+ }+ }+ },+ "whatsapp.install.download-failed" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "لم يكتمل التنزيل. تحقق من اتصالك وأعد المحاولة."+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ডাউনলোড সম্পূর্ণ হয়নি। সংযোগ দেখে আবার চেষ্টা করুন।"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The download didn't go through. Check your connection and try again."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "La descarga no se completó. Revisa tu conexión e inténtalo de nuevo."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Le téléchargement n'a pas abouti. Vérifie ta connexion et réessaie."+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "डाउनलोड पूरा नहीं हुआ। कनेक्शन जाँचकर फिर कोशिश करें।"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unduhan gagal. Periksa koneksimu lalu coba lagi."+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "O download não foi concluído. Verifique sua conexão e tente de novo."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Загрузка не удалась. Проверьте подключение и попробуйте снова."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "下载未完成。请检查网络后重试。"+ }+ }+ }+ },+ "whatsapp.install.downloading %lld" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "جارٍ التنزيل (%lld ميغابايت)…"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ডাউনলোড হচ্ছে (%lld MB)…"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Downloading (%lld MB)…"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Descargando (%lld MB)…"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Téléchargement (%lld Mo)…"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "डाउनलोड हो रहा है (%lld MB)…"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Mengunduh (%lld MB)…"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Baixando (%lld MB)…"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Загрузка (%lld МБ)…"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在下载(%lld MB)…"+ }+ }+ }+ },+ "whatsapp.install.hint" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "يُنزّل Coucou بوابة GOWA مفتوحة المصدر من صفحتها على GitHub (نحو 15 ميغابايت، مرة واحدة)، ويتحقق منها ويشغّلها. ثم امسح رمز QR بهاتفك. لا حاجة إلى الطرفية."+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou ওপেন-সোর্স গেটওয়ে GOWA তার GitHub পেজ থেকে ডাউনলোড করে (প্রায় ১৫ MB, একবারই), যাচাই করে চালু করে। তারপর ফোন দিয়ে QR কোড স্ক্যান করুন। টার্মিনাল লাগবে না।"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou downloads GOWA, the open-source gateway, from its GitHub page (about 15 MB, once), checks it and starts it. Then scan the QR code with your phone. No Terminal needed."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou descarga GOWA, la pasarela de código abierto, desde su página de GitHub (unos 15 MB, una sola vez), la comprueba y la inicia. Luego escanea el código QR con tu teléfono. Sin Terminal."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou télécharge GOWA, la passerelle open source, depuis sa page GitHub (environ 15 Mo, une seule fois), la vérifie et la lance. Ensuite, scanne le QR code avec ton téléphone. Pas besoin du Terminal."+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou ओपन-सोर्स गेटवे GOWA को उसके GitHub पेज से डाउनलोड करता है (लगभग 15 MB, सिर्फ़ एक बार), जाँचता है और चालू करता है। फिर फ़ोन से QR कोड स्कैन करें। टर्मिनल की ज़रूरत नहीं।"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou mengunduh GOWA, gateway open source, dari halaman GitHub-nya (sekitar 15 MB, sekali saja), memeriksanya lalu menjalankannya. Lalu pindai kode QR dengan ponselmu. Tanpa Terminal."+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "O Coucou baixa o GOWA, o gateway de código aberto, da página dele no GitHub (cerca de 15 MB, uma única vez), verifica e inicia. Depois, escaneie o QR code com o celular. Sem Terminal."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou скачивает GOWA, шлюз с открытым кодом, с его страницы на GitHub (около 15 МБ, один раз), проверяет и запускает. Затем отсканируйте QR-код телефоном. Терминал не нужен."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Coucou 会从 GitHub 页面下载开源网关 GOWA(约 15 MB,仅一次),校验后启动。然后用手机扫描二维码即可。无需终端。"+ }+ }+ }+ },+ "whatsapp.install.installing" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "جارٍ التثبيت والتشغيل…"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ইনস্টল ও চালু হচ্ছে…"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installing and starting…"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Instalando e iniciando…"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Installation et démarrage…"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "इंस्टॉल और चालू हो रहा है…"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Memasang dan menjalankan…"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Instalando e iniciando…"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Установка и запуск…"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在安装并启动…"+ }+ }+ }+ },+ "whatsapp.install.no-build" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "لا يوجد إصدار من GOWA لهذا الـMac على GitHub. أعد المحاولة لاحقًا أو اضبط بوابتك في «متقدم»."+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GitHub-এ এই Mac-এর জন্য GOWA পাওয়া যায়নি। পরে আবার চেষ্টা করুন, বা অ্যাডভান্সডে নিজের গেটওয়ে সেট করুন।"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "No GOWA build for this Mac was found on GitHub. Try again later, or set your own gateway under Advanced."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "No hay ninguna versión de GOWA para este Mac en GitHub. Inténtalo más tarde o configura tu propia pasarela en Avanzado."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aucune version de GOWA pour ce Mac sur GitHub. Réessaie plus tard, ou configure ta propre passerelle dans Avancé."+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GitHub पर इस Mac के लिए GOWA नहीं मिला। बाद में फिर कोशिश करें, या एडवांस्ड में अपना गेटवे सेट करें।"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Tidak ada versi GOWA untuk Mac ini di GitHub. Coba lagi nanti, atau atur gateway sendiri di Lanjutan."+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Nenhuma versão do GOWA para este Mac no GitHub. Tente mais tarde ou configure seu próprio gateway em Avançado."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "На GitHub нет сборки GOWA для этого Mac. Попробуйте позже или укажите свой шлюз в разделе «Дополнительно»."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GitHub 上没有适用于此 Mac 的 GOWA 版本。请稍后重试,或在“高级”中设置你自己的网关。"+ }+ }+ }+ },+ "whatsapp.install.no-checksum" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "لا يحتوي إصدار GOWA على بصمة للتحقق من التنزيل: لم يُثبَّت شيء."+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA রিলিজে ডাউনলোড যাচাইয়ের চেকসাম নেই: কিছু ইনস্টল হয়নি।"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA's release has no checksum to check the download against: nothing was installed."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "La versión de GOWA no tiene suma de comprobación para verificar la descarga: no se instaló nada."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "La version de GOWA n'a pas d'empreinte pour vérifier le téléchargement : rien n'a été installé."+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA रिलीज़ में डाउनलोड जाँचने के लिए चेकसम नहीं है: कुछ इंस्टॉल नहीं हुआ।"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Rilis GOWA tidak punya checksum untuk memeriksa unduhan: tidak ada yang dipasang."+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "A versão do GOWA não tem checksum para verificar o download: nada foi instalado."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "У выпуска GOWA нет контрольной суммы для проверки: ничего не установлено."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA 版本没有可用于校验的校验和:未安装任何内容。"+ }+ }+ }+ },+ "whatsapp.install.ready %@" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "بوابة GOWA %@ مثبّتة ويشغّلها Coucou"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA %@ গেটওয়ে ইনস্টল, Coucou চালায়"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Gateway GOWA %@ installed, started by Coucou"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Pasarela GOWA %@ instalada, iniciada por Coucou"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Passerelle GOWA %@ installée, lancée par Coucou"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA %@ गेटवे इंस्टॉल है, Coucou इसे चलाता है"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Gateway GOWA %@ terpasang, dijalankan oleh Coucou"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Gateway GOWA %@ instalado, iniciado pelo Coucou"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Шлюз GOWA %@ установлен, запускается Coucou"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "GOWA %@ 网关已安装,由 Coucou 启动"+ }+ }+ }+ },+ "whatsapp.install.ready-custom" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "بوابة GOWA الخاصة بك مُعدّة"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "আপনার GOWA গেটওয়ে সেট করা আছে"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Your GOWA gateway is set up"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Tu pasarela GOWA está configurada"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Ta passerelle GOWA est configurée"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "आपका GOWA गेटवे सेट है"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Gateway GOWA-mu sudah diatur"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Seu gateway GOWA está configurado"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Ваш шлюз GOWA настроен"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "你的 GOWA 网关已设置"+ }+ }+ }+ },+ "whatsapp.install.unzip-failed" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "تعذّر فك ضغط التنزيل. أعد المحاولة."+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ডাউনলোড আনজিপ করা যায়নি। আবার চেষ্টা করুন।"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The download couldn't be unzipped. Try again."+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "No se pudo descomprimir la descarga. Inténtalo de nuevo."+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Le téléchargement n'a pas pu être décompressé. Réessaie."+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "डाउनलोड अनज़िप नहीं हो सका। फिर कोशिश करें।"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unduhan tidak bisa diekstrak. Coba lagi."+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Não foi possível descompactar o download. Tente de novo."+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Не удалось распаковать загрузку. Попробуйте снова."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法解压下载内容。请重试。"+ }+ }+ }+ },+ "whatsapp.install.update" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "تحديث"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "আপডেট করো"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Update"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Actualizar"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Mettre à jour"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "अपडेट करें"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Perbarui"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Atualizar"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Обновить"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "更新"+ }+ }+ }+ },+ "whatsapp.install.verifying" : {+ "extractionState" : "manual",+ "localizations" : {+ "ar" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "جارٍ التحقق من التنزيل…"+ }+ },+ "bn" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ডাউনলোড যাচাই হচ্ছে…"+ }+ },+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Checking the download…"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Comprobando la descarga…"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Vérification du téléchargement…"+ }+ },+ "hi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "डाउनलोड जाँचा जा रहा है…"+ }+ },+ "id" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Memeriksa unduhan…"+ }+ },+ "pt-BR" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Verificando o download…"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Проверка загрузки…"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在校验下载内容…"+ }+ }+ }+ },"whatsapp.save" : {"extractionState" : "manual","localizations" : {diff --git a/NotchBuddy/Sources/App/WhatsAppGOWAInstaller.swift b/NotchBuddy/Sources/App/WhatsAppGOWAInstaller.swiftnew file mode 100644index 00000000..a92b3471--- /dev/null+++ b/NotchBuddy/Sources/App/WhatsAppGOWAInstaller.swift@@ -0,0 +1,172 @@+#if !APPSTORE+import Foundation+import CryptoKit++// "Install WhatsApp": one click instead of GitHub, a zip, xattr, chmod and a Terminal command.+// Downloads GOWA's own latest macOS build for this Mac from its GitHub releases, checks its+// SHA-256 against the checksums GOWA publishes, puts the binary in Coucou's GOWA folder (next+// to the WhatsApp session it keeps) and turns on "Start GOWA automatically". GitHub build only.+// The only network call is to GitHub, once, after the click; no message ever goes there.++@MainActor+final class WhatsAppGOWAInstaller: ObservableObject {+ static let shared = WhatsAppGOWAInstaller()++ enum Step: Equatable {+ case idle+ case checking+ case downloading(megabytes: Int)+ case verifying+ case installing+ case done(version: String)+ case failed(String)+ }++ @Published private(set) var step: Step = .idle++ var busy: Bool {+ switch step {+ case .checking, .downloading, .verifying, .installing: return true+ default: return false+ }+ }++ /// GOWA's version once installed by Coucou (not a secret: UserDefaults).+ static var installedVersion: String? {+ get { UserDefaults.standard.string(forKey: "whatsappGOWAVersion") }+ set { UserDefaults.standard.set(newValue, forKey: "whatsappGOWAVersion") }+ }++ /// Where Coucou keeps the binary it installed.+ static var binaryURL: URL { WhatsAppGOWAProcess.workingDirectory.appendingPathComponent("gowa") }++ /// A gateway Coucou can start: the one it installed, or one the user picked.+ static var isInstalled: Bool {+ let path = (WhatsAppGOWAProcess.binaryPath as NSString).expandingTildeInPath+ return !path.isEmpty && FileManager.default.isExecutableFile(atPath: path)+ }++ static var arch: String {+ #if arch(arm64)+ return "arm64"+ #else+ return "amd64"+ #endif+ }++ private let session: URLSession = {+ let config = URLSessionConfiguration.ephemeral+ config.urlCache = nil+ config.httpCookieStorage = nil+ config.timeoutIntervalForRequest = 30+ config.timeoutIntervalForResource = 600+ return URLSession(configuration: config, delegate: GitHubOnly(), delegateQueue: nil)+ }()++ func install() {+ guard !busy else { return }+ step = .checking+ Task { await run() }+ }++ private func run() async {+ do {+ // 1. Which build: GOWA's latest release, the zip for this Mac.+ var req = URLRequest(url: WAGOWARelease.latestURL)+ req.setValue("application/vnd.github+json", forHTTPHeaderField: "Accept")+ let (meta, metaResponse) = try await session.data(for: req)+ guard (metaResponse as? HTTPURLResponse)?.statusCode == 200,+ let release = WAGOWARelease.parse(meta),+ let picked = WAGOWARelease.pick(release.assets, arch: Self.arch) else {+ throw Failure(String(localized: "whatsapp.install.no-build"))+ }+ var checksums: String? = nil+ if let sums = picked.checksums {+ let (data, _) = try await session.data(from: sums.url)+ checksums = String(data: data, encoding: .utf8)+ }+ guard let expected = WAGOWARelease.expectedSHA256(for: picked.zip, checksums: checksums) else {+ throw Failure(String(localized: "whatsapp.install.no-checksum"))+ }++ // 2. Download.+ step = .downloading(megabytes: max(1, picked.zip.size / 1_000_000))+ let (tmp, zipResponse) = try await session.download(from: picked.zip.url)+ guard (zipResponse as? HTTPURLResponse)?.statusCode == 200 else { throw Failure(String(localized: "whatsapp.install.download-failed")) }++ // 3. Verify: exactly the file GOWA published.+ step = .verifying+ let digest = try await Task.detached { () throws -> String in+ let data = try Data(contentsOf: tmp)+ return SHA256.hash(data: data).map { String(format: "%02x", $0) }.joined()+ }.value+ guard digest == expected else {+ try? FileManager.default.removeItem(at: tmp)+ throw Failure(String(localized: "whatsapp.install.bad-checksum"))+ }++ // 4. Unzip with macOS's own ditto, put the binary in place, make it runnable.+ step = .installing+ let version = release.version+ let binary = WAGOWARelease.binaryName(arch: Self.arch)+ try await Task.detached {+ try Self.unpack(zip: tmp, binaryName: binary)+ }.value+ Self.installedVersion = version+ WhatsAppSettings.gateway = .gowa+ KeychainStore.shared.remove(WhatsAppSettings.urlKey) // back to http://127.0.0.1:3000+ WhatsAppGOWAProcess.binaryPath = Self.binaryURL.path+ WhatsAppGOWAProcess.autoStart = true+ WhatsAppGOWAProcess.shared.stopNow() // an older one gives way+ WhatsAppController.shared.settingsChanged() // starts it; the QR follows+ step = .done(version: version)+ appendAppLog("nb.log", "[WhatsApp] GOWA \(version) installed (\(Self.arch))")+ } catch let failure as Failure {+ step = .failed(failure.message)+ appendAppLog("nb.log", "[WhatsApp] GOWA install failed: \(failure.message)")+ } catch {+ step = .failed(String(localized: "whatsapp.install.download-failed"))+ appendAppLog("nb.log", "[WhatsApp] GOWA install failed: \(error.localizedDescription)")+ }+ }++ private struct Failure: Error { let message: String; init(_ m: String) { message = m } }++ /// Unzips into a temporary folder, then moves `binaryName` to the GOWA folder as `gowa`.+ nonisolated private static func unpack(zip: URL, binaryName: String) throws {+ let fm = FileManager.default+ let work = fm.temporaryDirectory.appendingPathComponent("coucou-gowa-\(UUID().uuidString)", isDirectory: true)+ try fm.createDirectory(at: work, withIntermediateDirectories: true)+ defer { try? fm.removeItem(at: work); try? fm.removeItem(at: zip) }++ let ditto = Process()+ ditto.executableURL = URL(fileURLWithPath: "/usr/bin/ditto")+ ditto.arguments = ["-x", "-k", zip.path, work.path]+ try ditto.run()+ ditto.waitUntilExit()+ guard ditto.terminationStatus == 0 else { throw Failure(String(localized: "whatsapp.install.unzip-failed")) }++ guard let found = fm.enumerator(at: work, includingPropertiesForKeys: nil)?+ .compactMap({ $0 as? URL }).first(where: { $0.lastPathComponent == binaryName }) else {+ throw Failure(String(localized: "whatsapp.install.no-build"))+ }+ try fm.createDirectory(at: WhatsAppGOWAProcess.workingDirectory, withIntermediateDirectories: true)+ let dest = WhatsAppGOWAProcess.workingDirectory.appendingPathComponent("gowa")+ if fm.fileExists(atPath: dest.path) { try fm.removeItem(at: dest) }+ try fm.moveItem(at: found, to: dest)+ try fm.setAttributes([.posixPermissions: 0o755], ofItemAtPath: dest.path)+ // Downloaded by Coucou itself, it carries no quarantine; cleared anyway so macOS never+ // asks the user to allow it in System Settings.+ removexattr(dest.path, "com.apple.quarantine", 0)+ }+}++/// The download follows GitHub's redirect to its asset storage, and nothing else.+private final class GitHubOnly: NSObject, URLSessionTaskDelegate, Sendable {+ func urlSession(_ session: URLSession, task: URLSessionTask,+ willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest,+ completionHandler: @escaping @Sendable (URLRequest?) -> Void) {+ completionHandler(WAGOWARelease.allowedHost(request.url?.host) ? request : nil)+ }+}+#endifdiff --git a/NotchBuddy/Sources/App/WhatsAppGOWAProcess.swift b/NotchBuddy/Sources/App/WhatsAppGOWAProcess.swiftindex e7fbe1a5..3b58b943 100644--- a/NotchBuddy/Sources/App/WhatsAppGOWAProcess.swift+++ b/NotchBuddy/Sources/App/WhatsAppGOWAProcess.swift@@ -28,7 +28,7 @@ final class WhatsAppGOWAProcess {/// Where GOWA keeps its own WhatsApp session (its database, not Coucou's): one folder in/// Application Support, so the link survives restarts.- static var workingDirectory: URL {+ nonisolated static var workingDirectory: URL {let base = FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask)[0]return base.appendingPathComponent("Coucou/GOWA", isDirectory: true)}@@ -69,6 +69,9 @@ final class WhatsAppGOWAProcess {var env = ProcessInfo.processInfo.environment// The credential goes through the environment, not the command line (`ps` shows that).if credential.contains(":") { env["APP_BASIC_AUTH"] = credential }+ // GOWA's own web dashboard is not needed (Coucou is the interface): it would fetch+ // itself from GitHub at each start.+ env["APP_UI_ENABLED"] = "false"p.environment = env// GOWA's own output may name contacts or quote messages: it goes nowhere.p.standardOutput = FileHandle.nullDevicediff --git a/NotchBuddy/Sources/App/WhatsAppGateway.swift b/NotchBuddy/Sources/App/WhatsAppGateway.swiftindex 03c0055c..66f880e4 100644--- a/NotchBuddy/Sources/App/WhatsAppGateway.swift+++ b/NotchBuddy/Sources/App/WhatsAppGateway.swift@@ -235,6 +235,61 @@ enum WAGOWA {}}+/// GOWA's own releases on GitHub, for "Install WhatsApp" (one click, no Terminal): which zip+/// fits this Mac and the SHA-256 GOWA publishes for it. The release workflow (GoReleaser,+/// .github/workflows/release.yml in GOWA's repo) names them `whatsapp_<version>_darwin_<arch>.zip`+/// (the binary inside is `darwin-<arch>`) next to `checksums-macos.txt`.+enum WAGOWARelease {+ static let latestURL = URL(string: "https://api.github.com/repos/aldinokemal/go-whatsapp-web-multidevice/releases/latest")!++ struct Asset: Equatable, Sendable {+ let name: String+ let url: URL+ let size: Int+ /// "sha256:<hex>" when GitHub gives it.+ let digest: String?+ }++ /// `GET /releases/latest` → `{tag_name, assets: [{name, browser_download_url, size, digest?}]}`.+ static func parse(_ data: Data) -> (version: String, assets: [Asset])? {+ guard let obj = (try? JSONSerialization.jsonObject(with: data)) as? [String: Any],+ let tag = obj["tag_name"] as? String, let list = obj["assets"] as? [[String: Any]] else { return nil }+ let assets: [Asset] = list.compactMap { a in+ guard let name = a["name"] as? String, let s = a["browser_download_url"] as? String,+ let url = URL(string: s) else { return nil }+ return Asset(name: name, url: url, size: (a["size"] as? Int) ?? 0, digest: a["digest"] as? String)+ }+ let version = tag.hasPrefix("v") ? String(tag.dropFirst()) : tag+ return (version, assets)+ }++ /// The zip for this Mac ("arm64" or "amd64") and the macOS checksums file.+ static func pick(_ assets: [Asset], arch: String) -> (zip: Asset, checksums: Asset?)? {+ guard let zip = assets.first(where: { $0.name.hasPrefix("whatsapp_") && $0.name.hasSuffix("_darwin_\(arch).zip") }) else { return nil }+ return (zip, assets.first { $0.name == "checksums-macos.txt" })+ }++ /// The binary's name inside the zip.+ static func binaryName(arch: String) -> String { "darwin-\(arch)" }++ /// The SHA-256 (lowercase hex) of `name` in a GoReleaser checksums file ("<hex> <name>" per line),+ /// else from GitHub's own "sha256:<hex>" digest.+ static func expectedSHA256(for asset: Asset, checksums: String?) -> String? {+ for line in (checksums ?? "").split(whereSeparator: \.isNewline) {+ let parts = line.split(separator: " ", omittingEmptySubsequences: true)+ if parts.count == 2, parts[1] == Substring(asset.name), parts[0].count == 64 { return parts[0].lowercased() }+ }+ if let d = asset.digest, d.hasPrefix("sha256:"), d.count == 71 { return String(d.dropFirst(7)).lowercased() }+ return nil+ }++ /// Only GitHub serves the download (its assets redirect to githubusercontent.com).+ static func allowedHost(_ host: String?) -> Bool {+ guard let h = host?.lowercased() else { return false }+ return h == "github.com" || h == "api.github.com" || h.hasSuffix(".githubusercontent.com")+ }+}+enum WAOpenWA {/// A session: `{id (uuid), name, status, phone, pushName, …}`./// status: created|initializing|qr_ready|authenticating|ready|disconnected|action_required|failed.diff --git a/NotchBuddy/Sources/App/WhatsAppViews.swift b/NotchBuddy/Sources/App/WhatsAppViews.swiftindex 18e089bb..e33a79d0 100644--- a/NotchBuddy/Sources/App/WhatsAppViews.swift+++ b/NotchBuddy/Sources/App/WhatsAppViews.swift@@ -432,6 +432,8 @@ func waTimeAgo(_ date: Date) -> String {struct WhatsAppSettingsSection: View {@ObservedObject private var wa = WhatsAppController.shared@ObservedObject private var appState = AppState.shared+ @ObservedObject private var installer = WhatsAppGOWAInstaller.shared+ @State private var showAdvanced = false@State private var enabled = WhatsAppSettings.enabled@State private var gateway = WhatsAppSettings.gateway@State private var url = KeychainStore.shared.get(WhatsAppSettings.urlKey) ?? ""@@ -467,50 +469,10 @@ struct WhatsAppSettingsSection: View {.foregroundColor(Color(hex: "#F4505E"))}- Picker("whatsapp.gateway", selection: $gateway) {- ForEach(WAGatewayKind.allCases, id: \.self) { kind in- Text(verbatim: kind == .gowa ? "GOWA" : "OpenWA").tag(kind)- }- }- .pickerStyle(.segmented)+ // One click: Coucou downloads GOWA, checks it and starts it. No Terminal.+ if gateway == .gowa { installBlock }- TextField(gateway.defaultURL, text: $url)- .textFieldStyle(.roundedBorder)- SecureField(gateway == .gowa ? String(localized: "whatsapp.credential.gowa")- : String(localized: "whatsapp.credential.openwa"),- text: $credential)- .textFieldStyle(.roundedBorder)- if gateway == .gowa { autoStartRow }- HStack(spacing: 6) {- Text("whatsapp.port").font(.system(size: 11))- TextField(String(WhatsAppSettings.defaultPort), text: $port)- .textFieldStyle(.roundedBorder)- .frame(width: 80)- Spacer()- }-- HStack(spacing: 8) {- Button("whatsapp.save") { save() }- .buttonStyle(.borderedProminent)- Button("whatsapp.test") {- save()- testing = true- Task {- testResult = await wa.testConnection()- testing = false- }- }- .buttonStyle(.bordered)- .disabled(testing)- if testing { ProgressView().controlSize(.small) }- }- if let testResult {- Text(verbatim: testResult)- .font(.system(size: 10))- .foregroundColor(Color(hex: "#8E939C"))- }-- linkState+ if showsLinkState { linkState }// FiltersToggle("whatsapp.mute-groups", isOn: Binding(@@ -541,6 +503,66 @@ struct WhatsAppSettingsSection: View {.font(.system(size: 10)).foregroundColor(Color(hex: "#8E939C")).fixedSize(horizontal: false, vertical: true)++ // Your own gateway (OpenWA, another address, a password, the port): folded away.+ DisclosureGroup(isExpanded: $showAdvanced) {+ VStack(alignment: .leading, spacing: 6) {+ Picker("whatsapp.gateway", selection: $gateway) {+ ForEach(WAGatewayKind.allCases, id: \.self) { kind in+ Text(verbatim: kind == .gowa ? "GOWA" : "OpenWA").tag(kind)+ }+ }+ .pickerStyle(.segmented)++ TextField(gateway.defaultURL, text: $url)+ .textFieldStyle(.roundedBorder)+ SecureField(gateway == .gowa ? String(localized: "whatsapp.credential.gowa")+ : String(localized: "whatsapp.credential.openwa"),+ text: $credential)+ .textFieldStyle(.roundedBorder)+ if gateway == .gowa { autoStartRow }+ HStack(spacing: 6) {+ Text("whatsapp.port").font(.system(size: 11))+ TextField(String(WhatsAppSettings.defaultPort), text: $port)+ .textFieldStyle(.roundedBorder)+ .frame(width: 80)+ Spacer()+ }++ HStack(spacing: 8) {+ Button("whatsapp.save") { save() }+ .buttonStyle(.borderedProminent)+ Button("whatsapp.test") {+ save()+ testing = true+ Task {+ testResult = await wa.testConnection()+ testing = false+ }+ }+ .buttonStyle(.bordered)+ .disabled(testing)+ if testing { ProgressView().controlSize(.small) }+ }+ if let testResult {+ Text(verbatim: testResult)+ .font(.system(size: 10))+ .foregroundColor(Color(hex: "#8E939C"))+ }+ }+ .padding(.top, 4)+ } label: {+ Text("whatsapp.advanced").font(.system(size: 11, weight: .medium))+ }+ }+ }+ .onChange(of: installer.step) { _, step in+ // Installed by Coucou: the fields follow what it set.+ if case .done = step {+ gateway = .gowa+ url = ""+ autoStart = true+ gowaPath = WhatsAppGOWAProcess.binaryPath}}.onChange(of: gateway) { old, new in@@ -549,6 +571,65 @@ struct WhatsAppSettingsSection: View {}}+ /// The status and QR once there is a gateway to talk to (before the install, "the gateway+ /// doesn't answer" would only confuse).+ private var showsLinkState: Bool {+ if gateway != .gowa || WhatsAppGOWAInstaller.isInstalled || !url.isEmpty { return true }+ return wa.link == .connected || wa.link == .needsQR+ }++ /// Install WhatsApp (GOWA) in one click, or its state once installed.+ @ViewBuilder private var installBlock: some View {+ switch installer.step {+ case .checking, .downloading, .verifying, .installing:+ HStack(spacing: 8) {+ ProgressView().controlSize(.small)+ Text(verbatim: installStepLabel).font(.system(size: 11))+ }+ default:+ if WhatsAppGOWAInstaller.isInstalled {+ HStack(spacing: 8) {+ Image(systemName: "checkmark.circle.fill").foregroundColor(Color(hex: whatsAppAccent))+ Text(verbatim: WhatsAppGOWAInstaller.installedVersion.map { String(format: String(localized: "whatsapp.install.ready %@"), $0) }+ ?? String(localized: "whatsapp.install.ready-custom"))+ .font(.system(size: 11))+ Spacer()+ Button("whatsapp.install.update") { installer.install() }+ .buttonStyle(.bordered)+ .controlSize(.small)+ }+ } else {+ Button { installer.install() } label: {+ Label("whatsapp.install", systemImage: "arrow.down.circle.fill")+ .font(.system(size: 13, weight: .semibold))+ .padding(.horizontal, 6).padding(.vertical, 3)+ }+ .buttonStyle(.borderedProminent)+ .tint(Color(hex: whatsAppAccent))+ Text("whatsapp.install.hint")+ .font(.system(size: 10))+ .foregroundColor(Color(hex: "#8E939C"))+ .fixedSize(horizontal: false, vertical: true)+ }+ if case .failed(let why) = installer.step {+ Text(verbatim: why)+ .font(.system(size: 10))+ .foregroundColor(Color(hex: "#F4505E"))+ .fixedSize(horizontal: false, vertical: true)+ }+ }+ }++ private var installStepLabel: String {+ switch installer.step {+ case .checking: return String(localized: "whatsapp.install.checking")+ case .downloading(let mb): return String(format: String(localized: "whatsapp.install.downloading %lld"), Int64(mb))+ case .verifying: return String(localized: "whatsapp.install.verifying")+ case .installing: return String(localized: "whatsapp.install.installing")+ default: return ""+ }+ }+/// Linked or not, and the QR to scan when it's needed.@ViewBuilder private var linkState: some View {HStack(spacing: 5) {diff --git a/NotchBuddy/project.yml b/NotchBuddy/project.ymlindex 044dde85..3db76c72 100644--- a/NotchBuddy/project.yml+++ b/NotchBuddy/project.yml@@ -137,8 +137,8 @@ targets:CFBundleName: CoucouCFBundleDisplayName: CoucouCFBundleIdentifier: fr.louisraille.NotchBuddy- CFBundleVersion: "17"- CFBundleShortVersionString: "0.5.0"+ CFBundleVersion: "18"+ CFBundleShortVersionString: "0.5.1"CFBundlePackageType: APPLLSUIElement: YESNSHighResolutionCapable: YESdiff --git a/README.md b/README.mdindex 0f1be799..b7d0aa75 100644--- a/README.md+++ b/README.md@@ -148,6 +148,7 @@ macOS releases are published as `v*` tags. See [CHANGELOG.md](CHANGELOG.md) for| Version | Date | Highlights ||---------|------|------------|+| [0.5.1](https://github.com/Louis-CFM/coucou/releases/tag/v0.5.1) | Oct 18, 2026 | WhatsApp in one click: Coucou installs and starts the gateway, no Terminal || [0.5.0](https://github.com/Louis-CFM/coucou/releases/tag/v0.5.0) | Oct 18, 2026 | WhatsApp in the notch (experimental), Mochi feels your Mac, a screen capture for Claude, dictation that writes prompts or translates || [0.4.0](https://github.com/Louis-CFM/coucou/releases/tag/v0.4.0) | Oct 14, 2026 | Coucou becomes an app: Flow dictation anywhere, Parakeet offline, the Notetaker, a window in the Dock || [0.3.0](https://github.com/Louis-CFM/coucou/releases/tag/v0.3.0) | Oct 11, 2026 | « OK Coucou »: talk to Mochi, powered by Claude — pills, music, your services, web search, emails |@@ -327,32 +328,45 @@ If Coucou isn't running, the hook exits immediately: **Claude Code is never bloc> **Unofficial.** Use it on your own account only. WhatsApp may restrict an account that abuses it (bulk messages, automation). Coucou only replies in a conversation that wrote to you, a few messages a minute at most.-**1. Install GOWA.** Download the macOS build from the [latest release](https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest), unzip it, and let macOS run it (it isn't signed):+**Set it up in three steps, no Terminal:**-```bash-xattr -d com.apple.quarantine ./whatsapp-```+1. **Turn it on.** In Coucou: Settings → Integrations → WhatsApp (experimental) → **Show my WhatsApp messages**.+2. **Click Install WhatsApp.** Coucou downloads [GOWA](https://github.com/aldinokemal/go-whatsapp-web-multidevice), the open-source gateway, from its GitHub releases (the build for your Mac, about 15 MB, once), checks it against the SHA-256 GOWA publishes, and starts it. It starts and stops with Coucou from then on.+3. **Scan the QR code** that shows right there: on your phone, WhatsApp → Settings → Linked devices → Link a device. The dot turns green and the pill fills in as messages arrive.++The gateway lives in `~/Library/Application Support/Coucou/GOWA`, next to the WhatsApp session it keeps, so you scan once. **Update** in the same place gets GOWA's latest version. That download is the only time Coucou goes online for WhatsApp, and only when you click.++Coucou tells the gateway where to post new messages (a small server on `127.0.0.1`, port 47823 by default, never reachable from another machine), with a random secret kept in the Keychain; every delivery is checked against its HMAC-SHA256 signature. If no message comes that way, Coucou checks every 20 seconds instead.++<details>+<summary><b>Advanced: run the gateway yourself (GOWA by hand, or OpenWA)</b></summary>++Everything below is under **Advanced: your own gateway** in the same Settings section.-**2. Start it on your Mac only**, without downloading media (Coucou shows a label, never the file):+**GOWA by hand.** Download `whatsapp_<version>_darwin_arm64.zip` (Apple silicon) or `…_darwin_amd64.zip` (Intel) from the [latest release](https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/latest). The zip holds one binary, `darwin-arm64` or `darwin-amd64`. In the folder it unzipped to:```bash-./whatsapp rest --host=127.0.0.1 --port=3000 --auto-download-media=false+xattr -d com.apple.quarantine ./darwin-arm64```-Add `--basic-auth=user:password` to protect it with a password. Or let Coucou start it for you: Settings → Integrations → WhatsApp → **Start GOWA automatically**, then pick the binary. Coucou runs it as its own child process and stops it when Coucou quits.--**3. Set up Coucou.** Settings → Integrations → WhatsApp (experimental): turn it on, pick **GOWA**, keep `http://127.0.0.1:3000` (and `user:password` if you set one), **Save**, then **Test connection**. The address and the password go to the Keychain.+```bash+chmod +x ./darwin-arm64+```-**4. Scan the QR code** that shows right there in Settings: on your phone, WhatsApp → Settings → Linked devices → Link a device. The dot turns green and the pill fills in as messages arrive.+```bash+./darwin-arm64 rest --host=127.0.0.1 --port=3000 --auto-download-media=false+```-Coucou tells the gateway where to post new messages (a small server on `127.0.0.1`, port 47823 by default, never reachable from another machine), with a random secret kept in the Keychain; every delivery is checked against its HMAC-SHA256 signature. If no message comes that way, Coucou checks every 20 seconds instead.+Add `--basic-auth=user:password` to protect it with a password, and put the same `user:password` in Coucou. Keep `http://127.0.0.1:3000`, **Save**, then **Test connection**. The address and the password go to the Keychain.-**OpenWA instead.** Start it with the Baileys engine and allow its webhook to reach your Mac, then pick **OpenWA** in Settings with `http://127.0.0.1:2785` and its API key (`data/.api-key` on first start):+**OpenWA instead.** Start it with the Baileys engine and allow its webhook to reach your Mac, then pick **OpenWA** with `http://127.0.0.1:2785` and its API key (`data/.api-key` on first start):```bashENGINE_TYPE=baileys SSRF_ALLOWED_HOSTS=127.0.0.1 npm run start:prod```+</details>+**What it does**- One row per conversation: initials, name, the last message cut short, the unread count. Photos, voice messages and documents show as a label (« Photo », « Voice message », « Document »); nothing is downloaded.- A new message: Mochi's little happy face, a sound if sounds are on, and the island opens under its usual rules.@@ -360,7 +374,7 @@ ENGINE_TYPE=baileys SSRF_ALLOWED_HOSTS=127.0.0.1 npm run start:prod- Read receipts only when you open a conversation (or, if you turn that off, only when you reply). Never when a message just arrives.- Groups stay quiet unless you're mentioned; chats you ignore never show (right-click a row, or Settings); quiet during a macOS Focus when the system lets Coucou read it.-**Privacy.** Coucou talks only to the gateway on your Mac. Messages stay in memory, are never written to disk or to a log, and are forgotten when Coucou quits or WhatsApp is turned off. No profile photo is fetched: they live on WhatsApp's servers, so the pill shows initials.+**Privacy.** Coucou talks only to the gateway on your Mac (and to GitHub when you click Install or Update, to fetch GOWA itself). Messages stay in memory, are never written to disk or to a log, and are forgotten when Coucou quits or WhatsApp is turned off. No profile photo is fetched: they live on WhatsApp's servers, so the pill shows initials.**Limits.** No profile photos, no voice-message duration (neither gateway gives it), no new conversations from Coucou, no media sending. The gateway must run for messages to arrive. Following a Focus needs Coucou to be signed with Apple's Communication Notifications capability; until then that setting says it's unavailable.diff --git a/docs/INTEGRATIONS.md b/docs/INTEGRATIONS.mdindex 58cd8bf4..b023aa48 100644--- a/docs/INTEGRATIONS.md+++ b/docs/INTEGRATIONS.md@@ -333,6 +333,7 @@ Pas d'API WhatsApp pour un compte perso : Coucou parle à une **passerelle local- **Répondre** : clic → 10 derniers messages + champ (Entrée envoie, Maj+Entrée saut de ligne, Échap ferme ; le brouillon garde l'île ouverte). Réponse seulement dans une conversation déjà là, 4 096 caractères max, 6 par minute. Lu à l'ouverture (option) ou à la réponse, jamais à la réception.- **Filtres** : groupes muets sauf mention, chats ignorés (clic droit ou Réglages), Concentration via `INFocusStatusCenter` (demande la capability Communication Notifications ; sans elle, le réglage s'affiche indisponible).- **Vie privée** : rien d'autre que la passerelle locale (pas de photo de profil, elles sont sur les serveurs de WhatsApp), historique en mémoire seulement (20 messages par conversation), vidé à la fermeture ou à la désactivation, aucun contenu dans les logs ni sur disque. URL, identifiants et secret dans le Keychain.+- **Installer WhatsApp (un clic)** : `WhatsAppGOWAInstaller` lit la dernière release de GOWA (`api.github.com/repos/aldinokemal/go-whatsapp-web-multidevice/releases/latest`), prend `whatsapp_<version>_darwin_<arm64|amd64>.zip`, vérifie son SHA-256 avec `checksums-macos.txt` (sinon le `digest` de GitHub ; sans empreinte, rien n'est installé), dézippe avec `/usr/bin/ditto`, range le binaire `darwin-<arch>` sous `~/Library/Application Support/Coucou/GOWA/gowa` (chmod 755, sans quarantaine), puis active « Lancer GOWA automatiquement » et redémarre l'intégration : le QR suit. Redirections acceptées vers github.com et *.githubusercontent.com seulement. C'est le seul appel réseau hors passerelle, et seulement au clic.- **Lancer GOWA automatiquement** : processus enfant `rest --host=127.0.0.1 --port=<port de l'URL> --auto-download-media=false`, identifiant passé par `APP_BASIC_AUTH` (pas sur la ligne de commande), sortie vers `/dev/null`, dossier `~/Library/Application Support/Coucou/GOWA`, arrêté à la fermeture de Coucou ou quand l'option est coupée, redémarré seulement si son binaire, son adresse ou son mot de passe change (en attendant que l'ancien soit parti), relancé s'il tombe (une fois par minute au plus). Aucune requête ne suit de redirection : rien ne part ailleurs que vers la passerelle.---diff --git a/tests/WhatsAppGatewayTests.swift b/tests/WhatsAppGatewayTests.swiftindex eef26b1a..2bb71c31 100644--- a/tests/WhatsAppGatewayTests.swift+++ b/tests/WhatsAppGatewayTests.swift@@ -263,6 +263,26 @@ extension WhatsAppTests {check("OpenWA error, string or list", WAOpenWA.errorMessage(Data(#"{"statusCode":400,"message":["a","b"],"error":"Bad Request"}"#.utf8)) == "a, b")}+ print("\nGOWA's GitHub release (Install WhatsApp)")+ do {+ // Shape of GET /repos/aldinokemal/go-whatsapp-web-multidevice/releases/latest, asset names+ // as GOWA's GoReleaser workflow writes them.+ let json = #"{"tag_name":"v9.6.0","assets":[{"name":"checksums-macos.txt","size":228,"browser_download_url":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/download/v9.6.0/checksums-macos.txt"},{"name":"whatsapp_9.6.0_darwin_amd64.zip","size":13900000,"browser_download_url":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/download/v9.6.0/whatsapp_9.6.0_darwin_amd64.zip"},{"name":"whatsapp_9.6.0_darwin_arm64.zip","size":13100000,"digest":"sha256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","browser_download_url":"https://github.com/aldinokemal/go-whatsapp-web-multidevice/releases/download/v9.6.0/whatsapp_9.6.0_darwin_arm64.zip"},{"name":"whatsapp_9.6.0_linux_arm64.zip","size":1,"browser_download_url":"https://github.com/x"}]}"#+ let r = WAGOWARelease.parse(Data(json.utf8))+ check("version without the v", r?.version == "9.6.0")+ let arm = r.flatMap { WAGOWARelease.pick($0.assets, arch: "arm64") }+ check("the Apple silicon zip", arm?.zip.name == "whatsapp_9.6.0_darwin_arm64.zip" && arm?.checksums?.name == "checksums-macos.txt")+ check("the Intel zip", r.flatMap { WAGOWARelease.pick($0.assets, arch: "amd64") }?.zip.name == "whatsapp_9.6.0_darwin_amd64.zip")+ check("never a Linux one", r.flatMap { WAGOWARelease.pick($0.assets.filter { !$0.name.contains("darwin") }, arch: "arm64") } == nil)+ let sums = "1111111111111111111111111111111111111111111111111111111111111111 whatsapp_9.6.0_darwin_amd64.zip\n2222222222222222222222222222222222222222222222222222222222222222 whatsapp_9.6.0_darwin_arm64.zip\n"+ check("checksum from GOWA's file", arm.flatMap { WAGOWARelease.expectedSHA256(for: $0.zip, checksums: sums) } == String(repeating: "2", count: 64))+ check("else GitHub's digest", arm.flatMap { WAGOWARelease.expectedSHA256(for: $0.zip, checksums: nil) } == String(repeating: "a", count: 64))+ check("no checksum at all → nil", WAGOWARelease.expectedSHA256(for: .init(name: "x.zip", url: URL(string: "https://github.com")!, size: 1, digest: nil), checksums: sums) == nil)+ check("binary name", WAGOWARelease.binaryName(arch: "arm64") == "darwin-arm64")+ check("GitHub hosts only", WAGOWARelease.allowedHost("objects.githubusercontent.com") && WAGOWARelease.allowedHost("github.com")+ && !WAGOWARelease.allowedHost("github.com.evil.io") && !WAGOWARelease.allowedHost(nil))+ }+print("\nMentions and ids")do {check("same user across forms", WAJID.sameUser("[email protected]", "628:[email protected]") && !WAJID.sameUser("[email protected]", "[email protected]"))diff --git a/windows/src/i18n/strings.json b/windows/src/i18n/strings.jsonindex fcaf5fd0..a20602c8 100644--- a/windows/src/i18n/strings.json+++ b/windows/src/i18n/strings.json@@ -255,6 +255,17 @@"ru": "Сначала добавь ключ Anthropic API в Настройки → Чат.","id": "Tambahkan dulu kunci API Anthropic-mu di Pengaturan → Chat."},+ "Advanced: your own gateway": {+ "zh-Hans": "高级:你自己的网关",+ "hi": "एडवांस्ड: अपना गेटवे",+ "es": "Avanzado: tu propia pasarela",+ "ar": "متقدم: بوابتك الخاصة",+ "fr": "Avancé : ta propre passerelle",+ "bn": "অ্যাডভান্সড: নিজের গেটওয়ে",+ "pt-BR": "Avançado: seu próprio gateway",+ "ru": "Дополнительно: свой шлюз",+ "id": "Lanjutan: gateway sendiri"+ },"Advertisement": {"zh-Hans": "广告","hi": "विज्ञापन",@@ -827,6 +838,17 @@"ru": "Проверка новых сообщений каждые 20 с.","id": "Memeriksa pesan baru setiap 20 dtk."},+ "Checking the download…": {+ "zh-Hans": "正在校验下载内容…",+ "hi": "डाउनलोड जाँचा जा रहा है…",+ "es": "Comprobando la descarga…",+ "ar": "جارٍ التحقق من التنزيل…",+ "fr": "Vérification du téléchargement…",+ "bn": "ডাউনলোড যাচাই হচ্ছে…",+ "pt-BR": "Verificando o download…",+ "ru": "Проверка загрузки…",+ "id": "Memeriksa unduhan…"+ },"Choose the tools you use. Coucou only shows what you declare here.": {"zh-Hans": "选择你使用的工具。Coucou 只显示你在这里声明的内容。","hi": "वे टूल चुनें जो आप उपयोग करते हैं। Coucou केवल वही दिखाता है जो आप यहाँ घोषित करते हैं।",@@ -1410,6 +1432,17 @@"ru": "Coucou не смог вставить: слова скопированы. Нажмите ⌘V и разрешите Универсальный доступ, чтобы он вставлял сам.","id": "Coucou tidak bisa menempel: kata-katamu sudah disalin. Tekan ⌘V, dan izinkan Aksesibilitas agar ia menempel sendiri."},+ "Coucou downloads GOWA, the open-source gateway, from its GitHub page (about 15 MB, once), checks it and starts it. Then scan the QR code with your phone. No Terminal needed.": {+ "zh-Hans": "Coucou 会从 GitHub 页面下载开源网关 GOWA(约 15 MB,仅一次),校验后启动。然后用手机扫描二维码即可。无需终端。",+ "hi": "Coucou ओपन-सोर्स गेटवे GOWA को उसके GitHub पेज से डाउनलोड करता है (लगभग 15 MB, सिर्फ़ एक बार), जाँचता है और चालू करता है। फिर फ़ोन से QR कोड स्कैन करें। टर्मिनल की ज़रूरत नहीं।",+ "es": "Coucou descarga GOWA, la pasarela de código abierto, desde su página de GitHub (unos 15 MB, una sola vez), la comprueba y la inicia. Luego escanea el código QR con tu teléfono. Sin Terminal.",+ "ar": "يُنزّل Coucou بوابة GOWA مفتوحة المصدر من صفحتها على GitHub (نحو 15 ميغابايت، مرة واحدة)، ويتحقق منها ويشغّلها. ثم امسح رمز QR بهاتفك. لا حاجة إلى الطرفية.",+ "fr": "Coucou télécharge GOWA, la passerelle open source, depuis sa page GitHub (environ 15 Mo, une seule fois), la vérifie et la lance. Ensuite, scanne le QR code avec ton téléphone. Pas besoin du Terminal.",+ "bn": "Coucou ওপেন-সোর্স গেটওয়ে GOWA তার GitHub পেজ থেকে ডাউনলোড করে (প্রায় ১৫ MB, একবারই), যাচাই করে চালু করে। তারপর ফোন দিয়ে QR কোড স্ক্যান করুন। টার্মিনাল লাগবে না।",+ "pt-BR": "O Coucou baixa o GOWA, o gateway de código aberto, da página dele no GitHub (cerca de 15 MB, uma única vez), verifica e inicia. Depois, escaneie o QR code com o celular. Sem Terminal.",+ "ru": "Coucou скачивает GOWA, шлюз с открытым кодом, с его страницы на GitHub (около 15 МБ, один раз), проверяет и запускает. Затем отсканируйте QR-код телефоном. Терминал не нужен.",+ "id": "Coucou mengunduh GOWA, gateway open source, dari halaman GitHub-nya (sekitar 15 MB, sekali saja), memeriksanya lalu menjalankannya. Lalu pindai kode QR dengan ponselmu. Tanpa Terminal."+ },"Coucou is writing the transcript, person by person…": {"zh-Hans": "Coucou 正在按人逐句写转写…","hi": "Coucou हर व्यक्ति के हिसाब से ट्रांसक्रिप्ट लिख रहा है…",@@ -1784,6 +1817,17 @@"ru": "Сначала скачайте модели в Coucou Flow → Настройки.","id": "Unduh dulu modelnya di Coucou Flow → Pengaturan."},+ "Downloading ({0} MB)…": {+ "zh-Hans": "正在下载({0} MB)…",+ "hi": "डाउनलोड हो रहा है ({0} MB)…",+ "es": "Descargando ({0} MB)…",+ "ar": "جارٍ التنزيل ({0} ميغابايت)…",+ "fr": "Téléchargement ({0} Mo)…",+ "bn": "ডাউনলোড হচ্ছে ({0} MB)…",+ "pt-BR": "Baixando ({0} MB)…",+ "ru": "Загрузка ({0} МБ)…",+ "id": "Mengunduh ({0} MB)…"+ },"Draft": {"zh-Hans": "草稿","hi": "ड्राफ्ट",@@ -2114,6 +2158,17 @@"ru": "Полные предложения и абзацы — для писем.","id": "Kalimat lengkap dan paragraf, untuk email."},+ "GOWA's release has no checksum to check the download against: nothing was installed.": {+ "zh-Hans": "GOWA 版本没有可用于校验的校验和:未安装任何内容。",+ "hi": "GOWA रिलीज़ में डाउनलोड जाँचने के लिए चेकसम नहीं है: कुछ इंस्टॉल नहीं हुआ।",+ "es": "La versión de GOWA no tiene suma de comprobación para verificar la descarga: no se instaló nada.",+ "ar": "لا يحتوي إصدار GOWA على بصمة للتحقق من التنزيل: لم يُثبَّت شيء.",+ "fr": "La version de GOWA n'a pas d'empreinte pour vérifier le téléchargement : rien n'a été installé.",+ "bn": "GOWA রিলিজে ডাউনলোড যাচাইয়ের চেকসাম নেই: কিছু ইনস্টল হয়নি।",+ "pt-BR": "A versão do GOWA não tem checksum para verificar o download: nada foi instalado.",+ "ru": "У выпуска GOWA нет контрольной суммы для проверки: ничего не установлено.",+ "id": "Rilis GOWA tidak punya checksum untuk memeriksa unduhan: tidak ada yang dipasang."+ },"Gateway": {"zh-Hans": "网关","hi": "गेटवे",@@ -2125,6 +2180,17 @@"ru": "Шлюз","id": "Gateway"},+ "Gateway GOWA {0} installed, started by Coucou": {+ "zh-Hans": "GOWA {0} 网关已安装,由 Coucou 启动",+ "hi": "GOWA {0} गेटवे इंस्टॉल है, Coucou इसे चलाता है",+ "es": "Pasarela GOWA {0} instalada, iniciada por Coucou",+ "ar": "بوابة GOWA {0} مثبّتة ويشغّلها Coucou",+ "fr": "Passerelle GOWA {0} installée, lancée par Coucou",+ "bn": "GOWA {0} গেটওয়ে ইনস্টল, Coucou চালায়",+ "pt-BR": "Gateway GOWA {0} instalado, iniciado pelo Coucou",+ "ru": "Шлюз GOWA {0} установлен, запускается Coucou",+ "id": "Gateway GOWA {0} terpasang, dijalankan oleh Coucou"+ },"Gemini CLI hooks": {"zh-Hans": "Gemini CLI 钩子","hi": "Gemini CLI हुक",@@ -2598,6 +2664,17 @@"ru": "Установить хуки Coucou в ~/.claude?","id": "Pasang hooks Coucou di ~/.claude?"},+ "Install WhatsApp": {+ "zh-Hans": "安装 WhatsApp",+ "hi": "WhatsApp इंस्टॉल करें",+ "es": "Instalar WhatsApp",+ "ar": "تثبيت واتساب",+ "fr": "Installer WhatsApp",+ "bn": "WhatsApp ইনস্টল করো",+ "pt-BR": "Instalar o WhatsApp",+ "ru": "Установить WhatsApp",+ "id": "Pasang WhatsApp"+ },"Install hooks": {"zh-Hans": "安装 Hooks","hi": "हुक इंस्टॉल करें",@@ -2642,6 +2719,17 @@"ru": "Установлен","id": "Terpasang"},+ "Installing and starting…": {+ "zh-Hans": "正在安装并启动…",+ "hi": "इंस्टॉल और चालू हो रहा है…",+ "es": "Instalando e iniciando…",+ "ar": "جارٍ التثبيت والتشغيل…",+ "fr": "Installation et démarrage…",+ "bn": "ইনস্টল ও চালু হচ্ছে…",+ "pt-BR": "Instalando e iniciando…",+ "ru": "Установка и запуск…",+ "id": "Memasang dan menjalankan…"+ },"Integrations": {"zh-Hans": "集成","hi": "एकीकरण",@@ -2961,6 +3049,17 @@"ru": "Самая долгая сессия","id": "Sesi terpanjang"},+ "Looking for the latest GOWA…": {+ "zh-Hans": "正在查找最新版 GOWA…",+ "hi": "GOWA का नया वर्शन ढूँढ रहा है…",+ "es": "Buscando la última versión de GOWA…",+ "ar": "البحث عن أحدث إصدار من GOWA…",+ "fr": "Recherche de la dernière version de GOWA…",+ "bn": "GOWA-র সর্বশেষ সংস্করণ খোঁজা হচ্ছে…",+ "pt-BR": "Procurando a versão mais recente do GOWA…",+ "ru": "Поиск последней версии GOWA…",+ "id": "Mencari versi GOWA terbaru…"+ },"Mac voice": {"zh-Hans": "Mac 语音","hi": "Mac की आवाज़",@@ -3401,6 +3500,17 @@"ru": "Следующий трек","id": "Lagu berikutnya"},+ "No GOWA build for this Mac was found on GitHub. Try again later, or set your own gateway under Advanced.": {+ "zh-Hans": "GitHub 上没有适用于此 Mac 的 GOWA 版本。请稍后重试,或在“高级”中设置你自己的网关。",+ "hi": "GitHub पर इस Mac के लिए GOWA नहीं मिला। बाद में फिर कोशिश करें, या एडवांस्ड में अपना गेटवे सेट करें।",+ "es": "No hay ninguna versión de GOWA para este Mac en GitHub. Inténtalo más tarde o configura tu propia pasarela en Avanzado.",+ "ar": "لا يوجد إصدار من GOWA لهذا الـMac على GitHub. أعد المحاولة لاحقًا أو اضبط بوابتك في «متقدم».",+ "fr": "Aucune version de GOWA pour ce Mac sur GitHub. Réessaie plus tard, ou configure ta propre passerelle dans Avancé.",+ "bn": "GitHub-এ এই Mac-এর জন্য GOWA পাওয়া যায়নি। পরে আবার চেষ্টা করুন, বা অ্যাডভান্সডে নিজের গেটওয়ে সেট করুন।",+ "pt-BR": "Nenhuma versão do GOWA para este Mac no GitHub. Tente mais tarde ou configure seu próprio gateway em Avançado.",+ "ru": "На GitHub нет сборки GOWA для этого Mac. Попробуйте позже или укажите свой шлюз в разделе «Дополнительно».",+ "id": "Tidak ada versi GOWA untuk Mac ini di GitHub. Coba lagi nanti, atau atur gateway sendiri di Lanjutan."+ },"No activity last week": {"zh-Hans": "上周无活动","hi": "पिछले सप्ताह कोई गतिविधि नहीं",@@ -5865,6 +5975,39 @@"ru": "Для чистки нужен ваш ключ Claude. Добавьте его в Настройки → Чат.","id": "Perapian memakai kunci Claude-mu. Tambahkan di Pengaturan → Obrolan."},+ "The download couldn't be unzipped. Try again.": {+ "zh-Hans": "无法解压下载内容。请重试。",+ "hi": "डाउनलोड अनज़िप नहीं हो सका। फिर कोशिश करें।",+ "es": "No se pudo descomprimir la descarga. Inténtalo de nuevo.",+ "ar": "تعذّر فك ضغط التنزيل. أعد المحاولة.",+ "fr": "Le téléchargement n'a pas pu être décompressé. Réessaie.",+ "bn": "ডাউনলোড আনজিপ করা যায়নি। আবার চেষ্টা করুন।",+ "pt-BR": "Não foi possível descompactar o download. Tente de novo.",+ "ru": "Не удалось распаковать загрузку. Попробуйте снова.",+ "id": "Unduhan tidak bisa diekstrak. Coba lagi."+ },+ "The download didn't go through. Check your connection and try again.": {+ "zh-Hans": "下载未完成。请检查网络后重试。",+ "hi": "डाउनलोड पूरा नहीं हुआ। कनेक्शन जाँचकर फिर कोशिश करें।",+ "es": "La descarga no se completó. Revisa tu conexión e inténtalo de nuevo.",+ "ar": "لم يكتمل التنزيل. تحقق من اتصالك وأعد المحاولة.",+ "fr": "Le téléchargement n'a pas abouti. Vérifie ta connexion et réessaie.",+ "bn": "ডাউনলোড সম্পূর্ণ হয়নি। সংযোগ দেখে আবার চেষ্টা করুন।",+ "pt-BR": "O download não foi concluído. Verifique sua conexão e tente de novo.",+ "ru": "Загрузка не удалась. Проверьте подключение и попробуйте снова.",+ "id": "Unduhan gagal. Periksa koneksimu lalu coba lagi."+ },+ "The download doesn't match the file GOWA published: it was deleted, nothing was installed.": {+ "zh-Hans": "下载内容与 GOWA 发布的文件不符:已删除,未安装任何内容。",+ "hi": "डाउनलोड GOWA की फ़ाइल से मेल नहीं खाता: हटा दिया गया, कुछ इंस्टॉल नहीं हुआ।",+ "es": "La descarga no coincide con el archivo publicado por GOWA: se eliminó y no se instaló nada.",+ "ar": "التنزيل لا يطابق الملف الذي نشره GOWA: حُذف ولم يُثبَّت شيء.",+ "fr": "Le téléchargement ne correspond pas au fichier publié par GOWA : il a été supprimé, rien n'a été installé.",+ "bn": "ডাউনলোড GOWA-র প্রকাশিত ফাইলের সঙ্গে মেলে না: মুছে ফেলা হয়েছে, কিছু ইনস্টল হয়নি।",+ "pt-BR": "O download não corresponde ao arquivo publicado pelo GOWA: foi apagado, nada foi instalado.",+ "ru": "Загрузка не совпадает с файлом, опубликованным GOWA: она удалена, ничего не установлено.",+ "id": "Unduhan tidak cocok dengan file dari GOWA: sudah dihapus, tidak ada yang dipasang."+ },"The gateway URL isn’t valid (http://…)": {"zh-Hans": "网关地址无效(http://…)","hi": "गेटवे URL मान्य नहीं है (http://…)",@@ -6294,6 +6437,17 @@"ru": "Пока Parakeet не скачан, Coucou использует распознавание речи Mac.","id": "Sampai Parakeet diunduh, Coucou memakai pengenalan suara Mac."},+ "Update": {+ "zh-Hans": "更新",+ "hi": "अपडेट करें",+ "es": "Actualizar",+ "ar": "تحديث",+ "fr": "Mettre à jour",+ "bn": "আপডেট করো",+ "pt-BR": "Atualizar",+ "ru": "Обновить",+ "id": "Perbarui"+ },"Update hooks": {"zh-Hans": "更新 Hooks","hi": "हुक अपडेट करें",@@ -6866,6 +7020,17 @@"ru": "Ты говоришь","id": "Kamu berbicara"},+ "Your GOWA gateway is set up": {+ "zh-Hans": "你的 GOWA 网关已设置",+ "hi": "आपका GOWA गेटवे सेट है",+ "es": "Tu pasarela GOWA está configurada",+ "ar": "بوابة GOWA الخاصة بك مُعدّة",+ "fr": "Ta passerelle GOWA est configurée",+ "bn": "আপনার GOWA গেটওয়ে সেট করা আছে",+ "pt-BR": "Seu gateway GOWA está configurado",+ "ru": "Ваш шлюз GOWA настроен",+ "id": "Gateway GOWA-mu sudah diatur"+ },"Your Mac is hot": {"zh-Hans": "你的 Mac 很热","hi": "आपका Mac गर्म है",