Skip to content

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.

What's new data for the Mac and Windows/Linux, and its check

Claude5075a2041e8a
diff --git a/NotchBuddy/Resources/whats-new.json b/NotchBuddy/Resources/whats-new.json
new file mode 100644
index 00000000..15f5fc8d
--- /dev/null
+++ b/NotchBuddy/Resources/whats-new.json
@@ -0,0 +1,150 @@
+{
+ "about": "What's new, shown once in the notch after Coucou updates itself (WhatsNew.swift). Every Mac release adds its entry here, in the 14 languages, before release.sh: 1 to 4 items, a short title and one line each, an icon from scripts/test-whats-new.py. python3 scripts/test-whats-new.py checks it.",
+ "releases": [
+ {
+ "version": "0.5.2",
+ "items": [
+ {
+ "icon": "update",
+ "title": {
+ "en": "New version in the notch",
+ "fr": "Nouvelle version dans le notch",
+ "es": "Nueva versión en el notch",
+ "pt-BR": "Nova versão no notch",
+ "ru": "Новая версия в вырезе",
+ "zh-Hans": "刘海中的新版本",
+ "hi": "नॉच में नया वर्ज़न",
+ "ar": "إصدار جديد في النوتش",
+ "bn": "নচে নতুন ভার্সন",
+ "id": "Versi baru di notch",
+ "de": "Neue Version in der Notch",
+ "tr": "Çentikte yeni sürüm",
+ "th": "เวอร์ชันใหม่ในรอยบาก",
+ "zh-Hant": "瀏海中的新版本"
+ },
+ "detail": {
+ "en": "Mochi tells you when a new Coucou is out. One click installs it.",
+ "fr": "Mochi te prévient quand un nouveau Coucou sort. Un clic l'installe.",
+ "es": "Mochi te avisa cuando sale un nuevo Coucou. Un clic lo instala.",
+ "pt-BR": "O Mochi avisa quando sai um novo Coucou. Um clique instala.",
+ "ru": "Mochi сообщит о новом Coucou. Один клик — и он установлен.",
+ "zh-Hans": "有新版 Coucou 时 Mochi 会告诉你,一键即可安装。",
+ "hi": "नया Coucou आने पर Mochi बताता है। एक क्लिक में इंस्टॉल।",
+ "ar": "يخبرك Mochi بصدور Coucou جديد. نقرة واحدة تثبّته.",
+ "bn": "নতুন Coucou এলে Mochi জানায়। এক ক্লিকে ইনস্টল।",
+ "id": "Mochi memberi tahu saat Coucou baru keluar. Sekali klik untuk memasang.",
+ "de": "Mochi sagt dir, wenn ein neues Coucou da ist. Ein Klick installiert es.",
+ "tr": "Yeni Coucou çıkınca Mochi haber verir. Tek tıkla kurulur.",
+ "th": "Mochi บอกเมื่อมี Coucou ใหม่ คลิกเดียวก็ติดตั้งได้",
+ "zh-Hant": "有新版 Coucou 時 Mochi 會告訴你,一鍵即可安裝。"
+ }
+ },
+ {
+ "icon": "languages",
+ "title": {
+ "en": "Four new languages",
+ "fr": "Quatre nouvelles langues",
+ "es": "Cuatro idiomas nuevos",
+ "pt-BR": "Quatro novos idiomas",
+ "ru": "Четыре новых языка",
+ "zh-Hans": "新增四种语言",
+ "hi": "चार नई भाषाएँ",
+ "ar": "أربع لغات جديدة",
+ "bn": "চারটি নতুন ভাষা",
+ "id": "Empat bahasa baru",
+ "de": "Vier neue Sprachen",
+ "tr": "Dört yeni dil",
+ "th": "เพิ่มสี่ภาษาใหม่",
+ "zh-Hant": "新增四種語言"
+ },
+ "detail": {
+ "en": "German, Turkish, Thai and Traditional Chinese: 14 in all.",
+ "fr": "Allemand, turc, thaï et chinois traditionnel : 14 en tout.",
+ "es": "Alemán, turco, tailandés y chino tradicional: 14 en total.",
+ "pt-BR": "Alemão, turco, tailandês e chinês tradicional: 14 no total.",
+ "ru": "Немецкий, турецкий, тайский и традиционный китайский: всего 14.",
+ "zh-Hans": "德语、土耳其语、泰语和繁体中文:共 14 种。",
+ "hi": "जर्मन, तुर्की, थाई और पारंपरिक चीनी: कुल 14।",
+ "ar": "الألمانية والتركية والتايلاندية والصينية التقليدية: 14 لغة.",
+ "bn": "জার্মান, তুর্কি, থাই ও প্রথাগত চীনা: মোট ১৪টি।",
+ "id": "Jerman, Turki, Thai, dan Mandarin Tradisional: total 14.",
+ "de": "Deutsch, Türkisch, Thai und traditionelles Chinesisch: 14 insgesamt.",
+ "tr": "Almanca, Türkçe, Tayca ve Geleneksel Çince: toplam 14.",
+ "th": "เยอรมัน ตุรกี ไทย และจีนตัวเต็ม รวม 14 ภาษา",
+ "zh-Hant": "德文、土耳其文、泰文和繁體中文:共 14 種。"
+ }
+ },
+ {
+ "icon": "checklist",
+ "title": {
+ "en": "Plans from the notch",
+ "fr": "Les plans depuis le notch",
+ "es": "Planes desde el notch",
+ "pt-BR": "Planos pelo notch",
+ "ru": "Планы прямо из выреза",
+ "zh-Hans": "在刘海中处理计划",
+ "hi": "नॉच से प्लान",
+ "ar": "الخطط من النوتش",
+ "bn": "নচ থেকেই প্ল্যান",
+ "id": "Rencana dari notch",
+ "de": "Pläne aus der Notch",
+ "tr": "Planlar çentikten",
+ "th": "จัดการแผนจากรอยบาก",
+ "zh-Hant": "在瀏海中處理計畫"
+ },
+ "detail": {
+ "en": "Approve Claude Code's plan in Auto or Manual mode, or change it.",
+ "fr": "Valide le plan de Claude Code en mode Auto ou Manuel, ou modifie-le.",
+ "es": "Aprueba el plan de Claude Code en modo Auto o Manual, o cámbialo.",
+ "pt-BR": "Aprove o plano do Claude Code no modo Auto ou Manual, ou mude-o.",
+ "ru": "Одобрите план Claude Code в режиме Auto или Manual — или измените его.",
+ "zh-Hans": "以自动或手动模式批准 Claude Code 的计划,或修改它。",
+ "hi": "Claude Code का प्लान Auto या Manual मोड में मंज़ूर करें, या बदलें।",
+ "ar": "وافق على خطة Claude Code بالوضع التلقائي أو اليدوي، أو عدّلها.",
+ "bn": "Claude Code-এর প্ল্যান Auto বা Manual মোডে অনুমোদন করুন, বা বদলান।",
+ "id": "Setujui rencana Claude Code dalam mode Auto atau Manual, atau ubah.",
+ "de": "Gib den Plan von Claude Code im Modus Auto oder Manuell frei – oder ändere ihn.",
+ "tr": "Claude Code'un planını Otomatik veya Manuel modda onayla ya da değiştir.",
+ "th": "อนุมัติแผนของ Claude Code แบบ Auto หรือ Manual หรือแก้ไข",
+ "zh-Hant": "以自動或手動模式核准 Claude Code 的計畫,或修改它。"
+ }
+ },
+ {
+ "icon": "bell",
+ "title": {
+ "en": "Alerts from every pill",
+ "fr": "Les alertes de toutes les pills",
+ "es": "Alertas de todas las píldoras",
+ "pt-BR": "Alertas de todas as pílulas",
+ "ru": "Оповещения от всех пилюль",
+ "zh-Hans": "所有胶囊的提醒",
+ "hi": "हर पिल के अलर्ट",
+ "ar": "تنبيهات من كل الحبوب",
+ "bn": "প্রতিটি পিলের অ্যালার্ট",
+ "id": "Notifikasi dari semua pil",
+ "de": "Hinweise von jeder Pill",
+ "tr": "Tüm araçların uyarıları",
+ "th": "การแจ้งเตือนจากทุกแถบ",
+ "zh-Hant": "所有標籤的提醒"
+ },
+ "detail": {
+ "en": "Another pill that finishes or fails can open the notch for a moment.",
+ "fr": "Une autre pill qui termine ou échoue peut ouvrir le notch un instant.",
+ "es": "Otra píldora que termina o falla puede abrir el notch un momento.",
+ "pt-BR": "Outra pílula que termina ou falha pode abrir o notch por um instante.",
+ "ru": "Другая пилюля, которая завершилась или упала, может ненадолго открыть вырез.",
+ "zh-Hans": "其他胶囊完成或失败时,可短暂打开刘海。",
+ "hi": "कोई दूसरा पिल पूरा या फ़ेल होने पर नॉच पल भर के लिए खुल सकता है।",
+ "ar": "يمكن لحبة أخرى انتهت أو فشلت أن تفتح النوتش للحظة.",
+ "bn": "অন্য পিল শেষ বা ব্যর্থ হলে নচ এক মুহূর্তের জন্য খুলতে পারে।",
+ "id": "Pil lain yang selesai atau gagal bisa membuka notch sebentar.",
+ "de": "Eine andere Pill, die fertig wird oder scheitert, kann die Notch kurz öffnen.",
+ "tr": "Biten ya da hata veren başka bir araç çentiği bir an açabilir.",
+ "th": "แถบอื่นที่เสร็จหรือล้มเหลวเปิดรอยบากได้ชั่วครู่",
+ "zh-Hant": "其他標籤完成或失敗時,可短暫打開瀏海。"
+ }
+ }
+ ]
+ }
+ ]
+}
diff --git a/scripts/test-whats-new.py b/scripts/test-whats-new.py
new file mode 100755
index 00000000..c4e85321
--- /dev/null
+++ b/scripts/test-whats-new.py
@@ -0,0 +1,126 @@
+#!/usr/bin/env python3
+"""What's new after an update: every release must bring its entry.
+
+Coucou shows, once after it updated itself, what the new version brings (an icon, a title and a
+line per item, in every language the app speaks). The entries live in
+ NotchBuddy/Resources/whats-new.json (Mac, the 14 languages of Localizable.xcstrings)
+ windows/src/whats-new/whats-new.json (Windows and Linux, the 12 languages of strings.json)
+This test fails when the version the app is about to ship has no entry, or an entry is
+incomplete. release.sh runs it too, so a release can't go out without its "What's new".
+
+ python3 scripts/test-whats-new.py
+"""
+import json
+import re
+import sys
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parent.parent
+
+# The icons both apps know (WhatsNew.swift maps them to SF Symbols, src/whats-new/icons.ts to SVG).
+ICONS = {
+ "update", "languages", "terminal", "checklist", "bell", "chat", "mic", "phone", "shield",
+ "sparkles", "bolt", "puzzle", "paint", "eye", "keyboard", "heart", "clock", "download", "bug",
+}
+
+MAC_LANGS = ["en", "fr", "es", "pt-BR", "ru", "zh-Hans", "hi", "ar", "bn", "id", "de", "tr", "th", "zh-Hant"]
+
+MAX_ITEMS = 4
+MAX_TITLE = 48 # characters, any language: one line in the card
+MAX_DETAIL = 110 # characters: two short lines at most
+
+failures = []
+
+
+def fail(msg):
+ failures.append(msg)
+ print(f" ✗ {msg}")
+
+
+def mac_version():
+ text = (ROOT / "NotchBuddy/project.yml").read_text(encoding="utf-8")
+ # The first target is the GitHub app (NotchBuddy); the App Store build has its own numbers.
+ m = re.search(r'CFBundleShortVersionString:\s*"([0-9.]+)"', text)
+ return m.group(1)
+
+
+def windows_version():
+ return json.loads((ROOT / "windows/package.json").read_text(encoding="utf-8"))["version"]
+
+
+def windows_langs():
+ return json.loads((ROOT / "windows/src/i18n/strings.json").read_text(encoding="utf-8"))["languages"]
+
+
+def vkey(v):
+ return tuple(int(x) for x in v.split("."))
+
+
+def check(label, path, version, langs):
+ print(f"\n{label}: {path.relative_to(ROOT)} for {version}")
+ before = len(failures)
+ try:
+ data = json.loads(path.read_text(encoding="utf-8"))
+ except Exception as e: # noqa: BLE001
+ fail(f"{path.name} does not read as JSON: {e}")
+ return
+ releases = data.get("releases")
+ if not isinstance(releases, list) or not releases:
+ fail("no releases")
+ return
+ versions = [r.get("version", "") for r in releases]
+ if len(set(versions)) != len(versions):
+ fail(f"a version appears twice: {versions}")
+ if any(not re.fullmatch(r"\d+(\.\d+){1,3}", v) for v in versions):
+ fail(f"a version is not numbers and dots: {versions}")
+ return
+ if versions != sorted(versions, key=vkey, reverse=True):
+ fail(f"newest first, please: {versions}")
+ current = next((r for r in releases if r["version"] == version), None)
+ if current is None:
+ fail(f"no entry for {version}: add it to {path.relative_to(ROOT)} (see CLAUDE.md, Releases)")
+ return
+ for r in releases:
+ items = r.get("items")
+ where = r["version"]
+ if not isinstance(items, list) or not (1 <= len(items) <= MAX_ITEMS):
+ fail(f"{where}: 1 to {MAX_ITEMS} items")
+ continue
+ for i, item in enumerate(items, 1):
+ if item.get("icon") not in ICONS:
+ fail(f"{where} item {i}: icon {item.get('icon')!r} is not one of {sorted(ICONS)}")
+ for field, limit in (("title", MAX_TITLE), ("detail", MAX_DETAIL)):
+ values = item.get(field)
+ if not isinstance(values, dict):
+ fail(f"{where} item {i}: no {field}")
+ continue
+ # Older entries may miss a language added later (English is shown instead);
+ # the version being shipped must have them all.
+ needed = langs if r is current else ["en"]
+ for lang in needed:
+ v = values.get(lang)
+ if not isinstance(v, str) or not v.strip():
+ fail(f"{where} item {i}: {field} has no {lang}")
+ elif len(v) > limit:
+ fail(f"{where} item {i}: {field} in {lang} is {len(v)} characters (at most {limit})")
+ for lang in values:
+ if lang not in langs:
+ fail(f"{where} item {i}: {field} has {lang!r}, which the app does not speak")
+ if len(failures) == before:
+ print(f" ✓ {version}: {len(current['items'])} items in {len(langs)} languages")
+
+
+def main():
+ only = sys.argv[1] if len(sys.argv) > 1 else None
+ if only in (None, "mac"):
+ check("Mac", ROOT / "NotchBuddy/Resources/whats-new.json", mac_version(), MAC_LANGS)
+ if only in (None, "windows"):
+ check("Windows and Linux", ROOT / "windows/src/whats-new/whats-new.json", windows_version(), windows_langs())
+ if failures:
+ print(f"\n{len(failures)} failure(s)")
+ sys.exit(1)
+ print("\nWhat's new is ready")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/windows/src/whats-new/whats-new.json b/windows/src/whats-new/whats-new.json
new file mode 100644
index 00000000..f7233c6c
--- /dev/null
+++ b/windows/src/whats-new/whats-new.json
@@ -0,0 +1,134 @@
+{
+ "about": "What's new, shown once in the island after Coucou updates itself (src/whats-new/). Every Windows and Linux release adds its entry here, in the 12 languages: 1 to 4 items, a short title and one line each, an icon from scripts/test-whats-new.py. python3 scripts/test-whats-new.py checks it.",
+ "releases": [
+ {
+ "version": "0.5.1",
+ "items": [
+ {
+ "icon": "update",
+ "title": {
+ "en": "New version in the island",
+ "zh-Hans": "岛中的新版本",
+ "hi": "आइलैंड में नया वर्ज़न",
+ "es": "Nueva versión en la isla",
+ "ar": "إصدار جديد في الشريط",
+ "fr": "Nouvelle version dans l'île",
+ "bn": "আইল্যান্ডে নতুন ভার্সন",
+ "pt-BR": "Nova versão na ilha",
+ "ru": "Новая версия на острове",
+ "id": "Versi baru di pulau",
+ "de": "Neue Version in der Insel",
+ "tr": "Adada yeni sürüm"
+ },
+ "detail": {
+ "en": "Coucou tells you when a new version is out. On Windows, one click installs it.",
+ "zh-Hans": "有新版本时 Coucou 会告诉你。在 Windows 上一键即可安装。",
+ "hi": "नया वर्ज़न आने पर Coucou बताता है। Windows पर एक क्लिक में इंस्टॉल।",
+ "es": "Coucou te avisa cuando sale una versión nueva. En Windows, un clic la instala.",
+ "ar": "يخبرك Coucou بصدور إصدار جديد. على Windows تثبّته نقرة واحدة.",
+ "fr": "Coucou te prévient quand une nouvelle version sort. Sur Windows, un clic l'installe.",
+ "bn": "নতুন ভার্সন এলে Coucou জানায়। Windows-এ এক ক্লিকে ইনস্টল।",
+ "pt-BR": "O Coucou avisa quando sai uma nova versão. No Windows, um clique instala.",
+ "ru": "Coucou сообщит о новой версии. В Windows она ставится одним кликом.",
+ "id": "Coucou memberi tahu saat versi baru keluar. Di Windows, sekali klik untuk memasang.",
+ "de": "Coucou sagt dir, wenn eine neue Version da ist. Unter Windows installiert sie ein Klick.",
+ "tr": "Yeni sürüm çıkınca Coucou haber verir. Windows'ta tek tıkla kurulur."
+ }
+ },
+ {
+ "icon": "languages",
+ "title": {
+ "en": "German and Turkish",
+ "zh-Hans": "德语和土耳其语",
+ "hi": "जर्मन और तुर्की",
+ "es": "Alemán y turco",
+ "ar": "الألمانية والتركية",
+ "fr": "Allemand et turc",
+ "bn": "জার্মান ও তুর্কি",
+ "pt-BR": "Alemão e turco",
+ "ru": "Немецкий и турецкий",
+ "id": "Jerman dan Turki",
+ "de": "Deutsch und Türkisch",
+ "tr": "Almanca ve Türkçe"
+ },
+ "detail": {
+ "en": "Coucou now speaks 12 languages.",
+ "zh-Hans": "Coucou 现在支持 12 种语言。",
+ "hi": "Coucou अब 12 भाषाएँ बोलता है।",
+ "es": "Coucou ya habla 12 idiomas.",
+ "ar": "يتحدث Coucou الآن 12 لغة.",
+ "fr": "Coucou parle maintenant 12 langues.",
+ "bn": "Coucou এখন ১২টি ভাষায় কথা বলে।",
+ "pt-BR": "O Coucou agora fala 12 idiomas.",
+ "ru": "Теперь Coucou говорит на 12 языках.",
+ "id": "Coucou kini berbicara 12 bahasa.",
+ "de": "Coucou spricht jetzt 12 Sprachen.",
+ "tr": "Coucou artık 12 dil konuşuyor."
+ }
+ },
+ {
+ "icon": "clock",
+ "title": {
+ "en": "A clock in the island",
+ "zh-Hans": "岛中的时钟",
+ "hi": "आइलैंड में घड़ी",
+ "es": "Un reloj en la isla",
+ "ar": "ساعة في الشريط",
+ "fr": "Une horloge dans l'île",
+ "bn": "আইল্যান্ডে ঘড়ি",
+ "pt-BR": "Um relógio na ilha",
+ "ru": "Часы на острове",
+ "id": "Jam di pulau",
+ "de": "Eine Uhr in der Insel",
+ "tr": "Adada saat"
+ },
+ "detail": {
+ "en": "Optional, in the middle of the compact island.",
+ "zh-Hans": "可选,显示在紧凑岛的中间。",
+ "hi": "वैकल्पिक, कॉम्पैक्ट आइलैंड के बीच में।",
+ "es": "Opcional, en el centro de la isla compacta.",
+ "ar": "اختيارية، في منتصف الشريط المصغّر.",
+ "fr": "En option, au milieu de l'île compacte.",
+ "bn": "ঐচ্ছিক, ছোট আইল্যান্ডের মাঝখানে।",
+ "pt-BR": "Opcional, no meio da ilha compacta.",
+ "ru": "По желанию, в центре компактного острова.",
+ "id": "Opsional, di tengah pulau ringkas.",
+ "de": "Optional, in der Mitte der kompakten Insel.",
+ "tr": "İsteğe bağlı, kompakt adanın ortasında."
+ }
+ },
+ {
+ "icon": "bolt",
+ "title": {
+ "en": "Lighter on Linux",
+ "zh-Hans": "Linux 上更轻快",
+ "hi": "Linux पर हल्का",
+ "es": "Más ligero en Linux",
+ "ar": "أخف على Linux",
+ "fr": "Plus léger sous Linux",
+ "bn": "Linux-এ আরও হালকা",
+ "pt-BR": "Mais leve no Linux",
+ "ru": "Легче на Linux",
+ "id": "Lebih ringan di Linux",
+ "de": "Leichter unter Linux",
+ "tr": "Linux'ta daha hafif"
+ },
+ "detail": {
+ "en": "The closed window no longer keeps a processor core busy on KDE.",
+ "zh-Hans": "在 KDE 上,关闭的窗口不再占用一个处理器核心。",
+ "hi": "KDE पर बंद विंडो अब प्रोसेसर का एक कोर व्यस्त नहीं रखती।",
+ "es": "La ventana cerrada ya no mantiene ocupado un núcleo en KDE.",
+ "ar": "لم تعد النافذة المغلقة تُشغل نواة معالج على KDE.",
+ "fr": "La fenêtre fermée n'occupe plus un cœur du processeur sous KDE.",
+ "bn": "KDE-তে বন্ধ উইন্ডো আর প্রসেসরের একটি কোর ব্যস্ত রাখে না।",
+ "pt-BR": "A janela fechada não ocupa mais um núcleo no KDE.",
+ "ru": "Закрытое окно больше не занимает ядро процессора в KDE.",
+ "id": "Jendela yang ditutup tak lagi menyibukkan satu inti prosesor di KDE.",
+ "de": "Das geschlossene Fenster hält unter KDE keinen Prozessorkern mehr beschäftigt.",
+ "tr": "Kapalı pencere KDE'de artık bir işlemci çekirdeğini meşgul etmiyor."
+ }
+ }
+ ]
+ }
+ ]
+}