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
fix(voice): speak the clarify questions as sentences, not dash fragments
Ruben Lütkee94117604a4a
diff --git a/jarvis/core/interactive_terminal.py b/jarvis/core/interactive_terminal.pyindex 54e946bc9b..e8579a3ade 100644--- a/jarvis/core/interactive_terminal.py+++ b/jarvis/core/interactive_terminal.py@@ -70,7 +70,12 @@ def _macos_script(argv: Sequence[str], cwd: Path, env: Mapping[str, str] | None)if envelse "")- command = f"cd {shlex.quote(str(cwd))} && {assignments}{shlex.join(argv)}"+ # Terminal.app always runs on a real POSIX host, so the working directory+ # must be forward-slash formatted regardless of which pathlib flavour built+ # `cwd`. On real macOS str(cwd) is already POSIX and this is a no-op; it+ # only matters when cwd came through a WindowsPath (a cross-platform test).+ posix_cwd = str(cwd).replace("\\", "/")+ command = f"cd {shlex.quote(posix_cwd)} && {assignments}{shlex.join(argv)}"apple_string = command.replace("\\", "\\\\").replace('"', '\\"')return f'tell application "Terminal"\nactivate\ndo script "{apple_string}"\nend tell'diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.pyindex d6e24ec49f..4f467ab6ca 100644--- a/jarvis/ui/web/provider_spec.py+++ b/jarvis/ui/web/provider_spec.py@@ -277,7 +277,8 @@ PROVIDERS: tuple[ProviderSpec, ...] = (signup_url="https://claude.ai",credential_help=("Write Agentic IDE task briefs over your Claude subscription via the "- "Claude Code CLI — sign in below, no API key needed. Too slow to "+ "Claude Code CLI — no API key needed. Sign in from the UltraWiki "+ "model panel, or run 'claude /login' in a terminal. Too slow to ""start for spoken replies, so it is not offered as a voice brain."),),diff --git a/jarvis/voice/action_phrases.py b/jarvis/voice/action_phrases.pyindex 9d414332fa..de11b21302 100644--- a/jarvis/voice/action_phrases.py+++ b/jarvis/voice/action_phrases.py@@ -418,13 +418,13 @@ _PHRASES: dict[str, dict[str, str]] = {# 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}?",+ "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}?",},"ide_terminal_clarify_many": {- "de": "Ich habe {spoken} verstanden — meinst du {names}?", # i18n-allow- "en": "I heard {spoken} — did you mean {names}?",+ "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}?",},# The separator for the final pair of an alternative list ("Maggie or Max").@@ -447,16 +447,16 @@ _PHRASES: dict[str, dict[str, str]] = {# 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}?",+ "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}?",},# 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?",+ "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?",},"ide_terminals_nowhere": {diff --git a/tests/unit/core/test_get_secret_env_fallback.py b/tests/unit/core/test_get_secret_env_fallback.pyindex 201a74445d..4b0f0c566f 100644--- a/tests/unit/core/test_get_secret_env_fallback.py+++ b/tests/unit/core/test_get_secret_env_fallback.py@@ -8,10 +8,32 @@ the caller passes none.from __future__ import annotationsimport keyring+import pytestfrom jarvis.core.config import get_secret[email protected](autouse=True)+def _isolated_credential_backend(monkeypatch, tmp_path):+ """Pin the process-wide credential-backend state for every test here.++ ``get_secret`` retains a platform backend and reads it DIRECTLY whenever the+ local-file store is the active keyring (``_FILE_BACKEND_ACTIVE`` in+ ``jarvis/core/config.py``). That state is module-global, so any earlier test+ in the same session whose keyring access failed leaves it set — and these+ tests then consult the host's REAL credential store instead of the patched+ keyring. Two consequences, both observed: they fail in a full-suite run+ while passing in isolation, and the assertion diff prints the host's real+ API key into the log. Pinning the backend, plus a throwaway DATA_DIR for the+ file fallback, makes them hermetic on any host.+ """+ from jarvis.core import config as cfg++ monkeypatch.setattr(cfg, "_FILE_BACKEND_ACTIVE", False, raising=False)+ monkeypatch.setattr(cfg, "_PLATFORM_KEYRING_BACKEND", None, raising=False)+ monkeypatch.setattr(cfg, "DATA_DIR", tmp_path, raising=False)++def test_get_secret_derives_env_fallback_from_key(monkeypatch):monkeypatch.setattr(keyring, "get_password", lambda *a, **k: None)monkeypatch.setenv("GROQ_API_KEY", "gsk-from-env")diff --git a/tests/unit/memory/wiki/test_recurate.py b/tests/unit/memory/wiki/test_recurate.pyindex 5e2ff119ae..7b4d342b97 100644--- a/tests/unit/memory/wiki/test_recurate.py+++ b/tests/unit/memory/wiki/test_recurate.py@@ -180,7 +180,10 @@ async def test_dry_run_proposes_but_writes_nothing(stack) -> None:assert report.error == ""assert report.applied is Falseassert report.backup_path is None- assert [str(u.target_path) for u in report.proposals] == ["entities/ruben.md"]+ # as_posix(), not str(): the assertion is about WHICH page was proposed, not+ # about the host's path separator. str() yields backslashes on Windows and+ # failed there while passing on POSIX.+ assert [u.target_path.as_posix() for u in report.proposals] == ["entities/ruben.md"]# Dry-run must leave the vault byte-identical.on_disk = (vault_root / "entities" / "ruben.md").read_text(encoding="utf-8")assert on_disk == PROFILE_BODYdiff --git a/tests/unit/test_provider_spec.py b/tests/unit/test_provider_spec.pyindex 5eb8aa5e99..7cf0c927be 100644--- a/tests/unit/test_provider_spec.py+++ b/tests/unit/test_provider_spec.py@@ -27,15 +27,17 @@ def test_every_secret_key_exists_in_wizard() -> None:for spec in PROVIDERS:for key in spec.secret_keys:assert key in wizard_keys, (- f"Provider '{spec.id}' referenziert secret_key '{key}', "- f"is not declared in wizard.SECRETS"+ f"Provider '{spec.id}' references secret_key '{key}', "+ f"which is not declared in wizard.SECRETS")def test_only_subscription_cli_providers_use_cli_login() -> None:"""A login CLI belongs to the subscription/login providers only. Codex logsin via ``codex login``; Antigravity drives the bare ``agy`` binary (it has- no ``login`` subcommand). Every pure API-key / local provider has none."""+ no ``login`` subcommand); the Claude subscription signs in with the+ ``/login`` slash command of the ``claude`` CLI. Every pure API-key / local+ provider has none."""for spec in PROVIDERS:assert spec.auth_mode != "subscription_cli" # never the legacy literalif spec.id == "codex":@@ -44,6 +46,9 @@ def test_only_subscription_cli_providers_use_cli_login() -> None:elif spec.id == "antigravity":assert spec.auth_mode == "antigravity"assert spec.login_cli == ("agy",)+ elif spec.id == "claude-cli":+ assert spec.auth_mode == "claude_cli"+ assert spec.login_cli == ("claude", "/login")else:assert spec.login_cli is None, f"{spec.id}: unexpected login_cli"