Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
feat(i18n): move the remaining spoken phrase tables into the catalog, translate turn-error codes (#737)
Ruben Lütkeb1adfd231cf7
diff --git a/dodaios/brain/ack_generator.py b/dodaios/brain/ack_generator.pyindex d6982bd178..48e0bebf7a 100644--- a/dodaios/brain/ack_generator.py+++ b/dodaios/brain/ack_generator.py@@ -46,6 +46,8 @@ from collections import dequefrom collections.abc import Callable, Mapping, Sequencefrom typing import Any+from dodaios.i18n import catalog as i18n_catalog+__all__ = ["ACK_SKIP_TOOLS","AckPhrasePicker",@@ -135,12 +137,7 @@ ACK_SKIP_TOOLS: frozenset[str] = frozenset({"get_config_value",})-_FINAL_MARKERS: dict[str, str] = {- "de": "Erledigt.", # i18n-allow: German runtime voice product (completion marker)- "en": "Done.",- "es": "Listo.",- "pt": "Feito.",-}+_FINAL_MARKERS: dict[str, str] = i18n_catalog.table("brain.ack.final_markers")# A brain text that already opens with one of these is treated as# self-confirming, so we don't double up with "Erledigt. Okay, ..."@@ -233,102 +230,15 @@ def _trim_to_words(text: str, max_chars: int) -> str:# German strings are runtime voice product content (i18n-allow). Phrases are# promissory ("I'm on it"), never completion claims — the tool has not run yet.-_GENERIC_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, einen Moment.", # i18n-allow: German runtime voice product- "Einen Augenblick bitte.", # i18n-allow: German runtime voice product- "Kurzen Moment, ich bin dran.", # i18n-allow: German runtime voice product- "Geht klar, Sekunde.", # i18n-allow: German runtime voice product- "Ich kümmere mich drum.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, one moment.",- "Just a second.",- "On it, give me a moment.",- "One sec, working on it.",- "Alright, hang on.",- ),- "es": (- "Vale, un momento.",- "Un segundo.",- "Enseguida, dame un momento.",- "Voy, un segundito.",- "De acuerdo, espera un poco.",- ),- "pt": (- "Está bem, um momento.",- "Um segundo.",- "Já vai, dá-me um momento.",- "Vou já, só um segundinho.",- "Combinado, espera um pouco.",- ),-}+_GENERIC_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.generic_ack")-_SHELL_ACK: dict[str, tuple[str, ...]] = {- # Shell commands are technical noise the user doesn't want spoken back —- # the phrases stay content-free but warm.- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Einen Moment, ich schaue nach.", # i18n-allow: German runtime voice product- "Ich prüfe das kurz.", # i18n-allow: German runtime voice product- "Sekunde, ich sehe nach.", # i18n-allow: German runtime voice product- "Ich werfe kurz einen Blick drauf.", # i18n-allow: German runtime voice product- "Moment, ich schaue mir das an.", # i18n-allow: German runtime voice product- ),- "en": (- "One moment, let me check.",- "Let me take a quick look.",- "Checking that now.",- "Give me a second to look.",- "Taking a quick look.",- ),- "es": (- "Un momento, lo compruebo.",- "Déjame echar un vistazo.",- "Lo miro ahora mismo.",- "Dame un segundo para mirarlo.",- "Le echo un vistazo rápido.",- ),- "pt": (- "Um momento, vou verificar.",- "Deixa-me dar uma vista de olhos.",- "Vejo isso agora mesmo.",- "Dá-me um segundo para ver.",- "Dou uma vista de olhos rápida.",- ),-}+_SHELL_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.shell_ack")# {service} is interpolated with a human-readable CLI service name# (cli_gh -> "GitHub"). See _CLI_SERVICE_NAMES / _cli_pool.-_CLI_SERVICE_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Ich schaue kurz auf {service} nach.", # i18n-allow: German runtime voice product- "Einen Moment, ich frage {service} ab.", # i18n-allow: German runtime voice product- "Ich werfe einen Blick in {service}.", # i18n-allow: German runtime voice product- "Sekunde, ich schaue in {service} nach.", # i18n-allow: German runtime voice product- "Ich hole das eben aus {service}.", # i18n-allow: German runtime voice product- ),- "en": (- "Taking a quick look at {service}.",- "One moment, checking {service}.",- "Let me pull that from {service}.",- "Checking {service} now.",- "Having a quick look in {service}.",- ),- "es": (- "Echo un vistazo rápido a {service}.",- "Un momento, consulto {service}.",- "Déjame mirarlo en {service}.",- "Reviso {service} ahora mismo.",- "Voy a ver en {service}.",- ),- "pt": (- "Dou uma vista de olhos rápida a {service}.",- "Um momento, consulto {service}.",- "Deixa-me ver isso em {service}.",- "Verifico {service} agora mesmo.",- "Vou ver em {service}.",- ),-}+_CLI_SERVICE_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table(+ "brain.ack.cli_service_ack"+)# Human service names for cli_<name> tools. Unknown suffixes are title-cased# ("cli_foo_bar" -> "Foo Bar") — still informative, never wrong.@@ -350,309 +260,35 @@ _CLI_SERVICE_NAMES: dict[str, str] = {"vercel": "Vercel",}-_HARNESS_ACK: dict[str, tuple[str, ...]] = {- # Harness / worker tasks are usually long sentences — echoing them sounds- # robotic. Stay generic but warm.- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Verstanden, ich kümmere mich darum.", # i18n-allow: German runtime voice product- "Geht klar, das übernehme ich.", # i18n-allow: German runtime voice product- "Alles klar, ich bin dran.", # i18n-allow: German runtime voice product- "Okay, ich setze mich dran.", # i18n-allow: German runtime voice product- "Mach ich, einen Moment.", # i18n-allow: German runtime voice product- ),- "en": (- "Got it, on it.",- "Alright, I'll take that on.",- "Understood, working on it.",- "Okay, I'm on it now.",- "Sure, give me a moment.",- ),- "es": (- "Entendido, me encargo.",- "Vale, lo asumo yo.",- "De acuerdo, estoy en ello.",- "Okay, me pongo con ello.",- "Claro, un momento.",- ),- "pt": (- "Entendido, eu trato disso.",- "Está bem, fico eu com isso.",- "Combinado, estou a tratar disso.",- "Okay, vou pôr mãos à obra.",- "Claro, um momento.",- ),-}+_HARNESS_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.harness_ack")-_SEARCH_TOPIC_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich schaue mir {topic} an.", # i18n-allow: German runtime voice product- "Ich suche kurz nach {topic}.", # i18n-allow: German runtime voice product- "Moment, ich recherchiere zu {topic}.", # i18n-allow: German runtime voice product- "Ich schaue, was ich zu {topic} finde.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, looking up {topic}.",- "Searching for {topic} real quick.",- "One moment, digging into {topic}.",- "Let me see what I find on {topic}.",- ),- "es": (- "Vale, busco {topic}.",- "Un momento, investigo {topic}.",- "Voy a ver qué encuentro sobre {topic}.",- "Buscando {topic} ahora.",- ),- "pt": (- "Está bem, procuro {topic}.",- "Um momento, vou pesquisar {topic}.",- "Vou ver o que encontro sobre {topic}.",- "A procurar {topic} agora.",- ),-}+_SEARCH_TOPIC_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table(+ "brain.ack.search_topic_ack"+)-_SEARCH_GENERIC_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich recherchiere kurz.", # i18n-allow: German runtime voice product- "Ich suche das eben raus.", # i18n-allow: German runtime voice product- "Moment, ich schaue mich um.", # i18n-allow: German runtime voice product- "Einen Moment, ich sammle die Fakten.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, researching.",- "Let me dig that up.",- "One moment, looking around.",- "Give me a moment to gather the facts.",- ),- "es": (- "Vale, investigo un poco.",- "Déjame buscarlo.",- "Un momento, echo un vistazo.",- "Dame un momento para reunir los datos.",- ),- "pt": (- "Está bem, vou pesquisar um pouco.",- "Deixa-me procurar.",- "Um momento, dou uma vista de olhos.",- "Dá-me um momento para reunir os dados.",- ),-}+_SEARCH_GENERIC_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table(+ "brain.ack.search_generic_ack"+)-_MULTI_SPAWN_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich erledige {n} Sachen parallel.", # i18n-allow: German runtime voice product- "Ich nehme mir die {n} Aufgaben gleichzeitig vor.", # i18n-allow: German voice product- "{n} Dinge parallel — läuft.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, running {n} tasks in parallel.",- "Taking on those {n} jobs at once.",- "{n} things in parallel — on it.",- ),- "es": (- "Vale, hago {n} cosas en paralelo.",- "Me pongo con las {n} tareas a la vez.",- "{n} cosas en paralelo — voy.",- ),- "pt": (- "Está bem, faço {n} coisas em paralelo.",- "Vou tratar das {n} tarefas ao mesmo tempo.",- "{n} coisas em paralelo — vou já.",- ),-}+_MULTI_SPAWN_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table(+ "brain.ack.multi_spawn_ack"+)-_OPEN_APP_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich öffne {app}.", # i18n-allow: German runtime voice product- "Moment, {app} kommt.", # i18n-allow: German runtime voice product- "Ich starte {app}.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, opening {app}.",- "One sec, launching {app}.",- "Starting {app}.",- ),- "es": (- "Vale, abro {app}.",- "Un segundo, lanzo {app}.",- "Inicio {app}.",- ),- "pt": (- "Está bem, abro {app}.",- "Um segundo, inicio {app}.",- "A iniciar {app}.",- ),-}+_OPEN_APP_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.open_app_ack")-_RUN_SKILL_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich starte {skill}.", # i18n-allow: German runtime voice product- "Moment, {skill} läuft gleich.", # i18n-allow: German runtime voice product- "Ich lasse {skill} laufen.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, running {skill}.",- "One moment, starting {skill}.",- "Kicking off {skill} now.",- ),- "es": (- "Vale, ejecuto {skill}.",- "Un momento, arranco {skill}.",- "Pongo {skill} en marcha.",- ),- "pt": (- "Está bem, executo {skill}.",- "Um momento, arranco com {skill}.",- "Ponho {skill} a correr.",- ),-}+_RUN_SKILL_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.run_skill_ack")-_GMAIL_READ_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich schaue in deine Mails.", # i18n-allow: German runtime voice product- "Moment, ich öffne dein Postfach.", # i18n-allow: German runtime voice product- "Ich sehe kurz in deinen Mails nach.", # i18n-allow: German runtime voice product- "Ich werfe einen Blick in dein Postfach.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, checking your mail.",- "One moment, opening your inbox.",- "Taking a quick look at your email.",- "Peeking into your inbox.",- ),- "es": (- "Vale, reviso tu correo.",- "Un momento, abro tu bandeja.",- "Echo un vistazo a tus correos.",- "Miro tu bandeja de entrada.",- ),- "pt": (- "Está bem, vejo o teu correio.",- "Um momento, abro a tua caixa de entrada.",- "Dou uma vista de olhos aos teus e-mails.",- "Vejo a tua caixa de entrada.",- ),-}+_GMAIL_READ_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.gmail_read_ack")-_CALENDAR_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich schaue in deinen Kalender.", # i18n-allow: German runtime voice product- "Moment, ich prüfe deine Termine.", # i18n-allow: German runtime voice product- "Ich sehe in deinem Kalender nach.", # i18n-allow: German runtime voice product- "Kurzer Blick in deinen Kalender.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, checking your calendar.",- "One moment, looking at your schedule.",- "Let me check your appointments.",- "Quick look at your calendar.",- ),- "es": (- "Vale, reviso tu calendario.",- "Un momento, miro tu agenda.",- "Compruebo tus citas.",- "Un vistazo rápido a tu calendario.",- ),- "pt": (- "Está bem, vejo o teu calendário.",- "Um momento, vejo a tua agenda.",- "Verifico os teus compromissos.",- "Uma vista de olhos rápida ao teu calendário.",- ),-}+_CALENDAR_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.calendar_ack")-_REMEMBER_ACK: dict[str, tuple[str, ...]] = {- # Promissory only — "noted"-style completion claims would be a lie at- # selection time (the tool has not run yet).- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich merke mir das.", # i18n-allow: German runtime voice product- "Geht klar, das behalte ich.", # i18n-allow: German runtime voice product- "Ich schreibe es mir auf.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, noting that.",- "Got it, I'll remember that.",- "Writing that down.",- ),- "es": (- "Vale, lo apunto.",- "Entendido, lo recordaré.",- "Me lo apunto.",- ),- "pt": (- "Está bem, tomo nota.",- "Entendido, vou lembrar-me.",- "Fica anotado.",- ),-}+_REMEMBER_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.remember_ack")-_VERIFY_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich prüfe das.", # i18n-allow: German runtime voice product- "Moment, ich teste das kurz.", # i18n-allow: German runtime voice product- "Ich checke das eben.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, checking.",- "One moment, testing that.",- "Let me verify that.",- ),- "es": (- "Vale, lo compruebo.",- "Un momento, lo pruebo.",- "Déjame verificarlo.",- ),- "pt": (- "Está bem, vou verificar.",- "Um momento, vou testar.",- "Deixa-me confirmar.",- ),-}+_VERIFY_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.verify_ack")-_SERVER_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich starte den Server.", # i18n-allow: German runtime voice product- "Moment, der Server fährt hoch.", # i18n-allow: German runtime voice product- "Ich fahre den Server hoch.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, starting the server.",- "One moment, spinning up the server.",- "Bringing the server up.",- ),- "es": (- "Vale, inicio el servidor.",- "Un momento, arranco el servidor.",- "Levanto el servidor.",- ),- "pt": (- "Está bem, inicio o servidor.",- "Um momento, arranco o servidor.",- "Ponho o servidor a correr.",- ),-}+_SERVER_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.server_ack")-_SET_CONFIG_ACK: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: German runtime voice product (ack phrase pool)- "Okay, ich ändere das.", # i18n-allow: German runtime voice product- "Moment, ich stelle das um.", # i18n-allow: German runtime voice product- "Ich passe das an.", # i18n-allow: German runtime voice product- ),- "en": (- "Okay, updating.",- "One moment, changing that.",- "Adjusting that now.",- ),- "es": (- "Vale, lo cambio.",- "Un momento, lo ajusto.",- "Lo adapto ahora.",- ),- "pt": (- "Está bem, eu altero isso.",- "Um momento, vou ajustar.",- "Adapto isso agora.",- ),-}+_SET_CONFIG_ACK: dict[str, tuple[str, ...]] = i18n_catalog.variant_table("brain.ack.set_config_ack")# ---------------------------------------------------------------------------diff --git a/dodaios/brain/action_honesty.py b/dodaios/brain/action_honesty.pyindex 66c631d86a..d897e732b0 100644--- a/dodaios/brain/action_honesty.py+++ b/dodaios/brain/action_honesty.py@@ -23,6 +23,8 @@ import unicodedatafrom collections.abc import Collectionfrom typing import NamedTuple+from dodaios.i18n import catalog as i18n_catalog+def _normalize(text: str) -> str:folded = unicodedata.normalize("NFKD", str(text or "").casefold())@@ -230,24 +232,9 @@ _MIN_SUBSTANCE_TOKENS = 2# shares this predicate) keeps its established suppression boundary._MAX_BARE_COMMITMENT_TAIL = 24-_ACTION_NOT_STARTED_PHRASES: dict[str, str] = {- "de": (- "Ich habe dafür gerade keine Aktion gestartet " # i18n-allow: runtime voice phrase- "und deshalb noch kein Ergebnis. " # i18n-allow: runtime voice phrase- "Bitte sag es noch einmal." # i18n-allow: runtime voice phrase- ), # i18n-allow: German runtime voice/chat output- "en": (- "I did not start an action for that, so I do not have a result yet. Please ask me again."- ),- "es": (- "No inicié ninguna acción para eso, así que todavía no tengo un "- "resultado. Pídemelo de nuevo."- ), # i18n-allow: Spanish runtime voice/chat output- "pt": ( # i18n-allow- "Não iniciei nenhuma ação para isso, por isso ainda não tenho um resultado. Pede-mo "- "outra vez." # i18n-allow- ), # i18n-allow-}+_ACTION_NOT_STARTED_PHRASES: dict[str, str] = i18n_catalog.table(+ "brain.action_honesty.action_not_started_phrases"+)class _Clause(NamedTuple):diff --git a/dodaios/brain/local_action_gate.py b/dodaios/brain/local_action_gate.pyindex 987f4bb8fd..d9717e8991 100644--- a/dodaios/brain/local_action_gate.py+++ b/dodaios/brain/local_action_gate.py@@ -14,6 +14,8 @@ from enum import Enumfrom typing import Any, Protocol, runtime_checkablefrom urllib.parse import quote_plus+from dodaios.i18n import catalog as i18n_catalog+#: Entry-point name of the screenshot-based computer-use harness (see#: ``pyproject.toml`` ``[project.entry-points."jarvis.harness"]`` +#: ``dodaios/plugins/harness/computer_use.py``). Canonical home for the@@ -731,28 +733,9 @@ def _matches_orb_reset(text: str) -> bool:return any(pattern.match(text) for pattern in _ORB_RESET_PATTERNS)-_UNSUPPORTED_RESPONSE: dict[str, str] = {- "de": (- "Das kann ich noch nicht. " # i18n-allow: German TTS- "Mir fehlt dafür ein Werkzeug — wenn du mir verrätst welches MCP " # i18n-allow- "oder welche Integration zuständig wäre, kann ich's lernen." # i18n-allow- ),- "en": (- "I can't do that yet. "- "I don't have a registered tool for it. "- "Tell me which MCP or integration should handle it and I can learn."- ),- "es": (- "Eso todavía no lo sé hacer. " # i18n-allow: Spanish TTS- "No tengo ninguna herramienta registrada para ello. " # i18n-allow: Spanish TTS- "Dime qué MCP o integración debería encargarse y puedo aprenderlo." # i18n-allow- ),- "pt": (- "Ainda não consigo fazer isso. " # i18n-allow: PT TTS- "Não tenho nenhuma ferramenta registada para isso. " # i18n-allow: PT TTS- "Diz-me que MCP ou integração deve tratar disso e posso aprender." # i18n-allow- ),-}+_UNSUPPORTED_RESPONSE: dict[str, str] = i18n_catalog.table(+ "brain.local_action_gate.unsupported_response"+)def _unsupported_response(text: str, lang: str) -> str:diff --git a/dodaios/clis/capability_provider.py b/dodaios/clis/capability_provider.pyindex 2b31dbfa5f..b37435d26b 100644--- a/dodaios/clis/capability_provider.py+++ b/dodaios/clis/capability_provider.py@@ -17,6 +17,7 @@ from typing import Anyfrom dodaios.clis.spec import CliSpecfrom dodaios.clis.tool import TOOL_NAME_PREFIXfrom dodaios.core.capabilities import Capability, _normalize+from dodaios.i18n import catalog as i18n_cataloglog = logging.getLogger(__name__)@@ -288,45 +289,9 @@ def suppress_plugin_tools_covered_by_cli(# Spoken refusal hints (TTS-safe, leading space: appended to a refusal).# Placeholder {name} is the CLI's display name.-_REFUSAL_HINTS: dict[str, dict[str, str]] = {- "de": {- "installed": (- " Die {name} ist installiert, aber noch nicht verbunden" # i18n-allow- " — sag Bescheid, dann richten wir das ein." # i18n-allow- ),- "catalog": (- " Im CLI-Katalog gibt es dafür die {name}" # i18n-allow- " — ich kann sie mit dir einrichten." # i18n-allow- ),- },- "en": {- "installed": (- " The {name} is installed but not connected yet"- " — say the word and we'll set it up."- ),- "catalog": " The CLI catalog has {name} for that — I can set it up with you.",- },- "es": {- "installed": (- " {name} está instalado, pero aún no está conectado" # i18n-allow- " — dímelo y lo configuramos." # i18n-allow- ),- "catalog": (- " En el catálogo de CLI está {name} para eso" # i18n-allow- " — puedo configurarlo contigo." # i18n-allow- ),- },- "pt": {- "installed": (- " {name} está instalado, mas ainda não está ligado" # i18n-allow- " — diz-me e configuramos isso." # i18n-allow- ),- "catalog": (- " O catálogo de CLI tem {name} para isso" # i18n-allow- " — posso configurá-lo contigo." # i18n-allow- ),- },-}+_REFUSAL_HINTS: dict[str, dict[str, str]] = i18n_catalog.locale_maps(+ "clis.capability.refusal_hints"+)def refusal_hint(domain: str, cli_registry: Any, lang: str) -> str:diff --git a/dodaios/cu/indicator/controller.py b/dodaios/cu/indicator/controller.pyindex f56b37d848..eefbaa43b0 100644--- a/dodaios/cu/indicator/controller.py+++ b/dodaios/cu/indicator/controller.py@@ -41,6 +41,7 @@ from uuid import UUIDfrom dodaios.cu.indicator import capture_guard, protocol, self_inputfrom dodaios.cu.indicator.win32 import restore_system_cursor+from dodaios.i18n import catalog as i18n_cataloglog = logging.getLogger(__name__)@@ -52,12 +53,7 @@ _ESC_READY_TIMEOUT_S = 6.0# "Esc to cancel" pill copy — ALL supported output locales (repo rule:# a phrase table always carries every supported language and resolves its# key through the one turn-language resolver).-_ESC_HINTS: dict[str, str] = {- "de": "Esc zum Abbrechen", # i18n-allow: localized product-surface UI string- "en": "Esc to cancel",- "es": "Esc para cancelar", # i18n-allow: localized product-surface UI string- "pt": "Esc para cancelar", # i18n-allow: localized product-surface UI string-}+_ESC_HINTS: dict[str, str] = i18n_catalog.table("cu.indicator.esc_hints")_QUIT_GRACE_S = 1.5_BLANK_ACK_TIMEOUT_S = 0.15diff --git a/dodaios/harness/screenshot_only_loop.py b/dodaios/harness/screenshot_only_loop.pyindex b7e516f171..8bd88974c0 100644--- a/dodaios/harness/screenshot_only_loop.py+++ b/dodaios/harness/screenshot_only_loop.py@@ -74,6 +74,8 @@ from dodaios.core.protocols import (ImageBlock,Observation,)+from dodaios.i18n import phrase_locale+from dodaios.i18n import t as i18n_tfrom dodaios.platform import window_statefrom dodaios.voice.action_phrases import (OUTPUT_LANGUAGE_ENV_KEY as _OUTPUT_LANGUAGE_ENV_KEY,@@ -5332,12 +5334,14 @@ async def _run_screenshot_loop(# the loop for the whole TTS synthesis (BUG-CU-# ANNOUNCE-BLOCK) — see _publish_announcement_nonblocking._publish_announcement_nonblocking(ctx.bus, AnnouncementRequested(- text=(- f"Schritt {done_steps} von {len(plan)} " # i18n-allow- "erledigt." # i18n-allow+ text=i18n_t(+ "harness.step_progress",+ output_language,+ done=done_steps,+ total=len(plan),),priority="normal",- language="de",+ language=phrase_locale(output_language),kind="progress",))# Remember that a real search query was typed this mission -- thediff --git a/dodaios/harness/screenshot_only_loop_june13.py b/dodaios/harness/screenshot_only_loop_june13.pyindex 167a96e975..793752c1c1 100644--- a/dodaios/harness/screenshot_only_loop_june13.py+++ b/dodaios/harness/screenshot_only_loop_june13.py@@ -89,6 +89,8 @@ from dodaios.core.protocols import (ImageBlock,Observation,)+from dodaios.i18n import phrase_locale+from dodaios.i18n import t as i18n_tif TYPE_CHECKING:from .computer_use_context import ComputerUseContext@@ -2874,12 +2876,14 @@ async def _run_screenshot_loop(# the loop for the whole TTS synthesis (BUG-CU-# ANNOUNCE-BLOCK) — see _publish_announcement_nonblocking._publish_announcement_nonblocking(ctx.bus, AnnouncementRequested(- text=(- f"Schritt {done_steps} von {len(plan)} " # i18n-allow- "erledigt." # i18n-allow+ text=i18n_t(+ "harness.step_progress",+ None,+ done=done_steps,+ total=len(plan),),priority="normal",- language="de",+ language=phrase_locale(None),kind="progress",))# Remember that a real search query was typed this mission -- thediff --git a/dodaios/harness/screenshot_only_loop_stable.py b/dodaios/harness/screenshot_only_loop_stable.pyindex 81924729f9..06ef2991d7 100644--- a/dodaios/harness/screenshot_only_loop_stable.py+++ b/dodaios/harness/screenshot_only_loop_stable.py@@ -82,6 +82,8 @@ from dodaios.core.protocols import (ImageBlock,Observation,)+from dodaios.i18n import phrase_locale+from dodaios.i18n import t as i18n_tfrom dodaios.platform import window_statefrom dodaios.voice.action_phrases import (OUTPUT_LANGUAGE_ENV_KEY as _OUTPUT_LANGUAGE_ENV_KEY,@@ -4543,12 +4545,14 @@ async def _run_screenshot_loop(# the loop for the whole TTS synthesis (BUG-CU-# ANNOUNCE-BLOCK) — see _publish_announcement_nonblocking._publish_announcement_nonblocking(ctx.bus, AnnouncementRequested(- text=(- f"Schritt {done_steps} von {len(plan)} " # i18n-allow- "erledigt." # i18n-allow+ text=i18n_t(+ "harness.step_progress",+ output_language,+ done=done_steps,+ total=len(plan),),priority="normal",- language="de",+ language=phrase_locale(output_language),kind="progress",))# Remember that a real search query was typed this mission -- thediff --git a/dodaios/i18n/locales/de.json b/dodaios/i18n/locales/de.jsonindex d86d34b920..f2e8cd21ea 100644--- a/dodaios/i18n/locales/de.json+++ b/dodaios/i18n/locales/de.json@@ -62,7 +62,103 @@"mid_answer_error": "Ich habe die Zwischenschritte ausgeführt, aber beim Formulieren der Antwort gab es einen Fehler. Frag mich bitte gleich noch einmal.","action_failed": "Ich habe die Aktion erkannt, konnte sie aber nicht ausführen.","lang_switch_confirm": "Erledigt — ich antworte ab jetzt auf Deutsch.",- "lang_switch_confirm_auto": "Erledigt — ich passe meine Sprache ab jetzt automatisch deiner an."+ "lang_switch_confirm_auto": "Erledigt — ich passe meine Sprache ab jetzt automatisch deiner an.",+ "ack": {+ "final_markers": "Erledigt.",+ "generic_ack": [+ "Okay, einen Moment.",+ "Einen Augenblick bitte.",+ "Kurzen Moment, ich bin dran.",+ "Geht klar, Sekunde.",+ "Ich kümmere mich drum."+ ],+ "shell_ack": [+ "Einen Moment, ich schaue nach.",+ "Ich prüfe das kurz.",+ "Sekunde, ich sehe nach.",+ "Ich werfe kurz einen Blick drauf.",+ "Moment, ich schaue mir das an."+ ],+ "cli_service_ack": [+ "Ich schaue kurz auf {service} nach.",+ "Einen Moment, ich frage {service} ab.",+ "Ich werfe einen Blick in {service}.",+ "Sekunde, ich schaue in {service} nach.",+ "Ich hole das eben aus {service}."+ ],+ "harness_ack": [+ "Verstanden, ich kümmere mich darum.",+ "Geht klar, das übernehme ich.",+ "Alles klar, ich bin dran.",+ "Okay, ich setze mich dran.",+ "Mach ich, einen Moment."+ ],+ "search_topic_ack": [+ "Okay, ich schaue mir {topic} an.",+ "Ich suche kurz nach {topic}.",+ "Moment, ich recherchiere zu {topic}.",+ "Ich schaue, was ich zu {topic} finde."+ ],+ "search_generic_ack": [+ "Okay, ich recherchiere kurz.",+ "Ich suche das eben raus.",+ "Moment, ich schaue mich um.",+ "Einen Moment, ich sammle die Fakten."+ ],+ "multi_spawn_ack": [+ "Okay, ich erledige {n} Sachen parallel.",+ "Ich nehme mir die {n} Aufgaben gleichzeitig vor.",+ "{n} Dinge parallel — läuft."+ ],+ "open_app_ack": [+ "Okay, ich öffne {app}.",+ "Moment, {app} kommt.",+ "Ich starte {app}."+ ],+ "run_skill_ack": [+ "Okay, ich starte {skill}.",+ "Moment, {skill} läuft gleich.",+ "Ich lasse {skill} laufen."+ ],+ "gmail_read_ack": [+ "Okay, ich schaue in deine Mails.",+ "Moment, ich öffne dein Postfach.",+ "Ich sehe kurz in deinen Mails nach.",+ "Ich werfe einen Blick in dein Postfach."+ ],+ "calendar_ack": [+ "Okay, ich schaue in deinen Kalender.",+ "Moment, ich prüfe deine Termine.",+ "Ich sehe in deinem Kalender nach.",+ "Kurzer Blick in deinen Kalender."+ ],+ "remember_ack": [+ "Okay, ich merke mir das.",+ "Geht klar, das behalte ich.",+ "Ich schreibe es mir auf."+ ],+ "verify_ack": [+ "Okay, ich prüfe das.",+ "Moment, ich teste das kurz.",+ "Ich checke das eben."+ ],+ "server_ack": [+ "Okay, ich starte den Server.",+ "Moment, der Server fährt hoch.",+ "Ich fahre den Server hoch."+ ],+ "set_config_ack": [+ "Okay, ich ändere das.",+ "Moment, ich stelle das um.",+ "Ich passe das an."+ ]+ },+ "action_honesty": {+ "action_not_started_phrases": "Ich habe dafür gerade keine Aktion gestartet und deshalb noch kein Ergebnis. Bitte sag es noch einmal."+ },+ "local_action_gate": {+ "unsupported_response": "Das kann ich noch nicht. Mir fehlt dafür ein Werkzeug — wenn du mir verrätst welches MCP oder welche Integration zuständig wäre, kann ich's lernen."+ }},"tool_loop": {"anti_silence": "Das kann ich gerade nicht ausführen — mir fehlt dafür das passende Werkzeug.",@@ -110,7 +206,38 @@},"empty_summary": "Aufgabe erledigt.","unknown_reason": "unbekannter Fehler",- "no_tool_call": "Konnte ich nicht ausführen — kein Tool-Aufruf."+ "no_tool_call": "Konnte ich nicht ausführen — kein Tool-Aufruf.",+ "capacity_wait_phrases": {+ "provider_quota": "{provider}-Kapazität momentan ausgeschöpft.",+ "provider_auth": "Die {provider}-Anmeldung ist abgelaufen.",+ "provider_unavailable": "{provider} ist momentan nicht nutzbar.",+ "paid_cap_reached": "Die Kostengrenze dieser Mission für {provider} ist erreicht.",+ "paid_daily_cap_reached": "Das Tageslimit für automatische {provider}-Nutzung ist erreicht.",+ "paid_consent_revoked": "Die automatische {provider}-Nutzung wurde ausgeschaltet.",+ "saved": "Der bisherige Stand wurde gesichert.",+ "progress": "{done} von {total} Teilschritten erledigt, {open} offen.",+ "progress_single": "Die Aufgabe selbst ist noch offen.",+ "file": "1 Datei gespeichert.",+ "files": "{files} Dateien gespeichert.",+ "wait": "Die Mission wartet, bis wieder Kapazität verfügbar ist.",+ "wait_auth": "Die Mission wartet, bis du dich wieder anmeldest.",+ "paid": "Kostenpflichtige API-Nutzung nur mit deiner ausdrücklichen Freigabe unter Artefakte."+ },+ "provider_fallback_name": "KI-Anbieter",+ "default_target": "diese Aktion"+ },+ "deliverable": {+ "deliverable_templates": {+ "one": "Fertig. {name} habe ich als Artefakt hinterlegt.",+ "few": "Fertig. {count} Dateien als Artefakte hinterlegt: {joined}.",+ "many": "Fertig. {count} Dateien als Artefakte hinterlegt."+ },+ "mission_completed_phrases": "Mission abgeschlossen.",+ "delivered_templates": {+ "one": "Fertig. {name} habe ich als Artefakt hinterlegt.",+ "few": "Fertig. {count} Dateien als Artefakte hinterlegt: {joined}.",+ "many": "Fertig. {count} Dateien als Artefakte hinterlegt."+ }}},"realtime": {@@ -123,6 +250,25 @@"no_credits": "Das Guthaben für die Sprachverbindung ist aufgebraucht. Lade es beim Anbieter auf, dann klappt es wieder.","not_offered": "Dein Konto bietet diese Sprachverbindung gerade nicht an. Prüfe den Tarif oder wähle ein anderes Konto.","dropped": "Die Sprachverbindung ist abgebrochen."+ },+ "public_fact_uncertainty": "Ich konnte das gerade nicht zuverlässig mit einer öffentlichen Quelle prüfen.",+ "delegate_bridge_texts": [+ "Ich bin noch dran.",+ "Einen Moment noch, bitte.",+ "Dauert noch einen kleinen Moment.",+ "Bin gleich so weit."+ ],+ "interrupt_ack_texts": [+ "Okay, ich habe das gestoppt.",+ "Alles klar, ich breche das ab.",+ "Okay, ich lasse das."+ ],+ "local_voice": {+ "refusals": {+ "not_set_up": "Die lokale Stimme ist auf diesem Gerät noch nicht eingerichtet. Starte die Einrichtung in den Einstellungen auf der Karte Lokale Stimme.",+ "loading": "Die lokale Stimme lädt noch ({percent} %). Die Karte Lokale Stimme in den Einstellungen zeigt den Fortschritt.",+ "failed": "Die lokale Stimme konnte nicht starten. Die Karte Lokale Stimme in den Einstellungen zeigt den Grund."+ }}},"self_mod": {@@ -132,5 +278,238 @@"rollback": "der Rollback selbst ist fehlgeschlagen — manueller Restore nötig","unexpected": "unerwarteter Fehler beim Ändern der Einstellung"}+ },+ "voice": {+ "action": {+ "phrases": {+ "cu_done": "Erledigt.",+ "lookup_unspoken": "Ich habe die Infos, konnte sie aber gerade nicht vorlesen. Soll ich es nochmal versuchen?",+ "lookup_empty": "Dazu habe ich nichts gefunden.",+ "cu_done_detail": "Erledigt. {detail}",+ "cu_failed": "Das am Bildschirm hat nicht geklappt.",+ "cu_failed_reason": "Das am Bildschirm hat nicht geklappt: {error}",+ "cu_crashed": "Beim Erledigen am Bildschirm ist leider etwas schiefgegangen.",+ "cu_exit_gave_up": "Ich habe es am Bildschirm versucht, aber nicht hinbekommen.",+ "cu_exit_no_view": "Ich konnte den Bildschirm nicht richtig sehen und habe abgebrochen.",+ "cu_exit_confused": "Ich konnte keine gueltige Bildschirm-Antwort bekommen und habe gestoppt.",+ "cu_exit_no_provider": "Ich habe gerade kein KI-Modell, das den Bildschirm sehen kann. Bitte pruefe deine API-Schluessel oder dein Guthaben in den Einstellungen.",+ "cu_exit_too_many_steps": "Es hat am Bildschirm zu viele Schritte gebraucht, ich habe aufgehoert.",+ "cu_exit_action_failed": "Eine Aktion am Bildschirm ist fehlgeschlagen, ich habe abgebrochen.",+ "cu_exit_cancelled": "Die Aktion am Bildschirm wurde abgebrochen.",+ "cu_exit_needs_elevation": "Ich habe auf die Administrator-Bestaetigung gewartet, aber es kam keine, also habe ich gestoppt.",+ "cu_blocked_permission": "Ich musste anhalten: Dodaios braucht die Berechtigung {permission}. Erlaube sie unter {pane}. Versuche es danach noch einmal.",+ "cu_blocked_restart_hint": "Ich musste anhalten: Die Berechtigung {permission} wirkt womöglich erst, nachdem Dodaios beendet und neu geöffnet wurde. Starte die App neu und versuche es dann noch einmal.",+ "cu_blocked_unavailable": "Ich musste anhalten: Dodaios kann in dieser Sitzung nicht nach der Berechtigung {permission} fragen.",+ "cu_blocked_waiting": "Ich musste anhalten, weil macOS gerade nach der Berechtigung {permission} fragt. Beantworte den Dialog und versuche es dann noch einmal.",+ "cu_blocked_dialog": "Ich musste anhalten, weil auf dem Mac ein Systemdialog offen ist. Beantworte ihn selbst und versuche es dann noch einmal.",+ "cu_blocked_restricted": "Ich musste anhalten: Eine nötige Berechtigung ist auf diesem Mac durch ein Profil oder eine Kindersicherung gesperrt. Das lässt sich in der App nicht ändern.",+ "cu_blocked_generic": "Ich musste anhalten, weil macOS eine Berechtigung für Dodaios braucht. Erlaube sie in den Systemeinstellungen unter Datenschutz & Sicherheit und versuche es dann noch einmal.",+ "cu_timeout": "Das am Bildschirm hat zu lange gedauert (ueber {secs} Sekunden) und wurde abgebrochen.",+ "open_app_launched": "Gestartet: {app}",+ "open_app_launched_raised": "Gestartet und nach vorn geholt: {app}",+ "open_app_not_found": "Anwendung '{app}' nicht gefunden.",+ "cu_not_wired": "Die Bildschirmsteuerung ist auf diesem Rechner aus. Schalte sie in der Konfiguration mit computer_use.enabled ein und starte mich einmal neu.",+ "cu_dispatch_ack": "Mach ich. Ich erledige das direkt am Bildschirm und sage Bescheid, sobald es fertig ist.",+ "cu_awaiting_elevation": "Das verlangt gerade Administrator-Rechte. Bitte bestaetige die Sicherheitsabfrage einmal, dann mache ich weiter.",+ "cu_awaiting_human": "Dieser Schritt braucht dich, bitte melde dich an oder loese die Bestaetigung, dann mache ich weiter.",+ "cost_cooldown": "Cost-Cooldown aktiv, das Tagesbudget ist erschoepft. Neue Anfragen werden erst nach dem Cooldown-Ende bearbeitet.",+ "task_budget": "Task-Budget fuer diese Konversation ueberschritten.",+ "daily_budget": "Tagesbudget ueberschritten.",+ "tool_failed": "{tool} fehlgeschlagen.",+ "action_failed_generic": "Das hat gerade nicht geklappt.",+ "stale_repeat_clarify": "Das hatte ich gerade schon beantwortet. Was genau möchtest du wissen?",+ "action_failed_reason": "Das hat nicht geklappt: {reason}",+ "delegate_no_brain": "Keins meiner Modelle hat auf diese Anfrage geantwortet.",+ "delegate_no_result": "Ich habe dazu kein belastbares Ergebnis zurückbekommen.",+ "delegate_failed_internal": "Dabei ist intern etwas schiefgelaufen, ich habe sicher abgebrochen.",+ "actions_unavailable": "Aktionen gehen gerade nicht, aber wir können weiter reden.",+ "actions_not_requested": "Ich habe dafür nichts ausgeführt. Sag mir, was ich tun soll.",+ "skill_loaded_not_run": "Ich habe die Anleitung dafür geladen, aber noch nichts ausgeführt.",+ "action_timeout": "Das hat zu lange gedauert, also habe ich abgebrochen.",+ "spawn_failed_generic": "Ich konnte den Hintergrund-Helfer gerade nicht starten.",+ "spawn_failed_reason": "Ich konnte den Hintergrund-Helfer nicht starten: {reason}",+ "spawn_no_runner": "Ich kann die Aufgabe gerade nicht starten. Starte mich bitte neu.",+ "artifact_building": "Ich baue „{title}“ im Hintergrund und sage Bescheid, sobald es fertig ist.",+ "artifact_revising": "Ich überarbeite „{title}“ im Hintergrund und sage Bescheid, sobald es fertig ist.",+ "workflow_trigger_failed": "Die Routine {name} konnte nicht starten. Ich versuche es zum nächsten geplanten Zeitpunkt wieder.",+ "workflow_scheduler_stalled": "Deine geplanten Routinen laufen gerade nicht. Ich versuche es weiter.",+ "workflow_step_failed": "Die Routine {name} ist bei {step} hängen geblieben, also habe ich sie angehalten.",+ "workflow_step_failed_reason": "Die Routine {name} ist bei {step} hängen geblieben, also habe ich sie angehalten. Der Grund: {reason}",+ "workflow_step_ordinal": "Schritt {n}",+ "workflow_unnamed": "ohne Namen",+ "wiki_saving": "Ich schreibe das jetzt ins Wiki.",+ "wiki_saved": "Im Wiki gespeichert.",+ "wiki_saved_detail": "Im Wiki gespeichert: {detail}.",+ "wiki_save_failed": "Das Speichern im Wiki hat nicht geklappt.",+ "wiki_save_failed_reason": "Das Speichern im Wiki hat nicht geklappt: {reason}",+ "wiki_nothing_to_save": "Mir ist nicht klar, was ich ins Wiki schreiben soll. Sag es mir bitte noch einmal mit Inhalt.",+ "ide_prompt_sent": "Ist bei {terminal}.",+ "ide_prompt_sent_files": "Ist bei {terminal}, mit {count} Dateien dazu.",+ "ide_prompt_sent_one_file": "Ist bei {terminal}, samt {file}.",+ "ide_terminal_not_running": "{terminal} läuft gerade nicht ({status}). Ich habe nichts geschickt.",+ "ide_prompt_sent_many": "Ist bei {names}.",+ "ide_prompt_sent_partial": "Ist bei {names}. Zu {failed} bin ich nicht durchgekommen.",+ "ide_prompt_sent_nobody": "Ich bin zu {failed} nicht durchgekommen, es läuft nichts.",+ "ide_prompt_typed_not_started": "Bei {names} steht der Text nur im Eingabefeld.",+ "ide_names_pair": "{head} und {last}",+ "ide_terminals_spawned_one": "{names} ist offen.",+ "ide_terminals_spawned": "{count} neue Terminals: {names}.",+ "ide_terminals_briefing_queued": "Ich übergebe ihnen die Aufgabe, sobald die Terminals bereit sind.",+ "ide_terminals_closed": "{count} Terminals geschlossen: {names}.",+ "ide_terminals_none_to_close": "Es sind keine passenden Terminals offen.",+ "ide_terminals_spawned_capped": "Nur {count} ließen sich öffnen: {names}.",+ "ide_terminals_open_failed": "Ich konnte kein Terminal öffnen.",+ "ide_terminal_kind_unclear": "Ich habe {spoken} verstanden. Meintest du {first} oder {second}?",+ "ide_terminal_kind_unclear_one": "Ich habe {spoken} verstanden. Meintest du {first}?",+ "ide_terminal_kind_unknown": "Für {name} gibt es keine Terminal-Art. Verfügbar: {available}.",+ "ide_terminals_opened_workspace": "Ich habe {folder} geöffnet: {names}.",+ "ide_terminal_clarify_one": "Ich habe {spoken} verstanden. Meinst du {name}?",+ "ide_terminal_clarify_many": "Ich habe {spoken} verstanden. Meinst du {names}?",+ "ide_prompt_already_delivered": "{name} hat den Auftrag um {time} bekommen. Ich schicke ihn nicht doppelt.",+ "join_or": " oder ",+ "join_and": " und ",+ "ide_terminal_clarify_also": "Ich habe außerdem {spoken} verstanden. Meinst du {names}?",+ "ide_terminal_who_else": "Ich konnte nur {names} zuordnen. Wer sollte noch ran?",+ "ide_terminals_nowhere": "Es ist kein Workspace offen und ich habe keinen letzten. Wähle einen Ordner in der Agentic IDE."+ },+ "permission_cause_templates": "Dodaios hat die Berechtigung {name} gerade nicht.",+ "permission_cause_names": {+ "microphone": "Mikrofon",+ "accessibility": "Bedienungshilfen",+ "screen_recording": "Bildschirmaufnahme",+ "input_monitoring": "Eingabeüberwachung",+ "automation": "Automatisierung",+ "event_posting": "Bedienungshilfen"+ }+ },+ "tool_confirmation": {+ "tool_questions": {+ "gmail": "Soll ich die E-Mail wirklich senden? Sag ja oder nein.",+ "gmail_rest": "Soll ich die E-Mail wirklich senden? Sag ja oder nein.",+ "call-contact": "Soll ich den Anruf wirklich starten? Sag ja oder nein."+ },+ "generic_question": "Soll ich das wirklich ausführen? Sag ja oder nein.",+ "impact_questions": {+ "destructive": "Achtung, dieser Befehl würde etwas löschen ({commands}). Soll ich ihn wirklich ausführen? Sag ja oder nein.",+ "modify": "Dieser Befehl würde etwas auf dem Computer verändern ({commands}). Soll ich ihn ausführen? Sag ja oder nein.",+ "read": "Dieser Befehl liest nur Daten ({commands}). Soll ich ihn ausführen? Sag ja oder nein."+ },+ "outcome": {+ "done": "Erledigt.",+ "vetoed": "Okay, lass ich.",+ "timeout": "Hab keine Antwort gehört, ich lass es.",+ "failed": "Das hat nicht geklappt.",+ "unclear": "Sag bitte einfach ja oder nein.",+ "unavailable": "Dafür brauche ich deine Freigabe, und hier kann sie niemand geben. Ich habe es nicht gemacht."+ }+ },+ "echo_confirmation": {+ "value_words": {+ "on": "an",+ "off": "aus",+ "empty": "leer"+ },+ "echo_templates": "Verstanden — {label} wechselt von {old} zu {new}. Bestätigen?",+ "echo_templates_sensitive": "Verstanden — {label} auf einen neuen Wert. Bestätigen?",+ "outcome_words": {+ "new_value": "der neue Wert",+ "old_value": "der vorherige Wert",+ "validation_failed": "Validierung schlug fehl",+ "unknown_error": "unbekannter Fehler"+ },+ "outcome_templates": {+ "safe_applied": "Geht klar — {label} jetzt {new}.",+ "applied": "Erledigt — {label} ist jetzt {new}.",+ "applied_restart": "Erledigt — {label} ist jetzt {new}. Bitte einmal Dodaios neustarten, damit's wirkt.",+ "validate_failed": "Geht nicht — {err}. Setting bleibt {old}.",+ "rollback": "Konnte nicht gespeichert werden, hab den vorherigen Zustand wiederhergestellt. {err}",+ "vetoed": "Okay, lass ich.",+ "timeout": "Hab keine Antwort gehört, brech ich ab. Setting bleibt {old}."+ }+ },+ "parked_results": {+ "anchor_pools": [+ "Zu deiner Anfrage von vorhin – {topic}: {result}",+ "Noch zu vorhin, {topic}: {result}",+ "Das Ergebnis zu {topic}: {result}"+ ],+ "anchor_pools_no_topic": [+ "Zu deiner Anfrage von vorhin: {result}",+ "Noch zu vorhin: {result}"+ ]+ },+ "config_readback": {+ "phrases": {+ "applied": "Erledigt — {label} ist jetzt {value}.",+ "applied_restart": "Erledigt — {label} ist jetzt {value}. Starte Dodaios einmal neu, damit es wirkt.",+ "refused": "Das ändere ich nicht per Stimme — das bitte bewusst in den Einstellungen.",+ "unknown_setting": "Das ist keine Einstellung, die ich ändern kann.",+ "invalid_value": "Das geht so nicht — die Einstellung bleibt unverändert.",+ "rollback": "Konnte ich nicht speichern, ich habe den vorherigen Stand wiederhergestellt."+ }+ }+ },+ "tools": {+ "delegate": {+ "ack": "{name} ist dran, ich sage Bescheid.",+ "quiet_ack": "{name} ist dran.",+ "error_ack": "{name} ist dran; ich melde mich bei Hindernissen.",+ "queued": "Aufgabe für {name} erfasst; Start noch nicht bestätigt.",+ "no_agent": "Ich kenne keinen Agenten namens {target}.",+ "ask_agent": "Meinst du {names}?",+ "or": " oder ",+ "available": "Verfügbar sind: {names}.",+ "no_fit": "Keiner deiner Agenten passt zu dieser Aufgabe.",+ "refused": "{name} kann das gerade nicht übernehmen: {reason}.",+ "not_ready": "Die Agenten sind noch nicht bereit.",+ "status_idle": "{name} hat gerade nichts zu tun.",+ "status_working": "{name} arbeitet gerade: {text}",+ "status_last": "{name}: zuletzt {kind}, {text}",+ "roster": "Deine Agenten: {names}.",+ "empty_roster": "Du hast noch keine Team-Agenten."+ },+ "dispatch_review": {+ "voice_holding_phrases": "Lass mich kurz an der Aufgabe arbeiten.",+ "voice_outcome_templates": {+ "success": "Erledigt — {summary}",+ "cap_fired": "Mein bestes Ergebnis liegt vor, mit einer Einschränkung: {top_issue}",+ "fail": "Das funktioniert so nicht — {summary}",+ "precheck_fail": "Die Aufgabe ist zu kurz oder unklar — versuch's nochmal mit mehr Kontext."+ },+ "voice_fallback_fillers": {+ "success": "fertig",+ "cap_fired": "kleine Restbedenken",+ "fail": "Architektur-Defekt"+ }+ }+ },+ "telephony": {+ "default_greetings": "Guten Tag, wie kann ich helfen?",+ "named_greetings": "Hier ist {name}. Wie kann ich helfen?",+ "fallback_phrases": "Entschuldigung, das habe ich nicht verstanden. Bitte wiederhole es."+ },+ "cu": {+ "indicator": {+ "esc_hints": "Esc zum Abbrechen"+ }+ },+ "clis": {+ "capability": {+ "refusal_hints": {+ "installed": " Die {name} ist installiert, aber noch nicht verbunden — sag Bescheid, dann richten wir das ein.",+ "catalog": " Im CLI-Katalog gibt es dafür die {name} — ich kann sie mit dir einrichten."+ }+ }+ },+ "ui": {+ "desktop": {+ "conductor_news_phrases": {+ "failing": "Der geplante Job {name} schlägt gerade fehl.",+ "recovered": "Der geplante Job {name} läuft wieder."+ }+ }+ },+ "harness": {+ "step_progress": "Schritt {done} von {total} erledigt."}}diff --git a/dodaios/i18n/locales/en.json b/dodaios/i18n/locales/en.jsonindex 88a4989695..4aab06f625 100644--- a/dodaios/i18n/locales/en.json+++ b/dodaios/i18n/locales/en.json@@ -62,7 +62,103 @@"mid_answer_error": "I ran the steps, but something went wrong while composing the answer. Please ask me again in a moment.","action_failed": "I recognized the action but couldn't execute it.","lang_switch_confirm": "Done — I'll reply in English from now on.",- "lang_switch_confirm_auto": "Done — from now on I'll match the language you use."+ "lang_switch_confirm_auto": "Done — from now on I'll match the language you use.",+ "ack": {+ "final_markers": "Done.",+ "generic_ack": [+ "Okay, one moment.",+ "Just a second.",+ "On it, give me a moment.",+ "One sec, working on it.",+ "Alright, hang on."+ ],+ "shell_ack": [+ "One moment, let me check.",+ "Let me take a quick look.",+ "Checking that now.",+ "Give me a second to look.",+ "Taking a quick look."+ ],+ "cli_service_ack": [+ "Taking a quick look at {service}.",+ "One moment, checking {service}.",+ "Let me pull that from {service}.",+ "Checking {service} now.",+ "Having a quick look in {service}."+ ],+ "harness_ack": [+ "Got it, on it.",+ "Alright, I'll take that on.",+ "Understood, working on it.",+ "Okay, I'm on it now.",+ "Sure, give me a moment."+ ],+ "search_topic_ack": [+ "Okay, looking up {topic}.",+ "Searching for {topic} real quick.",+ "One moment, digging into {topic}.",+ "Let me see what I find on {topic}."+ ],+ "search_generic_ack": [+ "Okay, researching.",+ "Let me dig that up.",+ "One moment, looking around.",+ "Give me a moment to gather the facts."+ ],+ "multi_spawn_ack": [+ "Okay, running {n} tasks in parallel.",+ "Taking on those {n} jobs at once.",+ "{n} things in parallel — on it."+ ],+ "open_app_ack": [+ "Okay, opening {app}.",+ "One sec, launching {app}.",+ "Starting {app}."+ ],+ "run_skill_ack": [+ "Okay, running {skill}.",+ "One moment, starting {skill}.",+ "Kicking off {skill} now."+ ],+ "gmail_read_ack": [+ "Okay, checking your mail.",+ "One moment, opening your inbox.",+ "Taking a quick look at your email.",+ "Peeking into your inbox."+ ],+ "calendar_ack": [+ "Okay, checking your calendar.",+ "One moment, looking at your schedule.",+ "Let me check your appointments.",+ "Quick look at your calendar."+ ],+ "remember_ack": [+ "Okay, noting that.",+ "Got it, I'll remember that.",+ "Writing that down."+ ],+ "verify_ack": [+ "Okay, checking.",+ "One moment, testing that.",+ "Let me verify that."+ ],+ "server_ack": [+ "Okay, starting the server.",+ "One moment, spinning up the server.",+ "Bringing the server up."+ ],+ "set_config_ack": [+ "Okay, updating.",+ "One moment, changing that.",+ "Adjusting that now."+ ]+ },+ "action_honesty": {+ "action_not_started_phrases": "I did not start an action for that, so I do not have a result yet. Please ask me again."+ },+ "local_action_gate": {+ "unsupported_response": "I can't do that yet. I don't have a registered tool for it. Tell me which MCP or integration should handle it and I can learn."+ }},"tool_loop": {"anti_silence": "I can't do that right now — I'm missing the right tool for it.",@@ -110,7 +206,38 @@},"empty_summary": "Task completed.","unknown_reason": "unknown error",- "no_tool_call": "I could not do that — no tool call was made."+ "no_tool_call": "I could not do that — no tool call was made.",+ "capacity_wait_phrases": {+ "provider_quota": "{provider} capacity is used up for now.",+ "provider_auth": "The {provider} sign-in has expired.",+ "provider_unavailable": "{provider} cannot be used right now.",+ "paid_cap_reached": "This mission's cost limit for {provider} is reached.",+ "paid_daily_cap_reached": "The daily limit for automatic {provider} use is reached.",+ "paid_consent_revoked": "Automatic {provider} use was switched off.",+ "saved": "The progress so far has been saved.",+ "progress": "{done} of {total} steps done, {open} open.",+ "progress_single": "The task itself is still open.",+ "file": "1 file saved.",+ "files": "{files} files saved.",+ "wait": "The mission is waiting until capacity is available again.",+ "wait_auth": "The mission is waiting until you sign in again.",+ "paid": "Paid API use only with your explicit approval in Artifacts."+ },+ "provider_fallback_name": "AI provider",+ "default_target": "this action"+ },+ "deliverable": {+ "deliverable_templates": {+ "one": "Done. I have saved {name} as an artifact.",+ "few": "Done. I have saved {count} files as artifacts: {joined}.",+ "many": "Done. I have saved {count} files as artifacts."+ },+ "mission_completed_phrases": "Mission completed.",+ "delivered_templates": {+ "one": "Done. I have saved {name} as an artifact.",+ "few": "Done. I have saved {count} files as artifacts: {joined}.",+ "many": "Done. I have saved {count} files as artifacts."+ }}},"realtime": {@@ -123,6 +250,25 @@"no_credits": "The credit for the voice connection is used up. Top it up with the provider and it will work again.","not_offered": "Your account does not offer this voice connection right now. Check its plan or select another account.","dropped": "The voice connection dropped."+ },+ "public_fact_uncertainty": "I couldn't verify that reliably with a public source just now.",+ "delegate_bridge_texts": [+ "I'm still working on it.",+ "One moment, almost there.",+ "Still on it, give me a moment.",+ "Hang on, this is taking a moment."+ ],+ "interrupt_ack_texts": [+ "Okay, I stopped that.",+ "Alright, cancelling that.",+ "Okay, dropping that."+ ],+ "local_voice": {+ "refusals": {+ "not_set_up": "Local voice is not set up on this machine yet. Run its setup on the Local voice card in Settings.",+ "loading": "Local voice is still loading ({percent} %). The Local voice card in Settings shows its progress.",+ "failed": "Local voice could not start. The Local voice card in Settings shows why."+ }}},"self_mod": {@@ -132,5 +278,238 @@"rollback": "the rollback itself failed — a manual restore is needed","unexpected": "an unexpected error while changing the setting"}+ },+ "voice": {+ "action": {+ "phrases": {+ "cu_done": "Done.",+ "lookup_unspoken": "I have the information but couldn't read it out just now. Want me to try again?",+ "lookup_empty": "I didn't find anything on that.",+ "cu_done_detail": "Done. {detail}",+ "cu_failed": "That didn't work on screen.",+ "cu_failed_reason": "That didn't work on screen: {error}",+ "cu_crashed": "Something went wrong while doing it on screen.",+ "cu_exit_gave_up": "I tried it on screen but couldn't get it done.",+ "cu_exit_no_view": "I couldn't see the screen properly, so I stopped.",+ "cu_exit_confused": "I couldn't get a valid screen-control response, so I stopped.",+ "cu_exit_no_provider": "I don't have an AI model that can see the screen right now. Please check your API keys or your credit in settings.",+ "cu_exit_too_many_steps": "It took too many steps on screen, so I stopped.",+ "cu_exit_action_failed": "An action on screen failed, so I stopped.",+ "cu_exit_cancelled": "The action on screen was cancelled.",+ "cu_exit_needs_elevation": "I waited for the administrator confirmation, but none came, so I stopped.",+ "cu_blocked_permission": "I had to stop. {sentence}",+ "cu_blocked_restart_hint": "I had to stop: the {permission} permission may only take effect after Dodaios is quit and reopened. Reopen the app, then try again.",+ "cu_blocked_unavailable": "I had to stop: Dodaios cannot ask for the {permission} permission in this session.",+ "cu_blocked_waiting": "I had to stop because macOS is asking about the {permission} permission. Answer the dialog, then try again.",+ "cu_blocked_dialog": "I had to stop because a macOS system dialog is open. Answer it yourself, then try again.",+ "cu_blocked_restricted": "I had to stop: a permission this needs is restricted on this Mac by a profile or a parental control. That cannot be changed from the app.",+ "cu_blocked_generic": "I had to stop because macOS needs a permission for Dodaios. Allow it in System Settings under Privacy & Security, then try again.",+ "cu_timeout": "That took too long on screen (over {secs} seconds) and was cancelled.",+ "open_app_launched": "Launched: {app}",+ "open_app_launched_raised": "Launched and brought to the front: {app}",+ "open_app_not_found": "Application '{app}' was not found.",+ "cu_not_wired": "Screen control is switched off on this machine. Turn it on in the config with computer_use.enabled, then restart me once.",+ "cu_dispatch_ack": "On it. I'll handle that on screen and let you know when it's done.",+ "cu_awaiting_elevation": "This needs administrator rights. Please confirm the security prompt once, then I'll keep going.",+ "cu_awaiting_human": "This step needs you, please sign in or complete the verification, then I'll keep going.",+ "cost_cooldown": "Cost cooldown active, the daily budget is used up. New requests resume once the cooldown ends.",+ "task_budget": "The task budget for this conversation is exceeded.",+ "daily_budget": "The daily budget is exceeded.",+ "tool_failed": "{tool} failed.",+ "action_failed_generic": "That didn't work just now.",+ "stale_repeat_clarify": "I already answered that just now. What exactly would you like to know?",+ "action_failed_reason": "That didn't work: {reason}",+ "delegate_no_brain": "None of my models answered this request.",+ "delegate_no_result": "I got no grounded result back for that.",+ "delegate_failed_internal": "Something went wrong internally, so I stopped safely.",+ "actions_unavailable": "I can't run actions right now, but we can keep talking.",+ "actions_not_requested": "I didn't run anything for that. Tell me what you want done.",+ "skill_loaded_not_run": "I loaded the instructions for that, but I haven't carried them out yet.",+ "action_timeout": "That took too long, so I stopped.",+ "spawn_failed_generic": "I couldn't start the background helper just now.",+ "spawn_failed_reason": "I couldn't start the background helper: {reason}",+ "spawn_no_runner": "I can't start the task right now. Please restart me.",+ "artifact_building": "I'm building “{title}” in the background and will tell you when it's ready.",+ "artifact_revising": "I'm revising “{title}” in the background and will tell you when it's ready.",+ "workflow_trigger_failed": "The routine {name} could not start. I'll try again at the next scheduled time.",+ "workflow_scheduler_stalled": "Your scheduled routines aren't running right now. I'll keep trying.",+ "workflow_step_failed": "The routine {name} got stuck at {step}, so I stopped it.",+ "workflow_step_failed_reason": "The routine {name} got stuck at {step}, so I stopped it. The reason: {reason}",+ "workflow_step_ordinal": "step {n}",+ "workflow_unnamed": "without a name",+ "wiki_saving": "Writing that to the wiki now.",+ "wiki_saved": "Saved to the wiki.",+ "wiki_saved_detail": "Saved to the wiki: {detail}.",+ "wiki_save_failed": "Saving to the wiki did not work.",+ "wiki_save_failed_reason": "Saving to the wiki did not work: {reason}",+ "wiki_nothing_to_save": "I am not sure what to write to the wiki. Please say it again with the content.",+ "ide_prompt_sent": "Sent to {terminal}.",+ "ide_prompt_sent_files": "Sent to {terminal}, with {count} files attached.",+ "ide_prompt_sent_one_file": "Sent to {terminal}, along with {file}.",+ "ide_terminal_not_running": "{terminal} is not running right now ({status}). I sent nothing.",+ "ide_prompt_sent_many": "Sent to {names}.",+ "ide_prompt_sent_partial": "Sent to {names}. I could not reach {failed}.",+ "ide_prompt_sent_nobody": "I could not reach {failed}, so nothing is running.",+ "ide_prompt_typed_not_started": "On {names} the text is only sitting in the input box.",+ "ide_names_pair": "{head} and {last}",+ "ide_terminals_spawned_one": "{names} is open.",+ "ide_terminals_spawned": "{count} new terminals: {names}.",+ "ide_terminals_briefing_queued": "I will hand them the task as soon as the terminals are ready.",+ "ide_terminals_closed": "Closed {count} terminals: {names}.",+ "ide_terminals_none_to_close": "There are no matching open terminals.",+ "ide_terminals_spawned_capped": "Only {count} could be opened: {names}.",+ "ide_terminals_open_failed": "I could not open a terminal.",+ "ide_terminal_kind_unclear": "I heard {spoken}. Did you mean {first} or {second}?",+ "ide_terminal_kind_unclear_one": "I heard {spoken}. Did you mean {first}?",+ "ide_terminal_kind_unknown": "There is no {name} terminal kind. Available: {available}.",+ "ide_terminals_opened_workspace": "I opened {folder}: {names}.",+ "ide_terminal_clarify_one": "I heard {spoken}. Did you mean {name}?",+ "ide_terminal_clarify_many": "I heard {spoken}. Did you mean {names}?",+ "ide_prompt_already_delivered": "{name} got the task at {time}. I am not sending it twice.",+ "join_or": " or ",+ "join_and": " and ",+ "ide_terminal_clarify_also": "I also heard {spoken}. Did you mean {names}?",+ "ide_terminal_who_else": "I could only place {names}. Who else did you mean?",+ "ide_terminals_nowhere": "No workspace is open and there is no recent one. Pick a folder in the Agentic IDE."+ },+ "permission_cause_templates": "Dodaios does not have the {name} permission right now.",+ "permission_cause_names": {+ "microphone": "Microphone",+ "accessibility": "Accessibility",+ "screen_recording": "Screen Recording",+ "input_monitoring": "Input Monitoring",+ "automation": "Automation",+ "event_posting": "Accessibility"+ }+ },+ "tool_confirmation": {+ "tool_questions": {+ "gmail": "Do you really want me to send the email? Say yes or no.",+ "gmail_rest": "Do you really want me to send the email? Say yes or no.",+ "call-contact": "Do you really want me to place the call? Say yes or no."+ },+ "generic_question": "Do you really want me to do that? Say yes or no.",+ "impact_questions": {+ "destructive": "Careful, this command would delete something ({commands}). Do you really want me to run it? Say yes or no.",+ "modify": "This command would change something on the computer ({commands}). Do you want me to run it? Say yes or no.",+ "read": "This command only reads data ({commands}). Do you want me to run it? Say yes or no."+ },+ "outcome": {+ "done": "Done.",+ "vetoed": "Okay, leaving it.",+ "timeout": "No answer heard, leaving it.",+ "failed": "That didn't work.",+ "unclear": "Please just say yes or no.",+ "unavailable": "That needs your approval, and nobody here can give it. So I did not do it."+ }+ },+ "echo_confirmation": {+ "value_words": {+ "on": "on",+ "off": "off",+ "empty": "empty"+ },+ "echo_templates": "Got it — {label} switches from {old} to {new}. Confirm?",+ "echo_templates_sensitive": "Got it — {label} to a new value. Confirm?",+ "outcome_words": {+ "new_value": "the new value",+ "old_value": "the previous value",+ "validation_failed": "validation failed",+ "unknown_error": "unknown error"+ },+ "outcome_templates": {+ "safe_applied": "Got it — {label} is now {new}.",+ "applied": "Done — {label} is now {new}.",+ "applied_restart": "Done — {label} is now {new}. Please restart Dodaios for the change to take effect.",+ "validate_failed": "Can't do that — {err}. Setting stays {old}.",+ "rollback": "Couldn't save it, reverted to the previous state. {err}",+ "vetoed": "Okay, leaving it.",+ "timeout": "No answer heard, aborting. Setting stays {old}."+ }+ },+ "parked_results": {+ "anchor_pools": [+ "About your earlier request – {topic}: {result}",+ "Back to {topic}: {result}",+ "Here's the result on {topic}: {result}"+ ],+ "anchor_pools_no_topic": [+ "About your earlier request: {result}",+ "Back to what you asked earlier: {result}"+ ]+ },+ "config_readback": {+ "phrases": {+ "applied": "Done — {label} is now {value}.",+ "applied_restart": "Done — {label} is now {value}. Restart Dodaios once for it to take effect.",+ "refused": "I won't change that by voice — please do that deliberately in Settings.",+ "unknown_setting": "That isn't a setting I can change.",+ "invalid_value": "That doesn't work — the setting stays unchanged.",+ "rollback": "I couldn't save it, I restored the previous state."+ }+ }+ },+ "tools": {+ "delegate": {+ "ack": "{name} is on it, I will let you know.",+ "quiet_ack": "{name} is on it.",+ "error_ack": "{name} is on it; I will report any blockers.",+ "queued": "The task for {name} is recorded; its start is not confirmed yet.",+ "no_agent": "I do not know an agent called {target}.",+ "ask_agent": "Did you mean {names}?",+ "or": " or ",+ "available": "Available agents: {names}.",+ "no_fit": "None of your agents fits this task.",+ "refused": "{name} cannot take that right now: {reason}.",+ "not_ready": "The agents are not ready yet.",+ "status_idle": "{name} has nothing to do right now.",+ "status_working": "{name} is working on: {text}",+ "status_last": "{name}: last {kind}, {text}",+ "roster": "Your agents: {names}.",+ "empty_roster": "You do not have any team agents yet."+ },+ "dispatch_review": {+ "voice_holding_phrases": "Let me work on that task for a moment.",+ "voice_outcome_templates": {+ "success": "Done — {summary}",+ "cap_fired": "Here is my best result, with one caveat: {top_issue}",+ "fail": "That does not work like this — {summary}",+ "precheck_fail": "The task is too short or unclear — try again with more context."+ },+ "voice_fallback_fillers": {+ "success": "finished",+ "cap_fired": "a few minor remaining concerns",+ "fail": "an architectural defect"+ }+ }+ },+ "telephony": {+ "default_greetings": "Hello, how can I help?",+ "named_greetings": "{name} here. How can I help?",+ "fallback_phrases": "Sorry, I did not catch that. Could you say it again?"+ },+ "cu": {+ "indicator": {+ "esc_hints": "Esc to cancel"+ }+ },+ "clis": {+ "capability": {+ "refusal_hints": {+ "installed": " The {name} is installed but not connected yet — say the word and we'll set it up.",+ "catalog": " The CLI catalog has {name} for that — I can set it up with you."+ }+ }+ },+ "ui": {+ "desktop": {+ "conductor_news_phrases": {+ "failing": "The scheduled job {name} has started failing.",+ "recovered": "The scheduled job {name} is working again."+ }+ }+ },+ "harness": {+ "step_progress": "Step {done} of {total} done."}}diff --git a/dodaios/i18n/locales/es.json b/dodaios/i18n/locales/es.jsonindex 35219dcf4e..a788f539f6 100644--- a/dodaios/i18n/locales/es.json+++ b/dodaios/i18n/locales/es.json@@ -62,7 +62,103 @@"mid_answer_error": "Ejecuté los pasos, pero algo falló al redactar la respuesta. Vuelve a preguntarme en un momento.","action_failed": "Reconocí la acción, pero no pude ejecutarla.","lang_switch_confirm": "Listo — a partir de ahora respondo en español.",- "lang_switch_confirm_auto": "Listo — a partir de ahora respondo en el idioma que uses."+ "lang_switch_confirm_auto": "Listo — a partir de ahora respondo en el idioma que uses.",+ "ack": {+ "final_markers": "Listo.",+ "generic_ack": [+ "Vale, un momento.",+ "Un segundo.",+ "Enseguida, dame un momento.",+ "Voy, un segundito.",+ "De acuerdo, espera un poco."+ ],+ "shell_ack": [+ "Un momento, lo compruebo.",+ "Déjame echar un vistazo.",+ "Lo miro ahora mismo.",+ "Dame un segundo para mirarlo.",+ "Le echo un vistazo rápido."+ ],+ "cli_service_ack": [+ "Echo un vistazo rápido a {service}.",+ "Un momento, consulto {service}.",+ "Déjame mirarlo en {service}.",+ "Reviso {service} ahora mismo.",+ "Voy a ver en {service}."+ ],+ "harness_ack": [+ "Entendido, me encargo.",+ "Vale, lo asumo yo.",+ "De acuerdo, estoy en ello.",+ "Okay, me pongo con ello.",+ "Claro, un momento."+ ],+ "search_topic_ack": [+ "Vale, busco {topic}.",+ "Un momento, investigo {topic}.",+ "Voy a ver qué encuentro sobre {topic}.",+ "Buscando {topic} ahora."+ ],+ "search_generic_ack": [+ "Vale, investigo un poco.",+ "Déjame buscarlo.",+ "Un momento, echo un vistazo.",+ "Dame un momento para reunir los datos."+ ],+ "multi_spawn_ack": [+ "Vale, hago {n} cosas en paralelo.",+ "Me pongo con las {n} tareas a la vez.",+ "{n} cosas en paralelo — voy."+ ],+ "open_app_ack": [+ "Vale, abro {app}.",+ "Un segundo, lanzo {app}.",+ "Inicio {app}."+ ],+ "run_skill_ack": [+ "Vale, ejecuto {skill}.",+ "Un momento, arranco {skill}.",+ "Pongo {skill} en marcha."+ ],+ "gmail_read_ack": [+ "Vale, reviso tu correo.",+ "Un momento, abro tu bandeja.",+ "Echo un vistazo a tus correos.",+ "Miro tu bandeja de entrada."+ ],+ "calendar_ack": [+ "Vale, reviso tu calendario.",+ "Un momento, miro tu agenda.",+ "Compruebo tus citas.",+ "Un vistazo rápido a tu calendario."+ ],+ "remember_ack": [+ "Vale, lo apunto.",+ "Entendido, lo recordaré.",+ "Me lo apunto."+ ],+ "verify_ack": [+ "Vale, lo compruebo.",+ "Un momento, lo pruebo.",+ "Déjame verificarlo."+ ],+ "server_ack": [+ "Vale, inicio el servidor.",+ "Un momento, arranco el servidor.",+ "Levanto el servidor."+ ],+ "set_config_ack": [+ "Vale, lo cambio.",+ "Un momento, lo ajusto.",+ "Lo adapto ahora."+ ]+ },+ "action_honesty": {+ "action_not_started_phrases": "No inicié ninguna acción para eso, así que todavía no tengo un resultado. Pídemelo de nuevo."+ },+ "local_action_gate": {+ "unsupported_response": "Eso todavía no lo sé hacer. No tengo ninguna herramienta registrada para ello. Dime qué MCP o integración debería encargarse y puedo aprenderlo."+ }},"tool_loop": {"anti_silence": "Ahora mismo no puedo hacerlo — me falta la herramienta adecuada.",@@ -110,7 +206,38 @@},"empty_summary": "Tarea completada.","unknown_reason": "error desconocido",- "no_tool_call": "No pude hacerlo: no hubo ninguna llamada a herramienta."+ "no_tool_call": "No pude hacerlo: no hubo ninguna llamada a herramienta.",+ "capacity_wait_phrases": {+ "provider_quota": "La capacidad de {provider} está agotada por ahora.",+ "provider_auth": "El inicio de sesión de {provider} ha caducado.",+ "provider_unavailable": "{provider} no se puede usar ahora mismo.",+ "paid_cap_reached": "Se alcanzó el límite de coste de esta misión para {provider}.",+ "paid_daily_cap_reached": "Se alcanzó el límite diario de uso automático de {provider}.",+ "paid_consent_revoked": "El uso automático de {provider} se ha desactivado.",+ "saved": "El progreso hasta ahora se ha guardado.",+ "progress": "{done} de {total} pasos hechos, {open} pendientes.",+ "progress_single": "La tarea en sí sigue pendiente.",+ "file": "1 archivo guardado.",+ "files": "{files} archivos guardados.",+ "wait": "La misión espera hasta que vuelva a haber capacidad.",+ "wait_auth": "La misión espera hasta que vuelvas a iniciar sesión.",+ "paid": "Uso de API de pago solo con tu aprobación expresa en Artefactos."+ },+ "provider_fallback_name": "proveedor de IA",+ "default_target": "esta acción"+ },+ "deliverable": {+ "deliverable_templates": {+ "one": "Hecho. He guardado {name} como artefacto.",+ "few": "Hecho. He guardado {count} archivos como artefactos: {joined}.",+ "many": "Hecho. He guardado {count} archivos como artefactos."+ },+ "mission_completed_phrases": "Misión completada.",+ "delivered_templates": {+ "one": "Hecho. He guardado {name} como artefacto.",+ "few": "Hecho. He guardado {count} archivos como artefactos: {joined}.",+ "many": "Hecho. He guardado {count} archivos como artefactos."+ }}},"realtime": {@@ -123,6 +250,25 @@"no_credits": "Se agotó el saldo de la conexión de voz. Recárgalo con el proveedor y volverá a funcionar.","not_offered": "Tu cuenta no ofrece esta conexión de voz ahora mismo. Revisa el plan o elige otra cuenta.","dropped": "Se cortó la conexión de voz."+ },+ "public_fact_uncertainty": "No pude verificarlo de forma fiable con una fuente pública ahora mismo.",+ "delegate_bridge_texts": [+ "Sigo trabajando en ello.",+ "Un momento, ya casi está.",+ "Sigo en ello, un momento.",+ "Dame un momento más."+ ],+ "interrupt_ack_texts": [+ "Vale, lo he detenido.",+ "De acuerdo, lo cancelo.",+ "Vale, lo dejo."+ ],+ "local_voice": {+ "refusals": {+ "not_set_up": "La voz local aún no está configurada en este equipo. Inicia la configuración en la tarjeta Voz local de los Ajustes.",+ "loading": "La voz local aún se está cargando ({percent} %). La tarjeta Voz local de los Ajustes muestra el progreso.",+ "failed": "La voz local no pudo arrancar. La tarjeta Voz local de los Ajustes muestra el motivo."+ }}},"self_mod": {@@ -132,5 +278,238 @@"rollback": "la reversión misma ha fallado; hace falta una restauración manual","unexpected": "un error inesperado al cambiar el ajuste"}+ },+ "voice": {+ "action": {+ "phrases": {+ "cu_done": "Listo.",+ "lookup_unspoken": "Tengo la información, pero no pude leerla en voz alta. ¿Lo intento otra vez?",+ "lookup_empty": "No encontré nada sobre eso.",+ "cu_done_detail": "Listo. {detail}",+ "cu_failed": "Eso no funcionó en la pantalla.",+ "cu_failed_reason": "Eso no funcionó en la pantalla: {error}",+ "cu_crashed": "Algo salió mal al hacerlo en la pantalla.",+ "cu_exit_gave_up": "Lo intenté en la pantalla, pero no pude completarlo.",+ "cu_exit_no_view": "No pude ver bien la pantalla, así que lo detuve.",+ "cu_exit_confused": "No pude obtener una respuesta valida para controlar la pantalla, asi que me detuve.",+ "cu_exit_no_provider": "Ahora mismo no tengo un modelo de IA que pueda ver la pantalla. Revisa tus claves de API o tu saldo en los ajustes.",+ "cu_exit_too_many_steps": "Hicieron falta demasiados pasos en la pantalla, así que lo detuve.",+ "cu_exit_action_failed": "Una acción en la pantalla falló, así que lo detuve.",+ "cu_exit_cancelled": "La acción en la pantalla se canceló.",+ "cu_exit_needs_elevation": "Esperé la confirmación de administrador, pero no llegó, así que me detuve.",+ "cu_blocked_permission": "Tuve que parar: Dodaios necesita el permiso de {permission}. Actívalo en {pane}. Después, vuelve a intentarlo.",+ "cu_blocked_restart_hint": "Tuve que parar: el permiso de {permission} puede que solo surta efecto cuando Dodaios se cierre y se vuelva a abrir. Reinicia la app y vuelve a intentarlo.",+ "cu_blocked_unavailable": "Tuve que parar: Dodaios no puede pedir el permiso de {permission} en esta sesión.",+ "cu_blocked_waiting": "Tuve que parar porque macOS está preguntando por el permiso de {permission}. Responde al diálogo y vuelve a intentarlo.",+ "cu_blocked_dialog": "Tuve que parar porque hay un diálogo del sistema abierto en el Mac. Respóndelo tú y vuelve a intentarlo.",+ "cu_blocked_restricted": "Tuve que parar: un permiso necesario está restringido en este Mac por un perfil o un control parental. No se puede cambiar desde la app.",+ "cu_blocked_generic": "Tuve que parar porque macOS necesita un permiso para Dodaios. Actívalo en Ajustes del Sistema, en Privacidad y seguridad, y vuelve a intentarlo.",+ "cu_timeout": "Eso tardó demasiado en la pantalla (más de {secs} segundos) y se canceló.",+ "open_app_launched": "Iniciado: {app}",+ "open_app_launched_raised": "Iniciado y traído al frente: {app}",+ "open_app_not_found": "No se encontró la aplicación '{app}'.",+ "cu_not_wired": "El control de pantalla está desactivado en este equipo. Actívalo en la configuración con computer_use.enabled y reiníciame una vez.",+ "cu_dispatch_ack": "Voy. Lo hago directamente en la pantalla y te aviso cuando termine.",+ "cu_awaiting_elevation": "Esto requiere permisos de administrador. Confirma el aviso de seguridad una vez y continúo.",+ "cu_awaiting_human": "Este paso te necesita, inicia sesión o completa la verificación y continúo.",+ "cost_cooldown": "Enfriamiento de costes activo, el presupuesto diario se agotó. Las nuevas solicitudes se reanudan al terminar el enfriamiento.",+ "task_budget": "Se superó el presupuesto de tareas de esta conversación.",+ "daily_budget": "Se superó el presupuesto diario.",+ "tool_failed": "{tool} falló.",+ "action_failed_generic": "Eso no funcionó ahora mismo.",+ "stale_repeat_clarify": "Eso ya lo acabo de responder. ¿Qué querías saber exactamente?",+ "action_failed_reason": "Eso no funcionó: {reason}",+ "delegate_no_brain": "Ninguno de mis modelos respondió a esta petición.",+ "delegate_no_result": "No recibí ningún resultado sólido para eso.",+ "delegate_failed_internal": "Algo falló internamente, así que me detuve de forma segura.",+ "actions_unavailable": "Ahora mismo no puedo ejecutar acciones, pero podemos seguir hablando.",+ "actions_not_requested": "No ejecuté nada para eso. Dime qué quieres que haga.",+ "skill_loaded_not_run": "Cargué las instrucciones para eso, pero todavía no las ejecuté.",+ "action_timeout": "Eso tardó demasiado, así que lo detuve.",+ "spawn_failed_generic": "No pude iniciar el ayudante en segundo plano ahora mismo.",+ "spawn_failed_reason": "No pude iniciar el ayudante en segundo plano: {reason}",+ "spawn_no_runner": "No puedo iniciar la tarea ahora. Reiníciame, por favor.",+ "artifact_building": "Estoy creando «{title}» en segundo plano y te aviso cuando esté listo.",+ "artifact_revising": "Estoy revisando «{title}» en segundo plano y te aviso cuando esté listo.",+ "workflow_trigger_failed": "La rutina {name} no pudo iniciarse. Lo intentaré en el próximo momento programado.",+ "workflow_scheduler_stalled": "Tus rutinas programadas no se están ejecutando ahora. Seguiré intentándolo.",+ "workflow_step_failed": "La rutina {name} se atascó en {step}, así que la detuve.",+ "workflow_step_failed_reason": "La rutina {name} se atascó en {step}, así que la detuve. El motivo: {reason}",+ "workflow_step_ordinal": "el paso {n}",+ "workflow_unnamed": "sin nombre",+ "wiki_saving": "Lo estoy escribiendo en la wiki.",+ "wiki_saved": "Guardado en la wiki.",+ "wiki_saved_detail": "Guardado en la wiki: {detail}.",+ "wiki_save_failed": "No se pudo guardar en la wiki.",+ "wiki_save_failed_reason": "No se pudo guardar en la wiki: {reason}",+ "wiki_nothing_to_save": "No tengo claro qué escribir en la wiki; dímelo otra vez con el contenido.",+ "ide_prompt_sent": "Enviado a {terminal}.",+ "ide_prompt_sent_files": "Enviado a {terminal}, con {count} archivos adjuntos.",+ "ide_prompt_sent_one_file": "Enviado a {terminal}, junto con {file}.",+ "ide_terminal_not_running": "{terminal} no está en marcha ahora ({status}). No envié nada.",+ "ide_prompt_sent_many": "Enviado a {names}.",+ "ide_prompt_sent_partial": "Enviado a {names}. No pude llegar a {failed}.",+ "ide_prompt_sent_nobody": "No pude llegar a {failed}, así que no hay nada en marcha.",+ "ide_prompt_typed_not_started": "En {names} el texto solo está en el cuadro de entrada.",+ "ide_names_pair": "{head} y {last}",+ "ide_terminals_spawned_one": "{names} está abierta.",+ "ide_terminals_spawned": "{count} terminales nuevas: {names}.",+ "ide_terminals_briefing_queued": "Les entregaré la tarea en cuanto las terminales estén listas.",+ "ide_terminals_closed": "Cerré {count} terminales: {names}.",+ "ide_terminals_none_to_close": "No hay terminales abiertas que coincidan.",+ "ide_terminals_spawned_capped": "Solo se pudieron abrir {count}: {names}.",+ "ide_terminals_open_failed": "No pude abrir ninguna terminal.",+ "ide_terminal_kind_unclear": "Escuché {spoken}: ¿te refieres a {first} o a {second}?",+ "ide_terminal_kind_unclear_one": "Escuché {spoken}: ¿te refieres a {first}?",+ "ide_terminal_kind_unknown": "No hay un tipo de terminal {name}. Disponibles: {available}.",+ "ide_terminals_opened_workspace": "Abrí {folder}: {names}.",+ "ide_terminal_clarify_one": "Entendí {spoken}: ¿te refieres a {name}?",+ "ide_terminal_clarify_many": "Entendí {spoken}: ¿te refieres a {names}?",+ "ide_prompt_already_delivered": "{name} recibió la tarea a las {time}: no la envío dos veces.",+ "join_or": " o ",+ "join_and": " y ",+ "ide_terminal_clarify_also": "También entendí {spoken}: ¿te refieres a {names}?",+ "ide_terminal_who_else": "Solo pude identificar a {names}: ¿quién más?",+ "ide_terminals_nowhere": "No hay ningún espacio de trabajo abierto ni uno reciente. Elige una carpeta en el IDE agéntico."+ },+ "permission_cause_templates": "Dodaios no tiene ahora el permiso de {name}.",+ "permission_cause_names": {+ "microphone": "Micrófono",+ "accessibility": "Accesibilidad",+ "screen_recording": "Grabación de pantalla",+ "input_monitoring": "Monitorización de entrada",+ "automation": "Automatización",+ "event_posting": "Accesibilidad"+ }+ },+ "tool_confirmation": {+ "tool_questions": {+ "gmail": "¿Quieres que envíe el correo de verdad? Di sí o no.",+ "gmail_rest": "¿Quieres que envíe el correo de verdad? Di sí o no.",+ "call-contact": "¿Quieres que haga la llamada de verdad? Di sí o no."+ },+ "generic_question": "¿Quieres que lo haga de verdad? Di sí o no.",+ "impact_questions": {+ "destructive": "Cuidado, este comando borraría algo ({commands}). ¿Quieres que lo ejecute de verdad? Di sí o no.",+ "modify": "Este comando cambiaría algo en el equipo ({commands}). ¿Quieres que lo ejecute? Di sí o no.",+ "read": "Este comando solo lee datos ({commands}). ¿Quieres que lo ejecute? Di sí o no."+ },+ "outcome": {+ "done": "Listo.",+ "vetoed": "Vale, lo dejo.",+ "timeout": "No te he oído, lo dejo.",+ "failed": "Eso no funcionó.",+ "unclear": "Di simplemente sí o no, por favor.",+ "unavailable": "Eso necesita tu aprobación y aquí nadie puede darla. Así que no lo hice."+ }+ },+ "echo_confirmation": {+ "value_words": {+ "on": "activado",+ "off": "desactivado",+ "empty": "vacío"+ },+ "echo_templates": "Entendido — {label} cambia de {old} a {new}. ¿Confirmas?",+ "echo_templates_sensitive": "Entendido — {label} a un valor nuevo. ¿Confirmas?",+ "outcome_words": {+ "new_value": "el valor nuevo",+ "old_value": "el valor anterior",+ "validation_failed": "la validación falló",+ "unknown_error": "error desconocido"+ },+ "outcome_templates": {+ "safe_applied": "Hecho — {label} ahora es {new}.",+ "applied": "Listo — {label} ahora es {new}.",+ "applied_restart": "Listo — {label} ahora es {new}. Reinicia Dodaios para que el cambio surta efecto.",+ "validate_failed": "No se puede — {err}. El ajuste sigue en {old}.",+ "rollback": "No se pudo guardar, he restaurado el estado anterior. {err}",+ "vetoed": "Vale, lo dejo.",+ "timeout": "No he oído respuesta, lo cancelo. El ajuste sigue en {old}."+ }+ },+ "parked_results": {+ "anchor_pools": [+ "Sobre tu petición de antes – {topic}: {result}",+ "Volviendo a {topic}: {result}",+ "El resultado sobre {topic}: {result}"+ ],+ "anchor_pools_no_topic": [+ "Sobre tu petición de antes: {result}",+ "Volviendo a lo de antes: {result}"+ ]+ },+ "config_readback": {+ "phrases": {+ "applied": "Listo — {label} ahora es {value}.",+ "applied_restart": "Listo — {label} ahora es {value}. Reinicia Dodaios una vez para que surta efecto.",+ "refused": "Eso no lo cambio por voz — hazlo a propósito en los Ajustes.",+ "unknown_setting": "Ese no es un ajuste que pueda cambiar.",+ "invalid_value": "Eso no funciona — el ajuste queda sin cambios.",+ "rollback": "No pude guardarlo, restauré el estado anterior."+ }+ }+ },+ "tools": {+ "delegate": {+ "ack": "{name} se encarga, te aviso.",+ "quiet_ack": "{name} se encarga.",+ "error_ack": "{name} se encarga; te avisare si hay impedimentos.",+ "queued": "La tarea para {name} está registrada; su inicio aún no está confirmado.",+ "no_agent": "No conozco ningún agente llamado {target}.",+ "ask_agent": "¿Te refieres a {names}?",+ "or": " o ",+ "available": "Agentes disponibles: {names}.",+ "no_fit": "Ninguno de tus agentes encaja con esta tarea.",+ "refused": "{name} no puede encargarse ahora: {reason}.",+ "not_ready": "Los agentes aún no están listos.",+ "status_idle": "{name} no tiene nada que hacer ahora.",+ "status_working": "{name} está trabajando en: {text}",+ "status_last": "{name}: último {kind}, {text}",+ "roster": "Tus agentes: {names}.",+ "empty_roster": "Todavía no tienes agentes en tu equipo."+ },+ "dispatch_review": {+ "voice_holding_phrases": "Déjame trabajar un momento en la tarea.",+ "voice_outcome_templates": {+ "success": "Hecho — {summary}",+ "cap_fired": "Aquí está mi mejor resultado, con una salvedad: {top_issue}",+ "fail": "Así no funciona — {summary}",+ "precheck_fail": "La tarea es demasiado corta o poco clara — vuelve a intentarlo con más contexto."+ },+ "voice_fallback_fillers": {+ "success": "terminado",+ "cap_fired": "algunas pequeñas dudas pendientes",+ "fail": "un defecto de arquitectura"+ }+ }+ },+ "telephony": {+ "default_greetings": "Hola, ¿en qué puedo ayudarte?",+ "named_greetings": "Soy {name}. ¿En qué puedo ayudarte?",+ "fallback_phrases": "Perdona, no te he entendido. ¿Puedes repetirlo?"+ },+ "cu": {+ "indicator": {+ "esc_hints": "Esc para cancelar"+ }+ },+ "clis": {+ "capability": {+ "refusal_hints": {+ "installed": " {name} está instalado, pero aún no está conectado — dímelo y lo configuramos.",+ "catalog": " En el catálogo de CLI está {name} para eso — puedo configurarlo contigo."+ }+ }+ },+ "ui": {+ "desktop": {+ "conductor_news_phrases": {+ "failing": "El trabajo programado {name} está fallando.",+ "recovered": "El trabajo programado {name} vuelve a funcionar."+ }+ }+ },+ "harness": {+ "step_progress": "Paso {done} de {total} completado."}}diff --git a/dodaios/i18n/locales/pt.json b/dodaios/i18n/locales/pt.jsonindex 15d5989e5d..c1a2fe6e5f 100644--- a/dodaios/i18n/locales/pt.json+++ b/dodaios/i18n/locales/pt.json@@ -62,7 +62,103 @@"mid_answer_error": "Executei os passos, mas algo falhou ao redigir a resposta. Volta a perguntar-me daqui a um momento.","action_failed": "Reconheci a ação, mas não consegui executá-la.","lang_switch_confirm": "Feito — a partir de agora respondo em português.",- "lang_switch_confirm_auto": "Feito — a partir de agora respondo na língua que usares."+ "lang_switch_confirm_auto": "Feito — a partir de agora respondo na língua que usares.",+ "ack": {+ "final_markers": "Feito.",+ "generic_ack": [+ "Está bem, um momento.",+ "Um segundo.",+ "Já vai, dá-me um momento.",+ "Vou já, só um segundinho.",+ "Combinado, espera um pouco."+ ],+ "shell_ack": [+ "Um momento, vou verificar.",+ "Deixa-me dar uma vista de olhos.",+ "Vejo isso agora mesmo.",+ "Dá-me um segundo para ver.",+ "Dou uma vista de olhos rápida."+ ],+ "cli_service_ack": [+ "Dou uma vista de olhos rápida a {service}.",+ "Um momento, consulto {service}.",+ "Deixa-me ver isso em {service}.",+ "Verifico {service} agora mesmo.",+ "Vou ver em {service}."+ ],+ "harness_ack": [+ "Entendido, eu trato disso.",+ "Está bem, fico eu com isso.",+ "Combinado, estou a tratar disso.",+ "Okay, vou pôr mãos à obra.",+ "Claro, um momento."+ ],+ "search_topic_ack": [+ "Está bem, procuro {topic}.",+ "Um momento, vou pesquisar {topic}.",+ "Vou ver o que encontro sobre {topic}.",+ "A procurar {topic} agora."+ ],+ "search_generic_ack": [+ "Está bem, vou pesquisar um pouco.",+ "Deixa-me procurar.",+ "Um momento, dou uma vista de olhos.",+ "Dá-me um momento para reunir os dados."+ ],+ "multi_spawn_ack": [+ "Está bem, faço {n} coisas em paralelo.",+ "Vou tratar das {n} tarefas ao mesmo tempo.",+ "{n} coisas em paralelo — vou já."+ ],+ "open_app_ack": [+ "Está bem, abro {app}.",+ "Um segundo, inicio {app}.",+ "A iniciar {app}."+ ],+ "run_skill_ack": [+ "Está bem, executo {skill}.",+ "Um momento, arranco com {skill}.",+ "Ponho {skill} a correr."+ ],+ "gmail_read_ack": [+ "Está bem, vejo o teu correio.",+ "Um momento, abro a tua caixa de entrada.",+ "Dou uma vista de olhos aos teus e-mails.",+ "Vejo a tua caixa de entrada."+ ],+ "calendar_ack": [+ "Está bem, vejo o teu calendário.",+ "Um momento, vejo a tua agenda.",+ "Verifico os teus compromissos.",+ "Uma vista de olhos rápida ao teu calendário."+ ],+ "remember_ack": [+ "Está bem, tomo nota.",+ "Entendido, vou lembrar-me.",+ "Fica anotado."+ ],+ "verify_ack": [+ "Está bem, vou verificar.",+ "Um momento, vou testar.",+ "Deixa-me confirmar."+ ],+ "server_ack": [+ "Está bem, inicio o servidor.",+ "Um momento, arranco o servidor.",+ "Ponho o servidor a correr."+ ],+ "set_config_ack": [+ "Está bem, eu altero isso.",+ "Um momento, vou ajustar.",+ "Adapto isso agora."+ ]+ },+ "action_honesty": {+ "action_not_started_phrases": "Não iniciei nenhuma ação para isso, por isso ainda não tenho um resultado. Pede-mo outra vez."+ },+ "local_action_gate": {+ "unsupported_response": "Ainda não consigo fazer isso. Não tenho nenhuma ferramenta registada para isso. Diz-me que MCP ou integração deve tratar disso e posso aprender."+ }},"tool_loop": {"anti_silence": "Neste momento não consigo fazer isso — falta-me a ferramenta adequada.",@@ -110,7 +206,38 @@},"empty_summary": "Tarefa concluída.","unknown_reason": "erro desconhecido",- "no_tool_call": "Não consegui fazer isso: não houve nenhuma chamada a ferramenta."+ "no_tool_call": "Não consegui fazer isso: não houve nenhuma chamada a ferramenta.",+ "capacity_wait_phrases": {+ "provider_quota": "A capacidade de {provider} está esgotada por agora.",+ "provider_auth": "O início de sessão em {provider} expirou.",+ "provider_unavailable": "{provider} não pode ser usado neste momento.",+ "paid_cap_reached": "O limite de custo desta missão para {provider} foi atingido.",+ "paid_daily_cap_reached": "O limite diário de uso automático de {provider} foi atingido.",+ "paid_consent_revoked": "O uso automático de {provider} foi desligado.",+ "saved": "O progresso até agora foi guardado.",+ "progress": "{done} de {total} passos feitos, {open} por fazer.",+ "progress_single": "A tarefa em si ainda está por fazer.",+ "file": "1 ficheiro guardado.",+ "files": "{files} ficheiros guardados.",+ "wait": "A missão aguarda até haver capacidade outra vez.",+ "wait_auth": "A missão aguarda até voltares a iniciar sessão.",+ "paid": "Uso de API paga só com a tua aprovação explícita em Artefactos."+ },+ "provider_fallback_name": "fornecedor de IA",+ "default_target": "esta ação"+ },+ "deliverable": {+ "deliverable_templates": {+ "one": "Feito. Guardei {name} como artefacto.",+ "few": "Feito. Guardei {count} ficheiros como artefactos: {joined}.",+ "many": "Feito. Guardei {count} ficheiros como artefactos."+ },+ "mission_completed_phrases": "Missão concluída.",+ "delivered_templates": {+ "one": "Feito. Guardei {name} como artefacto.",+ "few": "Feito. Guardei {count} ficheiros como artefactos: {joined}.",+ "many": "Feito. Guardei {count} ficheiros como artefactos."+ }}},"realtime": {@@ -123,6 +250,25 @@"no_credits": "O saldo da ligação de voz esgotou-se. Carrega-o no fornecedor e volta a funcionar.","not_offered": "A tua conta não oferece esta ligação de voz neste momento. Verifica o plano ou escolhe outra conta.","dropped": "A ligação de voz caiu."+ },+ "public_fact_uncertainty": "Não consegui confirmar isso com fiabilidade numa fonte pública agora.",+ "delegate_bridge_texts": [+ "Ainda estou a tratar disso.",+ "Só um momento, está quase.",+ "Continuo nisso, dá-me um momento.",+ "Dá-me só mais um momento."+ ],+ "interrupt_ack_texts": [+ "Ok, parei isso.",+ "Está bem, vou cancelar isso.",+ "Ok, deixo isso."+ ],+ "local_voice": {+ "refusals": {+ "not_set_up": "A voz local ainda não está configurada neste computador. Inicia a configuração no cartão Voz local das Definições.",+ "loading": "A voz local ainda está a carregar ({percent} %). O cartão Voz local das Definições mostra o progresso.",+ "failed": "A voz local não conseguiu arrancar. O cartão Voz local das Definições mostra o motivo."+ }}},"self_mod": {@@ -132,5 +278,238 @@"rollback": "a própria reversão falhou; é necessário um restauro manual","unexpected": "um erro inesperado ao alterar a definição"}+ },+ "voice": {+ "action": {+ "phrases": {+ "cu_done": "Feito.",+ "lookup_unspoken": "Tenho a informação, mas não a consegui ler em voz alta. Tento outra vez?",+ "lookup_empty": "Não encontrei nada sobre isso.",+ "cu_done_detail": "Feito. {detail}",+ "cu_failed": "Isso não funcionou no ecrã.",+ "cu_failed_reason": "Isso não funcionou no ecrã: {error}",+ "cu_crashed": "Algo correu mal ao fazer isso no ecrã.",+ "cu_exit_gave_up": "Tentei no ecrã, mas não consegui concluir.",+ "cu_exit_no_view": "Não consegui ver bem o ecrã, por isso parei.",+ "cu_exit_confused": "Não consegui obter uma resposta válida para controlar o ecrã, por isso parei.",+ "cu_exit_no_provider": "Neste momento não tenho um modelo de IA que consiga ver o ecrã. Verifica as tuas chaves de API ou o teu saldo nas definições.",+ "cu_exit_too_many_steps": "Foram precisos demasiados passos no ecrã, por isso parei.",+ "cu_exit_action_failed": "Uma ação no ecrã falhou, por isso parei.",+ "cu_exit_cancelled": "A ação no ecrã foi cancelada.",+ "cu_exit_needs_elevation": "Esperei pela confirmação de administrador, mas não chegou, por isso parei.",+ "cu_blocked_permission": "Tive de parar: o Dodaios precisa da permissão de {permission}. Ativa-a em {pane}. Depois, tenta outra vez.",+ "cu_blocked_restart_hint": "Tive de parar: a permissão de {permission} pode só ter efeito depois de o Dodaios ser fechado e reaberto. Reinicia a app e tenta outra vez.",+ "cu_blocked_unavailable": "Tive de parar: o Dodaios não pode pedir a permissão de {permission} nesta sessão.",+ "cu_blocked_waiting": "Tive de parar porque o macOS está a pedir a permissão de {permission}. Responde ao diálogo e tenta outra vez.",+ "cu_blocked_dialog": "Tive de parar porque há um diálogo do sistema aberto no Mac. Responde tu a ele e tenta outra vez.",+ "cu_blocked_restricted": "Tive de parar: uma permissão necessária está restrita neste Mac por um perfil ou por controlo parental. Não pode ser alterada a partir da app.",+ "cu_blocked_generic": "Tive de parar porque o macOS precisa de uma permissão para o Dodaios. Ativa-a nas Definições do Sistema, em Privacidade e segurança, e tenta outra vez.",+ "cu_timeout": "Isso demorou demasiado no ecrã (mais de {secs} segundos) e foi cancelado.",+ "open_app_launched": "Iniciado: {app}",+ "open_app_launched_raised": "Iniciado e trazido para a frente: {app}",+ "open_app_not_found": "A aplicação '{app}' não foi encontrada.",+ "cu_not_wired": "O controlo do ecrã está desativado neste computador. Ativa-o nas definições com computer_use.enabled e reinicia-me uma vez.",+ "cu_dispatch_ack": "Vou já. Faço isso diretamente no ecrã e aviso-te quando terminar.",+ "cu_awaiting_elevation": "Isto requer permissões de administrador. Confirma o aviso de segurança uma vez e eu continuo.",+ "cu_awaiting_human": "Este passo precisa de ti, inicia sessão ou conclui a verificação e eu continuo.",+ "cost_cooldown": "Pausa de custos ativa, o orçamento diário esgotou-se. Os novos pedidos são retomados quando a pausa terminar.",+ "task_budget": "O orçamento de tarefas desta conversa foi excedido.",+ "daily_budget": "O orçamento diário foi excedido.",+ "tool_failed": "{tool} falhou.",+ "action_failed_generic": "Isso não funcionou agora.",+ "stale_repeat_clarify": "Acabei de responder a isso. O que querias saber exatamente?",+ "action_failed_reason": "Isso não funcionou: {reason}",+ "delegate_no_brain": "Nenhum dos meus modelos respondeu a este pedido.",+ "delegate_no_result": "Não recebi nenhum resultado fiável para isso.",+ "delegate_failed_internal": "Algo falhou internamente, por isso parei em segurança.",+ "actions_unavailable": "Neste momento não consigo executar ações, mas podemos continuar a conversar.",+ "actions_not_requested": "Não executei nada para isso. Diz-me o que queres que eu faça.",+ "skill_loaded_not_run": "Carreguei as instruções para isso, mas ainda não as executei.",+ "action_timeout": "Isso demorou demasiado, por isso parei.",+ "spawn_failed_generic": "Não consegui iniciar o assistente em segundo plano agora.",+ "spawn_failed_reason": "Não consegui iniciar o assistente em segundo plano: {reason}",+ "spawn_no_runner": "Não consigo iniciar a tarefa agora. Reinicia-me, por favor.",+ "artifact_building": "Estou a criar «{title}» em segundo plano e aviso-te quando estiver pronto.",+ "artifact_revising": "Estou a rever «{title}» em segundo plano e aviso-te quando estiver pronto.",+ "workflow_trigger_failed": "A rotina {name} não conseguiu arrancar. Vou tentar na próxima hora agendada.",+ "workflow_scheduler_stalled": "As tuas rotinas agendadas não estão a correr agora. Vou continuar a tentar.",+ "workflow_step_failed": "A rotina {name} ficou presa em {step}, por isso parei-a.",+ "workflow_step_failed_reason": "A rotina {name} ficou presa em {step}, por isso parei-a. O motivo: {reason}",+ "workflow_step_ordinal": "o passo {n}",+ "workflow_unnamed": "sem nome",+ "wiki_saving": "Estou a escrever isso na wiki.",+ "wiki_saved": "Guardado na wiki.",+ "wiki_saved_detail": "Guardado na wiki: {detail}.",+ "wiki_save_failed": "Não foi possível guardar na wiki.",+ "wiki_save_failed_reason": "Não foi possível guardar na wiki: {reason}",+ "wiki_nothing_to_save": "Não tenho a certeza do que escrever na wiki; diz-mo outra vez com o conteúdo.",+ "ide_prompt_sent": "Enviado para {terminal}.",+ "ide_prompt_sent_files": "Enviado para {terminal}, com {count} ficheiros anexados.",+ "ide_prompt_sent_one_file": "Enviado para {terminal}, juntamente com {file}.",+ "ide_terminal_not_running": "{terminal} não está a correr agora ({status}). Não enviei nada.",+ "ide_prompt_sent_many": "Enviado para {names}.",+ "ide_prompt_sent_partial": "Enviado para {names}. Não consegui chegar a {failed}.",+ "ide_prompt_sent_nobody": "Não consegui chegar a {failed}, por isso não há nada em curso.",+ "ide_prompt_typed_not_started": "Em {names} o texto está apenas na caixa de entrada.",+ "ide_names_pair": "{head} e {last}",+ "ide_terminals_spawned_one": "{names} está aberto.",+ "ide_terminals_spawned": "{count} terminais novos: {names}.",+ "ide_terminals_briefing_queued": "Entrego-lhes a tarefa assim que os terminais estiverem prontos.",+ "ide_terminals_closed": "Fechei {count} terminais: {names}.",+ "ide_terminals_none_to_close": "Não há terminais abertos que correspondam.",+ "ide_terminals_spawned_capped": "Só foi possível abrir {count}: {names}.",+ "ide_terminals_open_failed": "Não consegui abrir nenhum terminal.",+ "ide_terminal_kind_unclear": "Ouvi {spoken}: referes-te a {first} ou a {second}?",+ "ide_terminal_kind_unclear_one": "Ouvi {spoken}: referes-te a {first}?",+ "ide_terminal_kind_unknown": "Não existe nenhum tipo de terminal {name}. Disponíveis: {available}.",+ "ide_terminals_opened_workspace": "Abri {folder}: {names}.",+ "ide_terminal_clarify_one": "Percebi {spoken}: referes-te a {name}?",+ "ide_terminal_clarify_many": "Percebi {spoken}: referes-te a {names}?",+ "ide_prompt_already_delivered": "{name} recebeu a tarefa às {time}: não a envio duas vezes.",+ "join_or": " ou ",+ "join_and": " e ",+ "ide_terminal_clarify_also": "Também percebi {spoken}: referes-te a {names}?",+ "ide_terminal_who_else": "Só consegui identificar {names}: quem mais?",+ "ide_terminals_nowhere": "Não há nenhum espaço de trabalho aberto nem nenhum recente. Escolhe uma pasta no IDE agêntico."+ },+ "permission_cause_templates": "O Dodaios não tem neste momento a permissão de {name}.",+ "permission_cause_names": {+ "microphone": "Microfone",+ "accessibility": "Acessibilidade",+ "screen_recording": "Gravação de ecrã",+ "input_monitoring": "Monitorização de entrada",+ "automation": "Automatização",+ "event_posting": "Acessibilidade"+ }+ },+ "tool_confirmation": {+ "tool_questions": {+ "gmail": "Queres mesmo que envie o email? Diz sim ou não.",+ "gmail_rest": "Queres mesmo que envie o email? Diz sim ou não.",+ "call-contact": "Queres mesmo que faça a chamada? Diz sim ou não."+ },+ "generic_question": "Queres mesmo que faça isso? Diz sim ou não.",+ "impact_questions": {+ "destructive": "Cuidado, este comando apagaria algo ({commands}). Queres mesmo que o execute? Diz sim ou não.",+ "modify": "Este comando alteraria algo no computador ({commands}). Queres que o execute? Diz sim ou não.",+ "read": "Este comando só lê dados ({commands}). Queres que o execute? Diz sim ou não."+ },+ "outcome": {+ "done": "Feito.",+ "vetoed": "Ok, deixo estar.",+ "timeout": "Não ouvi resposta, deixo estar.",+ "failed": "Isso não funcionou.",+ "unclear": "Diz só sim ou não, por favor.",+ "unavailable": "Isso precisa da tua aprovação e aqui ninguém a pode dar. Por isso não o fiz."+ }+ },+ "echo_confirmation": {+ "value_words": {+ "on": "ligado",+ "off": "desligado",+ "empty": "vazio"+ },+ "echo_templates": "Entendido — {label} muda de {old} para {new}. Confirmas?",+ "echo_templates_sensitive": "Entendido — {label} para um valor novo. Confirmas?",+ "outcome_words": {+ "new_value": "o valor novo",+ "old_value": "o valor anterior",+ "validation_failed": "a validação falhou",+ "unknown_error": "erro desconhecido"+ },+ "outcome_templates": {+ "safe_applied": "Feito — {label} agora é {new}.",+ "applied": "Pronto — {label} agora é {new}.",+ "applied_restart": "Pronto — {label} agora é {new}. Reinicia o Dodaios para a alteração ter efeito.",+ "validate_failed": "Não dá — {err}. A definição fica em {old}.",+ "rollback": "Não consegui guardar, repus o estado anterior. {err}",+ "vetoed": "Está bem, deixo estar.",+ "timeout": "Não ouvi resposta, vou cancelar. A definição fica em {old}."+ }+ },+ "parked_results": {+ "anchor_pools": [+ "Sobre o teu pedido de há pouco – {topic}: {result}",+ "Voltando a {topic}: {result}",+ "O resultado sobre {topic}: {result}"+ ],+ "anchor_pools_no_topic": [+ "Sobre o teu pedido de há pouco: {result}",+ "Voltando ao que pediste há pouco: {result}"+ ]+ },+ "config_readback": {+ "phrases": {+ "applied": "Feito — {label} agora é {value}.",+ "applied_restart": "Feito — {label} agora é {value}. Reinicia o Dodaios uma vez para que tenha efeito.",+ "refused": "Isso não altero por voz — faz isso de propósito nas Definições.",+ "unknown_setting": "Essa não é uma definição que eu possa alterar.",+ "invalid_value": "Assim não dá — a definição fica sem alterações.",+ "rollback": "Não consegui guardar, repus o estado anterior."+ }+ }+ },+ "tools": {+ "delegate": {+ "ack": "{name} trata disso, eu aviso-te.",+ "quiet_ack": "{name} trata disso.",+ "error_ack": "{name} trata disso; aviso-te se houver impedimentos.",+ "queued": "A tarefa para {name} está registada; o início ainda não está confirmado.",+ "no_agent": "Não conheço nenhum agente chamado {target}.",+ "ask_agent": "Referes-te a {names}?",+ "or": " ou ",+ "available": "Agentes disponíveis: {names}.",+ "no_fit": "Nenhum dos teus agentes se adequa a esta tarefa.",+ "refused": "{name} não pode tratar disso agora: {reason}.",+ "not_ready": "Os agentes ainda não estão prontos.",+ "status_idle": "{name} não tem nada para fazer agora.",+ "status_working": "{name} está a trabalhar em: {text}",+ "status_last": "{name}: último {kind}, {text}",+ "roster": "Os teus agentes: {names}.",+ "empty_roster": "Ainda não tens agentes na tua equipa."+ },+ "dispatch_review": {+ "voice_holding_phrases": "Deixa-me trabalhar um pouco na tarefa.",+ "voice_outcome_templates": {+ "success": "Feito — {summary}",+ "cap_fired": "Aqui está o meu melhor resultado, com uma ressalva: {top_issue}",+ "fail": "Assim não funciona — {summary}",+ "precheck_fail": "A tarefa é demasiado curta ou pouco clara — tenta outra vez com mais contexto."+ },+ "voice_fallback_fillers": {+ "success": "concluído",+ "cap_fired": "algumas pequenas dúvidas pendentes",+ "fail": "um defeito de arquitetura"+ }+ }+ },+ "telephony": {+ "default_greetings": "Olá, em que posso ajudar?",+ "named_greetings": "Olá, sou {name}. Em que posso ajudar?",+ "fallback_phrases": "Desculpa, não percebi. Podes repetir?"+ },+ "cu": {+ "indicator": {+ "esc_hints": "Esc para cancelar"+ }+ },+ "clis": {+ "capability": {+ "refusal_hints": {+ "installed": " {name} está instalado, mas ainda não está ligado — diz-me e configuramos isso.",+ "catalog": " O catálogo de CLI tem {name} para isso — posso configurá-lo contigo."+ }+ }+ },+ "ui": {+ "desktop": {+ "conductor_news_phrases": {+ "failing": "A tarefa agendada {name} começou a falhar.",+ "recovered": "A tarefa agendada {name} voltou a funcionar."+ }+ }+ },+ "harness": {+ "step_progress": "Passo {done} de {total} concluído."}}diff --git a/dodaios/missions/kontrollierer/deliverable.py b/dodaios/missions/kontrollierer/deliverable.pyindex 445b6eae32..f15014e49a 100644--- a/dodaios/missions/kontrollierer/deliverable.py+++ b/dodaios/missions/kontrollierer/deliverable.py@@ -37,6 +37,8 @@ import unicodedatafrom pathlib import Pathfrom typing import Final+from dodaios.i18n import catalog as i18n_catalog+from ..stream_evidence import clean_request_bodyfrom .deliverable_paths import is_nondeliverable_scratch@@ -97,38 +99,18 @@ _DELIVERABLES_FOLDER_NAME: Final[str] = "Jarvis-Outputs"# not in a directory. Both tables say the same thing; the "delivered" variant# exists for the caller that also mirrored the files to disk, and it no longer# speaks the folder name either.-_DELIVERABLE_TEMPLATES: Final[dict[str, dict[str, str]]] = {- "de": {- "one": "Fertig. {name} habe ich als Artefakt hinterlegt.", # i18n-allow- "few": "Fertig. {count} Dateien als Artefakte hinterlegt: {joined}.", # i18n-allow- "many": "Fertig. {count} Dateien als Artefakte hinterlegt.", # i18n-allow- },- "en": {- "one": "Done. I have saved {name} as an artifact.",- "few": "Done. I have saved {count} files as artifacts: {joined}.",- "many": "Done. I have saved {count} files as artifacts.",- },- "es": {- "one": "Hecho. He guardado {name} como artefacto.", # i18n-allow: Spanish TTS- "few": "Hecho. He guardado {count} archivos como artefactos: {joined}.", # i18n-allow- "many": "Hecho. He guardado {count} archivos como artefactos.", # i18n-allow: Spanish TTS- },- "pt": {- "one": "Feito. Guardei {name} como artefacto.", # i18n-allow: PT TTS- "few": "Feito. Guardei {count} ficheiros como artefactos: {joined}.", # i18n-allow: PT TTS- "many": "Feito. Guardei {count} ficheiros como artefactos.", # i18n-allow: PT TTS- },-}+_DELIVERABLE_TEMPLATES: Final[dict[str, dict[str, str]]] = i18n_catalog.locale_maps(+ "missions.deliverable.deliverable_templates"+)# Generic completion phrase when a mission produced nothing nameable.-MISSION_COMPLETED_PHRASES: Final[dict[str, str]] = {- "de": "Mission abgeschlossen.", # i18n-allow: German TTS- "en": "Mission completed.",- "es": "Misión completada.", # i18n-allow: Spanish TTS- "pt": "Missão concluída.", # i18n-allow: PT TTS-}+MISSION_COMPLETED_PHRASES: Final[dict[str, str]] = i18n_catalog.table(+ "missions.deliverable.mission_completed_phrases"+)-_DELIVERED_TEMPLATES: Final[dict[str, dict[str, str]]] = _DELIVERABLE_TEMPLATES+_DELIVERED_TEMPLATES: Final[dict[str, dict[str, str]]] = i18n_catalog.locale_maps(+ "missions.deliverable.delivered_templates"+)def _templates(table: dict[str, dict[str, str]], language: str) -> dict[str, str]:diff --git a/dodaios/missions/voice/readback.py b/dodaios/missions/voice/readback.pyindex 5a964f9e2f..104e26263a 100644--- a/dodaios/missions/voice/readback.py+++ b/dodaios/missions/voice/readback.py@@ -322,99 +322,9 @@ def failure_phrase_key(reason: str, error_class: str | None) -> str:# counts only — never worker text (ADR-0009 §1). Keys mirror# CAPACITY_WAIT_REASONS in dodaios/missions/events.py; parity is guarded by# tests/missions/test_capacity_wait_parity.py.-CAPACITY_WAIT_PHRASES: Final[dict[str, dict[str, str]]] = {- "de": {- "provider_quota": "{provider}-Kapazität momentan ausgeschöpft.", # i18n-allow- "provider_auth": "Die {provider}-Anmeldung ist abgelaufen.", # i18n-allow- "provider_unavailable": "{provider} ist momentan nicht nutzbar.", # i18n-allow- "paid_cap_reached": (- "Die Kostengrenze dieser Mission für {provider} ist erreicht." # i18n-allow- ),- "paid_daily_cap_reached": (- "Das Tageslimit für automatische {provider}-Nutzung ist erreicht." # i18n-allow- ),- "paid_consent_revoked": (- "Die automatische {provider}-Nutzung wurde ausgeschaltet." # i18n-allow- ),- "saved": "Der bisherige Stand wurde gesichert.", # i18n-allow- "progress": "{done} von {total} Teilschritten erledigt, {open} offen.", # i18n-allow- "progress_single": "Die Aufgabe selbst ist noch offen.", # i18n-allow- "file": "1 Datei gespeichert.", # i18n-allow- "files": "{files} Dateien gespeichert.", # i18n-allow- "wait": "Die Mission wartet, bis wieder Kapazität verfügbar ist.", # i18n-allow- "wait_auth": "Die Mission wartet, bis du dich wieder anmeldest.", # i18n-allow- "paid": (- "Kostenpflichtige API-Nutzung nur mit deiner ausdrücklichen " # i18n-allow- "Freigabe unter Artefakte." # i18n-allow- ),- },- "en": {- "provider_quota": "{provider} capacity is used up for now.",- "provider_auth": "The {provider} sign-in has expired.",- "provider_unavailable": "{provider} cannot be used right now.",- "paid_cap_reached": "This mission's cost limit for {provider} is reached.",- "paid_daily_cap_reached": "The daily limit for automatic {provider} use is reached.",- "paid_consent_revoked": "Automatic {provider} use was switched off.",- "saved": "The progress so far has been saved.",- "progress": "{done} of {total} steps done, {open} open.",- "progress_single": "The task itself is still open.",- "file": "1 file saved.",- "files": "{files} files saved.",- "wait": "The mission is waiting until capacity is available again.",- "wait_auth": "The mission is waiting until you sign in again.",- "paid": "Paid API use only with your explicit approval in Artifacts.",- },- "es": {- "provider_quota": "La capacidad de {provider} está agotada por ahora.", # i18n-allow- "provider_auth": "El inicio de sesión de {provider} ha caducado.", # i18n-allow- "provider_unavailable": "{provider} no se puede usar ahora mismo.", # i18n-allow- "paid_cap_reached": (- "Se alcanzó el límite de coste de esta misión para {provider}." # i18n-allow- ),- "paid_daily_cap_reached": (- "Se alcanzó el límite diario de uso automático de {provider}." # i18n-allow- ),- "paid_consent_revoked": (- "El uso automático de {provider} se ha desactivado." # i18n-allow: Spanish TTS- ),- "saved": "El progreso hasta ahora se ha guardado.", # i18n-allow: Spanish TTS- "progress": "{done} de {total} pasos hechos, {open} pendientes.", # i18n-allow: Spanish TTS- "progress_single": "La tarea en sí sigue pendiente.", # i18n-allow: Spanish TTS- "file": "1 archivo guardado.", # i18n-allow: Spanish TTS- "files": "{files} archivos guardados.", # i18n-allow: Spanish TTS- "wait": "La misión espera hasta que vuelva a haber capacidad.", # i18n-allow: Spanish TTS- "wait_auth": "La misión espera hasta que vuelvas a iniciar sesión.", # i18n-allow- "paid": (- "Uso de API de pago solo con tu aprobación expresa " # i18n-allow: Spanish TTS- "en Artefactos." # i18n-allow: Spanish TTS- ),- },- "pt": {- "provider_quota": "A capacidade de {provider} está esgotada por agora.", # i18n-allow- "provider_auth": "O início de sessão em {provider} expirou.", # i18n-allow: PT TTS- "provider_unavailable": "{provider} não pode ser usado neste momento.", # i18n-allow- "paid_cap_reached": (- "O limite de custo desta missão para {provider} foi atingido." # i18n-allow: PT TTS- ),- "paid_daily_cap_reached": (- "O limite diário de uso automático de {provider} foi atingido." # i18n-allow: PT TTS- ),- "paid_consent_revoked": (- "O uso automático de {provider} foi desligado." # i18n-allow: PT TTS- ),- "saved": "O progresso até agora foi guardado.", # i18n-allow: PT TTS- "progress": "{done} de {total} passos feitos, {open} por fazer.", # i18n-allow: PT TTS- "progress_single": "A tarefa em si ainda está por fazer.", # i18n-allow: PT TTS- "file": "1 ficheiro guardado.", # i18n-allow: PT TTS- "files": "{files} ficheiros guardados.", # i18n-allow: PT TTS- "wait": "A missão aguarda até haver capacidade outra vez.", # i18n-allow: PT TTS- "wait_auth": "A missão aguarda até voltares a iniciar sessão.", # i18n-allow: PT TTS- "paid": (- "Uso de API paga só com a tua aprovação explícita " # i18n-allow: PT TTS- "em Artefactos." # i18n-allow: PT TTS- ),- },-}+CAPACITY_WAIT_PHRASES: Final[dict[str, dict[str, str]]] = i18n_catalog.locale_maps(+ "missions.readback.capacity_wait_phrases"+)_MAX_PROVIDER_CHARS: Final[int] = 40@@ -435,23 +345,15 @@ _PROVIDER_DISPLAY: Final[dict[str, str]] = {# Spoken name for a provider slug the runtime could not resolve.-_PROVIDER_FALLBACK_NAME: Final[dict[str, str]] = {- "de": "KI-Anbieter", # i18n-allow: German TTS- "en": "AI provider",- "es": "proveedor de IA", # i18n-allow: Spanish TTS- "pt": "fornecedor de IA", # i18n-allow: PT TTS-}+_PROVIDER_FALLBACK_NAME: Final[dict[str, str]] = i18n_catalog.table(+ "missions.readback.provider_fallback_name"+)# Spoken defaults for an empty summary / reason / destructive target._EMPTY_SUMMARY: Final[dict[str, str]] = i18n_catalog.table("missions.readback.empty_summary")_UNKNOWN_REASON: Final[dict[str, str]] = i18n_catalog.table("missions.readback.unknown_reason")_NO_TOOL_CALL: Final[dict[str, str]] = i18n_catalog.table("missions.readback.no_tool_call")-_DEFAULT_TARGET: Final[dict[str, str]] = {- "de": "diese Aktion", # i18n-allow: German TTS- "en": "this action",- "es": "esta acción", # i18n-allow: Spanish TTS- "pt": "esta ação", # i18n-allow: PT TTS-}+_DEFAULT_TARGET: Final[dict[str, str]] = i18n_catalog.table("missions.readback.default_target")def _localized(table: dict[str, str], language: str) -> str:diff --git a/dodaios/plugins/realtime/local_voice.py b/dodaios/plugins/realtime/local_voice.pyindex b1172368cd..5e8caad06d 100644--- a/dodaios/plugins/realtime/local_voice.py+++ b/dodaios/plugins/realtime/local_voice.py@@ -22,6 +22,8 @@ from dataclasses import dataclass, fieldfrom pathlib import Pathfrom typing import Any, ClassVar+from dodaios.i18n import catalog as i18n_catalog+log = logging.getLogger(__name__)_INPUT_RATE = 16_000@@ -36,40 +38,7 @@ CORE_MODELS = ("silero-vad-v6", "smart-turn-v3.2", "parakeet-tdt-0.6b-v3-int8")#: What a refused call hears and sees, per output language. ``native.py``#: speaks ``duplex_unavailable_reason`` verbatim, so it must already be in the#: caller's language; the card keeps the engine's own detailed reason.-_REFUSALS: dict[str, dict[str, str]] = {- "not_set_up": {- "en": "Local voice is not set up on this machine yet. Run its setup on the "- "Local voice card in Settings.",- "de": "Die lokale Stimme ist auf diesem Gerät noch nicht " # i18n-allow- "eingerichtet. Starte die Einrichtung in den Einstellungen " # i18n-allow- "auf der Karte Lokale Stimme.", # i18n-allow- "es": "La voz local aún no está configurada en este equipo. " # i18n-allow- "Inicia la configuración en la tarjeta Voz local de los " # i18n-allow- "Ajustes.", # i18n-allow- "pt": "A voz local ainda não está configurada neste computador. " # i18n-allow- "Inicia a configuração no cartão Voz local das " # i18n-allow- "Definições.", # i18n-allow- },- "loading": {- "en": "Local voice is still loading ({percent} %). The Local voice card "- "in Settings shows its progress.",- "de": "Die lokale Stimme lädt noch ({percent} %). Die Karte Lokale " # i18n-allow- "Stimme in den Einstellungen zeigt den Fortschritt.", # i18n-allow- "es": "La voz local aún se está cargando ({percent} %). La tarjeta " # i18n-allow- "Voz local de los Ajustes muestra el progreso.", # i18n-allow- "pt": "A voz local ainda está a carregar ({percent} %). O cartão " # i18n-allow- "Voz local das Definições mostra o progresso.", # i18n-allow- },- "failed": {- "en": "Local voice could not start. The Local voice card in Settings shows why.",- "de": "Die lokale Stimme konnte nicht starten. Die Karte Lokale " # i18n-allow- "Stimme in den Einstellungen zeigt den Grund.", # i18n-allow- "es": "La voz local no pudo arrancar. La tarjeta Voz local de los " # i18n-allow- "Ajustes muestra el motivo.", # i18n-allow- "pt": "A voz local não conseguiu arrancar. O cartão Voz local das " # i18n-allow- "Definições mostra o motivo.", # i18n-allow- },-}+_REFUSALS: dict[str, dict[str, str]] = i18n_catalog.nested_table("realtime.local_voice.refusals")NOT_SET_UP_REASON = _REFUSALS["not_set_up"]["en"]diff --git a/dodaios/plugins/tool/delegate_to_agent.py b/dodaios/plugins/tool/delegate_to_agent.pyindex 5ae06acc98..8d74ae5fa0 100644--- a/dodaios/plugins/tool/delegate_to_agent.py+++ b/dodaios/plugins/tool/delegate_to_agent.py@@ -27,6 +27,7 @@ from typing import Any, Finalfrom dodaios.core.agent_brief import AGENT_BRIEF_RULEfrom dodaios.core.delegation import origin_metadatafrom dodaios.core.protocols import ExecutionContext, ToolResult+from dodaios.i18n import catalog as i18n_catalogfrom dodaios.society.agent_names import AgentLookup, coding_pane_hint, lookup_agentfrom dodaios.society.communication import REPLY_POLICY_SCHEMA, select_reply_policyfrom dodaios.society.display_name import display_name@@ -35,102 +36,22 @@ log = logging.getLogger(__name__)RuntimeResolver = Callable[[], Any | None]-_ACK: Final[dict[str, str]] = {- "de": "{name} ist dran, ich sage Bescheid.", # i18n-allow: spoken ack- "en": "{name} is on it, I will let you know.",- "es": "{name} se encarga, te aviso.",- "pt": "{name} trata disso, eu aviso-te.",-}-_QUIET_ACK: Final[dict[str, str]] = {- "de": "{name} ist dran.", # i18n-allow: spoken ack- "en": "{name} is on it.",- "es": "{name} se encarga.",- "pt": "{name} trata disso.",-}-_ERROR_ACK: Final[dict[str, str]] = {- "de": "{name} ist dran; ich melde mich bei Hindernissen.", # i18n-allow: spoken ack- "en": "{name} is on it; I will report any blockers.",- "es": "{name} se encarga; te avisare si hay impedimentos.",- "pt": "{name} trata disso; aviso-te se houver impedimentos.",-}-_QUEUED: Final[dict[str, str]] = {- "de": "Aufgabe für {name} erfasst; Start noch nicht bestätigt.", # i18n-allow: spoken ack- "en": "The task for {name} is recorded; its start is not confirmed yet.",- "es": "La tarea para {name} está registrada; su inicio aún no está confirmado.",- "pt": "A tarefa para {name} está registada; o início ainda não está confirmado.",-}-_NO_AGENT: Final[dict[str, str]] = {- "de": "Ich kenne keinen Agenten namens {target}.", # i18n-allow: spoken reply- "en": "I do not know an agent called {target}.",- "es": "No conozco ningún agente llamado {target}.",- "pt": "Não conheço nenhum agente chamado {target}.",-}-_ASK_AGENT: Final[dict[str, str]] = {- "de": "Meinst du {names}?", # i18n-allow: spoken reply- "en": "Did you mean {names}?",- "es": "¿Te refieres a {names}?",- "pt": "Referes-te a {names}?",-}-_OR: Final[dict[str, str]] = {- "de": " oder ", # i18n-allow: spoken reply- "en": " or ",- "es": " o ",- "pt": " ou ",-}-_AVAILABLE: Final[dict[str, str]] = {- "de": "Verfügbar sind: {names}.", # i18n-allow: spoken reply- "en": "Available agents: {names}.",- "es": "Agentes disponibles: {names}.",- "pt": "Agentes disponíveis: {names}.",-}-_NO_FIT: Final[dict[str, str]] = {- "de": "Keiner deiner Agenten passt zu dieser Aufgabe.", # i18n-allow: spoken reply- "en": "None of your agents fits this task.",- "es": "Ninguno de tus agentes encaja con esta tarea.",- "pt": "Nenhum dos teus agentes se adequa a esta tarefa.",-}-_REFUSED: Final[dict[str, str]] = {- "de": "{name} kann das gerade nicht übernehmen: {reason}.", # i18n-allow: spoken reply- "en": "{name} cannot take that right now: {reason}.",- "es": "{name} no puede encargarse ahora: {reason}.",- "pt": "{name} não pode tratar disso agora: {reason}.",-}-_NOT_READY: Final[dict[str, str]] = {- "de": "Die Agenten sind noch nicht bereit.", # i18n-allow: spoken reply- "en": "The agents are not ready yet.",- "es": "Los agentes aún no están listos.",- "pt": "Os agentes ainda não estão prontos.",-}-_STATUS_IDLE: Final[dict[str, str]] = {- "de": "{name} hat gerade nichts zu tun.", # i18n-allow: spoken reply- "en": "{name} has nothing to do right now.",- "es": "{name} no tiene nada que hacer ahora.",- "pt": "{name} não tem nada para fazer agora.",-}-_STATUS_WORKING: Final[dict[str, str]] = {- "de": "{name} arbeitet gerade: {text}", # i18n-allow: spoken reply- "en": "{name} is working on: {text}",- "es": "{name} está trabajando en: {text}",- "pt": "{name} está a trabalhar em: {text}",-}-_STATUS_LAST: Final[dict[str, str]] = {- "de": "{name}: zuletzt {kind}, {text}", # i18n-allow: spoken reply- "en": "{name}: last {kind}, {text}",- "es": "{name}: último {kind}, {text}",- "pt": "{name}: último {kind}, {text}",-}-_ROSTER: Final[dict[str, str]] = {- "de": "Deine Agenten: {names}.", # i18n-allow: spoken reply- "en": "Your agents: {names}.",- "es": "Tus agentes: {names}.",- "pt": "Os teus agentes: {names}.",-}-_EMPTY_ROSTER: Final[dict[str, str]] = {- "de": "Du hast noch keine Team-Agenten.", # i18n-allow: spoken reply- "en": "You do not have any team agents yet.",- "es": "Todavía no tienes agentes en tu equipo.",- "pt": "Ainda não tens agentes na tua equipa.",-}+_ACK: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.ack")+_QUIET_ACK: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.quiet_ack")+_ERROR_ACK: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.error_ack")+_QUEUED: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.queued")+_NO_AGENT: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.no_agent")+_ASK_AGENT: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.ask_agent")+_OR: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.or")+_AVAILABLE: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.available")+_NO_FIT: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.no_fit")+_REFUSED: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.refused")+_NOT_READY: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.not_ready")+_STATUS_IDLE: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.status_idle")+_STATUS_WORKING: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.status_working")+_STATUS_LAST: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.status_last")+_ROSTER: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.roster")+_EMPTY_ROSTER: Final[dict[str, str]] = i18n_catalog.table("tools.delegate.empty_roster")def _lang(args: dict[str, Any], ctx: Any) -> str:diff --git a/dodaios/plugins/tool/dispatch_with_review.py b/dodaios/plugins/tool/dispatch_with_review.pyindex 5e253e94b4..a0854d19ad 100644--- a/dodaios/plugins/tool/dispatch_with_review.py+++ b/dodaios/plugins/tool/dispatch_with_review.py@@ -29,6 +29,7 @@ from dodaios.core.review.pipeline import ReviewPipelinefrom dodaios.core.review.spawns import ReviewerSpawner, WorkerSpawnerfrom dodaios.core.review.state import PipelineOutcome, PipelineResultfrom dodaios.harness.manager import HarnessManager+from dodaios.i18n import catalog as i18n_catalog# AD-14: voice phrases are hardcoded here (never generated, never mutable via# voice/config) and byte-exact matched in the smoke tests. Each phrase exists@@ -36,65 +37,16 @@ from dodaios.harness.manager import HarnessManager# text and stays unchanged. The tool speaks the turn's output language# (``ctx.config["output_language"]``, decided once per turn by# ``dodaios/core/turn_language.py``), else the ambient answer language.-VOICE_HOLDING_PHRASES: dict[str, str] = {- "de": "Lass mich kurz an der Aufgabe arbeiten.", # i18n-allow: German TTS phrase- "en": "Let me work on that task for a moment.",- "es": "Déjame trabajar un momento en la tarea.",- "pt": "Deixa-me trabalhar um pouco na tarefa.",-}-VOICE_OUTCOME_TEMPLATES: dict[str, dict[str, str]] = {- "de": {- "success": "Erledigt — {summary}", # i18n-allow: German TTS phrase- "cap_fired": "Mein bestes Ergebnis liegt vor, mit einer Einschränkung: {top_issue}", # i18n-allow: German TTS phrase- "fail": "Das funktioniert so nicht — {summary}", # i18n-allow: German TTS phrase- "precheck_fail": "Die Aufgabe ist zu kurz oder unklar — versuch's nochmal mit mehr Kontext.", # i18n-allow: German TTS phrase- },- "en": {- "success": "Done — {summary}",- "cap_fired": "Here is my best result, with one caveat: {top_issue}",- "fail": "That does not work like this — {summary}",- "precheck_fail": "The task is too short or unclear — try again with more context.",- },- "es": {- "success": "Hecho — {summary}",- "cap_fired": "Aquí está mi mejor resultado, con una salvedad: {top_issue}",- "fail": "Así no funciona — {summary}",- "precheck_fail": (- "La tarea es demasiado corta o poco clara — vuelve a intentarlo con más contexto."- ),- },- "pt": {- "success": "Feito — {summary}",- "cap_fired": "Aqui está o meu melhor resultado, com uma ressalva: {top_issue}",- "fail": "Assim não funciona — {summary}",- "precheck_fail": (- "A tarefa é demasiado curta ou pouco clara — tenta outra vez com mais contexto."- ),- },-}+VOICE_HOLDING_PHRASES: dict[str, str] = i18n_catalog.table(+ "tools.dispatch_review.voice_holding_phrases"+)+VOICE_OUTCOME_TEMPLATES: dict[str, dict[str, str]] = i18n_catalog.locale_maps(+ "tools.dispatch_review.voice_outcome_templates"+)#: Fallback fillers when the reviewer left no summary / issue to quote.-VOICE_FALLBACK_FILLERS: dict[str, dict[str, str]] = {- "de": {- "success": "fertig", # i18n-allow: German TTS phrase fallback- "cap_fired": "kleine Restbedenken", # i18n-allow: German TTS phrase fallback- "fail": "Architektur-Defekt", # i18n-allow: German TTS phrase fallback- },- "en": {- "success": "finished",- "cap_fired": "a few minor remaining concerns",- "fail": "an architectural defect",- },- "es": {- "success": "terminado",- "cap_fired": "algunas pequeñas dudas pendientes",- "fail": "un defecto de arquitectura",- },- "pt": {- "success": "concluído",- "cap_fired": "algumas pequenas dúvidas pendentes",- "fail": "um defeito de arquitetura",- },-}+VOICE_FALLBACK_FILLERS: dict[str, dict[str, str]] = i18n_catalog.locale_maps(+ "tools.dispatch_review.voice_fallback_fillers"+)# Back-compat aliases for callers that imported the German-only names.VOICE_HOLDING_PHRASE_DE = VOICE_HOLDING_PHRASES["de"]diff --git a/dodaios/realtime/session.py b/dodaios/realtime/session.pyindex bfe79cf898..dbc4643c85 100644--- a/dodaios/realtime/session.py+++ b/dodaios/realtime/session.py@@ -1047,19 +1047,7 @@ _HISTORY_LOST_INSTRUCTION = ("words and treat them as the start of the conversation.")_OUTPUT_LANGUAGE_FAILURE: dict[str, str] = i18n_catalog.table("realtime.output_language_failure")-_PUBLIC_FACT_UNCERTAINTY: dict[str, str] = {- "de": ( # i18n-allow- "Ich konnte das gerade nicht zuverlässig mit einer öffentlichen " # i18n-allow- "Quelle prüfen." # i18n-allow- ),- "en": "I couldn't verify that reliably with a public source just now.",- "es": ( # i18n-allow- "No pude verificarlo de forma fiable con una fuente pública ahora mismo."- ),- "pt": ( # i18n-allow- "Não consegui confirmar isso com fiabilidade numa fonte pública agora."- ),-}+_PUBLIC_FACT_UNCERTAINTY: dict[str, str] = i18n_catalog.table("realtime.public_fact_uncertainty")# When a delegated Brain reply ends in a question (clarify or confirmation),# the user's short elliptical answer ("the readme one", "yes the second")# matches no planner category on its own. Only answers up to this token count@@ -1682,32 +1670,9 @@ def _surface_fallback_readback_prompt(text: str, *, language: str) -> str:# the outcome, and remain a complete stand-alone sentence — the transcript# validator accepts exactly this closed set.# i18n-allow: quoted German forensic phrase above; pools below are product output-_DELEGATE_BRIDGE_TEXTS: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: localized runtime progress output- "Ich bin noch dran.", # i18n-allow: localized runtime progress output- "Einen Moment noch, bitte.", # i18n-allow: localized runtime output- "Dauert noch einen kleinen Moment.", # i18n-allow: localized output- "Bin gleich so weit.", # i18n-allow: localized runtime progress output- ),- "en": (- "I'm still working on it.",- "One moment, almost there.",- "Still on it, give me a moment.",- "Hang on, this is taking a moment.",- ),- "es": ( # i18n-allow: localized runtime progress output- "Sigo trabajando en ello.",- "Un momento, ya casi está.",- "Sigo en ello, un momento.",- "Dame un momento más.",- ),- "pt": ( # i18n-allow: localized runtime progress output- "Ainda estou a tratar disso.",- "Só um momento, está quase.",- "Continuo nisso, dá-me um momento.",- "Dá-me só mais um momento.",- ),-}+_DELEGATE_BRIDGE_TEXTS: dict[str, tuple[str, ...]] = i18n_catalog.variant_table(+ "realtime.delegate_bridge_texts"+)#: Why the call is ending when NO voice engine could be opened. Carries every@@ -1773,28 +1738,9 @@ def _pick_delegate_bridge_text(language: str) -> str:#: stopped, because a silent cancellation is indistinguishable from a session#: that simply ignored them — which is the failure this whole path exists to#: end. Same locale coverage as every other runtime pool (AGENTS.md §1).-_INTERRUPT_ACK_TEXTS: dict[str, tuple[str, ...]] = {- "de": ( # i18n-allow: localized runtime voice output- "Okay, ich habe das gestoppt.", # i18n-allow- "Alles klar, ich breche das ab.", # i18n-allow- "Okay, ich lasse das.", # i18n-allow- ),- "en": (- "Okay, I stopped that.",- "Alright, cancelling that.",- "Okay, dropping that.",- ),- "es": ( # i18n-allow: localized runtime voice output- "Vale, lo he detenido.",- "De acuerdo, lo cancelo.",- "Vale, lo dejo.",- ),- "pt": ( # i18n-allow: localized runtime voice output- "Ok, parei isso.",- "Está bem, vou cancelar isso.",- "Ok, deixo isso.",- ),-}+_INTERRUPT_ACK_TEXTS: dict[str, tuple[str, ...]] = i18n_catalog.variant_table(+ "realtime.interrupt_ack_texts"+)def _pick_interrupt_ack_text(language: str) -> str:diff --git a/dodaios/telephony/session.py b/dodaios/telephony/session.pyindex 73c4963e3e..0f8b1021e2 100644--- a/dodaios/telephony/session.py+++ b/dodaios/telephony/session.py@@ -43,6 +43,7 @@ from collections.abc import Awaitable, Callablefrom typing import Anyfrom dodaios.brain.output_filter import scrub_for_voice+from dodaios.i18n import catalog as i18n_catalogfrom dodaios.speech.completeness import Completeness, classify_completenessfrom dodaios.speech.hangup import (HANGUP_RE,@@ -81,25 +82,10 @@ log = logging.getLogger("dodaios.telephony.session")# product imposes no fixed name here (dodaios/brain/assistant_name.py).DEFAULT_GREETING_DE = "Guten Tag, wie kann ich helfen?" # i18n-allowDEFAULT_GREETING_EN = "Hello, how can I help?"-_DEFAULT_GREETINGS: dict[str, str] = {- "de": DEFAULT_GREETING_DE,- "en": DEFAULT_GREETING_EN,- "es": "Hola, ¿en qué puedo ayudarte?", # i18n-allow: Spanish TTS- "pt": "Olá, em que posso ajudar?", # i18n-allow: PT TTS-}+_DEFAULT_GREETINGS: dict[str, str] = i18n_catalog.table("telephony.default_greetings")# Greeting when an assistant name is set; placeholder {name}.-_NAMED_GREETINGS: dict[str, str] = {- "de": "Hier ist {name}. Wie kann ich helfen?", # i18n-allow: German TTS greeting- "en": "{name} here. How can I help?",- "es": "Soy {name}. ¿En qué puedo ayudarte?", # i18n-allow: Spanish TTS- "pt": "Olá, sou {name}. Em que posso ajudar?", # i18n-allow: PT TTS-}-_FALLBACK_PHRASES: dict[str, str] = {- "de": "Entschuldigung, das habe ich nicht verstanden. Bitte wiederhole es.", # i18n-allow- "en": "Sorry, I did not catch that. Could you say it again?",- "es": "Perdona, no te he entendido. ¿Puedes repetirlo?", # i18n-allow: Spanish TTS- "pt": "Desculpa, não percebi. Podes repetir?", # i18n-allow: PT TTS-}+_NAMED_GREETINGS: dict[str, str] = i18n_catalog.table("telephony.named_greetings")+_FALLBACK_PHRASES: dict[str, str] = i18n_catalog.table("telephony.fallback_phrases")# Send callback signature: an awaitable that ships one JSON-serialisable dict# to Twilio over the WS.diff --git a/dodaios/ui/desktop_app.py b/dodaios/ui/desktop_app.pyindex 40b31994d0..d0946bd2c0 100644--- a/dodaios/ui/desktop_app.py+++ b/dodaios/ui/desktop_app.py@@ -33,6 +33,7 @@ from filelock import FileLock, Timeoutfrom dodaios.core.config import DATA_DIR, JarvisConfig, load_configfrom dodaios.core.instance import current_instancefrom dodaios.core.process_utils import drop_inherited_electron_node_mode, ensure_standard_streams+from dodaios.i18n import catalog as i18n_catalogfrom dodaios.ui.section_windows import SECTION_WINDOW_TITLES, WINDOW_GROUPS, section_windowif TYPE_CHECKING:@@ -1711,20 +1712,9 @@ def acquire_single_instance_lock(#: in ``AnnouncementRequested.detail``, which the transcript shows and the#: voice never speaks. Runtime voice output is the closed product surface, so#: these strings stay localized (CLAUDE.md §1).-_CONDUCTOR_NEWS_PHRASES: dict[str, dict[str, str]] = {- "failing": {- "de": "Der geplante Job {name} schlägt gerade fehl.", # i18n-allow- "en": "The scheduled job {name} has started failing.",- "es": "El trabajo programado {name} está fallando.",- "pt": "A tarefa agendada {name} começou a falhar.", # i18n-allow- },- "recovered": {- "de": "Der geplante Job {name} läuft wieder.", # i18n-allow- "en": "The scheduled job {name} is working again.",- "es": "El trabajo programado {name} vuelve a funcionar.",- "pt": "A tarefa agendada {name} voltou a funcionar.", # i18n-allow- },-}+_CONDUCTOR_NEWS_PHRASES: dict[str, dict[str, str]] = i18n_catalog.nested_table(+ "ui.desktop.conductor_news_phrases"+)def _conductor_news_sentence(kind: str, job_name: str, language: str) -> str:diff --git a/dodaios/ui/web/dist/assets/TraceTimeline-BWqIWc4y.css b/dodaios/ui/web/dist/assets/turnError-BWqIWc4y.csssimilarity index 100%rename from dodaios/ui/web/dist/assets/TraceTimeline-BWqIWc4y.cssrename to dodaios/ui/web/dist/assets/turnError-BWqIWc4y.cssdiff --git a/dodaios/ui/web/frontend/src/components/agentchat/MessengerTurn.tsx b/dodaios/ui/web/frontend/src/components/agentchat/MessengerTurn.tsxindex ec39dc1490..82506b9df8 100644--- a/dodaios/ui/web/frontend/src/components/agentchat/MessengerTurn.tsx+++ b/dodaios/ui/web/frontend/src/components/agentchat/MessengerTurn.tsx@@ -12,6 +12,7 @@ import { SubagentCard } from "@/components/agentic/threads/ThreadSubagents";import { isSubagentCall } from "@/components/agentic/threads/subagents";import { useT } from "@/i18n";import { cn } from "@/lib/utils";+import { turnErrorText } from "./turnError";/*** One agent turn read like a messenger conversation. The agent's messages@@ -60,7 +61,7 @@ export const MessengerTurn = memo(function MessengerTurn({ turn, avatar, color,{turn.status === "error" && (<p role="alert" className="mx-auto flex max-w-[85%] items-center gap-1.5 py-1 text-center text-xs text-destructive"><CircleAlert aria-hidden className="h-3.5 w-3.5 shrink-0" />- <span>{turn.error || t("thread_turn.failed")}</span>+ <span>{turnErrorText(turn.error, t) || t("thread_turn.failed")}</span></p>)}{turn.status === "cancelled" && <SystemLine>{t("thread_turn.stopped")}</SystemLine>}diff --git a/dodaios/ui/web/frontend/src/components/agentchat/WorkTrace.tsx b/dodaios/ui/web/frontend/src/components/agentchat/WorkTrace.tsxindex 01ffd8bbd8..1386835aba 100644--- a/dodaios/ui/web/frontend/src/components/agentchat/WorkTrace.tsx+++ b/dodaios/ui/web/frontend/src/components/agentchat/WorkTrace.tsx@@ -20,6 +20,7 @@ import { toolIdentityStyle } from "./toolIdentity";import { timelineItems, useTimeline, type TimelineRenderers } from "./TraceTimeline";import { traceDuration } from "./traceEntries";import "./WorkTrace.css";+import { turnErrorText } from "./turnError";export type Decide = (id: string, decision: ApprovalDecision) => void | Promise<void>;type Group = { id: string; blocks: TurnBlock[]; family: string | null };@@ -797,7 +798,7 @@ export function TurnTrace({ turn, ...props }: { turn: TurnItem; onDecide?: Decidconst t = useT();const tokens = outputTokens(turn.usage ?? turn.liveUsage);const answered = turn.blocks.some(block => block.kind === "text" && block.text.trim());- return <WorkTrace {...props} blocks={turn.blocks} status={turn.status} startedMs={turn.startedMs} durationMs={turn.durationMs} error={turn.error}+ return <WorkTrace {...props} blocks={turn.blocks} status={turn.status} startedMs={turn.startedMs} durationMs={turn.durationMs} error={turnErrorText(turn.error, t)}completionLabel={!answered ? t("agent_chat.turn_no_answer") : undefined}receipt={tokens !== null && tokens > 0 || turn.costUsd !== null && turn.costUsd > 0 ? <>{tokens !== null && tokens > 0 ? <span aria-live="off" className="tabular-nums">{formatTokens(tokens)} {t("agent_chat.tokens")}</span> : null}diff --git a/dodaios/ui/web/frontend/src/components/agentchat/turnError.test.ts b/dodaios/ui/web/frontend/src/components/agentchat/turnError.test.tsnew file mode 100644index 0000000000..0548620178--- /dev/null+++ b/dodaios/ui/web/frontend/src/components/agentchat/turnError.test.ts@@ -0,0 +1,31 @@+import { describe, expect, it } from "vitest";+import de from "@/i18n/locales/de.json";+import en from "@/i18n/locales/en.json";+import es from "@/i18n/locales/es.json";+import pt from "@/i18n/locales/pt.json";+import zh from "@/i18n/locales/zh.json";+import { turnErrorText } from "./turnError";++const CODES = [+ "mandated_tool_unfulfilled",+ "unbacked_action_claim",+ "guarded_response",+ "delegation_continuation_limit",+];++describe("turnErrorText", () => {+ it("translates a known backend code and passes any other text through", () => {+ const t = (key: string) => `T:${key}`;+ expect(turnErrorText("guarded_response", t)).toBe("T:thread_turn.errors.guarded_response");+ expect(turnErrorText("Provider timed out", t)).toBe("Provider timed out");+ expect(turnErrorText(null, t)).toBeNull();+ expect(turnErrorText("", t)).toBeNull();+ });++ it("has a sentence for every code in every UI language", () => {+ for (const locale of [en, de, es, pt, zh]) {+ const errors = (locale as { thread_turn: { errors: Record<string, string> } }).thread_turn.errors;+ for (const code of CODES) expect(errors[code]?.length).toBeGreaterThan(10);+ }+ });+});diff --git a/dodaios/ui/web/frontend/src/components/agentchat/turnError.ts b/dodaios/ui/web/frontend/src/components/agentchat/turnError.tsnew file mode 100644index 0000000000..d8f5f5f320--- /dev/null+++ b/dodaios/ui/web/frontend/src/components/agentchat/turnError.ts@@ -0,0 +1,16 @@+/** Backend turn-failure codes the chat shows as a sentence, not a raw identifier. */+const TURN_ERROR_CODES = new Set([+ "mandated_tool_unfulfilled",+ "unbacked_action_claim",+ "guarded_response",+ "delegation_continuation_limit",+]);++/** The text to show for a failed turn: a known code translated, anything else as sent. */+export function turnErrorText(+ error: string | null | undefined,+ t: (key: string) => string,+): string | null {+ if (!error) return null;+ return TURN_ERROR_CODES.has(error) ? t(`thread_turn.errors.${error}`) : error;+}diff --git a/dodaios/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx b/dodaios/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsxindex 6a52be7830..b681a34ae3 100644--- a/dodaios/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx+++ b/dodaios/ui/web/frontend/src/components/agentic/threads/ThreadTimeline.tsx@@ -16,6 +16,7 @@ import { ChatThought } from "./ChatThought";import { buildThreadRows, isFailed, thoughtGist, type ThreadRow, type WorkGroup, type WorkItem } from "./threadWork";import { SubagentCard } from "./ThreadSubagents";import { listSubagents } from "./subagents";+import { turnErrorText } from "@/components/agentchat/turnError";/*** A thread's conversation: the person's messages on the right, the agent's@@ -707,7 +708,7 @@ export const ThreadTurn = memo(function ThreadTurn({ turn, prompts = "composer",<ChatThought turn={turn} answering={textRows.length > 0} />{textRows.map(renderRow)}{!running && <>- {turn.status === "error" && turn.error && <p role="alert" className="rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive">{turn.error}</p>}+ {turn.status === "error" && turn.error && <p role="alert" className="rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive">{turnErrorText(turn.error, t)}</p>}<div className="flex items-center gap-1.5 pt-1 text-xs text-muted-foreground" data-testid="thread-turn-closing">{ending && <span>{ending}</span>}{answer && <CopyButton text={answer} label={t("thread_turn.copy_answer")} />}@@ -745,7 +746,7 @@ export const ThreadTurn = memo(function ThreadTurn({ turn, prompts = "composer",{agentsWorking > 0 && <> · {fill(t(`thread_turn.subagents_working_${plural(lang, agentsWorking)}`), { count: agentsWorking })}</>}</span></div>: <>- {turn.status === "error" && turn.error && <p role="alert" className="rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive">{turn.error}</p>}+ {turn.status === "error" && turn.error && <p role="alert" className="rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive">{turnErrorText(turn.error, t)}</p>}<ChangedFiles turn={turn} /><div className="flex items-center gap-1.5 pt-1 text-xs text-muted-foreground" data-testid="thread-turn-closing">{!folded && closing && <span>{closing}</span>}diff --git a/dodaios/ui/web/frontend/src/i18n/locales/de.json b/dodaios/ui/web/frontend/src/i18n/locales/de.jsonindex 6dd5fe2706..735b3b9fb6 100644--- a/dodaios/ui/web/frontend/src/i18n/locales/de.json+++ b/dodaios/ui/web/frontend/src/i18n/locales/de.json@@ -7229,7 +7229,13 @@"hide_changes": "Änderungen ausblenden","more_files_one": "{count} weitere Datei zeigen","more_files_other": "{count} weitere Dateien zeigen",- "collapse_files": "Dateien einklappen"+ "collapse_files": "Dateien einklappen",+ "errors": {+ "mandated_tool_unfulfilled": "Der nötige Schritt ist nicht gelaufen, deshalb konnte ich nicht verlässlich antworten. Bitte versuch es noch einmal.",+ "unbacked_action_claim": "Ich konnte nicht bestätigen, dass die Aktion wirklich passiert ist, deshalb habe ich es nicht behauptet. Bitte versuch es noch einmal.",+ "guarded_response": "Die Antwort wurde zurückgehalten, weil sie sich nicht prüfen ließ. Bitte versuch es noch einmal.",+ "delegation_continuation_limit": "Die delegierte Arbeit hat zu viele Runden gebraucht und wurde gestoppt. Bitte frag noch einmal."+ }},"work_trace": {"tool_failed": "Eine Tool-Aktion ist fehlgeschlagen",diff --git a/dodaios/ui/web/frontend/src/i18n/locales/en.json b/dodaios/ui/web/frontend/src/i18n/locales/en.jsonindex d1538bc90e..affad5e766 100644--- a/dodaios/ui/web/frontend/src/i18n/locales/en.json+++ b/dodaios/ui/web/frontend/src/i18n/locales/en.json@@ -7229,7 +7229,13 @@"hide_changes": "Hide changes","more_files_one": "Show {count} more file","more_files_other": "Show {count} more files",- "collapse_files": "Collapse files"+ "collapse_files": "Collapse files",+ "errors": {+ "mandated_tool_unfulfilled": "The required step did not run, so I could not answer reliably. Please try again.",+ "unbacked_action_claim": "I could not confirm that the action really happened, so I did not claim it. Please try again.",+ "guarded_response": "The answer was held back because it could not be verified. Please try again.",+ "delegation_continuation_limit": "The delegated work took too many rounds and was stopped. Please ask again."+ }},"work_trace": {"tool_failed": "A tool action failed",diff --git a/dodaios/ui/web/frontend/src/i18n/locales/es.json b/dodaios/ui/web/frontend/src/i18n/locales/es.jsonindex bea1fc0a4a..74106f7b78 100644--- a/dodaios/ui/web/frontend/src/i18n/locales/es.json+++ b/dodaios/ui/web/frontend/src/i18n/locales/es.json@@ -7229,7 +7229,13 @@"hide_changes": "Ocultar cambios","more_files_one": "Mostrar {count} archivo más","more_files_other": "Mostrar {count} archivos más",- "collapse_files": "Contraer archivos"+ "collapse_files": "Contraer archivos",+ "errors": {+ "mandated_tool_unfulfilled": "El paso necesario no se ejecutó, así que no pude responder con fiabilidad. Inténtalo de nuevo.",+ "unbacked_action_claim": "No pude confirmar que la acción ocurriera de verdad, así que no lo afirmé. Inténtalo de nuevo.",+ "guarded_response": "La respuesta se retuvo porque no se pudo verificar. Inténtalo de nuevo.",+ "delegation_continuation_limit": "El trabajo delegado necesitó demasiadas rondas y se detuvo. Vuelve a preguntar."+ }},"work_trace": {"tool_failed": "Falló una acción de herramienta",diff --git a/dodaios/ui/web/frontend/src/i18n/locales/pt.json b/dodaios/ui/web/frontend/src/i18n/locales/pt.jsonindex 98545a66f0..b8cbf458f6 100644--- a/dodaios/ui/web/frontend/src/i18n/locales/pt.json+++ b/dodaios/ui/web/frontend/src/i18n/locales/pt.json@@ -7229,7 +7229,13 @@"hide_changes": "Ocultar alterações","more_files_one": "Mostrar mais {count} ficheiro","more_files_other": "Mostrar mais {count} ficheiros",- "collapse_files": "Recolher ficheiros"+ "collapse_files": "Recolher ficheiros",+ "errors": {+ "mandated_tool_unfulfilled": "O passo necessário não foi executado, por isso não consegui responder com fiabilidade. Tenta novamente.",+ "unbacked_action_claim": "Não consegui confirmar que a ação aconteceu mesmo, por isso não o afirmei. Tenta novamente.",+ "guarded_response": "A resposta foi retida porque não foi possível verificá-la. Tenta novamente.",+ "delegation_continuation_limit": "O trabalho delegado precisou de demasiadas rondas e foi parado. Volta a perguntar."+ }},"work_trace": {"tool_failed": "Uma ação de ferramenta falhou",diff --git a/dodaios/ui/web/frontend/src/i18n/locales/zh.json b/dodaios/ui/web/frontend/src/i18n/locales/zh.jsonindex be0f9df75d..7e6fabdab4 100644--- a/dodaios/ui/web/frontend/src/i18n/locales/zh.json+++ b/dodaios/ui/web/frontend/src/i18n/locales/zh.json@@ -7229,7 +7229,13 @@"hide_changes": "隐藏更改","more_files_one": "再显示 {count} 个文件","more_files_other": "再显示 {count} 个文件",- "collapse_files": "收起文件"+ "collapse_files": "收起文件",+ "errors": {+ "mandated_tool_unfulfilled": "必要的步骤没有运行,所以我无法可靠地回答。请再试一次。",+ "unbacked_action_claim": "我无法确认该操作确实已完成,所以没有这样声称。请再试一次。",+ "guarded_response": "由于无法验证,该回答已被拦截。请再试一次。",+ "delegation_continuation_limit": "委派的工作轮次过多,已被停止。请重新提问。"+ }},"work_trace": {"tool_failed": "一个工具操作失败",diff --git a/dodaios/voice/action_phrases.py b/dodaios/voice/action_phrases.pyindex f340e350b4..88eb8342a8 100644--- a/dodaios/voice/action_phrases.py+++ b/dodaios/voice/action_phrases.py@@ -17,6 +17,7 @@ from __future__ import annotationsimport refrom dodaios.core.turn_language import resolve_turn_language+from dodaios.i18n import catalog as i18n_catalog_DEFAULT = "en"_SUPPORTED = ("de", "en", "es", "pt")@@ -40,860 +41,7 @@ OUTPUT_LANGUAGE_ENV_KEY = "JARVIS_OUTPUT_LANGUAGE"CU_TOOL_OUTCOME_LAYER = "brain.computer_use_tool"# key -> {lang -> template}. Templates may carry named ``{fields}``.-_PHRASES: dict[str, dict[str, str]] = {- # Computer-use background offload — outcome readbacks (announcement bus).- "cu_done": {- "de": "Erledigt.", # i18n-allow- "en": "Done.",- "es": "Listo.",- "pt": "Feito.",- },- # The lookup ran, its answer never got spoken, and nothing could be built- # from what it returned. The floor under ``_wordless_success_line`` — and- # deliberately NOT ``cu_done``: the user asked a QUESTION, so reporting a- # completed job would claim work he never ordered and bury the fact that- # his answer is missing (live 2026-08-20 19:32, "Erledigt." spoken over a- # finished web search). Names the cause and offers the one way forward.- "lookup_unspoken": {- "de": ( # i18n-allow- "Ich habe die Infos, konnte sie aber gerade nicht vorlesen. "- "Soll ich es nochmal versuchen?"- ),- "en": (- "I have the information but couldn't read it out just now. "- "Want me to try again?"- ),- "es": ( # i18n-allow- "Tengo la información, pero no pude leerla en voz alta. "- "¿Lo intento otra vez?"- ),- "pt": "Tenho a informação, mas não a consegui ler em voz alta. Tento outra vez?",- },- # The lookup ran and came back empty. The honest answer to a question with- # no hit — never ``cu_done``, which would report a finished job instead.- "lookup_empty": {- "de": "Dazu habe ich nichts gefunden.", # i18n-allow- "en": "I didn't find anything on that.",- "es": "No encontré nada sobre eso.", # i18n-allow- "pt": "Não encontrei nada sobre isso.", # i18n-allow- },- # Success WITH the verifier's on-screen observation forwarded (the SUCCESS- # sibling of cu_failed_reason). Lets an informational request actually be- # answered — "open the browser and check my tabs" reads back the observed- # tab instead of a content-free "Done." (live bug 2026-06-18, session- # 241a1984). ``{detail}`` is the verifier's own sentence (already in the- # turn's observed language, same as the failure-reason forwarding path).- "cu_done_detail": {- "de": "Erledigt. {detail}", # i18n-allow- "en": "Done. {detail}",- "es": "Listo. {detail}",- "pt": "Feito. {detail}",- },- "cu_failed": {- "de": "Das am Bildschirm hat nicht geklappt.", # i18n-allow- "en": "That didn't work on screen.",- "es": "Eso no funcionó en la pantalla.",- "pt": "Isso não funcionou no ecrã.",- },- "cu_failed_reason": {- "de": "Das am Bildschirm hat nicht geklappt: {error}", # i18n-allow- "en": "That didn't work on screen: {error}",- "es": "Eso no funcionó en la pantalla: {error}",- "pt": "Isso não funcionou no ecrã: {error}",- },- "cu_crashed": {- "de": "Beim Erledigen am Bildschirm ist leider etwas schiefgegangen.", # i18n-allow- "en": "Something went wrong while doing it on screen.",- "es": "Algo salió mal al hacerlo en la pantalla.",- "pt": "Algo correu mal ao fazer isso no ecrã.",- },- # Computer-use failure readbacks keyed off the harness EXIT CODE. These are- # plain-language sentences for the case where the underlying layer gives us- # only an opaque "exit N" token (no human reason). They exist so the user- # NEVER hears a raw exit code — live bug: the spoken readback was "That- # didn't work on screen: exit 5" and the user asked "what is the exit file?".- # Exit-code semantics are documented at the top of- # dodaios/harness/screenshot_only_loop.py (5=`fail`, 1=observe, 2=parse,- # 3=no vision-capable provider reachable, 4=step budget, 8=tool failure,- # 9=elevation unmet, 124=timeout, 130=cancel).- "cu_exit_gave_up": { # exit 5 — the model's `fail` action- "de": "Ich habe es am Bildschirm versucht, aber nicht hinbekommen.", # i18n-allow- "en": "I tried it on screen but couldn't get it done.",- "es": "Lo intenté en la pantalla, pero no pude completarlo.",- "pt": "Tentei no ecrã, mas não consegui concluir.",- },- "cu_exit_no_view": { # exit 1 — observe failure (no usable screenshot)- "de": "Ich konnte den Bildschirm nicht richtig sehen und habe abgebrochen.", # i18n-allow- "en": "I couldn't see the screen properly, so I stopped.",- "es": "No pude ver bien la pantalla, así que lo detuve.",- "pt": "Não consegui ver bem o ecrã, por isso parei.",- },- "cu_exit_confused": { # exit 2 — invalid model / parse response- "de": "Ich konnte keine gueltige Bildschirm-Antwort bekommen und habe gestoppt.", # i18n-allow- "en": "I couldn't get a valid screen-control response, so I stopped.",- "es": "No pude obtener una respuesta valida para controlar la pantalla, asi que me detuve.",- "pt": "Não consegui obter uma resposta válida para controlar o ecrã, por isso parei.",- },- # exit 3 — the vision-provider chain was EXHAUSTED: no screen-capable AI model- # was reachable (every candidate keyless / out-of-credit / rate-limited /- # no-vision). This is NOT the model "getting confused" (exit 2); it is an- # account/credential fact the user can fix in-app, so the phrase is honest and- # ACTIONABLE (points at keys/credit/settings) instead of the misleading- # "couldn't get a valid response". Live forensic 2026-06-30: the user's whole- # CU chain was dead (Gemini credits depleted, Claude 502, OpenAI no key,- # OpenRouter model no-vision) yet they heard the generic exit-2 phrase.- "cu_exit_no_provider": { # exit 3 — no vision-capable provider reachable- "de": "Ich habe gerade kein KI-Modell, das den Bildschirm sehen kann. " # i18n-allow- "Bitte pruefe deine API-Schluessel oder dein Guthaben " # i18n-allow- "in den Einstellungen.", # i18n-allow- "en": "I don't have an AI model that can see the screen right now. "- "Please check your API keys or your credit in settings.",- "es": "Ahora mismo no tengo un modelo de IA que pueda ver la pantalla. "- "Revisa tus claves de API o tu saldo en los ajustes.",- "pt": (- "Neste momento não tenho um modelo de IA que consiga ver o ecrã. Verifica as tuas "- "chaves de API ou o teu saldo nas definições."- ),- },- "cu_exit_too_many_steps": { # exit 4 — step budget exhausted- "de": "Es hat am Bildschirm zu viele Schritte gebraucht, ich habe " # i18n-allow- "aufgehoert.", # i18n-allow- "en": "It took too many steps on screen, so I stopped.",- "es": "Hicieron falta demasiados pasos en la pantalla, así que lo detuve.",- "pt": "Foram precisos demasiados passos no ecrã, por isso parei.",- },- "cu_exit_action_failed": { # exit 8 — tool/action failure- "de": "Eine Aktion am Bildschirm ist fehlgeschlagen, ich habe abgebrochen.", # i18n-allow- "en": "An action on screen failed, so I stopped.",- "es": "Una acción en la pantalla falló, así que lo detuve.",- "pt": "Uma ação no ecrã falhou, por isso parei.",- },- "cu_exit_cancelled": { # exit 130 — cancel token (e.g. voice hangup)- "de": "Die Aktion am Bildschirm wurde abgebrochen.", # i18n-allow- "en": "The action on screen was cancelled.",- "es": "La acción en la pantalla se canceló.",- "pt": "A ação no ecrã foi cancelada.",- },- "cu_exit_needs_elevation": { # exit 9 — waited for admin confirmation, none came- "de": "Ich habe auf die Administrator-Bestaetigung gewartet, aber es kam " # i18n-allow- "keine, also habe ich gestoppt.", # i18n-allow- "en": "I waited for the administrator confirmation, but none came, so I stopped.",- "es": "Esperé la confirmación de administrador, pero no llegó, así que me detuve.",- "pt": "Esperei pela confirmação de administrador, mas não chegou, por isso parei.",- },- # exit 8 + "[cu] blocked_permission": the mission stopped because a macOS- # permission or a system dialog needs the person. ``cu_blocked_permission``- # forwards the engine's own English sentence (en only; the other languages- # name the permission from the table below); the others are fixed, localized.- "cu_blocked_permission": {- "de": "Ich musste anhalten: Dodaios braucht " # i18n-allow- "die Berechtigung {permission}. " # i18n-allow- "Erlaube sie unter {pane}. Versuche es danach noch einmal.", # i18n-allow- "en": "I had to stop. {sentence}",- "es": "Tuve que parar: Dodaios necesita el permiso de {permission}. "- "Actívalo en {pane}. Después, vuelve a intentarlo.",- "pt": (- "Tive de parar: o Dodaios precisa da permissão de {permission}. Ativa-a em "- "{pane}. Depois, tenta outra vez."- ),- },- # The grant is on but unusable, a permission this session cannot ask for, and a- # macOS dialog that is still open: each one has its own remedy, none is "allow it- # in Settings". de/es/pt name the permission; en forwards the engine's sentence and- # only needs these as the fixed fallback.- "cu_blocked_restart_hint": {- "de": "Ich musste anhalten: Die Berechtigung {permission} wirkt " # i18n-allow- "womöglich erst, nachdem Dodaios beendet " # i18n-allow- "und neu geöffnet wurde. " # i18n-allow- "Starte die App neu und versuche es dann noch einmal.", # i18n-allow- "en": "I had to stop: the {permission} permission may only take effect after "- "Dodaios is quit and reopened. Reopen the app, then try again.",- "es": "Tuve que parar: el permiso de {permission} puede que solo surta efecto "- "cuando Dodaios se cierre y se vuelva a abrir. "- "Reinicia la app y vuelve a intentarlo.",- "pt": (- "Tive de parar: a permissão de {permission} pode só ter efeito depois de o Dodaios "- "ser fechado e reaberto. Reinicia a app e tenta outra vez."- ),- },- "cu_blocked_unavailable": {- "de": "Ich musste anhalten: Dodaios kann in dieser Sitzung " # i18n-allow- "nicht nach der Berechtigung {permission} fragen.", # i18n-allow- "en": "I had to stop: Dodaios cannot ask for the {permission} permission "- "in this session.",- "es": "Tuve que parar: Dodaios no puede pedir el permiso de {permission} "- "en esta sesión.",- "pt": (- "Tive de parar: o Dodaios não pode pedir a permissão de {permission} nesta "- "sessão."- ),- },- "cu_blocked_waiting": {- "de": "Ich musste anhalten, weil macOS gerade nach der Berechtigung " # i18n-allow- "{permission} fragt. Beantworte den Dialog und versuche es dann noch " # i18n-allow- "einmal.", # i18n-allow- "en": "I had to stop because macOS is asking about the {permission} permission. "- "Answer the dialog, then try again.",- "es": "Tuve que parar porque macOS está preguntando por el permiso de "- "{permission}. Responde al diálogo y vuelve a intentarlo.",- "pt": (- "Tive de parar porque o macOS está a pedir a permissão de {permission}. Responde ao "- "diálogo e tenta outra vez."- ),- },- "cu_blocked_dialog": {- "de": "Ich musste anhalten, weil auf dem Mac ein Systemdialog offen ist. " # i18n-allow- "Beantworte ihn selbst und versuche es dann noch einmal.", # i18n-allow- "en": "I had to stop because a macOS system dialog is open. "- "Answer it yourself, then try again.",- "es": "Tuve que parar porque hay un diálogo del sistema abierto en el Mac. "- "Respóndelo tú y vuelve a intentarlo.",- "pt": (- "Tive de parar porque há um diálogo do sistema aberto no Mac. Responde tu a ele e "- "tenta outra vez."- ),- },- "cu_blocked_restricted": {- "de": "Ich musste anhalten: Eine nötige Berechtigung ist auf diesem " # i18n-allow- "Mac durch " # i18n-allow- "ein Profil oder eine Kindersicherung gesperrt. Das lässt sich in der " # i18n-allow- "App nicht ändern.", # i18n-allow- "en": "I had to stop: a permission this needs is restricted on this Mac by a "- "profile or a parental control. That cannot be changed from the app.",- "es": "Tuve que parar: un permiso necesario está restringido en este Mac por un "- "perfil o un control parental. No se puede cambiar desde la app.",- "pt": (- "Tive de parar: uma permissão necessária está restrita neste Mac por um perfil ou "- "por controlo parental. Não pode ser alterada a partir da app."- ),- },- "cu_blocked_generic": {- "de": "Ich musste anhalten, weil macOS eine Berechtigung für Dodaios " # i18n-allow- "braucht. Erlaube sie in den Systemeinstellungen unter Datenschutz & " # i18n-allow- "Sicherheit und versuche es dann noch einmal.", # i18n-allow- "en": "I had to stop because macOS needs a permission for Dodaios. "- "Allow it in System Settings under Privacy & Security, then try again.",- "es": "Tuve que parar porque macOS necesita un permiso para Dodaios. "- "Actívalo en Ajustes del Sistema, en Privacidad y seguridad, y vuelve a intentarlo.",- "pt": (- "Tive de parar porque o macOS precisa de uma permissão para o Dodaios. "- "Ativa-a nas Definições do Sistema, em Privacidade e segurança, e tenta outra vez."- ),- },- "cu_timeout": {- "de": "Das am Bildschirm hat zu lange gedauert " # i18n-allow- "(ueber {secs} Sekunden) und wurde abgebrochen.", # i18n-allow- "en": "That took too long on screen (over {secs} seconds) and was cancelled.",- "es": "Eso tardó demasiado en la pantalla (más de {secs} segundos) y se canceló.",- "pt": "Isso demorou demasiado no ecrã (mais de {secs} segundos) e foi cancelado.",- },- # open_app launch readbacks (deterministic local-action path). The German- # column keeps the exact historical wording.- "open_app_launched": {- "de": "Gestartet: {app}", # i18n-allow- "en": "Launched: {app}",- "es": "Iniciado: {app}",- "pt": "Iniciado: {app}",- },- "open_app_launched_raised": {- "de": "Gestartet und nach vorn geholt: {app}", # i18n-allow- "en": "Launched and brought to the front: {app}",- "es": "Iniciado y traído al frente: {app}",- "pt": "Iniciado e trazido para a frente: {app}",- },- "open_app_not_found": {- "de": "Anwendung '{app}' nicht gefunden.", # i18n-allow- "en": "Application '{app}' was not found.",- "es": "No se encontró la aplicación '{app}'.",- "pt": "A aplicação '{app}' não foi encontrada.",- },- # Computer-use is NOT wired on this machine — the honest counterpart of- # ``cu_dispatch_ack`` below, spoken INSTEAD of it. The harness only works- # once the app set its ComputerUseContext, and that needs- # [computer_use].enabled (false by default) AND a vision engine- # (``brain/factory.py``). Unwired, every step died deep inside the harness- # long after the ACK had already promised "Mach ich" — the user heard a- # commitment, then nothing (GT-19). This says the one thing they can act on.- # No Settings toggle exists yet, so the config value is named outright; it is- # spoken, so keep it to one fact plus one action and nothing else.- "cu_not_wired": {- "de": "Die Bildschirmsteuerung ist auf diesem Rechner aus. " # i18n-allow- "Schalte sie in der Konfiguration mit computer_use.enabled ein " # i18n-allow- "und starte mich einmal neu.", # i18n-allow- "en": "Screen control is switched off on this machine. Turn it on in "- "the config with computer_use.enabled, then restart me once.",- "es": "El control de pantalla está desactivado en este equipo. "- "Actívalo en la configuración con computer_use.enabled y "- "reiníciame una vez.",- "pt": (- "O controlo do ecrã está desativado neste computador. Ativa-o nas definições com "- "computer_use.enabled e reinicia-me uma vez."- ),- },- # Computer-use dispatch — the immediate optimistic ACK.- "cu_dispatch_ack": {- "de": "Mach ich. Ich erledige das direkt am Bildschirm " # i18n-allow- "und sage Bescheid, sobald es fertig ist.", # i18n-allow- "en": "On it. I'll handle that on screen and let you know when it's done.",- "es": "Voy. Lo hago directamente en la pantalla y te aviso cuando termine.",- "pt": "Vou já. Faço isso diretamente no ecrã e aviso-te quando terminar.",- },- # Computer-use pause: an OS elevation prompt (Windows Secure Desktop & co.)- # is up. A non-elevated process can neither see nor click it (UIPI), so we- # ask the user for the one unavoidable confirmation click and then continue.- # Phrased OS-neutrally ("security prompt") — the Windows path is the only one- # that triggers it today, but macOS/Linux detection may join later.- "cu_awaiting_elevation": {- "de": "Das verlangt gerade Administrator-Rechte. Bitte bestaetige die " # i18n-allow- "Sicherheitsabfrage einmal, dann mache ich weiter.", # i18n-allow- "en": "This needs administrator rights. Please confirm the security "- "prompt once, then I'll keep going.",- "es": "Esto requiere permisos de administrador. Confirma el aviso de "- "seguridad una vez y continúo.",- "pt": (- "Isto requer permissões de administrador. Confirma o aviso de segurança uma vez e eu "- "continuo."- ),- },- # Computer-use human handoff: a screen only the USER may complete is up — a- # login / password entry, a 2FA / one-time-code prompt, or a CAPTCHA. The- # agent holds no secrets (AP-2) and must never type them, so it asks the user- # to take over, polls until the screen clears, then resumes. Phrased generally- # so it fits login, code-entry and captcha alike.- "cu_awaiting_human": {- "de": "Dieser Schritt braucht dich, bitte melde dich an oder loese " # i18n-allow- "die Bestaetigung, dann mache ich weiter.", # i18n-allow- "en": "This step needs you, please sign in or complete the "- "verification, then I'll keep going.",- "es": "Este paso te necesita, inicia sesión o completa la "- "verificación y continúo.",- "pt": "Este passo precisa de ti, inicia sessão ou conclui a verificação e eu continuo.",- },- # Cost / budget guards on the computer-use branch.- "cost_cooldown": {- "de": "Cost-Cooldown aktiv, das Tagesbudget ist erschoepft. " # i18n-allow- "Neue Anfragen werden erst nach dem Cooldown-Ende bearbeitet.", # i18n-allow- "en": "Cost cooldown active, the daily budget is used up. "- "New requests resume once the cooldown ends.",- "es": "Enfriamiento de costes activo, el presupuesto diario se agotó. "- "Las nuevas solicitudes se reanudan al terminar el enfriamiento.",- "pt": (- "Pausa de custos ativa, o orçamento diário esgotou-se. Os novos pedidos são "- "retomados quando a pausa terminar."- ),- },- "task_budget": {- "de": "Task-Budget fuer diese Konversation ueberschritten.", # i18n-allow- "en": "The task budget for this conversation is exceeded.",- "es": "Se superó el presupuesto de tareas de esta conversación.",- "pt": "O orçamento de tarefas desta conversa foi excedido.",- },- "daily_budget": {- "de": "Tagesbudget ueberschritten.", # i18n-allow- "en": "The daily budget is exceeded.",- "es": "Se superó el presupuesto diario.",- "pt": "O orçamento diário foi excedido.",- },- # Direct local-action tool failure fallback.- "tool_failed": {- "de": "{tool} fehlgeschlagen.", # i18n-allow- "en": "{tool} failed.",- "es": "{tool} falló.",- "pt": "{tool} falhou.",- },- # Generic action-failure fallback — the deterministic line behind the- # context-aware composer for ANY failed action (local tool, recovered tool).- # The user must NEVER hear the opaque ``exit N`` token the tool layer emits;- # when there is no human reason to forward, this honest, plain sentence is- # spoken instead (live forensic 2026-06-28: a harness failure was read back- # as the bare "exit 1"). All supported languages, never a hardcoded German- # string on an en/es turn.- "action_failed_generic": {- "de": "Das hat gerade nicht geklappt.", # i18n-allow- "en": "That didn't work just now.",- "es": "Eso no funcionó ahora mismo.",- "pt": "Isso não funcionou agora.",- },- # A stale re-render of an already-delivered answer was suppressed: the- # live model executed the leftover rendering order of an earlier delegate- # reply and started repeating the whole answer on a later turn (live- # forensic 2026-07-21 11:32). The clarify line stays honest in both- # worlds — the ghost repeat (common case) and a genuine repeat request- # that tripped the one-shot guard (the user simply asks again).- "stale_repeat_clarify": {- "de": "Das hatte ich gerade schon beantwortet. Was genau möchtest du wissen?", # i18n-allow- "en": "I already answered that just now. What exactly would you like to know?",- "es": "Eso ya lo acabo de responder. ¿Qué querías saber exactamente?",- "pt": "Acabei de responder a isso. O que querias saber exatamente?",- },- # Action failure WITH a human reason forwarded (the speakable cause pulled- # from the tool's stderr/error — never a bare exit code).- "action_failed_reason": {- "de": "Das hat nicht geklappt: {reason}", # i18n-allow- "en": "That didn't work: {reason}",- "es": "Eso no funcionó: {reason}",- "pt": "Isso não funcionou: {reason}",- },- # Delegated-turn failures with a KNOWN internal cause. The raw internal- # strings ("No configured Tool Model completed the delegated turn.") are- # engineering vocabulary and must not be spoken, but the failure still has- # a cause the user is entitled to hear — the maintainer's standing rule- # (2026-08-20): a failure line always says WHY, never just "that didn't- # work". One plain sentence per distinct cause, all supported languages.- "delegate_no_brain": {- "de": "Keins meiner Modelle hat auf diese Anfrage geantwortet.", # i18n-allow- "en": "None of my models answered this request.",- "es": "Ninguno de mis modelos respondió a esta petición.",- "pt": "Nenhum dos meus modelos respondeu a este pedido.",- },- "delegate_no_result": {- "de": "Ich habe dazu kein belastbares Ergebnis zurückbekommen.", # i18n-allow- "en": "I got no grounded result back for that.",- "es": "No recibí ningún resultado sólido para eso.",- "pt": "Não recebi nenhum resultado fiável para isso.",- },- "delegate_failed_internal": {- "de": "Dabei ist intern etwas schiefgelaufen, ich habe sicher abgebrochen.", # i18n-allow- "en": "Something went wrong internally, so I stopped safely.",- "es": "Algo falló internamente, así que me detuve de forma segura.",- "pt": "Algo falhou internamente, por isso parei em segurança.",- },- # The realtime provider yielded control for an action, but this session has- # no executor to hand it to (no callable supervisor brain, or the request- # carried no recognizable user text). Transports that cannot declare tools- # natively — the ChatGPT-subscription voice among them — reach actions ONLY- # through that handoff, so the gap used to end the whole call. A dropped- # action is a degraded turn; it is not a reason to hang up on the user.- "actions_unavailable": {- "de": "Aktionen gehen gerade nicht, aber wir können weiter reden.", # i18n-allow- "en": "I can't run actions right now, but we can keep talking.",- "es": "Ahora mismo no puedo ejecutar acciones, pero podemos seguir hablando.",- "pt": "Neste momento não consigo executar ações, mas podemos continuar a conversar.",- },- # Every tool the model reached for was GATED — the user's words did not ask- # for it. Distinct from ``actions_unavailable`` above, which claims a- # capability outage: nothing was broken or missing here, the guard simply- # declined a call nobody ordered. Speaking the outage line for a gated call- # told the user his assistant was crippled when it was not (live forensic- # 2026-08-20 15:35, twice in one call, on a plain question about his PC),- # and it named no cause — the standing rule is that a line like this always- # says WHY. Ends with the one thing the user can act on.- "actions_not_requested": {- "de": "Ich habe dafür nichts ausgeführt. Sag mir, was ich tun soll.", # i18n-allow- "en": "I didn't run anything for that. Tell me what you want done.",- "es": "No ejecuté nada para eso. Dime qué quieres que haga.",- "pt": "Não executei nada para isso. Diz-me o que queres que eu faça.",- },- # The only thing that ran was a ``run-skill`` instruction load: the model- # read HOW to do it and then stopped, the tool that does the work was never- # called. "Erledigt." here is a completion claim for nothing (live forensic- # 2026-08-22 18:16: "Ich habe dir entspannte Musik angemacht" — no Spotify- # call ever happened). The line says exactly what happened and what did- # not, so the user knows the ball is still in play.- "skill_loaded_not_run": {- "de": "Ich habe die Anleitung dafür geladen, aber noch nichts ausgeführt.", # i18n-allow- "en": "I loaded the instructions for that, but I haven't carried them out yet.",- "es": "Cargué las instrucciones para eso, pero todavía no las ejecuté.",- "pt": "Carreguei as instruções para isso, mas ainda não as executei.",- },- # A local action that ran past its short deadline. Replaces the old- # tool-name-prefixed "X timeout after 3s" machine string (which leaked the- # internal tool name) with a plain, honest sentence.- "action_timeout": {- "de": "Das hat zu lange gedauert, also habe ich abgebrochen.", # i18n-allow- "en": "That took too long, so I stopped.",- "es": "Eso tardó demasiado, así que lo detuve.",- "pt": "Isso demorou demasiado, por isso parei.",- },- # Background sub-agent / worker could not be started. The spoken sibling of- # action_failed_* for the spawn paths — the opaque ``exit N`` / a hardcoded- # German fallback must never reach an en/es turn.- "spawn_failed_generic": {- "de": "Ich konnte den Hintergrund-Helfer gerade nicht starten.", # i18n-allow- "en": "I couldn't start the background helper just now.",- "es": "No pude iniciar el ayudante en segundo plano ahora mismo.",- "pt": "Não consegui iniciar o assistente em segundo plano agora.",- },- "spawn_failed_reason": {- "de": "Ich konnte den Hintergrund-Helfer nicht starten: {reason}", # i18n-allow- "en": "I couldn't start the background helper: {reason}",- "es": "No pude iniciar el ayudante en segundo plano: {reason}",- "pt": "Não consegui iniciar o assistente em segundo plano: {reason}",- },- # The mission was accepted but NOTHING will ever pick it up: the spoken ack- # already promised an answer, and the mission would sit PENDING until the- # next app start's recovery sweep quietly marks it crash-recovered (AU-11).- # Rides ``JarvisAgentBackgroundCompleted.error``, i.e. the pipeline speaks it- # AFTER "Das hat nicht geklappt. " / "That didn't work. " — so this is the- # second half of a sentence and must stay under the readback's 80-char cap.- # One fact plus the one thing the user can act on, nothing else.- "spawn_no_runner": {- "de": "Ich kann die Aufgabe gerade nicht starten. Starte mich bitte neu.", # i18n-allow- "en": "I can't start the task right now. Please restart me.",- "es": "No puedo iniciar la tarea ahora. Reiníciame, por favor.",- "pt": "Não consigo iniciar a tarefa agora. Reinicia-me, por favor.",- },- # ``create_artifact`` handed the page to a background agent. The promise- # names the artifact and says the result will be announced — the tool's- # fallback when the brain supplied no ``spoken_ack`` of its own.- "artifact_building": {- "de": ( # i18n-allow- "Ich baue „{title}“ im Hintergrund und sage Bescheid, sobald es fertig ist."- ),- "en": "I'm building “{title}” in the background and will tell you when it's ready.",- "es": "Estoy creando «{title}» en segundo plano y te aviso cuando esté listo.",- "pt": "Estou a criar «{title}» em segundo plano e aviso-te quando estiver pronto.",- },- "artifact_revising": {- "de": ( # i18n-allow- "Ich überarbeite „{title}“ im Hintergrund und sage Bescheid, sobald es fertig ist."- ),- "en": "I'm revising “{title}” in the background and will tell you when it's ready.",- "es": "Estoy revisando «{title}» en segundo plano y te aviso cuando esté listo.",- "pt": "Estou a rever «{title}» em segundo plano e aviso-te quando estiver pronto.",- },- # Scheduled-routine failures (dodaios/workflows). A broken routine used to- # vanish into a log line, which is the maintainer's exact complaint: "you- # tell him something and nothing happens" (AU-12 / AU-13). ``{name}`` is the- # routine's own user-given name — never an id, never a run id.- "workflow_trigger_failed": {- "de": "Die Routine {name} konnte nicht starten. " # i18n-allow- "Ich versuche es zum nächsten geplanten Zeitpunkt wieder.", # i18n-allow- "en": "The routine {name} could not start. "- "I'll try again at the next scheduled time.",- "es": "La rutina {name} no pudo iniciarse. "- "Lo intentaré en el próximo momento programado.",- "pt": "A rotina {name} não conseguiu arrancar. Vou tentar na próxima hora agendada.",- },- # The scheduler's own poll loop threw — EVERY scheduled routine is stalled,- # not just one, so this names no routine. It retries by itself, hence the- # honest "I'll keep trying" instead of an action the user cannot take.- "workflow_scheduler_stalled": {- "de": "Deine geplanten Routinen laufen gerade nicht. " # i18n-allow- "Ich versuche es weiter.", # i18n-allow- "en": "Your scheduled routines aren't running right now. "- "I'll keep trying.",- "es": "Tus rutinas programadas no se están ejecutando ahora. "- "Seguiré intentándolo.",- "pt": "As tuas rotinas agendadas não estão a correr agora. Vou continuar a tentar.",- },- # A routine stopped mid-way. ``{step}`` is the author's own step label or the- # plain ordinal below — NEVER ``step_display_label``'s engineering fallback- # ("Tool: spawn_worker", "Shell: git status"), which would leak mechanics- # into speech. ``{reason}`` passed ``extract_speakable_reason``, so it is a- # human sentence and never an exception class name or a bare ``exit N``.- "workflow_step_failed": {- "de": "Die Routine {name} ist bei {step} hängen geblieben, " # i18n-allow- "also habe ich sie angehalten.", # i18n-allow- "en": "The routine {name} got stuck at {step}, so I stopped it.",- "es": "La rutina {name} se atascó en {step}, así que la detuve.",- "pt": "A rotina {name} ficou presa em {step}, por isso parei-a.",- },- # The reason trails in its own sentence rather than after a colon: it is- # forwarded text and may well end in a full stop of its own.- "workflow_step_failed_reason": {- "de": "Die Routine {name} ist bei {step} hängen geblieben, " # i18n-allow- "also habe ich sie angehalten. Der Grund: {reason}", # i18n-allow- "en": "The routine {name} got stuck at {step}, so I stopped it. "- "The reason: {reason}",- "es": "La rutina {name} se atascó en {step}, así que la detuve. "- "El motivo: {reason}",- "pt": "A rotina {name} ficou presa em {step}, por isso parei-a. O motivo: {reason}",- },- "workflow_step_ordinal": {- "de": "Schritt {n}", # i18n-allow- "en": "step {n}",- "es": "el paso {n}",- "pt": "o passo {n}",- },- # Fills the ``{name}`` slot when a routine row carries no name. Worded to- # stay grammatical inside the sentences above ("Die Routine ohne Namen- # konnte nicht starten."). Vague on purpose — the id it replaces would not- # be vague, it would be meaningless out loud.- "workflow_unnamed": {- "de": "ohne Namen", # i18n-allow- "en": "without a name",- "es": "sin nombre",- "pt": "sem nome",- },- # Deterministic wiki-write fast path (spec A1-A3). The saving line is a- # PROGRESS ack — it must never claim the write already happened; the- # saved/failed lines are the post-write truth (confirm-after-write).- "wiki_saving": {- "de": "Ich schreibe das jetzt ins Wiki.", # i18n-allow- "en": "Writing that to the wiki now.",- "es": "Lo estoy escribiendo en la wiki.",- "pt": "Estou a escrever isso na wiki.",- },- "wiki_saved": {- "de": "Im Wiki gespeichert.", # i18n-allow- "en": "Saved to the wiki.",- "es": "Guardado en la wiki.",- "pt": "Guardado na wiki.",- },- "wiki_saved_detail": {- "de": "Im Wiki gespeichert: {detail}.", # i18n-allow- "en": "Saved to the wiki: {detail}.",- "es": "Guardado en la wiki: {detail}.",- "pt": "Guardado na wiki: {detail}.",- },- "wiki_save_failed": {- "de": "Das Speichern im Wiki hat nicht geklappt.", # i18n-allow- "en": "Saving to the wiki did not work.",- "es": "No se pudo guardar en la wiki.",- "pt": "Não foi possível guardar na wiki.",- },- "wiki_save_failed_reason": {- "de": "Das Speichern im Wiki hat nicht geklappt: {reason}", # i18n-allow- "en": "Saving to the wiki did not work: {reason}",- "es": "No se pudo guardar en la wiki: {reason}",- "pt": "Não foi possível guardar na wiki: {reason}",- },- "wiki_nothing_to_save": {- "de": "Mir ist nicht klar, was ich ins Wiki schreiben soll. Sag es mir " # i18n-allow- "bitte noch einmal mit Inhalt.", # i18n-allow- "en": "I am not sure what to write to the wiki. Please say it again with the content.",- "es": "No tengo claro qué escribir en la wiki; dímelo otra vez con el contenido.",- "pt": "Não tenho a certeza do que escrever na wiki; diz-mo outra vez com o conteúdo.",- },- # No "I am writing the task now" phrase belongs here. One existed for a few- # hours on 2026-07-27 to fill the prompt writer's 10-21 s, and the realtime- # provider re-voiced it as a finished action; the only sentence the pane- # hand-off may speak is the delivery verdict below, which reports what was- # actually typed where.- # Agentic-IDE terminal delivery (deterministic fast path). Naming the pane- # back is the whole confirmation the user gets that the right agent was- # addressed — a spoken "sent" without the call-sign would be useless in a- # four-pane workspace.- "ide_prompt_sent": {- "de": "Ist bei {terminal}.", # i18n-allow- "en": "Sent to {terminal}.",- "es": "Enviado a {terminal}.",- "pt": "Enviado para {terminal}.",- },- "ide_prompt_sent_files": {- "de": "Ist bei {terminal}, mit {count} Dateien dazu.", # i18n-allow- "en": "Sent to {terminal}, with {count} files attached.",- "es": "Enviado a {terminal}, con {count} archivos adjuntos.",- "pt": "Enviado para {terminal}, com {count} ficheiros anexados.",- },- "ide_prompt_sent_one_file": {- "de": "Ist bei {terminal}, samt {file}.", # i18n-allow- "en": "Sent to {terminal}, along with {file}.",- "es": "Enviado a {terminal}, junto con {file}.",- "pt": "Enviado para {terminal}, juntamente com {file}.",- },- "ide_terminal_not_running": {- "de": "{terminal} läuft gerade nicht ({status}). Ich habe nichts geschickt.", # i18n-allow- "en": "{terminal} is not running right now ({status}). I sent nothing.",- "es": "{terminal} no está en marcha ahora ({status}). No envié nada.",- "pt": "{terminal} não está a correr agora ({status}). Não enviei nada.",- },- # Fan-out: ONE order handed to SEVERAL panes. The partial and the- # nobody-reached cases are separate keys on purpose — the live 2026-07-26- # failure was a partial delivery spoken as a complete one, and a single- # template with an optional clause is exactly how that rounds back up.- "ide_prompt_sent_many": {- "de": "Ist bei {names}.", # i18n-allow- "en": "Sent to {names}.",- "es": "Enviado a {names}.",- "pt": "Enviado para {names}.",- },- "ide_prompt_sent_partial": {- "de": "Ist bei {names}. Zu {failed} bin ich nicht durchgekommen.", # i18n-allow- "en": "Sent to {names}. I could not reach {failed}.",- "es": "Enviado a {names}. No pude llegar a {failed}.",- "pt": "Enviado para {names}. Não consegui chegar a {failed}.",- },- "ide_prompt_sent_nobody": {- "de": "Ich bin zu {failed} nicht durchgekommen, es läuft nichts.", # i18n-allow- "en": "I could not reach {failed}, so nothing is running.",- "es": "No pude llegar a {failed}, así que no hay nada en marcha.",- "pt": "Não consegui chegar a {failed}, por isso não há nada em curso.",- },- # Typed into the input box but never submitted — looks identical to a- # running agent until you ask it something (the 2026-07-25 popup trap).- "ide_prompt_typed_not_started": {- "de": "Bei {names} steht der Text nur im Eingabefeld.", # i18n-allow- "en": "On {names} the text is only sitting in the input box.",- "es": "En {names} el texto solo está en el cuadro de entrada.",- "pt": "Em {names} o texto está apenas na caixa de entrada.",- },- # Joining call-signs for speech. A comma-separated list read aloud sounds- # like an enumeration that never ends; the last pair needs the conjunction.- "ide_names_pair": {- "de": "{head} und {last}", # i18n-allow- "en": "{head} and {last}",- "es": "{head} y {last}",- "pt": "{head} e {last}",- },- # Opening more panes by voice ("spawn five more Claude Code terminals").- # The names are always read back: they are how the user addresses the new- # panes in the very next sentence, and hearing them is also the fastest way- # to notice that fewer opened than asked for.- "ide_terminals_spawned_one": {- "de": "{names} ist offen.", # i18n-allow- "en": "{names} is open.",- "es": "{names} está abierta.",- "pt": "{names} está aberto.",- },- "ide_terminals_spawned": {- "de": "{count} neue Terminals: {names}.", # i18n-allow- "en": "{count} new terminals: {names}.",- "es": "{count} terminales nuevas: {names}.",- "pt": "{count} terminais novos: {names}.",- },- "ide_terminals_briefing_queued": {- "de": "Ich übergebe ihnen die Aufgabe, sobald die Terminals bereit sind.", # i18n-allow- "en": "I will hand them the task as soon as the terminals are ready.",- "es": "Les entregaré la tarea en cuanto las terminales estén listas.",- "pt": "Entrego-lhes a tarefa assim que os terminais estiverem prontos.",- },- "ide_terminals_closed": {- "de": "{count} Terminals geschlossen: {names}.", # i18n-allow- "en": "Closed {count} terminals: {names}.",- "es": "Cerré {count} terminales: {names}.",- "pt": "Fechei {count} terminais: {names}.",- },- "ide_terminals_none_to_close": {- "de": "Es sind keine passenden Terminals offen.", # i18n-allow- "en": "There are no matching open terminals.",- "es": "No hay terminales abiertas que coincidan.",- "pt": "Não há terminais abertos que correspondam.",- },- # Fewer than asked for, because a pane failed to start mid-batch. Named- # separately from the plain success so the shortfall is impossible to miss.- "ide_terminals_spawned_capped": {- "de": "Nur {count} ließen sich öffnen: {names}.", # i18n-allow- "en": "Only {count} could be opened: {names}.",- "es": "Solo se pudieron abrir {count}: {names}.",- "pt": "Só foi possível abrir {count}: {names}.",- },- "ide_terminals_open_failed": {- "de": "Ich konnte kein Terminal öffnen.", # i18n-allow- "en": "I could not open a terminal.",- "es": "No pude abrir ninguna terminal.",- "pt": "Não consegui abrir nenhum terminal.",- },- # The name came through garbled and lands between two coding CLIs. Asked- # rather than guessed (maintainer directive 2026-07-28): a needless question- # costs one word, a wrong guess opens the wrong agent on the wrong plan.- "ide_terminal_kind_unclear": {- "de": "Ich habe {spoken} verstanden. Meintest du {first} oder {second}?", # i18n-allow- "en": "I heard {spoken}. Did you mean {first} or {second}?",- "es": "Escuché {spoken}: ¿te refieres a {first} o a {second}?",- "pt": "Ouvi {spoken}: referes-te a {first} ou a {second}?",- },- "ide_terminal_kind_unclear_one": {- "de": "Ich habe {spoken} verstanden. Meintest du {first}?", # i18n-allow- "en": "I heard {spoken}. Did you mean {first}?",- "es": "Escuché {spoken}: ¿te refieres a {first}?",- "pt": "Ouvi {spoken}: referes-te a {first}?",- },- # A coding CLI this workspace does not offer was named in a fleet request.- # Said out loud rather than dropped: a name nobody recognises used to fall- # out of the parse without a word, so the user counted the panes and found- # one missing with nothing anywhere to explain it.- "ide_terminal_kind_unknown": {- "de": "Für {name} gibt es keine Terminal-Art. Verfügbar: {available}.", # i18n-allow- "en": "There is no {name} terminal kind. Available: {available}.",- "es": "No hay un tipo de terminal {name}. Disponibles: {available}.",- "pt": "Não existe nenhum tipo de terminal {name}. Disponíveis: {available}.",- },- # No workspace was open, so one was opened in the most recent folder. The- # folder is named on purpose: it is an assumption, and hearing it is how the- # user catches a wrong one before an agent starts working in it.- "ide_terminals_opened_workspace": {- "de": "Ich habe {folder} geöffnet: {names}.", # i18n-allow- "en": "I opened {folder}: {names}.",- "es": "Abrí {folder}: {names}.",- "pt": "Abri {folder}: {names}.",- },- # A call-sign the transcript almost matched. Both variants REPEAT what was- # heard: the user's own word is the only thing that lets them tell a- # misheard name from a wrong pane, and hearing "I understood Ilies" is what- # makes "no, Ellis" the obvious next thing to say.- "ide_terminal_clarify_one": {- "de": "Ich habe {spoken} verstanden. Meinst du {name}?", # i18n-allow- "en": "I heard {spoken}. Did you mean {name}?",- "es": "Entendí {spoken}: ¿te refieres a {name}?",- "pt": "Percebi {spoken}: referes-te a {name}?",- },- "ide_terminal_clarify_many": {- "de": "Ich habe {spoken} verstanden. Meinst du {names}?", # i18n-allow- "en": "I heard {spoken}. Did you mean {names}?",- "es": "Entendí {spoken}: ¿te refieres a {names}?",- "pt": "Percebi {spoken}: referes-te a {names}?",- },- # The user says a briefing never arrived, but the pane's own receipt says it- # did. Answering with the CLOCK TIME is the point: it is the one thing that- # lets them tell "it did not happen" from "I did not see it happen", and- # re-sending on their word would double-brief an agent that is already- # working (BUG-121).- "ide_prompt_already_delivered": {- "de": (- "{name} hat den Auftrag um {time} bekommen. " # i18n-allow- "Ich schicke ihn nicht doppelt." # i18n-allow- ),- "en": "{name} got the task at {time}. I am not sending it twice.",- "es": "{name} recibió la tarea a las {time}: no la envío dos veces.",- "pt": "{name} recebeu a tarefa às {time}: não a envio duas vezes.",- },- # The separator for the final pair of an alternative list ("Maggie or Max").- # A phrase entry rather than a literal, so the choice is offered in the- # turn's language like every other spoken word.- "join_or": {- "de": " oder ", # i18n-allow- "en": " or ",- "es": " o ",- "pt": " ou ",- },- # The separator for the final pair of a LIST ("Alex and Blake"). Distinct- # from ``join_or`` because the two questions mean opposite things: "Max or- # Maggie" offers a choice between panes, "Alex and Blake" asks about both.- "join_and": {- "de": " und ", # i18n-allow- "en": " and ",- "es": " y ",- "pt": " e ",- },- # Panes were briefed AND one call-sign of the same breath stayed unclear.- # The two halves are said in one sentence on purpose: the user has to hear- # which agents actually got the work before being asked about the rest.- "ide_terminal_clarify_also": {- "de": "Ich habe außerdem {spoken} verstanden. Meinst du {names}?", # i18n-allow- "en": "I also heard {spoken}. Did you mean {names}?",- "es": "También entendí {spoken}: ¿te refieres a {names}?",- "pt": "Também percebi {spoken}: referes-te a {names}?",- },- # The user addressed several panes and only one call-sign survived speech- # recognition. Saying which one was placed is the load-bearing half: it is- # what stops the user believing a second agent is working when none is.- "ide_terminal_who_else": {- "de": "Ich konnte nur {names} zuordnen. Wer sollte noch ran?", # i18n-allow- "en": "I could only place {names}. Who else did you mean?",- "es": "Solo pude identificar a {names}: ¿quién más?",- "pt": "Só consegui identificar {names}: quem mais?",- },- "ide_terminals_nowhere": {- "de": ( # i18n-allow- "Es ist kein Workspace offen und ich habe keinen letzten. " # i18n-allow- "Wähle einen Ordner in der Agentic IDE." # i18n-allow- ),- "en": (- "No workspace is open and there is no recent one. "- "Pick a folder in the Agentic IDE."- ),- "es": (- "No hay ningún espacio de trabajo abierto ni uno reciente. "- "Elige una carpeta en el IDE agéntico."- ),- "pt": (- "Não há nenhum espaço de trabalho aberto nem nenhum recente. Escolhe uma pasta no "- "IDE agêntico."- ),- },-}+_PHRASES: dict[str, dict[str, str]] = i18n_catalog.nested_table("voice.action.phrases")def resolve_phrase_language(reply_language: str | None, user_text: str) -> str:@@ -1215,45 +363,13 @@ _PERMISSION_CAUSE_EN = "Dodaios does not have the {name} permission right now."_PERMISSION_CAUSE_RE = re.compile(r"^Dodaios does not have the (?P<name>.+?) permission right now\.$")-_PERMISSION_CAUSE_TEMPLATES: dict[str, str] = {- "de": "Dodaios hat die Berechtigung {name} gerade nicht.", # i18n-allow- "en": _PERMISSION_CAUSE_EN,- "es": "Dodaios no tiene ahora el permiso de {name}.",- "pt": "O Dodaios não tem neste momento a permissão de {name}.",-}+_PERMISSION_CAUSE_TEMPLATES: dict[str, str] = i18n_catalog.table(+ "voice.action.permission_cause_templates"+)#: How each language names a permission (the macOS UI labels; unverified on a real Mac).-_PERMISSION_CAUSE_NAMES: dict[str, dict[str, str]] = {- "microphone": {- "de": "Mikrofon", # i18n-allow- "en": "Microphone",- "es": "Micrófono",- "pt": "Microfone",- },- "accessibility": {- "de": "Bedienungshilfen", # i18n-allow- "en": "Accessibility",- "es": "Accesibilidad",- "pt": "Acessibilidade",- },- "screen_recording": {- "de": "Bildschirmaufnahme", # i18n-allow- "en": "Screen Recording",- "es": "Grabación de pantalla",- "pt": "Gravação de ecrã",- },- "input_monitoring": {- "de": "Eingabeüberwachung", # i18n-allow- "en": "Input Monitoring",- "es": "Monitorización de entrada",- "pt": "Monitorização de entrada",- },- "automation": {- "de": "Automatisierung", # i18n-allow- "en": "Automation",- "es": "Automatización",- "pt": "Automatização",- },-}+_PERMISSION_CAUSE_NAMES: dict[str, dict[str, str]] = i18n_catalog.nested_table(+ "voice.action.permission_cause_names"+)_PERMISSION_CAUSE_NAMES["event_posting"] = _PERMISSION_CAUSE_NAMES["accessibility"]_PERMISSION_TOKEN_BY_EN_NAME: dict[str, str] = {names["en"]: token for token, names in _PERMISSION_CAUSE_NAMES.items()diff --git a/dodaios/voice/config_readback.py b/dodaios/voice/config_readback.pyindex e5ff12874d..5568a0c8dc 100644--- a/dodaios/voice/config_readback.py+++ b/dodaios/voice/config_readback.py@@ -18,6 +18,8 @@ from __future__ import annotationsfrom typing import Any, Literal+from dodaios.i18n import catalog as i18n_catalog+from .echo_confirmation import is_sensitive_path_SUPPORTED = ("de", "en", "es", "pt")@@ -25,52 +27,7 @@ _DEFAULT = "en"# outcome key -> {lang -> template}. ``{label}`` / ``{value}`` are filled for the# success cases; the failure cases are deliberately generic (no path/value leak).-_PHRASES: dict[str, dict[str, str]] = {- "applied": {- "de": "Erledigt — {label} ist jetzt {value}.",- "en": "Done — {label} is now {value}.",- "es": "Listo — {label} ahora es {value}.",- "pt": "Feito — {label} agora é {value}.",- },- "applied_restart": {- "de": "Erledigt — {label} ist jetzt {value}. Starte Dodaios einmal neu, "- "damit es wirkt.",- "en": "Done — {label} is now {value}. Restart Dodaios once for it to take "- "effect.",- "es": "Listo — {label} ahora es {value}. Reinicia Dodaios una vez para que "- "surta efecto.",- "pt": "Feito — {label} agora é {value}. Reinicia o Dodaios uma vez para "- "que tenha efeito.",- },- # Hard-refuse (secrets / self-lockout) — an honest decline, never a question.- "refused": {- "de": "Das ändere ich nicht per Stimme — das bitte bewusst in den " # i18n-allow- "Einstellungen.", # i18n-allow- "en": "I won't change that by voice — please do that deliberately in "- "Settings.",- "es": "Eso no lo cambio por voz — hazlo a propósito en los Ajustes.",- "pt": "Isso não altero por voz — faz isso de propósito nas Definições.",- },- "unknown_setting": {- "de": "Das ist keine Einstellung, die ich ändern kann.", # i18n-allow- "en": "That isn't a setting I can change.",- "es": "Ese no es un ajuste que pueda cambiar.",- "pt": "Essa não é uma definição que eu possa alterar.",- },- "invalid_value": {- "de": "Das geht so nicht — die Einstellung bleibt unverändert.", # i18n-allow- "en": "That doesn't work — the setting stays unchanged.",- "es": "Eso no funciona — el ajuste queda sin cambios.",- "pt": "Assim não dá — a definição fica sem alterações.",- },- "rollback": {- "de": "Konnte ich nicht speichern, ich habe den vorherigen Stand " # i18n-allow- "wiederhergestellt.", # i18n-allow- "en": "I couldn't save it, I restored the previous state.",- "es": "No pude guardarlo, restauré el estado anterior.",- "pt": "Não consegui guardar, repus o estado anterior.",- },-}+_PHRASES: dict[str, dict[str, str]] = i18n_catalog.nested_table("voice.config_readback.phrases")# set_config_value error_kind -> outcome key._ERROR_KIND_TO_OUTCOME: dict[str, str] = {diff --git a/dodaios/voice/echo_confirmation.py b/dodaios/voice/echo_confirmation.pyindex 5286b3b336..e55f4435bb 100644--- a/dodaios/voice/echo_confirmation.py+++ b/dodaios/voice/echo_confirmation.py@@ -18,6 +18,8 @@ from __future__ import annotationsimport refrom typing import TYPE_CHECKING, Any, Literal+from dodaios.i18n import catalog as i18n_catalog+if TYPE_CHECKING:from dodaios.core.self_mod import PendingMutationfrom dodaios.core.self_mod.errors import (@@ -306,12 +308,9 @@ def _voice_label(description: str) -> str:# Spoken words for primitive values, per supported reply language. An# unknown language code speaks English (AP-21), never German.-_VALUE_WORDS: dict[str, dict[str, str]] = {- "de": {"on": "an", "off": "aus", "empty": "leer"}, # i18n-allow- "en": {"on": "on", "off": "off", "empty": "empty"},- "es": {"on": "activado", "off": "desactivado", "empty": "vacío"}, # i18n-allow- "pt": {"on": "ligado", "off": "desligado", "empty": "vazio"}, # i18n-allow-}+_VALUE_WORDS: dict[str, dict[str, str]] = i18n_catalog.locale_maps(+ "voice.echo_confirmation.value_words"+)def _lang_key(language: str, table: dict[str, Any]) -> str:@@ -339,18 +338,10 @@ def _format_value_for_speech(value: Any, language: str = "en") -> str:# -----------------------------------------------------------------------_ECHO_TEMPLATES: dict[str, str] = {- "de": "Verstanden — {label} wechselt von {old} zu {new}. Bestätigen?", # i18n-allow- "en": "Got it — {label} switches from {old} to {new}. Confirm?",- "es": "Entendido — {label} cambia de {old} a {new}. ¿Confirmas?", # i18n-allow- "pt": "Entendido — {label} muda de {old} para {new}. Confirmas?", # i18n-allow-}-_ECHO_TEMPLATES_SENSITIVE: dict[str, str] = {- "de": "Verstanden — {label} auf einen neuen Wert. Bestätigen?", # i18n-allow- "en": "Got it — {label} to a new value. Confirm?",- "es": "Entendido — {label} a un valor nuevo. ¿Confirmas?", # i18n-allow- "pt": "Entendido — {label} para um valor novo. Confirmas?", # i18n-allow-}+_ECHO_TEMPLATES: dict[str, str] = i18n_catalog.table("voice.echo_confirmation.echo_templates")+_ECHO_TEMPLATES_SENSITIVE: dict[str, str] = i18n_catalog.table(+ "voice.echo_confirmation.echo_templates_sensitive"+)def format_confirmation(@@ -389,97 +380,14 @@ OutcomeKind = Literal[]# Generic stand-ins for sensitive values / errors (no plaintext leak).-_OUTCOME_WORDS: dict[str, dict[str, str]] = {- "de": {- "new_value": "der neue Wert", # i18n-allow- "old_value": "der vorherige Wert", # i18n-allow- "validation_failed": "Validierung schlug fehl", # i18n-allow- "unknown_error": "unbekannter Fehler", # i18n-allow- },- "en": {- "new_value": "the new value",- "old_value": "the previous value",- "validation_failed": "validation failed",- "unknown_error": "unknown error",- },- "es": {- "new_value": "el valor nuevo", # i18n-allow- "old_value": "el valor anterior", # i18n-allow- "validation_failed": "la validación falló", # i18n-allow- "unknown_error": "error desconocido", # i18n-allow- },- "pt": {- "new_value": "o valor novo", # i18n-allow- "old_value": "o valor anterior", # i18n-allow- "validation_failed": "a validação falhou", # i18n-allow- "unknown_error": "erro desconhecido", # i18n-allow- },-}+_OUTCOME_WORDS: dict[str, dict[str, str]] = i18n_catalog.locale_maps(+ "voice.echo_confirmation.outcome_words"+)# Outcome sentences; placeholders {label}, {new}, {old}, {err}.-_OUTCOME_TEMPLATES: dict[str, dict[str, str]] = {- "de": {- "safe_applied": "Geht klar — {label} jetzt {new}.", # i18n-allow- "applied": "Erledigt — {label} ist jetzt {new}.", # i18n-allow- "applied_restart": (- "Erledigt — {label} ist jetzt {new}. " # i18n-allow- "Bitte einmal Dodaios neustarten, damit's wirkt." # i18n-allow- ),- "validate_failed": "Geht nicht — {err}. Setting bleibt {old}.", # i18n-allow- "rollback": (- "Konnte nicht gespeichert werden, hab den vorherigen " # i18n-allow- "Zustand wiederhergestellt. {err}" # i18n-allow- ),- "vetoed": "Okay, lass ich.", # i18n-allow- "timeout": (- "Hab keine Antwort gehört, brech ich ab. Setting bleibt {old}." # i18n-allow- ),- },- "en": {- "safe_applied": "Got it — {label} is now {new}.",- "applied": "Done — {label} is now {new}.",- "applied_restart": (- "Done — {label} is now {new}. "- "Please restart Dodaios for the change to take effect."- ),- "validate_failed": "Can't do that — {err}. Setting stays {old}.",- "rollback": "Couldn't save it, reverted to the previous state. {err}",- "vetoed": "Okay, leaving it.",- "timeout": "No answer heard, aborting. Setting stays {old}.",- },- "es": {- "safe_applied": "Hecho — {label} ahora es {new}.", # i18n-allow- "applied": "Listo — {label} ahora es {new}.", # i18n-allow- "applied_restart": (- "Listo — {label} ahora es {new}. " # i18n-allow- "Reinicia Dodaios para que el cambio surta efecto." # i18n-allow- ),- "validate_failed": "No se puede — {err}. El ajuste sigue en {old}.", # i18n-allow- "rollback": (- "No se pudo guardar, he restaurado el estado anterior. {err}" # i18n-allow- ),- "vetoed": "Vale, lo dejo.", # i18n-allow- "timeout": (- "No he oído respuesta, lo cancelo. El ajuste sigue en {old}." # i18n-allow- ),- },- "pt": {- "safe_applied": "Feito — {label} agora é {new}.", # i18n-allow- "applied": "Pronto — {label} agora é {new}.", # i18n-allow- "applied_restart": (- "Pronto — {label} agora é {new}. " # i18n-allow- "Reinicia o Dodaios para a alteração ter efeito." # i18n-allow- ),- "validate_failed": "Não dá — {err}. A definição fica em {old}.", # i18n-allow- "rollback": (- "Não consegui guardar, repus o estado anterior. {err}" # i18n-allow- ),- "vetoed": "Está bem, deixo estar.", # i18n-allow- "timeout": (- "Não ouvi resposta, vou cancelar. A definição fica em {old}." # i18n-allow- ),- },-}+_OUTCOME_TEMPLATES: dict[str, dict[str, str]] = i18n_catalog.locale_maps(+ "voice.echo_confirmation.outcome_templates"+)def format_outcome(diff --git a/dodaios/voice/parked_results.py b/dodaios/voice/parked_results.pyindex 154428ce88..d099dae902 100644--- a/dodaios/voice/parked_results.py+++ b/dodaios/voice/parked_results.py@@ -37,6 +37,8 @@ from dataclasses import dataclassfrom typing import Finalfrom uuid import uuid4+from dodaios.i18n import catalog as i18n_catalog+#: A wait query the vocabulary does not recognise.WAIT_QUERY_NONE: Final[str] = ""#: "How far are you?" — the user asks about progress; answer with ONE grounded@@ -334,46 +336,12 @@ _TOPIC_STOPWORDS: Final[dict[str, frozenset[str]]] = {),}-_ANCHOR_POOLS: Final[dict[str, tuple[str, ...]]] = {- "de": (- "Zu deiner Anfrage von vorhin – {topic}: {result}",- "Noch zu vorhin, {topic}: {result}",- "Das Ergebnis zu {topic}: {result}",- ),- "en": (- "About your earlier request – {topic}: {result}",- "Back to {topic}: {result}",- "Here's the result on {topic}: {result}",- ),- "es": (- "Sobre tu petición de antes – {topic}: {result}",- "Volviendo a {topic}: {result}",- "El resultado sobre {topic}: {result}",- ),- "pt": (- "Sobre o teu pedido de há pouco – {topic}: {result}",- "Voltando a {topic}: {result}",- "O resultado sobre {topic}: {result}",- ),-}-_ANCHOR_POOLS_NO_TOPIC: Final[dict[str, tuple[str, ...]]] = {- "de": (- "Zu deiner Anfrage von vorhin: {result}",- "Noch zu vorhin: {result}",- ),- "en": (- "About your earlier request: {result}",- "Back to what you asked earlier: {result}",- ),- "es": (- "Sobre tu petición de antes: {result}",- "Volviendo a lo de antes: {result}",- ),- "pt": (- "Sobre o teu pedido de há pouco: {result}",- "Voltando ao que pediste há pouco: {result}",- ),-}+_ANCHOR_POOLS: Final[dict[str, tuple[str, ...]]] = i18n_catalog.variant_table(+ "voice.parked_results.anchor_pools"+)+_ANCHOR_POOLS_NO_TOPIC: Final[dict[str, tuple[str, ...]]] = i18n_catalog.variant_table(+ "voice.parked_results.anchor_pools_no_topic"+)_RECENT_ANCHORS: dict[str, deque[str]] = {}diff --git a/dodaios/voice/tool_confirmation.py b/dodaios/voice/tool_confirmation.pyindex fe8a4c4f91..7668115578 100644--- a/dodaios/voice/tool_confirmation.py+++ b/dodaios/voice/tool_confirmation.py@@ -21,6 +21,7 @@ empty string (AD-OE6 zero-silent-drop), never a per-layer hardcoded constant.from __future__ import annotationsfrom dodaios.core.turn_language import DEFAULT_LOCALE, normalize_language_tag+from dodaios.i18n import catalog as i18n_catalog_PHRASE_LANGS: frozenset[str] = frozenset({"de", "en", "es", "pt"})@@ -38,71 +39,20 @@ def _phrase_lang(language: str | None) -> str:# Tool-specific questions keyed by tool name → {lang: question}. A tool that is# not mapped here falls back to the generic question below.-_TOOL_QUESTIONS: dict[str, dict[str, str]] = {- "gmail": {- "de": "Soll ich die E-Mail wirklich senden? Sag ja oder nein.",- "en": "Do you really want me to send the email? Say yes or no.",- "es": "¿Quieres que envíe el correo de verdad? Di sí o no.",- "pt": "Queres mesmo que envie o email? Diz sim ou não.",- },- "gmail_rest": {- "de": "Soll ich die E-Mail wirklich senden? Sag ja oder nein.",- "en": "Do you really want me to send the email? Say yes or no.",- "es": "¿Quieres que envíe el correo de verdad? Di sí o no.",- "pt": "Queres mesmo que envie o email? Diz sim ou não.",- },- "call-contact": {- "de": "Soll ich den Anruf wirklich starten? Sag ja oder nein.",- "en": "Do you really want me to place the call? Say yes or no.",- "es": "¿Quieres que haga la llamada de verdad? Di sí o no.",- "pt": "Queres mesmo que faça a chamada? Diz sim ou não.",- },-}--_GENERIC_QUESTION: dict[str, str] = {- "de": "Soll ich das wirklich ausführen? Sag ja oder nein.",- "en": "Do you really want me to do that? Say yes or no.",- "es": "¿Quieres que lo haga de verdad? Di sí o no.",- "pt": "Queres mesmo que faça isso? Diz sim ou não.",-}+_TOOL_QUESTIONS: dict[str, dict[str, str]] = i18n_catalog.nested_table(+ "voice.tool_confirmation.tool_questions"+)++_GENERIC_QUESTION: dict[str, str] = i18n_catalog.table("voice.tool_confirmation.generic_question")# Impact-aware questions for shell commands (explain layer, 2026-08-08): a# non-technical user hears WHAT the command would do, not just "run that?".# ``{commands}`` is DATA (the classified command words, e.g. "rm"), not# re-localized phrasing — same doctrine as the failed-outcome detail below.-_IMPACT_QUESTIONS: dict[str, dict[str, str]] = {- "destructive": {- "de": ("Achtung, dieser Befehl würde etwas löschen ({commands}). "- "Soll ich ihn wirklich ausführen? Sag ja oder nein."),- "en": ("Careful, this command would delete something ({commands}). "- "Do you really want me to run it? Say yes or no."),- "es": ("Cuidado, este comando borraría algo ({commands}). "- "¿Quieres que lo ejecute de verdad? Di sí o no."),- "pt": ("Cuidado, este comando apagaria algo ({commands}). "- "Queres mesmo que o execute? Diz sim ou não."),- },- "modify": {- "de": ("Dieser Befehl würde etwas auf dem Computer verändern "- "({commands}). Soll ich ihn ausführen? Sag ja oder nein."),- "en": ("This command would change something on the computer "- "({commands}). Do you want me to run it? Say yes or no."),- "es": ("Este comando cambiaría algo en el equipo ({commands}). "- "¿Quieres que lo ejecute? Di sí o no."),- "pt": ("Este comando alteraria algo no computador ({commands}). "- "Queres que o execute? Diz sim ou não."),- },- "read": {- "de": ("Dieser Befehl liest nur Daten ({commands}). "- "Soll ich ihn ausführen? Sag ja oder nein."),- "en": ("This command only reads data ({commands}). "- "Do you want me to run it? Say yes or no."),- "es": ("Este comando solo lee datos ({commands}). "- "¿Quieres que lo ejecute? Di sí o no."),- "pt": ("Este comando só lê dados ({commands}). "- "Queres que o execute? Diz sim ou não."),- },-}+_IMPACT_QUESTIONS: dict[str, dict[str, str]] = i18n_catalog.nested_table(+ "voice.tool_confirmation.impact_questions"+)_IMPACT_COMMANDS_MAX_CHARS = 60@@ -141,52 +91,7 @@ def format_tool_confirmation(# Outcome phrasing (spoken on turn N+1 after the user answers).# -----------------------------------------------------------------------_OUTCOME: dict[str, dict[str, str]] = {- "done": {- "de": "Erledigt.",- "en": "Done.",- "es": "Listo.",- "pt": "Feito.",- },- "vetoed": {- "de": "Okay, lass ich.",- "en": "Okay, leaving it.",- "es": "Vale, lo dejo.",- "pt": "Ok, deixo estar.",- },- "timeout": {- "de": "Hab keine Antwort gehört, ich lass es.",- "en": "No answer heard, leaving it.",- "es": "No te he oído, lo dejo.",- "pt": "Não ouvi resposta, deixo estar.",- },- "failed": {- "de": "Das hat nicht geklappt.",- "en": "That didn't work.",- "es": "Eso no funcionó.",- "pt": "Isso não funcionou.",- },- "unclear": {- "de": "Sag bitte einfach ja oder nein.",- "en": "Please just say yes or no.",- "es": "Di simplemente sí o no, por favor.",- "pt": "Diz só sim ou não, por favor.",- },- # Nobody could be asked at all — an unattended run (a scheduled workflow,- # a cron job, a one-shot CLI call) reached a consequential tool. Says why- # nothing happened without claiming a refusal that never took place- # (audit GT-12). Read from a run log far more often than spoken.- "unavailable": {- "de": "Dafür brauche ich deine Freigabe, und hier kann sie niemand geben. "- "Ich habe es nicht gemacht.",- "en": "That needs your approval, and nobody here can give it. "- "So I did not do it.",- "es": "Eso necesita tu aprobación y aquí nadie puede darla. "- "Así que no lo hice.",- "pt": "Isso precisa da tua aprovação e aqui ninguém a pode dar. "- "Por isso não o fiz.",- },-}+_OUTCOME: dict[str, dict[str, str]] = i18n_catalog.nested_table("voice.tool_confirmation.outcome")_FAILED_DETAIL_MAX_CHARS = 160diff --git a/tests/unit/harness/test_cu_runaway_guards.py b/tests/unit/harness/test_cu_runaway_guards.pyindex d108346e49..78dea44e82 100644--- a/tests/unit/harness/test_cu_runaway_guards.py+++ b/tests/unit/harness/test_cu_runaway_guards.py@@ -237,7 +237,9 @@ async def test_progress_announcements_opt_in() -> None:announcements = [e for e in bus.publishedif isinstance(e, AnnouncementRequested)]assert len(announcements) == 1- assert "Schritt 1" in announcements[0].text+ # No conversation language on the task: the English fallback.+ assert announcements[0].text == "Step 1 of 2 done."+ assert announcements[0].language == "en"# ---------------------------------------------------------------------------diff --git a/tests/unit/i18n/test_catalog.py b/tests/unit/i18n/test_catalog.pyindex 50d47b8f9a..80e5309436 100644--- a/tests/unit/i18n/test_catalog.py+++ b/tests/unit/i18n/test_catalog.py@@ -42,6 +42,12 @@ def test_every_supported_language_has_a_catalog_and_nothing_else_does() -> None:assert files == set(SUPPORTED_LOCALES)+#: Keys whose placeholders differ by design. English reads the engine's own+#: English sentence; the other languages rebuild it from permission + pane+#: (dodaios/voice/action_phrases.py, cu_blocked_permission_readback).+_PLACEHOLDER_EXCEPTIONS = frozenset({"voice.action.phrases.cu_blocked_permission"})++@pytest.mark.parametrize("code", [c for c in SUPPORTED_LOCALES if c != DEFAULT_LOCALE])def test_catalogs_have_the_same_keys_shapes_and_placeholders(code: str) -> None:master, other = _flat(DEFAULT_LOCALE), _flat(code)@@ -54,6 +60,8 @@ def test_catalogs_have_the_same_keys_shapes_and_placeholders(code: str) -> None:pairs = zip(value, theirs, strict=True)else:pairs = [(value, theirs)]+ if key in _PLACEHOLDER_EXCEPTIONS:+ continuefor mine, translated in pairs:assert set(_PLACEHOLDER.findall(mine)) == set(_PLACEHOLDER.findall(translated)), key